mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
render/vulkan: create binary semaphore when signal timeline is supplied
We were only creating the binary semaphore when implicit sync interop was available. We also use the binary semaphore when explicit sync is enabled. Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3973
This commit is contained in:
parent
22db307e4c
commit
d4e4c9f64b
1 changed files with 1 additions and 1 deletions
|
|
@ -480,7 +480,7 @@ static bool render_pass_submit(struct wlr_render_pass *wlr_pass) {
|
|||
.semaphore = renderer->timeline_semaphore,
|
||||
.value = render_timeline_point,
|
||||
};
|
||||
if (renderer->dev->implicit_sync_interop) {
|
||||
if (renderer->dev->implicit_sync_interop || pass->signal_timeline != NULL) {
|
||||
if (render_cb->binary_semaphore == VK_NULL_HANDLE) {
|
||||
VkExportSemaphoreCreateInfo export_info = {
|
||||
.sType = VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue