From: Dave Airlie Date: Sun, 19 Mar 2017 03:41:53 +0000 (+1000) Subject: radv: move KHR_get_physical_device_properties2 to instance props. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=021c87fa24afe849e51dd0249ec8e7b59e097062;p=mesa.git radv: move KHR_get_physical_device_properties2 to instance props. This is an instance property not a device one. Fixes: dEQP-VK.api.info.device.extensions Signed-off-by: Dave Airlie --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index ae54ac563d6..dcef1da7e3c 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -84,6 +84,10 @@ static const VkExtensionProperties instance_extensions[] = { .specVersion = 5, }, #endif + { + .extensionName = VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME, + .specVersion = 1, + }, }; static const VkExtensionProperties common_device_extensions[] = { @@ -103,10 +107,6 @@ static const VkExtensionProperties common_device_extensions[] = { .extensionName = VK_AMD_DRAW_INDIRECT_COUNT_EXTENSION_NAME, .specVersion = 1, }, - { - .extensionName = VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME, - .specVersion = 1, - }, { .extensionName = VK_KHR_SHADER_DRAW_PARAMETERS_EXTENSION_NAME, .specVersion = 1,