diff options
author | Kenneth Graunke <[email protected]> | 2018-11-20 09:00:43 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:10 -0800 |
commit | c2a77efa71f4b36708575652b89165745c4ad054 (patch) | |
tree | 862c7acfe881044a265599f39877b3ca6f4a5f59 | |
parent | d918c09975e2ee349e3a8398709bcac5165f341f (diff) |
iris: put render batch first in fence code
this shouldn't matter, but it will make the next refactor easier
-rw-r--r-- | src/gallium/drivers/iris/iris_fence.c | 4 |
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++) { |