svga: fix missing format multisample devcap check
authorCharmaine Lee <charmainel@vmware.com>
Fri, 1 Dec 2017 20:45:30 +0000 (12:45 -0800)
committerBrian Paul <brianp@vmware.com>
Mon, 10 Sep 2018 19:07:30 +0000 (13:07 -0600)
commit026e1ad7bba6afa275903f108d9d99d0898eecde
tree6927d6bb0ac80e49da0573575191668dfb88a535
parent285d8b47b17a0b497249cc542da34b21df6272a0
svga: fix missing format multisample devcap check

In commit e4048f6cd1, svga_is_dx_format_supported() is supposed to
also check the SVGA3D_DXFMT_MULTISAMPLE bit for multisample
support of a format. Somehow that code is not included in that commit.
This patch fixes it.

Fixes piglit test spec@ext_framebuffer_multisample@formats all_samples.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/svga/svga_format.c