mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
PixelShaderGen: Don't assign to input variables.
This commit is contained in:
parent
8676891f77
commit
3ed777b0f9
3 changed files with 19 additions and 17 deletions
|
@ -264,7 +264,7 @@ static void GenerateLightingShader(T& object, LightingUidData& uid_data, int com
|
|||
GenerateLightShader<T>(object, uid_data, i, lit_index, coloralpha);
|
||||
}
|
||||
}
|
||||
object.Write("lacc = clamp(lacc, 0, 255);");
|
||||
object.Write("lacc = clamp(lacc, 0, 255);\n");
|
||||
object.Write("%s%d = float4((mat * (lacc + (lacc >> 7))) >> 8) / 255.0;\n", dest, j);
|
||||
object.Write("}\n");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue