radv: move KHR_get_physical_device_properties2 to instance props.
authorDave Airlie <airlied@redhat.com>
Sun, 19 Mar 2017 03:41:53 +0000 (13:41 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 21 Mar 2017 00:05:49 +0000 (10:05 +1000)
This is an instance property not a device one.

Fixes:
dEQP-VK.api.info.device.extensions

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c

index ae54ac563d6ca08e4593ff9913c1df7ca1722141..dcef1da7e3cedf73dcc2c4b9f762e61080877b74 100644 (file)
@@ -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,