OSDN Git Service

svga: add SM4_1 enable debug print
authorCharmaine Lee <charmainel@vmware.com>
Wed, 11 Oct 2017 21:26:52 +0000 (14:26 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 10 Sep 2018 19:07:30 +0000 (13:07 -0600)
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/svga/svga_screen.c

index c0f898d..f67a689 100644 (file)
@@ -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