From: Kenneth Graunke Date: Mon, 22 Jan 2018 01:44:08 +0000 (-0800) Subject: iris: actually flush the commands X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=24cc6276125e4e0522e7371d45243ee77cc07e83;p=mesa.git iris: actually flush the commands --- 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; }