i965: Remove BRW_NEW_NR_VS_SURFACES dirty bit from brw_vs_surfaces.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 8 Nov 2011 19:32:52 +0000 (11:32 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 11 Nov 2011 06:51:19 +0000 (22:51 -0800)
commitd1d86dc55c852815e8b32c264b8c469fab0ca745
treeebae8df77f8a981c074876e4857c0a2413e35553
parent7c057f2360106488365e07af8055b4c696d855a3
i965: Remove BRW_NEW_NR_VS_SURFACES dirty bit from brw_vs_surfaces.

brw_vs_surfaces _produces_ the BRW_NEW_NR_VS_SURFACES dirty bit, so it
makes no sense for it to subscribe to it.

Fixes an assertion failure in many piglit tests when INTEL_DEBUG is set:
  brw_state_upload.c:484: void brw_upload_state(struct brw_context *):
  Assertion `!check_state(&examined, &generated)' failed.

One such piglit test is vs-uniform-array-mat2-col-rd.shader_test.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_vs_surface_state.c