summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-07-19 08:42:46 -0600
committerBrian Paul <[email protected]>2011-07-19 08:42:46 -0600
commitb38c26f19f529a0d0b90524cab944cf2c8a3f560 (patch)
tree073be44d6929cad36075ff0211189b4e2abd2a27 /src/gallium/drivers/llvmpipe
parent3143e95353072523ff5d9c977a474a87fe3cbe57 (diff)
llvmpipe: include LLVM version number in name string
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
-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 4b2ae1436ea..e3f8c19679f 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;
}