From f090a943190aead4d24f0cd4ba5ca32c08261706 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Mon, 3 Jul 2017 16:32:02 +0200 Subject: Remove non-integer IRs --- Source/Core/VideoBackends/Vulkan/TextureConverter.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/Core/VideoBackends/Vulkan/TextureConverter.cpp') diff --git a/Source/Core/VideoBackends/Vulkan/TextureConverter.cpp b/Source/Core/VideoBackends/Vulkan/TextureConverter.cpp index 20be913b6a..15d0ae7572 100644 --- a/Source/Core/VideoBackends/Vulkan/TextureConverter.cpp +++ b/Source/Core/VideoBackends/Vulkan/TextureConverter.cpp @@ -248,9 +248,9 @@ void TextureConverter::EncodeTextureToMemory(VkImageView src_texture, u8* dest_p draw.SetPushConstants(position_uniform, sizeof(position_uniform)); // We also linear filtering for both box filtering and downsampling higher resolutions to 1x - // TODO: This only produces perfect downsampling for 1.5x and 2x IR, other resolution will - // need more complex down filtering to average all pixels and produce the correct result. - bool linear_filter = (scale_by_half && !params.depth) || g_ActiveConfig.iEFBScale != SCALE_1X; + // TODO: This only produces perfect downsampling for 2x IR, other resolutions will need more + // complex down filtering to average all pixels and produce the correct result. + bool linear_filter = (scale_by_half && !params.depth) || g_ActiveConfig.iEFBScale != 1; draw.SetPSSampler(0, src_texture, linear_filter ? g_object_cache->GetLinearSampler() : g_object_cache->GetPointSampler()); -- cgit v1.2.3