summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2022-03-18 01:55:05 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2022-03-18 01:55:05 +0100
commit4d840aa903ac1285c58450813f0b5041669454c6 (patch)
tree450a8a897fcf50efd2db7a7ea74e300800f0ef1e
parentMerge pull request #8024 from liamwhite/const-indexing (diff)
downloadyuzu-4d840aa903ac1285c58450813f0b5041669454c6.tar
yuzu-4d840aa903ac1285c58450813f0b5041669454c6.tar.gz
yuzu-4d840aa903ac1285c58450813f0b5041669454c6.tar.bz2
yuzu-4d840aa903ac1285c58450813f0b5041669454c6.tar.lz
yuzu-4d840aa903ac1285c58450813f0b5041669454c6.tar.xz
yuzu-4d840aa903ac1285c58450813f0b5041669454c6.tar.zst
yuzu-4d840aa903ac1285c58450813f0b5041669454c6.zip
-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;