From a80229941f559ea8a547f15a5c44af34f9e32ee4 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Tue, 15 Oct 2019 09:24:07 +0200 Subject: [PATCH] radv: update VK_KHR_driver_properties for Vulkan 1.2 Promoted to Vulkan 1.2 with the KHR suffix omitted. Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- src/amd/vulkan/radv_device.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 566db7d7cdc..303f2ff8cb4 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -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, -- 2.30.2