From 86fa379c78e8943bb3288028256649b5e481534b Mon Sep 17 00:00:00 2001 From: kd-11 Date: Mon, 6 Nov 2017 01:31:42 +0300 Subject: [PATCH] rsx/vk: Fix unnormalized converted textures --- rpcs3/Emu/RSX/VK/VKCommonDecompiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/VK/VKCommonDecompiler.cpp b/rpcs3/Emu/RSX/VK/VKCommonDecompiler.cpp index b76e39317f..a704e75a5c 100644 --- a/rpcs3/Emu/RSX/VK/VKCommonDecompiler.cpp +++ b/rpcs3/Emu/RSX/VK/VKCommonDecompiler.cpp @@ -67,7 +67,7 @@ namespace vk case FUNCTION::FUNCTION_VERTEX_TEXTURE_FETCH2D: return "textureLod($t, $0.xy, 0)"; case FUNCTION::FUNCTION_TEXTURE_SAMPLE2D_DEPTH_RGBA: - return "texture2DReconstruct($t, $0.xy)"; + return "texture2DReconstruct($t, $0.xy * texture_parameters[$_i].xy)"; } }