st/oxr: Use extension-decorated name for Vulkan functions

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2233>
This commit is contained in:
Rylie Pavlik 2024-06-05 11:52:15 -05:00 committed by Marge Bot
parent 9bd2f7c201
commit 58369ec1fa

View file

@ -564,7 +564,7 @@ oxr_vk_get_physical_device(struct oxr_logger *log,
VkPhysicalDevice *vkPhysicalDevice)
{
GET_PROC(vkEnumeratePhysicalDevices);
GET_PROC(vkGetPhysicalDeviceProperties2);
GET_PROC(vkGetPhysicalDeviceProperties2KHR);
VkResult vk_ret;
uint32_t count;
@ -610,7 +610,7 @@ oxr_vk_get_physical_device(struct oxr_logger *log,
.pNext = &pdidp,
};
vkGetPhysicalDeviceProperties2(phys[i], &pdp2);
vkGetPhysicalDeviceProperties2KHR(phys[i], &pdp2);
// These should always be true
static_assert(VK_UUID_SIZE == XRT_UUID_SIZE, "uuid sizes mismatch");