Merge pull request #9833 from Pokechu22/ubershaders-tevcoord

UberShaderPixel: always set tevcoord, even if the stage has no texture
This commit is contained in:
Léo Lam authored and GitHub committed 2021-06-24 01:05:17 +02:00
commit a632a6a404
1 file changed
+1 -1
+1 -1
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"