mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-21 22:50:37 +02:00
svga: new SVGA_MSAA env var to disable/enable MSAA pixel formats
On by default. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
This commit is contained in:
parent
9f443af449
commit
b7e67b2337
1 changed files with 4 additions and 2 deletions
|
|
@ -1000,8 +1000,10 @@ svga_screen_create(struct svga_winsys_screen *sws)
|
|||
svgascreen->max_color_buffers = SVGA3D_DX_MAX_RENDER_TARGETS;
|
||||
|
||||
/* Multisample samples per pixel */
|
||||
svgascreen->ms_samples =
|
||||
get_uint_cap(sws, SVGA3D_DEVCAP_MULTISAMPLE_MASKABLESAMPLES, 0);
|
||||
if (debug_get_bool_option("SVGA_MSAA", TRUE)) {
|
||||
svgascreen->ms_samples =
|
||||
get_uint_cap(sws, SVGA3D_DEVCAP_MULTISAMPLE_MASKABLESAMPLES, 0);
|
||||
}
|
||||
|
||||
/* Maximum number of constant buffers */
|
||||
svgascreen->max_const_buffers =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue