From 6d02d67f783e83f241498e6ced486cf2c64aed0b Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Sun, 24 Apr 2022 00:28:04 +0100 Subject: [PATCH] c/main: Ask for VK_EXT_calibrated_timestamps if available --- src/xrt/compositor/main/comp_compositor.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/xrt/compositor/main/comp_compositor.c b/src/xrt/compositor/main/comp_compositor.c index c84ba5a86..ae04a6ea7 100644 --- a/src/xrt/compositor/main/comp_compositor.c +++ b/src/xrt/compositor/main/comp_compositor.c @@ -604,6 +604,9 @@ static const char *optional_device_extensions[] = { #ifdef VK_KHR_timeline_semaphore VK_KHR_TIMELINE_SEMAPHORE_EXTENSION_NAME, #endif +#ifdef VK_EXT_calibrated_timestamps + VK_EXT_CALIBRATED_TIMESTAMPS_EXTENSION_NAME, +#endif #ifdef VK_EXT_robustness2 VK_EXT_ROBUSTNESS_2_EXTENSION_NAME, #endif