VERY experimental Nintendo Switch 2 emulator
C++
format_lookup_table: Implement R32_B24G8 with D32_FLOAT_S8_UINT
Morphd481ac5a0c29
diff --git a/src/video_core/texture_cache/format_lookup_table.cpp b/src/video_core/texture_cache/format_lookup_table.cppindex ad935d3860..08aa8ca339 100644--- a/src/video_core/texture_cache/format_lookup_table.cpp+++ b/src/video_core/texture_cache/format_lookup_table.cpp@@ -150,6 +150,8 @@ PixelFormat PixelFormatFromTextureInfo(TextureFormat format, ComponentType red,return PixelFormat::D24_UNORM_S8_UINT;case Hash(TextureFormat::D32S8, FLOAT, UINT, UNORM, UNORM, LINEAR):return PixelFormat::D32_FLOAT_S8_UINT;+ case Hash(TextureFormat::R32_B24G8, FLOAT, UINT, UNORM, UNORM, LINEAR):+ return PixelFormat::D32_FLOAT_S8_UINT;case Hash(TextureFormat::BC1_RGBA, UNORM, LINEAR):return PixelFormat::BC1_RGBA_UNORM;case Hash(TextureFormat::BC1_RGBA, UNORM, SRGB):