UberShaderPixel: always set tevcoord, even if the stage has no texture

This fixes NES game graphics when UberShaders are in use.
This commit is contained in:
Pokechu22 2021-06-21 13:01:02 -07:00
parent c788beecfc
commit 2f1726e3f3

View File

@ -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"