diff options
author | bunnei <bunneidev@gmail.com> | 2021-11-30 00:19:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-30 00:19:15 +0100 |
commit | 051e63c9a1dac59d89a79ac253f5d595cd695fc3 (patch) | |
tree | 6c414f34cd82c9b352bb7865c079726817637630 | |
parent | Merge pull request #7465 from german77/no_input (diff) | |
parent | Add missing pixel format mapping (diff) | |
download | yuzu-051e63c9a1dac59d89a79ac253f5d595cd695fc3.tar yuzu-051e63c9a1dac59d89a79ac253f5d595cd695fc3.tar.gz yuzu-051e63c9a1dac59d89a79ac253f5d595cd695fc3.tar.bz2 yuzu-051e63c9a1dac59d89a79ac253f5d595cd695fc3.tar.lz yuzu-051e63c9a1dac59d89a79ac253f5d595cd695fc3.tar.xz yuzu-051e63c9a1dac59d89a79ac253f5d595cd695fc3.tar.zst yuzu-051e63c9a1dac59d89a79ac253f5d595cd695fc3.zip |
-rw-r--r-- | src/video_core/texture_cache/format_lookup_table.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/texture_cache/format_lookup_table.cpp b/src/video_core/texture_cache/format_lookup_table.cpp index ddfb726fe..afa807d5d 100644 --- a/src/video_core/texture_cache/format_lookup_table.cpp +++ b/src/video_core/texture_cache/format_lookup_table.cpp @@ -139,6 +139,8 @@ PixelFormat PixelFormatFromTextureInfo(TextureFormat format, ComponentType red, return PixelFormat::D16_UNORM; case Hash(TextureFormat::S8D24, UINT, UNORM, UNORM, UNORM, LINEAR): return PixelFormat::S8_UINT_D24_UNORM; + case Hash(TextureFormat::S8D24, UINT, UNORM, UINT, UINT, LINEAR): + return PixelFormat::S8_UINT_D24_UNORM; case Hash(TextureFormat::R8G24, UINT, UNORM, UNORM, UNORM, LINEAR): return PixelFormat::S8_UINT_D24_UNORM; case Hash(TextureFormat::D32S8, FLOAT, UINT, UNORM, UNORM, LINEAR): |