mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-03 21:56:06 +00:00
xrt: Pass external_[fence|semaphore]_fd status in
This commit is contained in:
parent
989c4334a3
commit
c6b0089c51
|
@ -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); //
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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); //
|
||||
|
|
Loading…
Reference in a new issue