i965: Fix zeroing of unused attributes in 3DSTATE_SBE.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 9 Jan 2012 00:27:36 +0000 (16:27 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 10 Jan 2012 05:45:11 +0000 (21:45 -0800)
commita48cc138a8b7c55f8d12796677e081c2b2085f48
tree5f0c2d39c5d0fffde276e48f3dc10f7770936402
parent7cb40da7a55e8f81f4e2138845087eb1e0310bc1
i965: Fix zeroing of unused attributes in 3DSTATE_SBE.

This brings the code in sync with gen6_sf_state.c; presumably the
mistake was a botched rebase on initial Ivybridge bring-up patches.

Found by diffing batch buffer dumps and noticing the random values.
Thanks to Eric for catching the obvious mistake.

NOTE: This is a candidate for the 7.11 branch.

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