i965: Fix missing _NEW_SCISSOR in Broadwell SF_CLIP_VIEWPORT state.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 10 Apr 2014 05:54:11 +0000 (22:54 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 11 Apr 2014 06:38:10 +0000 (23:38 -0700)
commit227049098b59bca88883a750602fdad41949c996
tree439a4117942a884e3a1880f57548dfb850b46448
parent31640f4c389641d458da31db137280431400bdfc
i965: Fix missing _NEW_SCISSOR in Broadwell SF_CLIP_VIEWPORT state.

The _Xmin/_Xmax/_Ymin/_Ymax values need to be guarded by _NEW_SCISSOR.

Fixes Piglit's scissor-many, and rendering in GNOME Shell.
Hopefully fixes similar issues with Unity and ChromeOS.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75879
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Tested-by: James Ausmus <james.ausmus@intel.com>
Tested-by: Timo Aaltonen <tjaalton@ubuntu.com>
src/mesa/drivers/dri/i965/gen8_viewport_state.c