Browse Source

Merge pull request #8036 from ameerj/starbit-nv

vk_texture_cache: Do not reinterpret DepthStencil source images
pull/15/merge
Fernando S 4 years ago
committed by GitHub
parent
commit
7c05c987a3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      src/video_core/renderer_vulkan/vk_texture_cache.cpp

5
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;

Loading…
Cancel
Save