diff options
author | Feng Chen <vonchenplus@gmail.com> | 2021-11-29 05:39:37 +0100 |
---|---|---|
committer | Feng Chen <vonchenplus@gmail.com> | 2021-11-29 05:39:37 +0100 |
commit | 524a9baa7ea33125d5e6ba48f277c81fb7a612e3 (patch) | |
tree | 3714139b8d54268e0f725be8116b312ede3b8d04 /src/video_core | |
parent | Merge pull request #7396 from FernandoS27/blit-this-mf (diff) | |
download | yuzu-524a9baa7ea33125d5e6ba48f277c81fb7a612e3.tar yuzu-524a9baa7ea33125d5e6ba48f277c81fb7a612e3.tar.gz yuzu-524a9baa7ea33125d5e6ba48f277c81fb7a612e3.tar.bz2 yuzu-524a9baa7ea33125d5e6ba48f277c81fb7a612e3.tar.lz yuzu-524a9baa7ea33125d5e6ba48f277c81fb7a612e3.tar.xz yuzu-524a9baa7ea33125d5e6ba48f277c81fb7a612e3.tar.zst yuzu-524a9baa7ea33125d5e6ba48f277c81fb7a612e3.zip |
Diffstat (limited to 'src/video_core')
-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): |