assert(info->samples == 1);
*phys_level0_sa = (struct isl_extent4d) {
- .w = isl_align(info->width, fmtl->bw),
- .h = isl_align(info->height, fmtl->bh),
+ .w = isl_align_npot(info->width, fmtl->bw),
+ .h = isl_align_npot(info->height, fmtl->bh),
.d = 1,
.a = info->array_len,
};
assert(ISL_DEV_GEN(dev) >= 9);
*phys_level0_sa = (struct isl_extent4d) {
- .w = isl_align(info->width, fmtl->bw),
- .h = isl_align(info->height, fmtl->bh),
+ .w = isl_align_npot(info->width, fmtl->bw),
+ .h = isl_align_npot(info->height, fmtl->bh),
.d = 1,
.a = info->depth,
};