Lines Matching refs:prsc
552 vc4_create_sampler_view(struct pipe_context *pctx, struct pipe_resource *prsc,
556 struct vc4_resource *rsc = vc4_resource(prsc);
564 pipe_resource_reference(&so->base.texture, prsc);
581 .target = prsc->target,
582 .format = prsc->format,
583 .width0 = u_minify(prsc->width0,
585 .height0 = u_minify(prsc->height0,
589 .nr_samples = prsc->nr_samples,
595 prsc = vc4_resource_create(pctx->screen, &tmpl);
596 if (!prsc) {
600 rsc = vc4_resource(prsc);
609 so->texture = prsc;
611 pipe_resource_reference(&so->texture, prsc);
631 VC4_SET_FIELD(prsc->height0 & 2047, VC4_TEX_P1_HEIGHT) |
632 VC4_SET_FIELD(prsc->width0 & 2047, VC4_TEX_P1_WIDTH));
634 if (prsc->format == PIPE_FORMAT_ETC1_RGB8)