mirror of
https://gitlab.freedesktop.org/mesa/vulkan-wsi-layer.git
synced 2026-05-05 05:18:35 +02:00
Fix validation issues with fence import
When fences are imported with a handle type with copy payload transference semantics then the flags must contain VK_FENCE_IMPORT_TEMPORARY_BIT Change-Id: I950a01465ed68e7c5b35ea17a778ee7327639108 Signed-off-by: Normunds Rieksts normunds.rieksts@arm.com
This commit is contained in:
parent
7fda25462e
commit
bf7d090fdc
1 changed files with 2 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2017-2023 Arm Limited.
|
||||
* Copyright (c) 2017-2024 Arm Limited.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
|
@ -407,6 +407,7 @@ VkResult swapchain_base::acquire_next_image(uint64_t timeout, VkSemaphore semaph
|
|||
info.fence = fence;
|
||||
info.handleType = VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT;
|
||||
info.fd = already_signalled_sentinel_fd;
|
||||
info.flags = VK_FENCE_IMPORT_TEMPORARY_BIT;
|
||||
}
|
||||
|
||||
auto result = m_device_data.disp.ImportFenceFdKHR(m_device, &info);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue