radv: update VK_KHR_driver_properties for Vulkan 1.2
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 15 Oct 2019 07:24:07 +0000 (09:24 +0200)
committerJason Ekstrand <jason@jlekstrand.net>
Wed, 15 Jan 2020 14:42:25 +0000 (08:42 -0600)
Promoted to Vulkan 1.2 with the KHR suffix omitted.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_device.c

index 566db7d7cdca8088563d4bd092e52a4cfef56053..303f2ff8cb424adadb5a0e943cb92d0387ee7183 100644 (file)
@@ -1558,17 +1558,17 @@ void radv_GetPhysicalDeviceProperties2(
                        properties->pciFunction = pdevice->bus_info.func;
                        break;
                }
-               case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES_KHR: {
-                       VkPhysicalDeviceDriverPropertiesKHR *driver_props =
-                               (VkPhysicalDeviceDriverPropertiesKHR *) ext;
+               case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES: {
+                       VkPhysicalDeviceDriverProperties *driver_props =
+                               (VkPhysicalDeviceDriverProperties *) ext;
 
-                       driver_props->driverID = VK_DRIVER_ID_MESA_RADV_KHR;
-                       snprintf(driver_props->driverName, VK_MAX_DRIVER_NAME_SIZE_KHR, "radv");
-                       snprintf(driver_props->driverInfo, VK_MAX_DRIVER_INFO_SIZE_KHR,
+                       driver_props->driverID = VK_DRIVER_ID_MESA_RADV;
+                       snprintf(driver_props->driverName, VK_MAX_DRIVER_NAME_SIZE, "radv");
+                       snprintf(driver_props->driverInfo, VK_MAX_DRIVER_INFO_SIZE,
                                "Mesa " PACKAGE_VERSION MESA_GIT_SHA1
                                " (LLVM " MESA_LLVM_VERSION_STRING ")");
 
-                       driver_props->conformanceVersion = (VkConformanceVersionKHR) {
+                       driver_props->conformanceVersion = (VkConformanceVersion) {
                                .major = 1,
                                .minor = 1,
                                .subminor = 2,