mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
iris: put render batch first in fence code
this shouldn't matter, but it will make the next refactor easier
This commit is contained in:
parent
d918c09975
commit
c2a77efa71
1 changed files with 2 additions and 2 deletions
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue