diff options
author | Charmaine Lee <[email protected]> | 2017-10-27 10:24:46 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2018-09-10 13:07:30 -0600 |
commit | 7448bb0089530877d484c1aa96ec6155ffde0fcc (patch) | |
tree | 3aeed33c8a7e98815b451733f6e5c4b4c225be29 /src/gallium/drivers/svga/svga_screen.c | |
parent | 4669ffd29bc704dd38c88bf8438a80714454ddbf (diff) |
svga: add git version logging at init time
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_screen.c')
-rw-r--r-- | src/gallium/drivers/svga/svga_screen.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_screen.c b/src/gallium/drivers/svga/svga_screen.c index f67a6895835..d5fae6c57b5 100644 --- 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 |