c/main: Make instance extension list more readable (NFC)

This commit is contained in:
Jakob Bornecrantz 2021-04-24 15:19:31 +01:00 committed by Jakob Bornecrantz
parent 64093dfaaf
commit 846a663942

View file

@ -662,10 +662,15 @@ find_get_instance_proc_addr(struct comp_compositor *c)
// If any of these lists are updated, please also update the appropriate column // If any of these lists are updated, please also update the appropriate column
// in `vulkan-extensions.md` // in `vulkan-extensions.md`
#define COMP_INSTANCE_EXTENSIONS_COMMON \ // clang-format off
VK_EXT_DEBUG_REPORT_EXTENSION_NAME, VK_KHR_EXTERNAL_FENCE_CAPABILITIES_EXTENSION_NAME, \ #define COMP_INSTANCE_EXTENSIONS_COMMON \
VK_KHR_EXTERNAL_MEMORY_CAPABILITIES_EXTENSION_NAME, VK_KHR_EXTERNAL_SEMAPHORE_CAPABILITIES_EXTENSION_NAME, \ VK_EXT_DEBUG_REPORT_EXTENSION_NAME, \
VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME, VK_KHR_SURFACE_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, \
VK_KHR_SURFACE_EXTENSION_NAME
// clang-format on
static const char *instance_extensions_none[] = {COMP_INSTANCE_EXTENSIONS_COMMON}; static const char *instance_extensions_none[] = {COMP_INSTANCE_EXTENSIONS_COMMON};