v3d: Handle a no-intersection scissor even if it's outside of the VP.
authorEric Anholt <eric@anholt.net>
Fri, 15 Jun 2018 01:05:50 +0000 (18:05 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 15 Jun 2018 23:09:39 +0000 (16:09 -0700)
commit4106f6ce54f77c3cb5712eafc1358f53b99b5e09
tree5d77094f89714cbc60fb7c8fd6294f71f61382bf
parent9aa670e52ae5698359f2b1271c047d5ebd6f4c02
v3d: Handle a no-intersection scissor even if it's outside of the VP.

The min/maxes ended up producing a negative clip width/height for
dEQP-GLES3.functional.fragment_ops.scissor.outside_render_line.  Just make
sure they stay at 0 (or v3d 3.x's workaround) if that happens.
src/gallium/drivers/v3d/v3dx_emit.c