i965: Fix polygon stipple offset state flagging.
authorEric Anholt <eric@anholt.net>
Mon, 19 Sep 2011 16:26:50 +0000 (09:26 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 20 Sep 2011 17:20:06 +0000 (10:20 -0700)
commit7288d010e0afeade5357502fdc018fc4928330f6
treede5d57d06e99e792aa9ee707c8ad432bf4e998ff
parent4c9b09d3c2cc50b1dd46b9eb8a89d6086016484b
i965: Fix polygon stipple offset state flagging.

_NEW_WINDOW_POS wasn't a real Mesa state flag, but we were missing
_NEW_BUFFERS to update the stipple offset when FBO binding or window
size changed, and _NEW_POLYGON to update when stippling gets enabled.

Fixes oglconform's tristrip test.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
src/mesa/drivers/dri/i965/brw_misc_state.c