mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-19 21:28:50 +00:00
c/main: Make instance extension list more readable (NFC)
This commit is contained in:
parent
64093dfaaf
commit
846a663942
|
@ -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};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue