Lines Matching defs:box

70                      const struct pipe_box *box,
84 if (box->x > 0 || box->y > 0 ||
85 box->width < u_minify(p_res->width0, level) ||
86 box->height < u_minify(p_res->height0, level)) {
167 const struct pipe_box *box,
187 layer >= box->z &&
188 layer < box->z + box->depth) {
241 iris_resource_get_aux_state(res, level, box->z);
242 if (!color_changed && box->depth == 1 && aux_state == ISL_AUX_STATE_CLEAR)
285 level, box->z, box->depth,
286 box->x, box->y, box->x + box->width,
287 box->y + box->height);
298 iris_resource_set_aux_state(ice, res, level, box->z,
299 box->depth, ISL_AUX_STATE_CLEAR);
309 const struct pipe_box *box,
330 util_range_add(&res->base.b, &res->valid_buffer_range, box->x, box->x + box->width);
334 bool can_fast_clear = can_fast_clear_color(ice, p_res, level, box,
338 fast_clear_color(ice, res, level, box, color);
345 iris_resource_prepare_render(ice, res, level, box->z, box->depth,
363 level, box->z, box->depth, box->x, box->y,
364 box->x + box->width, box->y + box->height,
373 box->z, box->depth, aux_usage);
380 const struct pipe_box *box,
393 if (box->x > 0 || box->y > 0 ||
394 box->width < u_minify(p_res->width0, level) ||
395 box->height < u_minify(p_res->height0, level)) {
412 level, box->z, box->x, box->y,
413 box->x + box->width,
414 box->y + box->height)) {
425 const struct pipe_box *box,
441 layer >= box->z &&
442 layer < box->z + box->depth) {
490 for (unsigned l = 0; l < box->depth; l++) {
492 iris_resource_get_aux_state(res, level, box->z + l);
499 box->z + l, 1, ISL_AUX_OP_FAST_CLEAR,
504 iris_resource_set_aux_state(ice, res, level, box->z, box->depth,
514 const struct pipe_box *box,
543 can_fast_clear_depth(ice, z_res, level, box, render_condition_enabled,
545 fast_clear_depth(ice, z_res, level, box, depth);
562 iris_resource_prepare_render(ice, z_res, level, box->z, box->depth,
571 iris_resource_prepare_access(ice, stencil_res, level, 1, box->z,
572 box->depth, stencil_res->aux.usage, false);
586 level, box->z, box->depth,
587 box->x, box->y,
588 box->x + box->width,
589 box->y + box->height,
599 iris_resource_finish_render(ice, z_res, level, box->z, box->depth,
604 iris_resource_finish_write(ice, stencil_res, level, box->z, box->depth,
627 struct pipe_box box = {
633 box.x = scissor_state->minx;
634 box.y = scissor_state->miny;
635 box.width = MIN2(box.width, scissor_state->maxx - scissor_state->minx);
636 box.height = MIN2(box.height, scissor_state->maxy - scissor_state->miny);
642 box.depth = psurf->u.tex.last_layer - psurf->u.tex.first_layer + 1;
643 box.z = psurf->u.tex.first_layer,
644 clear_depth_stencil(ice, psurf->texture, psurf->u.tex.level, &box, true,
655 box.depth = psurf->u.tex.last_layer - psurf->u.tex.first_layer + 1,
656 box.z = psurf->u.tex.first_layer,
658 clear_color(ice, psurf->texture, psurf->u.tex.level, &box,
675 const struct pipe_box *box,
695 clear_depth_stencil(ice, p_res, level, box, true, true, true,
725 clear_color(ice, p_res, level, box, true, format,
745 struct pipe_box box = {
754 clear_color(ice, psurf->texture, psurf->u.tex.level, &box,
776 struct pipe_box box = {
787 clear_depth_stencil(ice, psurf->texture, psurf->u.tex.level, &box,