iris: actually flush the commands
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 22 Jan 2018 01:44:08 +0000 (17:44 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:05 +0000 (10:26 -0800)
src/gallium/drivers/iris/iris_context.c

index a9a93c57ff4a273413d85613d009c90cee71b193..f751e623d7e706ae5b1810de3a343d9c923f1ea3 100644 (file)
@@ -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;
 }