mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-19 08:28:21 +02:00
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: 9d40ec2cf6 "radv: Add support for VK_KHR_driver_properties."
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
738f0f789b
commit
285ebc84c7
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue