summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2011-11-08 11:32:52 -0800
committerKenneth Graunke <[email protected]>2011-11-10 22:51:19 -0800
commitd1d86dc55c852815e8b32c264b8c469fab0ca745 (patch)
treeebae8df77f8a981c074876e4857c0a2413e35553 /src/mesa
parent7c057f2360106488365e07af8055b4c696d855a3 (diff)
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 <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vs_surface_state.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs_surface_state.c b/src/mesa/drivers/dri/i965/brw_vs_surface_state.c
index 8c63db8a89b..5f94bda9158 100644
--- a/src/mesa/drivers/dri/i965/brw_vs_surface_state.c
+++ b/src/mesa/drivers/dri/i965/brw_vs_surface_state.c
@@ -182,7 +182,6 @@ const struct brw_tracked_state brw_vs_surfaces = {
.dirty = {
.mesa = 0,
.brw = (BRW_NEW_VS_CONSTBUF |
- BRW_NEW_NR_VS_SURFACES |
BRW_NEW_BATCH),
.cache = 0
},