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>
if (sampler_format != svga_format) {
caps.u = 0;
svga_get_dx_format_cap(ss, sampler_format, &caps);
- mask &= (SVGA3D_DXFMT_VOLUME | SVGA3D_DXFMT_MULTISAMPLE);
+ mask &= SVGA3D_DXFMT_VOLUME;
mask |= SVGA3D_DXFMT_SHADER_SAMPLE;
if ((caps.u & mask) != mask)
return FALSE;