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:
Mike Blumenkrantz 2025-07-09 10:26:43 -04:00 committed by Marge Bot
parent be28daeef9
commit a36536fb10

View file

@ -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))