Create VkQueue with queueIndex from XrGraphicsBindingVulkanKHR.

Per XR_KHR_vulkan_enable: "the OpenXR runtime must interpret the image
as being owned by the VkQueue specified in XrGraphicsBindingVulkanKHR."
(https://www.khronos.org/registry/OpenXR/specs/1.0/html/xrspec.html#XR_KHR_vulkan_enable)
This commit is contained in:
Connor Smith 2022-02-23 17:45:46 -05:00
parent add7b5723f
commit e1c180240e

View file

@ -1901,7 +1901,7 @@ vk_init_from_given(struct vk_bundle *vk,
goto err_memset;
}
vk->vkGetDeviceQueue(vk->device, vk->queue_family_index, 0, &vk->queue);
vk->vkGetDeviceQueue(vk->device, vk->queue_family_index, vk->queue_index, &vk->queue);
// Create the pool.
ret = vk_init_cmd_pool(vk);