3
0
Fork 0
forked from suyu/suyu

Texture Cache: Always copy on NVIDIA.

This commit is contained in:
Fernando Sahmkow 2021-11-22 00:06:56 +01:00
parent 8532849439
commit 0902119302

View file

@ -779,6 +779,11 @@ 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;