From: Jordan Justen Date: Thu, 24 Sep 2015 07:26:59 +0000 (-0700) Subject: i965/cs: Re-emit cs_state when surfaces have changed X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=60cf84dea7dfe2749d774b487079684d6a613afc;p=mesa.git i965/cs: Re-emit cs_state when surfaces have changed 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 --- 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 };