mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 00:50:07 +01:00
zink: don't start renderpasses during descriptor update
this is unnecessary Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9292>
This commit is contained in:
parent
ff99faf0cf
commit
b2cf50ed6d
1 changed files with 2 additions and 2 deletions
|
|
@ -514,7 +514,7 @@ update_descriptors(struct zink_context *ctx, struct zink_screen *screen, bool is
|
|||
dsl = ctx->curr_compute->base.dsl;
|
||||
batch = &ctx->compute_batch;
|
||||
} else {
|
||||
batch = zink_batch_rp(ctx);
|
||||
batch = zink_curr_batch(ctx);
|
||||
num_descriptors = ctx->curr_program->base.num_descriptors;
|
||||
dsl = ctx->curr_program->base.dsl;
|
||||
}
|
||||
|
|
@ -525,7 +525,7 @@ update_descriptors(struct zink_context *ctx, struct zink_screen *screen, bool is
|
|||
zink_wait_on_batch(ctx, ZINK_COMPUTE_BATCH_ID);
|
||||
else {
|
||||
ctx->base.flush(&ctx->base, NULL, 0);
|
||||
batch = zink_batch_rp(ctx);
|
||||
batch = zink_curr_batch(ctx);
|
||||
}
|
||||
}
|
||||
if (is_compute)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue