aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/iris/iris_state.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c
index 9383617f0cd..a4644f02b61 100644
--- a/src/gallium/drivers/iris/iris_state.c
+++ b/src/gallium/drivers/iris/iris_state.c
@@ -4362,6 +4362,8 @@ iris_upload_compute_state(struct iris_context *ice,
ggw.BottomExecutionMask = 0xffffffff;
}
+ iris_emit_cmd(batch, GENX(MEDIA_STATE_FLUSH), msf);
+
if (!batch->contains_draw) {
iris_restore_compute_saved_bos(ice, batch, grid);
batch->contains_draw = true;