Lines Matching refs:psurf
640 struct pipe_surface *psurf = cso_fb->zsbuf; in iris_clear() local
642 box.depth = psurf->u.tex.last_layer - psurf->u.tex.first_layer + 1; in iris_clear()
643 box.z = psurf->u.tex.first_layer, in iris_clear()
644 clear_depth_stencil(ice, psurf->texture, psurf->u.tex.level, &box, true, in iris_clear()
653 struct pipe_surface *psurf = cso_fb->cbufs[i]; in iris_clear() local
654 struct iris_surface *isurf = (void *) psurf; in iris_clear()
655 box.depth = psurf->u.tex.last_layer - psurf->u.tex.first_layer + 1, in iris_clear()
656 box.z = psurf->u.tex.first_layer, in iris_clear()
658 clear_color(ice, psurf->texture, psurf->u.tex.level, &box, in iris_clear()
660 convert_clear_color(psurf->format, p_color)); in iris_clear()
737 struct pipe_surface *psurf, in iris_clear_render_target() argument
744 struct iris_surface *isurf = (void *) psurf; in iris_clear_render_target()
748 .z = psurf->u.tex.first_layer, in iris_clear_render_target()
751 .depth = psurf->u.tex.last_layer - psurf->u.tex.first_layer + 1 in iris_clear_render_target()
754 clear_color(ice, psurf->texture, psurf->u.tex.level, &box, in iris_clear_render_target()
757 convert_clear_color(psurf->format, p_color)); in iris_clear_render_target()
767 struct pipe_surface *psurf, in iris_clear_depth_stencil() argument
779 .z = psurf->u.tex.first_layer, in iris_clear_depth_stencil()
782 .depth = psurf->u.tex.last_layer - psurf->u.tex.first_layer + 1 in iris_clear_depth_stencil()
785 assert(util_format_is_depth_or_stencil(psurf->texture->format)); in iris_clear_depth_stencil()
787 clear_depth_stencil(ice, psurf->texture, psurf->u.tex.level, &box, in iris_clear_depth_stencil()