Skip to content

turnip: clamp to zero negative upper left corner of viewport

We cannot send negative viewport coordinates to the hardware, so clamp them since negative min.x/y is valid per spec.
The negative origin still counts in calculations of guardband.

Fixes crash in 3DMark's "Sling Shot Extreme" test.

Merge request reports

Loading