i965/gen7: Remove gratuitous dirty flags from WM and PS state.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 9 Jul 2011 03:17:50 +0000 (20:17 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 9 Jul 2011 06:24:55 +0000 (23:24 -0700)
commit57b57f6d1c3689a3a44222cb169bfd3e3142a68d
tree695787f99c5d7150b57f374e21dc7f4a07daadfb
parent3efb47f0b0557a6b96a7e41b27725cea4736a061
i965/gen7: Remove gratuitous dirty flags from WM and PS state.

Commit b46dc45ceef3deb17ba2b0b4300eeb93e9cf7833 claimed that
NEW_POLYGONSTIPPLE is gratuitous, but somehow just changed comments
and whitespace instead of actually removing the flag.

While we're at it, 3DSTATE_PS doesn't appear to need NEW_LINE or
NEW_POLYGON either (those are in 3DSTATE_WM).  Also, 3DSTATE_WM
doesn't appear to need BRW_NEW_NR_WM_SURFACES or BRW_NEW_CURBE_OFFSETS
either (those are in 3DSTATE_PS).

NOTE: This is a candidate for the 7.11 branch.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/gen7_wm_state.c