summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>2019-10-15 09:24:07 +0200
committerJason Ekstrand <jason@jlekstrand.net>2020-01-15 08:42:25 -0600
commita80229941f559ea8a547f15a5c44af34f9e32ee4 (patch)
tree3ce5f3bb062a2127d3bc45bbe8125e63dcda22f3
parentaf883bf3dcd22e60d5284e64f3b031c400100423 (diff)
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 <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
-rw-r--r--src/amd/vulkan/radv_device.c14
1 files 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,