From 8945153bc930df243122fdcad8adee5f8879364a Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Sun, 8 May 2022 13:47:43 +0100 Subject: [PATCH] st/oxr: Work around clang-format (NFC) --- src/xrt/state_trackers/oxr/oxr_vulkan.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/xrt/state_trackers/oxr/oxr_vulkan.c b/src/xrt/state_trackers/oxr/oxr_vulkan.c index 2b81ded3e..0f334b6ab 100644 --- a/src/xrt/state_trackers/oxr/oxr_vulkan.c +++ b/src/xrt/state_trackers/oxr/oxr_vulkan.c @@ -104,19 +104,21 @@ DEBUG_GET_ONCE_LOG_OPTION(compositor_log, "XRT_COMPOSITOR_LOG", U_LOGGING_WARN) //! @todo extension lists are duplicated as long strings in comp_vk_glue.c static const char *required_vk_instance_extensions[] = { - VK_KHR_EXTERNAL_FENCE_CAPABILITIES_EXTENSION_NAME, - VK_KHR_EXTERNAL_MEMORY_CAPABILITIES_EXTENSION_NAME, - VK_KHR_EXTERNAL_SEMAPHORE_CAPABILITIES_EXTENSION_NAME, - VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME, + VK_KHR_EXTERNAL_FENCE_CAPABILITIES_EXTENSION_NAME, // + VK_KHR_EXTERNAL_MEMORY_CAPABILITIES_EXTENSION_NAME, // + VK_KHR_EXTERNAL_SEMAPHORE_CAPABILITIES_EXTENSION_NAME, // + VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME, // }; // The device extensions do vary by platform, but in a very regular way. // This should match the list in comp_compositor, except it shouldn't include // VK_KHR_SWAPCHAIN_EXTENSION_NAME static const char *required_vk_device_extensions[] = { - VK_KHR_DEDICATED_ALLOCATION_EXTENSION_NAME, VK_KHR_EXTERNAL_FENCE_EXTENSION_NAME, - VK_KHR_EXTERNAL_MEMORY_EXTENSION_NAME, VK_KHR_EXTERNAL_SEMAPHORE_EXTENSION_NAME, - VK_KHR_GET_MEMORY_REQUIREMENTS_2_EXTENSION_NAME, + VK_KHR_DEDICATED_ALLOCATION_EXTENSION_NAME, // + VK_KHR_EXTERNAL_FENCE_EXTENSION_NAME, // + VK_KHR_EXTERNAL_MEMORY_EXTENSION_NAME, // + VK_KHR_EXTERNAL_SEMAPHORE_EXTENSION_NAME, // + VK_KHR_GET_MEMORY_REQUIREMENTS_2_EXTENSION_NAME, // // Platform version of "external_memory" #if defined(XRT_GRAPHICS_BUFFER_HANDLE_IS_FD)