summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/iris/iris_fence.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/iris/iris_fence.c b/src/gallium/drivers/iris/iris_fence.c
index 8c0d5b97171..2ab11b80697 100644
--- a/src/gallium/drivers/iris/iris_fence.c
+++ b/src/gallium/drivers/iris/iris_fence.c
@@ -161,8 +161,8 @@ iris_fence_flush(struct pipe_context *ctx,
struct iris_screen *screen = (void *) ctx->screen;
struct iris_context *ice = (struct iris_context *)ctx;
struct iris_batch *batch[IRIS_BATCH_COUNT] = {
+ &ice->render_batch,
&ice->compute_batch,
- &ice->render_batch
};
/* XXX PIPE_FLUSH_DEFERRED */
@@ -194,8 +194,8 @@ iris_fence_await(struct pipe_context *ctx,
{
struct iris_context *ice = (struct iris_context *)ctx;
struct iris_batch *batch[IRIS_BATCH_COUNT] = {
+ &ice->render_batch,
&ice->compute_batch,
- &ice->render_batch
};
for (unsigned b = 0; b < ARRAY_SIZE(batch); b++) {
for (unsigned i = 0; i < fence->count; i++) {