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:
Jason Ekstrand 2021-05-21 15:31:06 -05:00 committed by Marge Bot
parent 5f4ee14895
commit 233be8ee59
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}