mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-23 20:30:30 +01:00
zink: fix assert for unsynchronized non-GENERAL image barriers
if this is already unsync then everything is fine
Fixes: 213874d42b ("zink: use unsynchronized cmdbuf for unsynchronized image GENERAL barriers")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36576>
This commit is contained in:
parent
b717240ffa
commit
c50ac33cd2
1 changed files with 1 additions and 1 deletions
|
|
@ -354,7 +354,7 @@ template <>
|
|||
struct update_unordered_access_and_get_cmdbuf<true> {
|
||||
static VkCommandBuffer apply(struct zink_context *ctx, struct zink_resource *res, bool usage_matches, bool is_write)
|
||||
{
|
||||
assert(!usage_matches);
|
||||
assert(!usage_matches || (res->obj->unordered_write && res->obj->unordered_read));
|
||||
res->obj->unordered_write = true;
|
||||
res->obj->unordered_read = true;
|
||||
ctx->bs->has_unsync = true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue