Lines Matching defs:box

68                      const struct pipe_box *box,
83 if (box->x > 0 || box->y > 0 ||
84 box->width < u_minify(p_res->width0, level) ||
85 box->height < u_minify(p_res->height0, level)) {
201 const struct pipe_box *box,
225 layer >= box->z &&
226 layer < box->z + box->depth) {
271 crocus_resource_get_aux_state(res, level, box->z);
272 if (!color_changed && box->depth == 1 && aux_state == ISL_AUX_STATE_CLEAR)
311 level, box->z, box->depth,
312 box->x, box->y, box->x + box->width,
313 box->y + box->height);
319 crocus_resource_set_aux_state(ice, res, level, box->z,
320 box->depth, ISL_AUX_STATE_CLEAR);
329 const struct pipe_box *box,
350 util_range_add(&res->base.b, &res->valid_buffer_range, box->x, box->x + box->width);
354 bool can_fast_clear = can_fast_clear_color(ice, p_res, level, box,
358 fast_clear_color(ice, res, level, box, format, color,
367 box->z, box->depth, aux_usage);
381 level, box->z, box->depth, box->x, box->y,
382 box->x + box->width, box->y + box->height,
391 box->z, box->depth, aux_usage);
398 const struct pipe_box *box,
414 if (box->x > 0 || box->y > 0 ||
415 box->width < u_minify(p_res->width0, level) ||
416 box->height < u_minify(p_res->height0, level)) {
454 const struct pipe_box *box,
485 layer >= box->z &&
486 layer < box->z + box->depth) {
517 for (unsigned l = 0; l < box->depth; l++) {
520 crocus_resource_get_aux_state(res, level, box->z + l) :
528 box->z + l, 1, ISL_AUX_OP_FAST_CLEAR,
533 crocus_resource_set_aux_state(ice, res, level, box->z, box->depth,
542 const struct pipe_box *box,
571 can_fast_clear_depth(ice, z_res, level, box, render_condition_enabled,
573 fast_clear_depth(ice, z_res, level, box, depth);
591 crocus_resource_prepare_render(ice, z_res, level, box->z, box->depth,
603 crocus_resource_prepare_access(ice, stencil_res, level, 1, box->z,
604 box->depth, stencil_res->aux.usage, false);
611 level, box->z, box->depth,
612 box->x, box->y,
613 box->x + box->width,
614 box->y + box->height,
624 box->z, box->depth, z_surf.aux_usage);
628 crocus_resource_finish_write(ice, stencil_res, level, box->z, box->depth,
652 struct pipe_box box = {
658 box.x = scissor_state->minx;
659 box.y = scissor_state->miny;
660 box.width = MIN2(box.width, scissor_state->maxx - scissor_state->minx);
661 box.height = MIN2(box.height, scissor_state->maxy - scissor_state->miny);
672 box.depth = psurf->u.tex.last_layer - psurf->u.tex.first_layer + 1;
673 box.z = psurf->u.tex.first_layer;
675 clear_depth_stencil(ice, psurf->texture, psurf->u.tex.level, &box, true,
691 box.depth = psurf->u.tex.last_layer - psurf->u.tex.first_layer + 1,
692 box.z = psurf->u.tex.first_layer,
694 clear_color(ice, psurf->texture, psurf->u.tex.level, &box,
711 const struct pipe_box *box,
721 level, box, data);
741 clear_depth_stencil(ice, p_res, level, box, true, true, true,
771 clear_color(ice, p_res, level, box, true, format,
791 struct pipe_box box = {
803 clear_color(ice, psurf->texture, psurf->u.tex.level, &box,
826 struct pipe_box box = {
842 clear_depth_stencil(ice, psurf->texture, psurf->u.tex.level, &box,