mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
zink: fix GENERAL image copy box resets on non-transfer barrier
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35476>
This commit is contained in:
parent
43def9716b
commit
d8c1fdb644
1 changed files with 1 additions and 1 deletions
|
|
@ -673,7 +673,7 @@ zink_resource_memory_barrier(struct zink_context *ctx, struct zink_resource *res
|
|||
res->obj->access_stage = pipeline;
|
||||
res->obj->ordered_access_is_copied = unordered;
|
||||
}
|
||||
if (pipeline != VK_PIPELINE_STAGE_TRANSFER_BIT && is_write && !GENERAL_IMAGE)
|
||||
if (!(flags & VK_ACCESS_TRANSFER_WRITE_BIT) && GENERAL_IMAGE)
|
||||
zink_resource_copies_reset(res);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue