diff options
author | Kenneth Graunke <[email protected]> | 2018-01-21 17:44:08 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:05 -0800 |
commit | 24cc6276125e4e0522e7371d45243ee77cc07e83 (patch) | |
tree | bdeb514bca375f7cdb074ceff3a772696fd5ccd4 /src/gallium/drivers/iris/iris_context.c | |
parent | 082911409e9c1f41a51c05a3dd4aa3fd89b63316 (diff) |
iris: actually flush the commands
Diffstat (limited to 'src/gallium/drivers/iris/iris_context.c')
-rw-r--r-- | src/gallium/drivers/iris/iris_context.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; } |