mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-26 14:55:42 +01:00
Merge pull request #8036 from ameerj/starbit-nv
vk_texture_cache: Do not reinterpret DepthStencil source images
This commit is contained in:
commit
7c05c987a3
@ -781,11 +781,6 @@ 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 New Issue
Block a user