vulkan/wsi: Set the right stage flags for semaphore waits
This is currently technically broken for compute. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Cc: mesa-stable@lists.freedesktop.org Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16333>
This commit is contained in:
parent
5f4ee14895
commit
233be8ee59
|
@ -961,7 +961,7 @@ wsi_common_queue_present(const struct wsi_device *wsi,
|
|||
goto fail_present;
|
||||
}
|
||||
for (uint32_t s = 0; s < pPresentInfo->waitSemaphoreCount; s++)
|
||||
stage_flags[s] = VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT;
|
||||
stage_flags[s] = VK_PIPELINE_STAGE_ALL_COMMANDS_BIT;
|
||||
|
||||
submit_info.pWaitDstStageMask = stage_flags;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue