mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
zink: set feedback attachments on batch init
just to be safe Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23766>
This commit is contained in:
parent
7cbdb0b714
commit
7fe1657140
1 changed files with 3 additions and 1 deletions
|
|
@ -510,8 +510,10 @@ zink_start_batch(struct zink_context *ctx, struct zink_batch *batch)
|
|||
if (zink_descriptor_mode == ZINK_DESCRIPTOR_MODE_DB && !(ctx->flags & ZINK_CONTEXT_COPY_ONLY))
|
||||
zink_batch_bind_db(ctx);
|
||||
/* zero init for unordered blits */
|
||||
if (screen->info.have_EXT_attachment_feedback_loop_dynamic_state)
|
||||
if (screen->info.have_EXT_attachment_feedback_loop_dynamic_state) {
|
||||
VKCTX(CmdSetAttachmentFeedbackLoopEnableEXT)(ctx->batch.state->cmdbuf, 0);
|
||||
VKCTX(CmdSetAttachmentFeedbackLoopEnableEXT)(ctx->batch.state->barrier_cmdbuf, 0);
|
||||
}
|
||||
}
|
||||
|
||||
/* common operations to run post submit; split out for clarity */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue