diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-04-13 20:19:06 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-10-06 21:00:53 +0200 |
commit | fd7afda1e802fffe843ac28811470432949fe7ee (patch) | |
tree | a769d41c2d4e9e8e12e1a0dc15d8ecc8a970e222 /src/video_core/renderer_vulkan/vk_texture_cache.cpp | |
parent | Buffer Cache: Deduce vertex array limit from memory layout when limit is the highest possible. (diff) | |
download | yuzu-fd7afda1e802fffe843ac28811470432949fe7ee.tar yuzu-fd7afda1e802fffe843ac28811470432949fe7ee.tar.gz yuzu-fd7afda1e802fffe843ac28811470432949fe7ee.tar.bz2 yuzu-fd7afda1e802fffe843ac28811470432949fe7ee.tar.lz yuzu-fd7afda1e802fffe843ac28811470432949fe7ee.tar.xz yuzu-fd7afda1e802fffe843ac28811470432949fe7ee.tar.zst yuzu-fd7afda1e802fffe843ac28811470432949fe7ee.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_texture_cache.cpp')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_texture_cache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_texture_cache.cpp b/src/video_core/renderer_vulkan/vk_texture_cache.cpp index caca79d79..8d2728cd7 100644 --- a/src/video_core/renderer_vulkan/vk_texture_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_texture_cache.cpp @@ -592,7 +592,7 @@ void TryTransformSwizzleIfNeeded(PixelFormat format, std::array<SwizzleSource, 4 case PixelFormat::A5B5G5R1_UNORM: std::ranges::transform(swizzle, swizzle.begin(), SwapSpecial); break; - case PixelFormat::R4G4_UNORM: + case PixelFormat::G4R4_UNORM: std::ranges::transform(swizzle, swizzle.begin(), SwapGreenRed); break; default: |