diff options
author | Eric Engestrom <[email protected]> | 2018-10-25 17:36:30 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2018-10-26 18:33:11 +0100 |
commit | 285ebc84c70c8543808d956aae8539ade03ded34 (patch) | |
tree | 6896e4dc5d0b16f905a70bd79b232b46e1855976 /src/amd/vulkan/radv_device.c | |
parent | 738f0f789bfcd6703327492dbc4297ca076e7862 (diff) |
radv: remove duplicate brackets in version string
MESA_GIT_SHA1 resolves to either an empty "" string if not build from git,
or " (git-DEADBEEF)" if it is. No need to wrap it in additional "()".
Fixes: 9d40ec2cf6ec6d3d9d78 "radv: Add support for VK_KHR_driver_properties."
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_device.c')
-rw-r--r-- | src/amd/vulkan/radv_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index b2798c402f6..1c6be300b46 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -1200,7 +1200,7 @@ void radv_GetPhysicalDeviceProperties2( memset(driver_props->driverInfo, 0, VK_MAX_DRIVER_INFO_SIZE_KHR); snprintf(driver_props->driverInfo, VK_MAX_DRIVER_INFO_SIZE_KHR, - "Mesa " PACKAGE_VERSION " (" MESA_GIT_SHA1 ")" + "Mesa " PACKAGE_VERSION MESA_GIT_SHA1 " (LLVM %d.%d.%d)", (HAVE_LLVM >> 8) & 0xff, HAVE_LLVM & 0xff, MESA_LLVM_VERSION_PATCH); |