mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
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:
parent
4309012774
commit
ac37d7801c
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue