summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2015-09-24 00:26:59 -0700
committerJordan Justen <[email protected]>2015-09-29 08:23:47 -0700
commit60cf84dea7dfe2749d774b487079684d6a613afc (patch)
tree91040227d3a1af70a4a5c07bd3dbfb66073a899a /src/mesa/drivers
parent2ec5f3e1d5616f9e5c223a9f48d4b1a0d2568225 (diff)
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 <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/gen7_cs_state.c3
1 files changed, 2 insertions, 1 deletions
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
};