Lines Matching refs:dim
117 if (layout->dim != MALI_TEXTURE_DIMENSION_3D)
143 enum mali_texture_dimension dim,
154 dim != MALI_TEXTURE_DIMENSION_2D || nr_slices > 1 ||
165 layout->dim = dim;
184 bool is_3d = layout->dim == MALI_TEXTURE_DIMENSION_3D;
317 bool is_3d = iview->image->layout.dim == MALI_TEXTURE_DIMENSION_3D;
358 panfrost_astc_dim_2d(unsigned dim)
360 switch (dim) {
372 panfrost_astc_dim_3d(unsigned dim)
374 switch (dim) {
390 enum mali_texture_dimension dim,
413 if (dim != MALI_TEXTURE_DIMENSION_3D)
494 iview->dim == MALI_TEXTURE_DIMENSION_CUBE,
575 enum mali_texture_dimension dim,
579 unsigned face_mult = dim == MALI_TEXTURE_DIMENSION_CUBE ? 6 : 1;
582 if (layout->dim == MALI_TEXTURE_DIMENSION_3D) {
606 assert (iview->dim == MALI_TEXTURE_DIMENSION_1D);
614 base |= panfrost_compression_tag(desc, layout->dim, layout->modifier);
627 if (iview->dim == MALI_TEXTURE_DIMENSION_CUBE) {
640 panfrost_get_surface_pointer(layout, iview->dim, base,
743 if (iview->dim == MALI_TEXTURE_DIMENSION_CUBE) {
752 assert(iview->dim == MALI_TEXTURE_DIMENSION_1D);
764 cfg.dimension = iview->dim;
768 if (iview->dim == MALI_TEXTURE_DIMENSION_3D)