svga: no need to check MULTISAMPLE devcap for view format
authorCharmaine Lee <charmainel@vmware.com>
Wed, 6 Dec 2017 23:33:45 +0000 (15:33 -0800)
committerBrian Paul <brianp@vmware.com>
Mon, 10 Sep 2018 19:07:30 +0000 (13:07 -0600)
commit30695812606d3211052a9845f0223ca52ffcb881
treeb3a8f7bbfa54137e61d1bf1b16324d1e19232321
parent6f254ad9b4c5cfe81c8f471d27cbaf0f9a74028e
svga: no need to check MULTISAMPLE devcap for view format

According to the current SVGA contract, any view format can be
used on the underlying resource that is multisample. So there
is no need to check the MULTISAMPLE devcap for the view format.

Fixes black rendering issue with Tropics running with 4xMSAA.

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