mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-15 18:40:00 +00:00
rsx: Clamp negative fog distance
This commit is contained in:
parent
887ea43e39
commit
5aac8aa424
@ -65,6 +65,7 @@ namespace program_common
|
||||
template_body += " break;\n";
|
||||
template_body += " }\n";
|
||||
template_body += "\n";
|
||||
template_body += " result.x = max(result.x, 0.);\n";
|
||||
template_body += " result.y = clamp(result.y, 0., 1.);\n";
|
||||
template_body += " return result;\n";
|
||||
template_body += "}\n\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user