Lines Matching refs:isl
133 assert(surf->isl.size > 0); /* isl surface must be initialized */ in add_surface()
136 surf->offset = align_u32(image->planes[plane].size, surf->isl.alignment); in add_surface()
139 surf->offset = align_u32(image->size, surf->isl.alignment); in add_surface()
145 image->size = surf->offset + surf->isl.size; in add_surface()
146 image->planes[plane].size = (surf->offset + surf->isl.size) - image->planes[plane].offset; in add_surface()
148 image->alignment = MAX2(image->alignment, surf->isl.alignment); in add_surface()
150 surf->isl.alignment); in add_surface()
235 assert(image->planes[plane].aux_surface.isl.size > 0 && in add_fast_clear_state_buffer()
324 ok = isl_surf_init(&dev->isl_dev, &anv_surf->isl, in make_surface()
353 ok = isl_surf_init(&dev->isl_dev, &image->planes[plane].shadow_surface.isl, in make_surface()
398 assert(image->planes[plane].aux_surface.isl.size == 0); in make_surface()
400 &image->planes[plane].surface.isl, in make_surface()
401 &image->planes[plane].aux_surface.isl); in make_surface()
424 assert(image->planes[plane].aux_surface.isl.size == 0); in make_surface()
426 &image->planes[plane].surface.isl, in make_surface()
427 &image->planes[plane].aux_surface.isl, 0); in make_surface()
442 image->planes[plane].aux_surface.isl.size = 0; in make_surface()
465 assert(image->planes[plane].aux_surface.isl.size == 0); in make_surface()
467 &image->planes[plane].surface.isl, in make_surface()
468 &image->planes[plane].aux_surface.isl); in make_surface()
483 (image->planes[plane].aux_surface.isl.size > 0 ? in make_surface()
484 image->planes[plane].aux_surface.isl.size : in make_surface()
485 image->planes[plane].surface.isl.size)) <= in make_surface()
488 if (image->planes[plane].aux_surface.isl.size) { in make_surface()
723 layout->rowPitch = surface->isl.row_pitch; in anv_GetImageSubresourceLayout()
724 layout->depthPitch = isl_surf_get_array_pitch(&surface->isl); in anv_GetImageSubresourceLayout()
725 layout->arrayPitch = isl_surf_get_array_pitch(&surface->isl); in anv_GetImageSubresourceLayout()
726 layout->size = surface->isl.size; in anv_GetImageSubresourceLayout()
766 if (image->planes[plane].aux_surface.isl.size == 0) in anv_layout_to_aux_usage()
915 if (image->planes[plane].shadow_surface.isl.size > 0 && in anv_image_fill_surface_state()
918 assert(isl_format_is_compressed(surface->isl.format)); in anv_image_fill_surface_state()
919 assert(surface->isl.tiling == ISL_TILING_LINEAR); in anv_image_fill_surface_state()
920 assert(image->planes[plane].shadow_surface.isl.tiling != ISL_TILING_LINEAR); in anv_image_fill_surface_state()
951 .size = surface->isl.size, in anv_image_fill_surface_state()
969 const struct isl_surf *isl_surf = &surface->isl; in anv_image_fill_surface_state()
973 if (isl_format_is_compressed(surface->isl.format) && in anv_image_fill_surface_state()
978 assert(surface->isl.samples == 1); in anv_image_fill_surface_state()
984 surface->isl.dim == ISL_SURF_DIM_3D ? in anv_image_fill_surface_state()
986 surface->isl.dim == ISL_SURF_DIM_3D ? in anv_image_fill_surface_state()
1002 isl_format_get_layout(surface->isl.format); in anv_image_fill_surface_state()
1016 assert(surface->isl.tiling == ISL_TILING_LINEAR); in anv_image_fill_surface_state()
1027 .aux_surf = &aux_surface->isl, in anv_image_fill_surface_state()
1054 &surface->isl, &view); in anv_image_fill_surface_state()
1159 iview->planes[vplane].isl = (struct isl_view) { in anv_CreateImageView()
1178 iview->planes[vplane].isl.base_array_layer = 0; in anv_CreateImageView()
1179 iview->planes[vplane].isl.array_len = iview->extent.depth; in anv_CreateImageView()
1184 iview->planes[vplane].isl.usage = ISL_SURF_USAGE_CUBE_BIT; in anv_CreateImageView()
1186 iview->planes[vplane].isl.usage = 0; in anv_CreateImageView()
1203 &iview->planes[vplane].isl, in anv_CreateImageView()
1211 &iview->planes[vplane].isl, in anv_CreateImageView()
1225 &iview->planes[vplane].isl, in anv_CreateImageView()
1233 &iview->planes[vplane].isl, in anv_CreateImageView()