mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02: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> (cherry picked from commitc50ac33cd2)
This commit is contained in:
parent
2f7fdcef1f
commit
134561cc92
2 changed files with 2 additions and 2 deletions
|
|
@ -564,7 +564,7 @@
|
|||
"description": "zink: fix assert for unsynchronized non-GENERAL image barriers",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "213874d42bc9fd5397a9006e301e032eb48a948f",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -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