mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 17:20:21 +01:00
isl: assert on gfx6 condition that should not be met
Those 2 cases should have been handled earlier. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Nanley Chery <nanley.g.chery@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14039>
This commit is contained in:
parent
7cf7ea2500
commit
4616aa2fac
1 changed files with 4 additions and 4 deletions
|
|
@ -53,11 +53,11 @@ isl_gfx6_choose_msaa_layout(const struct isl_device *dev,
|
|||
if (info->dim != ISL_SURF_DIM_2D)
|
||||
return false;
|
||||
|
||||
/* Should have been filtered by isl_gfx6_filter_tiling() */
|
||||
assert(!isl_surf_usage_is_display(info->usage));
|
||||
assert(tiling != ISL_TILING_LINEAR);
|
||||
|
||||
/* More obvious restrictions */
|
||||
if (isl_surf_usage_is_display(info->usage))
|
||||
return false;
|
||||
if (tiling == ISL_TILING_LINEAR)
|
||||
return false;
|
||||
if (info->levels > 1)
|
||||
return false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue