diff options
author | Fernando S <fsahmkow27@gmail.com> | 2022-03-20 13:35:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-20 13:35:59 +0100 |
commit | 7c05c987a38503f0b499c7169594b6382098805f (patch) | |
tree | e286eb6886692c87e279deb38ce60da3df719cda | |
parent | Merge pull request #7840 from lioncash/bitor (diff) | |
parent | vk_texture_cache: Do not reinterpret DepthStencil source images (diff) | |
download | yuzu-7c05c987a38503f0b499c7169594b6382098805f.tar yuzu-7c05c987a38503f0b499c7169594b6382098805f.tar.gz yuzu-7c05c987a38503f0b499c7169594b6382098805f.tar.bz2 yuzu-7c05c987a38503f0b499c7169594b6382098805f.tar.lz yuzu-7c05c987a38503f0b499c7169594b6382098805f.tar.xz yuzu-7c05c987a38503f0b499c7169594b6382098805f.tar.zst yuzu-7c05c987a38503f0b499c7169594b6382098805f.zip |
-rw-r--r-- | src/video_core/renderer_vulkan/vk_texture_cache.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/video_core/renderer_vulkan/vk_texture_cache.cpp b/src/video_core/renderer_vulkan/vk_texture_cache.cpp index 8101eb42c..83a23b66a 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; |