summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFernando S <fsahmkow27@gmail.com>2022-03-20 13:35:59 +0100
committerGitHub <noreply@github.com>2022-03-20 13:35:59 +0100
commit7c05c987a38503f0b499c7169594b6382098805f (patch)
treee286eb6886692c87e279deb38ce60da3df719cda /src
parentMerge pull request #7840 from lioncash/bitor (diff)
parentvk_texture_cache: Do not reinterpret DepthStencil source images (diff)
downloadyuzu-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
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_vulkan/vk_texture_cache.cpp5
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;