From d1d86dc55c852815e8b32c264b8c469fab0ca745 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Tue, 8 Nov 2011 11:32:52 -0800 Subject: [PATCH] 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 Reviewed-by: Eric Anholt Reviewed-by: Paul Berry --- src/mesa/drivers/dri/i965/brw_vs_surface_state.c | 1 - 1 file changed, 1 deletion(-) 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 }, -- 2.30.2