iris/compute: Flush compute batch on memory-barriers
authorJordan Justen <jordan.l.justen@intel.com>
Tue, 18 Sep 2018 22:08:44 +0000 (15:08 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:09 +0000 (10:26 -0800)
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
src/gallium/drivers/iris/iris_pipe_control.c

index 71b4afea0e1edcb1fdb99cd349196acd2fbae273..fe93761415022f75d4f86aa77964261e0da83b10 100644 (file)
@@ -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