From 13e3db612847f040aa64a39ebca09bb0407bf8fc Mon Sep 17 00:00:00 2001 From: Christoph Haag Date: Tue, 28 Sep 2021 02:08:49 +0200 Subject: [PATCH] aux/vk: Add vkEnumerateInstanceExtensionProperties --- src/xrt/auxiliary/vk/vk_helpers.c | 1 + src/xrt/auxiliary/vk/vk_helpers.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/xrt/auxiliary/vk/vk_helpers.c b/src/xrt/auxiliary/vk/vk_helpers.c index 75bd26416..528836797 100644 --- a/src/xrt/auxiliary/vk/vk_helpers.c +++ b/src/xrt/auxiliary/vk/vk_helpers.c @@ -819,6 +819,7 @@ vk_get_loader_functions(struct vk_bundle *vk, PFN_vkGetInstanceProcAddr g) // Fill in all loader functions. // clang-format off vk->vkCreateInstance = GET_PROC(vk, vkCreateInstance); + vk->vkEnumerateInstanceExtensionProperties = GET_PROC(vk, vkEnumerateInstanceExtensionProperties); // clang-format on return VK_SUCCESS; diff --git a/src/xrt/auxiliary/vk/vk_helpers.h b/src/xrt/auxiliary/vk/vk_helpers.h index 902908e61..dc8decaea 100644 --- a/src/xrt/auxiliary/vk/vk_helpers.h +++ b/src/xrt/auxiliary/vk/vk_helpers.h @@ -79,6 +79,7 @@ struct vk_bundle // Loader functions PFN_vkGetInstanceProcAddr vkGetInstanceProcAddr; PFN_vkCreateInstance vkCreateInstance; + PFN_vkEnumerateInstanceExtensionProperties vkEnumerateInstanceExtensionProperties; // beginning of GENERATED instance loader code - do not modify - used by scripts PFN_vkDestroyInstance vkDestroyInstance;