From a40c2e7d501b3747a4845e13efe5398276fd57ad Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Wed, 24 Feb 2021 13:59:23 +0000 Subject: [PATCH] aux/vk: Load VK_GOOGLE_display_timing functions --- src/xrt/auxiliary/vk/vk_helpers.c | 3 +++ src/xrt/auxiliary/vk/vk_helpers.h | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/xrt/auxiliary/vk/vk_helpers.c b/src/xrt/auxiliary/vk/vk_helpers.c index 06e3273f5..c019d5756 100644 --- a/src/xrt/auxiliary/vk/vk_helpers.c +++ b/src/xrt/auxiliary/vk/vk_helpers.c @@ -858,6 +858,9 @@ vk_get_device_functions(struct vk_bundle *vk) vk->vkImportSemaphoreFdKHR = GET_DEV_PROC(vk, vkImportSemaphoreFdKHR); vk->vkGetSemaphoreFdKHR = GET_DEV_PROC(vk, vkGetSemaphoreFdKHR); #endif + + vk->vkGetPastPresentationTimingGOOGLE = GET_DEV_PROC(vk, vkGetPastPresentationTimingGOOGLE); + // 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 280f5bf46..926b4ee29 100644 --- a/src/xrt/auxiliary/vk/vk_helpers.h +++ b/src/xrt/auxiliary/vk/vk_helpers.h @@ -217,6 +217,8 @@ struct vk_bundle PFN_vkImportSemaphoreFdKHR vkImportSemaphoreFdKHR; PFN_vkGetSemaphoreFdKHR vkGetSemaphoreFdKHR; #endif + + PFN_vkGetPastPresentationTimingGOOGLE vkGetPastPresentationTimingGOOGLE; // clang-format on };