mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
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:
@ -893,7 +893,7 @@ ShaderCode GenPixelShader(APIType ApiType, const ShaderHostConfig& host_config,
|
|||||||
" // Emulate s24 overflows\n"
|
" // Emulate s24 overflows\n"
|
||||||
" tevcoord.xy = (tevcoord.xy << 8) >> 8;\n"
|
" tevcoord.xy = (tevcoord.xy << 8) >> 8;\n"
|
||||||
" }}\n"
|
" }}\n"
|
||||||
" else if (texture_enabled)\n"
|
" else\n"
|
||||||
" {{\n"
|
" {{\n"
|
||||||
" tevcoord.xy = fixedPoint_uv;\n"
|
" tevcoord.xy = fixedPoint_uv;\n"
|
||||||
" }}\n"
|
" }}\n"
|
||||||
|
Reference in New Issue
Block a user