835364ea0c
Otherwise we get a crash in vk_common_QueueSubmit when doing: .stageMask = pSubmits[s].pWaitDstStageMask[i], cc: mesa-stable Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6712 Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17310>