From: Charmaine Lee Date: Wed, 11 Oct 2017 21:26:52 +0000 (-0700) Subject: svga: add SM4_1 enable debug print X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f3eda3e5e1b3e03d0ff5dfe02f2fbb30a7c81133;p=mesa.git svga: add SM4_1 enable debug print Reviewed-by: Brian Paul --- diff --git a/src/gallium/drivers/svga/svga_screen.c b/src/gallium/drivers/svga/svga_screen.c index c0f898d9d8f..f67a6895835 100644 --- a/src/gallium/drivers/svga/svga_screen.c +++ b/src/gallium/drivers/svga/svga_screen.c @@ -997,6 +997,10 @@ svga_screen_create(struct svga_winsys_screen *sws) goto error2; } + debug_printf("%s enabled = %u\n", + sws->have_sm4_1 ? "SM4_1" : "VGPU10", + sws->have_sm4_1 ? 1 : sws->have_vgpu10); + /* * 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