diff options
author | Squall Leonhart <danialhorton@hotmail.com> | 2023-10-08 17:13:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-08 17:13:17 +0200 |
commit | 54fa1115a65c811123cc5bfd929af5d5dd4cc8a8 (patch) | |
tree | e22b2182bf001860f4547adc9e25a20e6a3f0f39 /src/video_core | |
parent | Merge pull request #11656 from liamwhite/recreate-surface-automatically (diff) | |
download | yuzu-54fa1115a65c811123cc5bfd929af5d5dd4cc8a8.tar yuzu-54fa1115a65c811123cc5bfd929af5d5dd4cc8a8.tar.gz yuzu-54fa1115a65c811123cc5bfd929af5d5dd4cc8a8.tar.bz2 yuzu-54fa1115a65c811123cc5bfd929af5d5dd4cc8a8.tar.lz yuzu-54fa1115a65c811123cc5bfd929af5d5dd4cc8a8.tar.xz yuzu-54fa1115a65c811123cc5bfd929af5d5dd4cc8a8.tar.zst yuzu-54fa1115a65c811123cc5bfd929af5d5dd4cc8a8.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 3162c8f5e..8c774f512 100644 --- a/src/video_core/texture_cache/format_lookup_table.cpp +++ b/src/video_core/texture_cache/format_lookup_table.cpp @@ -138,6 +138,8 @@ PixelFormat PixelFormatFromTextureInfo(TextureFormat format, ComponentType red, return PixelFormat::E5B9G9R9_FLOAT; case Hash(TextureFormat::Z32, FLOAT): return PixelFormat::D32_FLOAT; + case Hash(TextureFormat::Z32, FLOAT, UINT, UINT, UINT, LINEAR): + return PixelFormat::D32_FLOAT; case Hash(TextureFormat::Z16, UNORM): return PixelFormat::D16_UNORM; case Hash(TextureFormat::Z16, UNORM, UINT, UINT, UINT, LINEAR): |