intel/isl: Don't check pitch in isl_surf_get_mcs_surf
authorNanley Chery <nanley.g.chery@intel.com>
Wed, 8 Dec 2021 01:37:25 +0000 (20:37 -0500)
committerMarge Bot <emma+marge@anholt.net>
Fri, 21 Jan 2022 20:38:05 +0000 (20:38 +0000)
commitbf9466e285128303ca92c527b60654e58ac622d5
treee1f0769f6d4c3f53c4f267a645222119dea5c67d
parentc47b8d7bf3109b156f6076598d083c75c630232e
intel/isl: Don't check pitch in isl_surf_get_mcs_surf

The pitch check for 16x multisampled surfaces should already be covered
by the pitch_in_range check in isl_calc_row_pitch.

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