From 24cc6276125e4e0522e7371d45243ee77cc07e83 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Sun, 21 Jan 2018 17:44:08 -0800 Subject: [PATCH] iris: actually flush the commands --- src/gallium/drivers/iris/iris_context.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gallium/drivers/iris/iris_context.c b/src/gallium/drivers/iris/iris_context.c index a9a93c57ff4..f751e623d7e 100644 --- a/src/gallium/drivers/iris/iris_context.c +++ b/src/gallium/drivers/iris/iris_context.c @@ -38,6 +38,10 @@ iris_flush(struct pipe_context *ctx, struct pipe_fence_handle **fence, unsigned flags) { + struct iris_context *ice = (struct iris_context *)ctx; + + iris_batch_flush(&ice->render_batch); + if (fence) *fence = NULL; } -- 2.30.2