Lines Matching refs:mip
172 struct etna_resource_level *mip = &rsc->levels[level]; in setup_miptree() local
174 mip->width = width; in setup_miptree()
175 mip->height = height; in setup_miptree()
176 mip->depth = depth; in setup_miptree()
177 mip->padded_width = align(width * msaa_xscale, paddingX); in setup_miptree()
178 mip->padded_height = align(height * msaa_yscale, paddingY); in setup_miptree()
179 mip->stride = util_format_get_stride(prsc->format, mip->padded_width); in setup_miptree()
180 mip->offset = size; in setup_miptree()
181 mip->layer_stride = mip->stride * util_format_get_nblocksy(prsc->format, mip->padded_height); in setup_miptree()
182 mip->size = prsc->array_size * mip->layer_stride; in setup_miptree()
185 size += align(mip->size, ETNA_PE_ALIGNMENT) * depth; in setup_miptree()