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 <jordan.l.justen@intel.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
This commit is contained in:
Jordan Justen 2015-09-24 00:26:59 -07:00
parent 2ec5f3e1d5
commit 60cf84dea7
1 changed files with 2 additions and 1 deletions

View File

@ -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
};