summaryrefslogtreecommitdiffstats
path: root/src/video_core/textures/decoders.cpp
diff options
context:
space:
mode:
authorKyle Kienapfel <Docteh@users.noreply.github.com>2022-11-11 13:12:37 +0100
committerKyle Kienapfel <Docteh@users.noreply.github.com>2022-11-14 01:30:55 +0100
commit6fa3faec658893c9fae19116232d24dac08babc7 (patch)
tree4e04753b659357d6595fa22766ae305586fd90d4 /src/video_core/textures/decoders.cpp
parentMerge pull request #9223 from goldenx86/threadcount (diff)
downloadyuzu-6fa3faec658893c9fae19116232d24dac08babc7.tar
yuzu-6fa3faec658893c9fae19116232d24dac08babc7.tar.gz
yuzu-6fa3faec658893c9fae19116232d24dac08babc7.tar.bz2
yuzu-6fa3faec658893c9fae19116232d24dac08babc7.tar.lz
yuzu-6fa3faec658893c9fae19116232d24dac08babc7.tar.xz
yuzu-6fa3faec658893c9fae19116232d24dac08babc7.tar.zst
yuzu-6fa3faec658893c9fae19116232d24dac08babc7.zip
Diffstat (limited to 'src/video_core/textures/decoders.cpp')
-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;
}
}