mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
zink: remove zink_batch usage from zink_clear.c
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29108>
This commit is contained in:
parent
efa8ce29a4
commit
4adfb03f5b
1 changed files with 1 additions and 2 deletions
|
|
@ -106,9 +106,8 @@ clear_in_rp(struct pipe_context *pctx,
|
|||
}
|
||||
cr.baseArrayLayer = 0;
|
||||
cr.layerCount = util_framebuffer_get_num_layers(fb);
|
||||
struct zink_batch *batch = &ctx->batch;
|
||||
assert(ctx->in_rp);
|
||||
VKCTX(CmdClearAttachments)(batch->bs->cmdbuf, num_attachments, attachments, 1, &cr);
|
||||
VKCTX(CmdClearAttachments)(ctx->batch.bs->cmdbuf, num_attachments, attachments, 1, &cr);
|
||||
/*
|
||||
Rendering within a subpass containing a feedback loop creates a data race, except in the following
|
||||
cases:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue