mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
llvmpipe: Make driver name more informative.
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>
This commit is contained in:
parent
694617a5b4
commit
edc0a00377
1 changed files with 4 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue