Mesa (master): anv: Set driver version to Mesa version
Jason Ekstrand
jekstrand at kemper.freedesktop.org
Tue Jun 6 16:25:58 UTC 2017
Module: Mesa
Branch: master
Commit: 59c1797d560bfd3172427128ef8455d416b1cdb0
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=59c1797d560bfd3172427128ef8455d416b1cdb0
Author: Alex Smith <asmith at feralinteractive.com>
Date: Tue Jun 6 10:42:41 2017 +0100
anv: Set driver version to Mesa version
As already done by RADV.
v2: Move version calculation function to src/vulkan/util to share with
RADV.
Signed-off-by: Alex Smith <asmith at feralinteractive.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
---
src/intel/vulkan/anv_device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 52e5d7b025..f5d97921d3 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -883,7 +883,7 @@ void anv_GetPhysicalDeviceProperties(
*pProperties = (VkPhysicalDeviceProperties) {
.apiVersion = VK_MAKE_VERSION(1, 0, 42),
- .driverVersion = 1,
+ .driverVersion = vk_get_driver_version(),
.vendorID = 0x8086,
.deviceID = pdevice->chipset_id,
.deviceType = VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU,
More information about the mesa-commit
mailing list