-
Notifications
You must be signed in to change notification settings - Fork 68
Description
xrCreateVulkanDeviceKHR from XR_KHR_vulkan_enable2 requires that the implementation aggregate its own extension/feature requirements with the app's requirements passed in XrVulkanDeviceCreateInfoKHR::vulkanCreateInfo.
Say, an implementation requires timeline semaphores.
In the case where this feature is not already enabled by the app but the structure enabling it is in the pNext chain (e.g. VkPhysicalDeviceTimelineSemaphoreFeatures or VkPhysicalDeviceVulkan12Features is present but timelineSemaphore is false), since the vulkanCreateInfo field is const, the only way to safely enable timeline semaphores is to deep-copy the whole structure chain.
The issue is that the structure chain may contain structures that the implementation is not aware of, and cannot deep-copy.
What is the expected way to resolve this issue?