mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-03 04:20:26 +01:00
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>
(cherry picked from commit 233be8ee59)
This commit is contained in:
parent
ca8af9c529
commit
aab9d6df50
2 changed files with 2 additions and 2 deletions
|
|
@ -22,7 +22,7 @@
|
|||
"description": "vulkan/wsi: Set the right stage flags for semaphore waits",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -964,7 +964,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…
Add table
Reference in a new issue