a/vk: add VK_FENCE_IMPORT_TEMPORARY_BIT to vk_create_fence_sync_from_native

This commit is contained in:
Simon Zeni 2022-11-18 11:59:07 -05:00
parent 278aa4cd41
commit 9293c628d7

View file

@ -357,6 +357,7 @@ vk_create_fence_sync_from_native(struct vk_bundle *vk, xrt_graphics_sync_handle_
.sType = VK_STRUCTURE_TYPE_IMPORT_FENCE_FD_INFO_KHR, .sType = VK_STRUCTURE_TYPE_IMPORT_FENCE_FD_INFO_KHR,
.fence = fence, .fence = fence,
.handleType = handleType, .handleType = handleType,
.flags = VK_FENCE_IMPORT_TEMPORARY_BIT,
.fd = native, .fd = native,
}; };