Lines Matching refs:prsc
644 vc5_create_sampler_view(struct pipe_context *pctx, struct pipe_resource *prsc, argument
650 struct vc5_resource *rsc = vc5_resource(prsc);
657 pipe_reference(NULL, &prsc->reference);
673 so->base.texture = prsc;
677 int msaa_scale = prsc->nr_samples > 1 ? 2 : 1;
689 tex.image_width = prsc->width0 * msaa_scale;
690 tex.image_height = prsc->height0 * msaa_scale;
696 if (prsc->target == PIPE_TEXTURE_1D ||
697 prsc->target == PIPE_TEXTURE_1D_ARRAY) {
702 if (prsc->target == PIPE_TEXTURE_3D) {
703 tex.image_depth = prsc->depth0;
729 if (prsc->nr_samples > 1) {
739 util_format_linear(prsc->format));
837 struct pipe_resource *prsc, argument
848 pipe_resource_reference(&target->buffer, prsc);