[Mesa-dev] [PATCH 3/9] i965/cs: Re-emit cs_state when surfaces have changed
Jordan Justen
jordan.l.justen at intel.com
Fri Sep 25 15:39:09 PDT 2015
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 <jordan.l.justen at intel.com>
---
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 c53aa23..0b88b2c 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.5.1
More information about the mesa-dev
mailing list