From: Jordan Justen Date: Tue, 18 Sep 2018 22:08:44 +0000 (-0700) Subject: iris/compute: Flush compute batch on memory-barriers X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=229450a2a60b6cd14b063465d1cdd7f381e53ae2;p=mesa.git iris/compute: Flush compute batch on memory-barriers Signed-off-by: Jordan Justen --- 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