intel/isl: Drop extra assert on array_pitch_el_rows

ISL already asserts that the variable is a multiple of the tile height
via isl_assert_div.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12132>
This commit is contained in:
Nanley Chery 2021-07-22 15:11:01 -07:00 committed by Marge Bot
parent 4309012774
commit ac37d7801c

View file

@ -1810,7 +1810,6 @@ isl_surf_init_s(const struct isl_device *dev,
tile_info.logical_extent_el.h);
array_slices = isl_align_div(phys_total_el.a,
tile_info.logical_extent_el.a);
assert(array_pitch_el_rows % tile_info.logical_extent_el.h == 0);
} else {
assert(phys_total_el.d == 1 && phys_total_el.a == 1);
array_pitch_tl_rows = 0;