From f3eda3e5e1b3e03d0ff5dfe02f2fbb30a7c81133 Mon Sep 17 00:00:00 2001 From: Charmaine Lee Date: Wed, 11 Oct 2017 14:26:52 -0700 Subject: [PATCH] svga: add SM4_1 enable debug print Reviewed-by: Brian Paul --- src/gallium/drivers/svga/svga_screen.c | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.11.0