diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-10-08 17:12:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-08 17:12:00 -0400 |
commit | 1c1959eaebb09a3dc0708be6c20dc001ac30a102 (patch) | |
tree | 41a7c2554fa878c250b99f07d5787b768869a5ee /src | |
parent | c0d152affa3e1c118247a2cb36c8a26dee9d6372 (diff) | |
parent | 54fa1115a65c811123cc5bfd929af5d5dd4cc8a8 (diff) |
Merge pull request #11716 from Squall-Leonhart/Z327444
add Z32, FLOAT, UINT, UINT, UINT, LINEAR to format lookup table
Diffstat (limited to 'src')
-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): |