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 2021-06-24 01:05:17 +02:00 committed by GitHub
commit a632a6a404
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"