summaryrefslogtreecommitdiffstats
path: root/src/video_core/textures
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-11-18 01:20:18 +0100
committerGitHub <noreply@github.com>2022-11-18 01:20:18 +0100
commite5a446a0df56d447e94c9afa98d52ff576a1aa66 (patch)
treec0770bffcff6edb00c8ab503a719d3b7ab8a037e /src/video_core/textures
parentMerge pull request #9228 from HidroSaphire/patch-1 (diff)
parentAdd break for default cases (diff)
downloadyuzu-e5a446a0df56d447e94c9afa98d52ff576a1aa66.tar
yuzu-e5a446a0df56d447e94c9afa98d52ff576a1aa66.tar.gz
yuzu-e5a446a0df56d447e94c9afa98d52ff576a1aa66.tar.bz2
yuzu-e5a446a0df56d447e94c9afa98d52ff576a1aa66.tar.lz
yuzu-e5a446a0df56d447e94c9afa98d52ff576a1aa66.tar.xz
yuzu-e5a446a0df56d447e94c9afa98d52ff576a1aa66.tar.zst
yuzu-e5a446a0df56d447e94c9afa98d52ff576a1aa66.zip
Diffstat (limited to 'src/video_core/textures')
-rw-r--r--src/video_core/textures/decoders.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/textures/decoders.cpp b/src/video_core/textures/decoders.cpp
index fd1a4b987..59120cd09 100644
--- a/src/video_core/textures/decoders.cpp
+++ b/src/video_core/textures/decoders.cpp
@@ -170,6 +170,7 @@ void Swizzle(std::span<u8> output, std::span<const u8> input, u32 bytes_per_pixe
#undef BPP_CASE
default:
ASSERT_MSG(false, "Invalid bytes_per_pixel={}", bytes_per_pixel);
+ break;
}
}
@@ -217,6 +218,7 @@ void SwizzleSubrect(std::span<u8> output, std::span<const u8> input, u32 bytes_p
#undef BPP_CASE
default:
ASSERT_MSG(false, "Invalid bytes_per_pixel={}", bytes_per_pixel);
+ break;
}
}
@@ -240,6 +242,7 @@ void UnswizzleSubrect(std::span<u8> output, std::span<const u8> input, u32 bytes
#undef BPP_CASE
default:
ASSERT_MSG(false, "Invalid bytes_per_pixel={}", bytes_per_pixel);
+ break;
}
}