mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-12-25 19:02:45 -06:00
Texture Cache: Always copy on NVIDIA.
This commit is contained in:
parent
8532849439
commit
0902119302
1 changed files with 5 additions and 0 deletions
|
@ -779,6 +779,11 @@ bool TextureCacheRuntime::ShouldReinterpret(Image& dst, Image& src) {
|
||||||
!device.IsExtShaderStencilExportSupported()) {
|
!device.IsExtShaderStencilExportSupported()) {
|
||||||
return true;
|
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 ||
|
if (dst.info.format == PixelFormat::D32_FLOAT_S8_UINT ||
|
||||||
src.info.format == PixelFormat::D32_FLOAT_S8_UINT) {
|
src.info.format == PixelFormat::D32_FLOAT_S8_UINT) {
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue