From: Brian Paul Date: Tue, 19 Jul 2011 14:42:46 +0000 (-0600) Subject: llvmpipe: include LLVM version number in name string X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b38c26f19f529a0d0b90524cab944cf2c8a3f560;p=mesa.git llvmpipe: include LLVM version number in name string --- 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; }