svga: add SM4_1 enable debug print

Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
Charmaine Lee 2017-10-11 14:26:52 -07:00 committed by Brian Paul
parent ccd895db76
commit f3eda3e5e1
1 changed files with 4 additions and 0 deletions

View 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