mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
UberShaderPixel: Fix typo in fog calculation
This commit is contained in:
@ -1062,7 +1062,7 @@ ShaderCode GenPixelShader(APIType api_type, const ShaderHostConfig& host_config,
|
|||||||
" }} else {{\n"
|
" }} else {{\n"
|
||||||
" // orthographic\n"
|
" // orthographic\n"
|
||||||
" // ze = a*Zs (here, no B_SHF)\n"
|
" // ze = a*Zs (here, no B_SHF)\n"
|
||||||
" ze = " I_FOGF ".z * float(zCoord) / 16777216.0;\n"
|
" ze = " I_FOGF ".x * float(zCoord) / 16777216.0;\n"
|
||||||
" }}\n"
|
" }}\n"
|
||||||
"\n"
|
"\n"
|
||||||
" if (bool({})) {{\n",
|
" if (bool({})) {{\n",
|
||||||
|
Reference in New Issue
Block a user