diff options
author | Jason Ekstrand <[email protected]> | 2017-04-28 05:02:27 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-04-28 07:41:03 -0700 |
commit | ebd1bd6998c23db0b61c7a237559fc73f38db31a (patch) | |
tree | 4a5b687d34273d62bba8a1d167a391690da3de51 /src/intel/vulkan/anv_device.c | |
parent | c0139955fa0f286c40c21fabfacd697a056d4957 (diff) |
anv: Alphabetize KHR extensions
Reviewed-by: Alejandro PiƱeiro <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_device.c')
-rw-r--r-- | src/intel/vulkan/anv_device.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index cf32df66d2d..6b3202de303 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -302,9 +302,19 @@ anv_physical_device_finish(struct anv_physical_device *device) static const VkExtensionProperties global_extensions[] = { { + .extensionName = VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME, + .specVersion = 1, + }, + { .extensionName = VK_KHR_SURFACE_EXTENSION_NAME, .specVersion = 25, }, +#ifdef VK_USE_PLATFORM_WAYLAND_KHR + { + .extensionName = VK_KHR_WAYLAND_SURFACE_EXTENSION_NAME, + .specVersion = 5, + }, +#endif #ifdef VK_USE_PLATFORM_XCB_KHR { .extensionName = VK_KHR_XCB_SURFACE_EXTENSION_NAME, @@ -317,16 +327,6 @@ static const VkExtensionProperties global_extensions[] = { .specVersion = 6, }, #endif -#ifdef VK_USE_PLATFORM_WAYLAND_KHR - { - .extensionName = VK_KHR_WAYLAND_SURFACE_EXTENSION_NAME, - .specVersion = 5, - }, -#endif - { - .extensionName = VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME, - .specVersion = 1, - }, { .extensionName = VK_KHX_EXTERNAL_MEMORY_CAPABILITIES_EXTENSION_NAME, .specVersion = 1, @@ -335,11 +335,11 @@ static const VkExtensionProperties global_extensions[] = { static const VkExtensionProperties device_extensions[] = { { - .extensionName = VK_KHR_SWAPCHAIN_EXTENSION_NAME, - .specVersion = 68, + .extensionName = VK_KHR_DESCRIPTOR_UPDATE_TEMPLATE_EXTENSION_NAME, + .specVersion = 1, }, { - .extensionName = VK_KHR_SAMPLER_MIRROR_CLAMP_TO_EDGE_EXTENSION_NAME, + .extensionName = VK_KHR_INCREMENTAL_PRESENT_EXTENSION_NAME, .specVersion = 1, }, { @@ -347,20 +347,20 @@ static const VkExtensionProperties device_extensions[] = { .specVersion = 1, }, { - .extensionName = VK_KHR_SHADER_DRAW_PARAMETERS_EXTENSION_NAME, + .extensionName = VK_KHR_PUSH_DESCRIPTOR_EXTENSION_NAME, .specVersion = 1, }, { - .extensionName = VK_KHR_PUSH_DESCRIPTOR_EXTENSION_NAME, + .extensionName = VK_KHR_SAMPLER_MIRROR_CLAMP_TO_EDGE_EXTENSION_NAME, .specVersion = 1, }, { - .extensionName = VK_KHR_DESCRIPTOR_UPDATE_TEMPLATE_EXTENSION_NAME, + .extensionName = VK_KHR_SHADER_DRAW_PARAMETERS_EXTENSION_NAME, .specVersion = 1, }, { - .extensionName = VK_KHR_INCREMENTAL_PRESENT_EXTENSION_NAME, - .specVersion = 1, + .extensionName = VK_KHR_SWAPCHAIN_EXTENSION_NAME, + .specVersion = 68, }, { .extensionName = VK_KHX_EXTERNAL_MEMORY_EXTENSION_NAME, |