diff options
author | Jason Ekstrand <jason@jlekstrand.net> | 2021-05-21 15:31:06 -0500 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2022-05-04 22:09:02 +0000 |
commit | 233be8ee592a0119501d9459fdafdc94c70902a4 (patch) | |
tree | e5b622d8c8e626695c22cdd7d2158c50bdbc38c2 | |
parent | 5f4ee1489501aa8c128c2d07258f84ed31cb6649 (diff) |
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>
-rw-r--r-- | src/vulkan/wsi/wsi_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vulkan/wsi/wsi_common.c b/src/vulkan/wsi/wsi_common.c index c1cecc2622a..60db4cb00a0 100644 --- a/src/vulkan/wsi/wsi_common.c +++ b/src/vulkan/wsi/wsi_common.c @@ -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; } |