From 04f930d99aaccfae25effe680f7a385d149cf4ff Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Fri, 4 Nov 2022 10:39:57 +0000 Subject: [PATCH] c/main: Use VK_KHR_global_priority 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 765ea0923..77d393bbd 100644 --- a/src/xrt/compositor/main/comp_compositor.c +++ b/src/xrt/compositor/main/comp_compositor.c @@ -632,6 +632,9 @@ static const char *optional_device_extensions[] = { #error "Need port!" #endif +#ifdef VK_KHR_global_priority + VK_KHR_GLOBAL_PRIORITY_EXTENSION_NAME, +#endif #ifdef VK_KHR_image_format_list VK_KHR_IMAGE_FORMAT_LIST_EXTENSION_NAME, #endif