summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSquall Leonhart <danialhorton@hotmail.com>2023-08-10 16:51:24 +0200
committerSquall-Leonhart <danialhorton@hotmail.com>2023-08-11 00:18:54 +0200
commitb9ab44ed0e8706eed9d7fa6f3d6e70b0299ef42e (patch)
treebbd4a39c4805c8f9beb308de27139d49bcea4621
parentMerge pull request #11093 from liamwhite/result-ergonomics (diff)
downloadyuzu-b9ab44ed0e8706eed9d7fa6f3d6e70b0299ef42e.tar
yuzu-b9ab44ed0e8706eed9d7fa6f3d6e70b0299ef42e.tar.gz
yuzu-b9ab44ed0e8706eed9d7fa6f3d6e70b0299ef42e.tar.bz2
yuzu-b9ab44ed0e8706eed9d7fa6f3d6e70b0299ef42e.tar.lz
yuzu-b9ab44ed0e8706eed9d7fa6f3d6e70b0299ef42e.tar.xz
yuzu-b9ab44ed0e8706eed9d7fa6f3d6e70b0299ef42e.tar.zst
yuzu-b9ab44ed0e8706eed9d7fa6f3d6e70b0299ef42e.zip
-rw-r--r--src/video_core/texture_cache/format_lookup_table.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/texture_cache/format_lookup_table.cpp b/src/video_core/texture_cache/format_lookup_table.cpp
index 11ced6c38..0105bbff4 100644
--- a/src/video_core/texture_cache/format_lookup_table.cpp
+++ b/src/video_core/texture_cache/format_lookup_table.cpp
@@ -138,7 +138,7 @@ PixelFormat PixelFormatFromTextureInfo(TextureFormat format, ComponentType red,
return PixelFormat::E5B9G9R9_FLOAT;
case Hash(TextureFormat::Z32, FLOAT):
return PixelFormat::D32_FLOAT;
- case Hash(TextureFormat::Z16, UNORM):
+ case Hash(TextureFormat::Z16, UNORM, UINT, UINT, UINT, LINEAR):
return PixelFormat::D16_UNORM;
case Hash(TextureFormat::Z24S8, UINT, UNORM, UNORM, UNORM, LINEAR):
return PixelFormat::S8_UINT_D24_UNORM;