From 233be8ee592a0119501d9459fdafdc94c70902a4 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 21 May 2021 15:31:06 -0500 Subject: [PATCH] vulkan/wsi: Set the right stage flags for semaphore waits This is currently technically broken for compute. Reviewed-by: Lionel Landwerlin Reviewed-by: Adam Jackson Cc: mesa-stable@lists.freedesktop.org Part-of: --- src/vulkan/wsi/wsi_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }