projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
694617a
)
llvmpipe: Make driver name more informative.
author
José Fonseca
<jfonseca@vmware.com>
Thu, 6 Sep 2012 09:29:04 +0000
(10:29 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Thu, 6 Sep 2012 15:35:25 +0000
(16:35 +0100)
Such as
"llvmpipe (LLVM 3.1, 128 bits)"
or
"llvmpipe (LLVM 3.1, 256 bits)"
when leveraging AVX 8-wide registers.
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/llvmpipe/lp_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_screen.c
b/src/gallium/drivers/llvmpipe/lp_screen.c
index 5f19a4753bae4b3dcea8a23f29c9289592d5d82a..a9f973cf74c791026153c1071493cf74000cb12d 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/
src/gallium/drivers/llvmpipe/lp_screen.c
@@
-35,6
+35,7
@@
#include "pipe/p_defines.h"
#include "pipe/p_screen.h"
#include "draw/draw_context.h"
+#include "gallivm/lp_bld_type.h"
#include "lp_texture.h"
#include "lp_fence.h"
@@
-95,7
+96,9
@@
static const char *
llvmpipe_get_name(struct pipe_screen *screen)
{
static char buf[100];
- util_snprintf(buf, sizeof(buf), "llvmpipe (LLVM 0x%x)", HAVE_LLVM);
+ util_snprintf(buf, sizeof(buf), "llvmpipe (LLVM %u.%u, %u bits)",
+ HAVE_LLVM >> 8, HAVE_LLVM & 0xff,
+ lp_native_vector_width );
return buf;
}