intel/isl: Strengthen MCS SINT format restriction
authorNanley Chery <nanley.g.chery@intel.com>
Wed, 8 Dec 2021 02:23:35 +0000 (21:23 -0500)
committerMarge Bot <emma+marge@anholt.net>
Fri, 21 Jan 2022 20:38:05 +0000 (20:38 +0000)
commit531b1b7511af49a6495e55998a67dbbda29763ce
treeef472bdfafae9cf42965fee6a59a48bdb9e3ca1c
parentbf9466e285128303ca92c527b60654e58ac622d5
intel/isl: Strengthen MCS SINT format restriction

The gfx7 MCS restriction for SINT formats actually applies to
multisampling in general. Place the stronger restriction in the format
support check and assert this in isl_surf_get_mcs_surf.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14464>
src/intel/isl/isl.c
src/intel/isl/isl_format.c