llvmpipe: include LLVM version number in name string

This commit is contained in:
Brian Paul 2011-07-19 08:42:46 -06:00
parent 3143e95353
commit b38c26f19f

View file

@ -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;
}