summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2011-07-19 08:42:46 -0600
committerBrian Paul <brianp@vmware.com>2011-07-19 08:42:46 -0600
commitb38c26f19f529a0d0b90524cab944cf2c8a3f560 (patch)
tree073be44d6929cad36075ff0211189b4e2abd2a27
parent3143e95353072523ff5d9c977a474a87fe3cbe57 (diff)
downloadexternal_mesa3d-b38c26f19f529a0d0b90524cab944cf2c8a3f560.zip
external_mesa3d-b38c26f19f529a0d0b90524cab944cf2c8a3f560.tar.gz
external_mesa3d-b38c26f19f529a0d0b90524cab944cf2c8a3f560.tar.bz2
llvmpipe: include LLVM version number in name string
-rw-r--r--src/gallium/drivers/llvmpipe/lp_screen.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c
index 4b2ae14..e3f8c19 100644
--- a/src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/src/gallium/drivers/llvmpipe/lp_screen.c
@@ -93,7 +93,9 @@ llvmpipe_get_vendor(struct pipe_screen *screen)
static const char *
llvmpipe_get_name(struct pipe_screen *screen)
{
- return "llvmpipe";
+ static char buf[100];
+ snprintf(buf, sizeof(buf), "llvmpipe (LLVM 0x%x)", HAVE_LLVM);
+ return buf;
}