svga: enable MSAA for SM4_1 device

Graphics / Mesa 3D Graphics Library / Mesa - Brian Paul [vmware.com] - 10 September 2018 19:07 EDT

The SVGA device is deprecating the DX9 MSAA support. This patch enables MSAA for SM4_1 device by explicitly setting the SVGA3D_SURFACE_MULTISAMPLE bit. For SM4_1 device, only 4 samples is supported.

3f55425ee6 svga: enable MSAA for SM4_1 device
src/gallium/drivers/svga/svga_resource_buffer_upload.c | 1 +
src/gallium/drivers/svga/svga_resource_texture.c | 3 ++-
src/gallium/drivers/svga/svga_surface.c | 3 ++-
3 files changed, 5 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share