[965] Flush icache on new batch, not just new context.
This is required since our buffer manager may now move our instruction-containing buffers at any batchbuffer emit.
This commit is contained in:
@@ -394,7 +394,7 @@ static void upload_pipe_control(struct brw_context *brw)
|
||||
const struct brw_tracked_state brw_pipe_control = {
|
||||
.dirty = {
|
||||
.mesa = 0,
|
||||
.brw = BRW_NEW_CONTEXT,
|
||||
.brw = BRW_NEW_BATCH,
|
||||
.cache = 0
|
||||
},
|
||||
.update = upload_pipe_control
|
||||
|
||||
Reference in New Issue
Block a user