mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-12 23:48:58 +01: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:
parent
c788beecfc
commit
2f1726e3f3
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user