mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-22 14:41:47 +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,
|
PFN_vkGetInstanceProcAddr get_instance_proc_addr,
|
||||||
VkPhysicalDevice physical_device,
|
VkPhysicalDevice physical_device,
|
||||||
VkDevice device,
|
VkDevice device,
|
||||||
|
bool external_fence_fd_enabled,
|
||||||
|
bool external_semaphore_fd_enabled,
|
||||||
bool timeline_semaphore_enabled,
|
bool timeline_semaphore_enabled,
|
||||||
uint32_t queue_family_index,
|
uint32_t queue_family_index,
|
||||||
uint32_t queue_index)
|
uint32_t queue_index)
|
||||||
|
@ -79,8 +81,8 @@ xrt_gfx_vk_provider_create(struct xrt_compositor_native *xcn,
|
||||||
get_instance_proc_addr, //
|
get_instance_proc_addr, //
|
||||||
physical_device, //
|
physical_device, //
|
||||||
device, //
|
device, //
|
||||||
true, //
|
external_fence_fd_enabled, //
|
||||||
true, //
|
external_semaphore_fd_enabled, //
|
||||||
timeline_semaphore_enabled, //
|
timeline_semaphore_enabled, //
|
||||||
queue_family_index, //
|
queue_family_index, //
|
||||||
queue_index); //
|
queue_index); //
|
||||||
|
|
|
@ -61,6 +61,8 @@ xrt_gfx_vk_provider_create(struct xrt_compositor_native *xcn,
|
||||||
PFN_vkGetInstanceProcAddr get_instance_proc_addr,
|
PFN_vkGetInstanceProcAddr get_instance_proc_addr,
|
||||||
VkPhysicalDevice physical_device,
|
VkPhysicalDevice physical_device,
|
||||||
VkDevice device,
|
VkDevice device,
|
||||||
|
bool external_fence_fd_enabled,
|
||||||
|
bool external_semaphore_fd_enabled,
|
||||||
bool timeline_semaphore_enabled,
|
bool timeline_semaphore_enabled,
|
||||||
uint32_t queue_family_index,
|
uint32_t queue_family_index,
|
||||||
uint32_t queue_index);
|
uint32_t queue_index);
|
||||||
|
|
|
@ -97,6 +97,8 @@ oxr_session_populate_vk(struct oxr_logger *log,
|
||||||
vkGetInstanceProcAddr, //
|
vkGetInstanceProcAddr, //
|
||||||
next->physicalDevice, //
|
next->physicalDevice, //
|
||||||
next->device, //
|
next->device, //
|
||||||
|
true, // external_fence_fd_enabled
|
||||||
|
true, // external_semaphore_fd_enabled
|
||||||
timeline_semaphore_enabled, //
|
timeline_semaphore_enabled, //
|
||||||
next->queueFamilyIndex, //
|
next->queueFamilyIndex, //
|
||||||
next->queueIndex); //
|
next->queueIndex); //
|
||||||
|
|
Loading…
Reference in a new issue