Lines Matching defs:mip
167 struct etna_resource_level *mip = &rsc->levels[level];
169 mip->width = width;
170 mip->height = height;
171 mip->depth = depth;
172 mip->padded_width = align(width * msaa_xscale, paddingX);
173 mip->padded_height = align(height * msaa_yscale, paddingY);
174 mip->stride = util_format_get_stride(prsc->format, mip->padded_width);
175 mip->offset = size;
176 mip->layer_stride = mip->stride * util_format_get_nblocksy(prsc->format, mip->padded_height);
177 mip->size = prsc->array_size * mip->layer_stride;
180 size += align(mip->size, ETNA_PE_ALIGNMENT) * depth;