From 021c87fa24afe849e51dd0249ec8e7b59e097062 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sun, 19 Mar 2017 13:41:53 +1000 Subject: [PATCH] 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 --- src/amd/vulkan/radv_device.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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, -- 2.30.2