From c2a77efa71f4b36708575652b89165745c4ad054 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Tue, 20 Nov 2018 09:00:43 -0800 Subject: iris: put render batch first in fence code this shouldn't matter, but it will make the next refactor easier --- src/gallium/drivers/iris/iris_fence.c | 4 ++-- 1 file 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++) { -- cgit v1.2.3