summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2018-09-18 15:08:44 -0700
committerKenneth Graunke <[email protected]>2019-02-21 10:26:09 -0800
commit229450a2a60b6cd14b063465d1cdd7f381e53ae2 (patch)
treed6f353ad4f9f97a82e40ba27017cd0cd3c066691 /src
parentfb4637797efd7c167424673fb23a42bba2da4cf8 (diff)
iris/compute: Flush compute batch on memory-barriers
Signed-off-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/iris/iris_pipe_control.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_pipe_control.c b/src/gallium/drivers/iris/iris_pipe_control.c
index 71b4afea0e1..fe937614150 100644
--- a/src/gallium/drivers/iris/iris_pipe_control.c
+++ b/src/gallium/drivers/iris/iris_pipe_control.c
@@ -185,6 +185,7 @@ iris_memory_barrier(struct pipe_context *ctx, unsigned flags)
// XXX: compute batch?
iris_emit_pipe_control_flush(&ice->render_batch, bits);
+ iris_emit_pipe_control_flush(&ice->compute_batch, bits);
}
void