VERY experimental Nintendo Switch 2 emulator
C++
vk_texture_cache: Do not reinterpret DepthStencil source images
ameerj8281bfa93dda
diff --git a/src/video_core/renderer_vulkan/vk_texture_cache.cpp b/src/video_core/renderer_vulkan/vk_texture_cache.cppindex 8101eb42c6..83a23b66af 100644--- a/src/video_core/renderer_vulkan/vk_texture_cache.cpp+++ b/src/video_core/renderer_vulkan/vk_texture_cache.cpp@@ -781,11 +781,6 @@ bool TextureCacheRuntime::ShouldReinterpret(Image& dst, Image& src) {!device.IsExtShaderStencilExportSupported()) {return true;}- if (VideoCore::Surface::GetFormatType(src.info.format) ==- VideoCore::Surface::SurfaceType::DepthStencil &&- !device.IsExtShaderStencilExportSupported()) {- return true;- }if (dst.info.format == PixelFormat::D32_FLOAT_S8_UINT ||src.info.format == PixelFormat::D32_FLOAT_S8_UINT) {return true;