mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
zink: zero the unordered access for images upon executing an ordered barrier
avoid keeping stale flags around Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36009>
This commit is contained in:
parent
be28daeef9
commit
a36536fb10
1 changed files with 3 additions and 0 deletions
|
|
@ -451,6 +451,9 @@ zink_resource_image_barrier(struct zink_context *ctx, struct zink_resource *res,
|
|||
} else {
|
||||
res->obj->access = flags;
|
||||
res->obj->access_stage = pipeline;
|
||||
res->obj->unordered_access = 0;
|
||||
res->obj->unordered_access_stage = 0;
|
||||
res->obj->ordered_access_is_copied = false;
|
||||
}
|
||||
|
||||
if (!(flags & VK_ACCESS_TRANSFER_WRITE_BIT))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue