projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4669ffd
)
svga: add git version logging at init time
author
Charmaine Lee
<charmainel@vmware.com>
Fri, 27 Oct 2017 17:24:46 +0000
(10:24 -0700)
committer
Brian Paul
<brianp@vmware.com>
Mon, 10 Sep 2018 19:07:30 +0000
(13:07 -0600)
Before we can log the git version in the host log,
we'll add the git version in the init debug message.
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/svga/svga_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_screen.c
b/src/gallium/drivers/svga/svga_screen.c
index f67a6895835a5f4e8abdf42c466368d4e0bfc09a..d5fae6c57b5336b2896b9da24f3f718ffda343f6 100644
(file)
--- a/
src/gallium/drivers/svga/svga_screen.c
+++ b/
src/gallium/drivers/svga/svga_screen.c
@@
-1001,6
+1001,9
@@
svga_screen_create(struct svga_winsys_screen *sws)
sws->have_sm4_1 ? "SM4_1" : "VGPU10",
sws->have_sm4_1 ? 1 : sws->have_vgpu10);
+ debug_printf("Mesa: %s %s (%s)\n", svga_get_name(screen),
+ PACKAGE_VERSION, MESA_GIT_SHA1);
+
/*
* The D16, D24X8, and D24S8 formats always do an implicit shadow compare
* when sampled from, where as the DF16, DF24, and D24S8_INT do not. So