swr: use LLVM version string instead of re-computing it

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
Eric Engestrom
2019-08-03 01:38:26 +01:00
parent 7f5ef97a07
commit 6db1dfe347
+1 -2
View File
@@ -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;
}