aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_screen.c
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-08-03 01:38:20 +0100
committerEric Engestrom <[email protected]>2019-08-22 16:08:09 +0100
commit7f5ef97a07d4054efb96f0d644344644023af82c (patch)
treea1b714a1091fb94946206d2063d5d998ec57eb09 /src/gallium/drivers/llvmpipe/lp_screen.c
parent3ea83f4c9b7edadef481b9c3d3d2e584b5911da2 (diff)
llvmpipe: use LLVM version string instead of re-computing it
Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_screen.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_screen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c
index d03c0450433..52372da2f7d 100644
--- a/src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/src/gallium/drivers/llvmpipe/lp_screen.c
@@ -97,8 +97,7 @@ static const char *
llvmpipe_get_name(struct pipe_screen *screen)
{
static char buf[100];
- snprintf(buf, sizeof(buf), "llvmpipe (LLVM %u.%u, %u bits)",
- HAVE_LLVM >> 8, HAVE_LLVM & 0xff,
+ snprintf(buf, sizeof(buf), "llvmpipe (LLVM " MESA_LLVM_VERSION_STRING ", %u bits)",
lp_native_vector_width );
return buf;
}