From 9293c628d78ba595918b6b21460fc1df2fbd6f45 Mon Sep 17 00:00:00 2001 From: Simon Zeni Date: Fri, 18 Nov 2022 11:59:07 -0500 Subject: [PATCH] a/vk: add VK_FENCE_IMPORT_TEMPORARY_BIT to vk_create_fence_sync_from_native --- src/xrt/auxiliary/vk/vk_sync_objects.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xrt/auxiliary/vk/vk_sync_objects.c b/src/xrt/auxiliary/vk/vk_sync_objects.c index 428e00ad3..0ac91f978 100644 --- a/src/xrt/auxiliary/vk/vk_sync_objects.c +++ b/src/xrt/auxiliary/vk/vk_sync_objects.c @@ -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, .fence = fence, .handleType = handleType, + .flags = VK_FENCE_IMPORT_TEMPORARY_BIT, .fd = native, };