mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 08:08:06 +02:00
intel/isl: Allow 1D surfaces with compressed formats
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
This commit is contained in:
parent
a40f043034
commit
514d68576d
1 changed files with 1 additions and 1 deletions
|
|
@ -1090,7 +1090,7 @@ isl_calc_phys_total_extent_el_gen9_1d(
|
|||
{
|
||||
MAYBE_UNUSED const struct isl_format_layout *fmtl = isl_format_get_layout(info->format);
|
||||
|
||||
assert(phys_level0_sa->height == 1);
|
||||
assert(phys_level0_sa->height / fmtl->bh == 1);
|
||||
assert(phys_level0_sa->depth == 1);
|
||||
assert(info->samples == 1);
|
||||
assert(image_align_sa->w >= fmtl->bw);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue