mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 00:30:11 +01:00
zink: Make sure to initialize all the fields of VkMemoryBarrier
Fixes several random validation errors as the value of dstAccessMask could be anything. Cc: mesa-stable Signed-off-by: Corentin Noël <corentin.noel@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28166>
This commit is contained in:
parent
2aab8e0806
commit
e7de9ab62a
1 changed files with 1 additions and 0 deletions
|
|
@ -375,6 +375,7 @@ struct emit_memory_barrier {
|
|||
} else {
|
||||
bmb.srcAccessMask = res->obj->access;
|
||||
}
|
||||
bmb.dstAccessMask = flags;
|
||||
VKCTX(CmdPipelineBarrier)(
|
||||
cmdbuf,
|
||||
stages,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue