diff options
author | Eric Engestrom <[email protected]> | 2019-03-14 13:58:54 +0000 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-04-04 16:08:11 +0000 |
commit | 05b114e5265722e970cb894ed6c3aa3026c0d04d (patch) | |
tree | 4f8b97ee38e06c6dfb7117be84dd6e8544b84fbc /src/gallium/drivers/radeonsi | |
parent | 593614f4d47fbc8aadec6930d7c7c417c46bbd85 (diff) |
simplify LLVM version string printing
Figure it out once in the build system, then just use that all over the place.
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_get.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/gallium/drivers/radeonsi/si_get.c b/src/gallium/drivers/radeonsi/si_get.c index 6fa67087c7d..58b56b34d13 100644 --- a/src/gallium/drivers/radeonsi/si_get.c +++ b/src/gallium/drivers/radeonsi/si_get.c @@ -961,13 +961,10 @@ static void si_init_renderer_string(struct si_screen *sscreen) ", %s", uname_data.release); snprintf(sscreen->renderer_string, sizeof(sscreen->renderer_string), - "%s (%sDRM %i.%i.%i%s, LLVM %i.%i.%i)", + "%s (%sDRM %i.%i.%i%s, LLVM " MESA_LLVM_VERSION_STRING ")", first_name, second_name, sscreen->info.drm_major, sscreen->info.drm_minor, sscreen->info.drm_patchlevel, - kernel_version, - (HAVE_LLVM >> 8) & 0xff, - HAVE_LLVM & 0xff, - MESA_LLVM_VERSION_PATCH); + kernel_version); } void si_init_screen_get_functions(struct si_screen *sscreen) |