diff options
author | Eric Engestrom <[email protected]> | 2019-08-03 01:38:26 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-08-22 16:08:09 +0100 |
commit | 6db1dfe347be2c71195aed06493fe4a392a0d2e5 (patch) | |
tree | 2121b78984074b76807045e54785fc9b79023c80 /src/gallium/drivers/swr/swr_screen.cpp | |
parent | 7f5ef97a07d4054efb96f0d644344644023af82c (diff) |
swr: 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/swr/swr_screen.cpp')
-rw-r--r-- | src/gallium/drivers/swr/swr_screen.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/swr/swr_screen.cpp b/src/gallium/drivers/swr/swr_screen.cpp index 072563e4f08..030b62a15ae 100644 --- a/src/gallium/drivers/swr/swr_screen.cpp +++ b/src/gallium/drivers/swr/swr_screen.cpp @@ -69,8 +69,7 @@ static const char * swr_get_name(struct pipe_screen *screen) { static char buf[100]; - snprintf(buf, sizeof(buf), "SWR (LLVM %u.%u, %u bits)", - HAVE_LLVM >> 8, HAVE_LLVM & 0xff, + snprintf(buf, sizeof(buf), "SWR (LLVM " MESA_LLVM_VERSION_STRING ", %u bits)", lp_native_vector_width); return buf; } |