Lines Matching defs:level
377 crocus_get_num_logical_layers(const struct crocus_resource *res, unsigned level)
380 return u_minify(res->surf.logical_level0_px.depth, level);
391 for (uint32_t level = 0; level < res->surf.levels; level++)
392 total_slices += crocus_get_num_logical_layers(res, level);
397 /* We're going to allocate a single chunk of data for both the per-level
410 for (uint32_t level = 0; level < res->surf.levels; level++) {
411 per_level_arr[level] = s;
412 const unsigned level_layers = crocus_get_num_logical_layers(res, level);
544 for (unsigned level = 0; level < res->surf.levels; ++level) {
545 uint32_t width = u_minify(res->surf.phys_level0_sa.width, level);
546 uint32_t height = u_minify(res->surf.phys_level0_sa.height, level);
552 (level == 0 || ((width & 7) == 0 && (height & 3) == 0)))
553 res->aux.has_hiz |= 1 << level;
974 unsigned level,
1219 crocus_copy_region(map->blorp, map->batch, xfer->resource, xfer->level,
1272 xfer->resource, xfer->level, box);
1292 get_image_offset_el(const struct isl_surf *surf, unsigned level, unsigned z,
1297 isl_surf_get_image_offset_el(surf, level, 0, z,
1300 isl_surf_get_image_offset_el(surf, level, z, 0,
1308 uint32_t level, uint32_t z,
1311 get_image_offset_el(&res->surf, level, z, x, y);
1385 get_image_offset_el(surf, xfer->level, box->z + s, &x0_el, &y0_el);
1433 get_image_offset_el(surf, xfer->level, box->z + s, &x0_el, &y0_el);
1457 unsigned level, int z,
1468 get_image_offset_el(surf, level, box->z + z, &x0_el, &y0_el);
1490 tile_extents(surf, box, xfer->level, s, &x1, &x2, &y1, &y2);
1516 tile_extents(surf, box, xfer->level, 0, &x1, &x2, &y1, &y2);
1533 tile_extents(surf, box, xfer->level, s, &x1, &x2, &y1, &y2);
1575 get_image_offset_el(surf, xfer->level, box->z, &x0_el, &y0_el);
1605 unsigned level,
1634 crocus_has_invalid_primary(res, level, 1, box->z, box->depth);
1661 xfer->level = level;
1693 !crocus_has_invalid_primary(res, level, 1, box->z, box->depth))
1712 level, box->z, box->depth,