From 2f1726e3f32d7bdb85cf827b98b6d47ab1a06912 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Mon, 21 Jun 2021 13:01:02 -0700 Subject: [PATCH] UberShaderPixel: always set tevcoord, even if the stage has no texture This fixes NES game graphics when UberShaders are in use. --- Source/Core/VideoCommon/UberShaderPixel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/VideoCommon/UberShaderPixel.cpp b/Source/Core/VideoCommon/UberShaderPixel.cpp index a9735667fc..fd22d1d278 100644 --- a/Source/Core/VideoCommon/UberShaderPixel.cpp +++ b/Source/Core/VideoCommon/UberShaderPixel.cpp @@ -893,7 +893,7 @@ ShaderCode GenPixelShader(APIType ApiType, const ShaderHostConfig& host_config, " // Emulate s24 overflows\n" " tevcoord.xy = (tevcoord.xy << 8) >> 8;\n" " }}\n" - " else if (texture_enabled)\n" + " else\n" " {{\n" " tevcoord.xy = fixedPoint_uv;\n" " }}\n"