From 7448bb0089530877d484c1aa96ec6155ffde0fcc Mon Sep 17 00:00:00 2001 From: Charmaine Lee Date: Fri, 27 Oct 2017 10:24:46 -0700 Subject: [PATCH] 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 --- src/gallium/drivers/svga/svga_screen.c | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.30.2