xrt: Pass external_[fence|semaphore]_fd status in

This commit is contained in:
Jakob Bornecrantz 2022-05-08 15:07:35 +01:00 committed by Christoph Haag
parent 989c4334a3
commit c6b0089c51
3 changed files with 8 additions and 2 deletions

View file

@ -69,6 +69,8 @@ xrt_gfx_vk_provider_create(struct xrt_compositor_native *xcn,
PFN_vkGetInstanceProcAddr get_instance_proc_addr,
VkPhysicalDevice physical_device,
VkDevice device,
bool external_fence_fd_enabled,
bool external_semaphore_fd_enabled,
bool timeline_semaphore_enabled,
uint32_t queue_family_index,
uint32_t queue_index)
@ -79,8 +81,8 @@ xrt_gfx_vk_provider_create(struct xrt_compositor_native *xcn,
get_instance_proc_addr, //
physical_device, //
device, //
true, //
true, //
external_fence_fd_enabled, //
external_semaphore_fd_enabled, //
timeline_semaphore_enabled, //
queue_family_index, //
queue_index); //

View file

@ -61,6 +61,8 @@ xrt_gfx_vk_provider_create(struct xrt_compositor_native *xcn,
PFN_vkGetInstanceProcAddr get_instance_proc_addr,
VkPhysicalDevice physical_device,
VkDevice device,
bool external_fence_fd_enabled,
bool external_semaphore_fd_enabled,
bool timeline_semaphore_enabled,
uint32_t queue_family_index,
uint32_t queue_index);

View file

@ -97,6 +97,8 @@ oxr_session_populate_vk(struct oxr_logger *log,
vkGetInstanceProcAddr, //
next->physicalDevice, //
next->device, //
true, // external_fence_fd_enabled
true, // external_semaphore_fd_enabled
timeline_semaphore_enabled, //
next->queueFamilyIndex, //
next->queueIndex); //