From 60cf84dea7dfe2749d774b487079684d6a613afc Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Thu, 24 Sep 2015 00:26:59 -0700 Subject: [PATCH] i965/cs: Re-emit cs_state when surfaces have changed MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Unlike rendering (BINDING_TABLE_POINTERS_*S), compute doesn't have a binding table pointers command. Instead it is part of the MEDIA_INTERFACE_DESCRIPTOR structure loaded by the brw_cs_state atom. Signed-off-by: Jordan Justen Reviewed-by: Kristian Høgsberg --- src/mesa/drivers/dri/i965/gen7_cs_state.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/gen7_cs_state.c b/src/mesa/drivers/dri/i965/gen7_cs_state.c index c53aa233819..0b88b2c0e71 100644 --- a/src/mesa/drivers/dri/i965/gen7_cs_state.c +++ b/src/mesa/drivers/dri/i965/gen7_cs_state.c @@ -183,7 +183,8 @@ const struct brw_tracked_state brw_cs_state = { .mesa = _NEW_PROGRAM_CONSTANTS, .brw = BRW_NEW_BATCH | BRW_NEW_CS_PROG_DATA | - BRW_NEW_PUSH_CONSTANT_ALLOCATION, + BRW_NEW_PUSH_CONSTANT_ALLOCATION | + BRW_NEW_SURFACES, }, .emit = brw_upload_cs_state }; -- 2.30.2