Lines Matching refs:psurf
671 struct pipe_surface *psurf = cso_fb->zsbuf; in crocus_clear() local
672 box.depth = psurf->u.tex.last_layer - psurf->u.tex.first_layer + 1; in crocus_clear()
673 box.z = psurf->u.tex.first_layer; in crocus_clear()
675 clear_depth_stencil(ice, psurf->texture, psurf->u.tex.level, &box, true, in crocus_clear()
689 struct pipe_surface *psurf = cso_fb->cbufs[i]; in crocus_clear() local
690 struct crocus_surface *isurf = (void *) psurf; in crocus_clear()
691 box.depth = psurf->u.tex.last_layer - psurf->u.tex.first_layer + 1, in crocus_clear()
692 box.z = psurf->u.tex.first_layer, in crocus_clear()
694 clear_color(ice, psurf->texture, psurf->u.tex.level, &box, in crocus_clear()
783 struct pipe_surface *psurf, in crocus_clear_render_target() argument
790 struct crocus_surface *isurf = (void *) psurf; in crocus_clear_render_target()
794 .z = psurf->u.tex.first_layer, in crocus_clear_render_target()
797 .depth = psurf->u.tex.last_layer - psurf->u.tex.first_layer + 1 in crocus_clear_render_target()
803 clear_color(ice, psurf->texture, psurf->u.tex.level, &box, in crocus_clear_render_target()
815 struct pipe_surface *psurf, in crocus_clear_depth_stencil() argument
829 .z = psurf->u.tex.first_layer, in crocus_clear_depth_stencil()
832 .depth = psurf->u.tex.last_layer - psurf->u.tex.first_layer + 1 in crocus_clear_depth_stencil()
836 assert(util_format_is_depth_or_stencil(psurf->texture->format)); in crocus_clear_depth_stencil()
842 clear_depth_stencil(ice, psurf->texture, psurf->u.tex.level, &box, in crocus_clear_depth_stencil()