mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
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:
parent
add7b5723f
commit
e1c180240e
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue