From 2c0b1351330bbccea480aba5f10e0d2c81a265a7 Mon Sep 17 00:00:00 2001 From: boludoz Date: Thu, 28 Sep 2023 01:55:02 -0300 Subject: [PATCH] Commented problematic downscale --- src/video_core/texture_cache/image_info.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/video_core/texture_cache/image_info.cpp b/src/video_core/texture_cache/image_info.cpp index 1c87fb61b9..66cefb237a 100644 --- a/src/video_core/texture_cache/image_info.cpp +++ b/src/video_core/texture_cache/image_info.cpp @@ -196,7 +196,8 @@ ImageInfo::ImageInfo(const Maxwell3D::Regs::Zeta& zt, const Maxwell3D::Regs::Zet type = ImageType::e2D; if (zt_size.dim_control == Maxwell3D::Regs::ZetaSize::DimensionControl::DefineArraySize) { resources.layers = zt_size.depth; - downscaleable = size.height > DownscaleHeightThreshold; + // TODO: Problematic downscaling here, check if it is possible add more "filters" for avoid bugs. + // downscaleable = size.height > DownscaleHeightThreshold; } else if (zt_size.dim_control == Maxwell3D::Regs::ZetaSize::DimensionControl::ArraySizeIsOne) { resources.layers = 1;