Lines Matching refs:psurf

55 load_general(struct v3d_cl *cl, struct pipe_surface *psurf, int buffer,
58 struct v3d_surface *surf = v3d_surface(psurf);
61 psurf = surf->separate_stencil;
62 surf = v3d_surface(psurf);
65 struct v3d_resource *rsc = v3d_resource(psurf->texture);
68 v3d_layer_offset(&rsc->base, psurf->u.tex.level,
69 psurf->u.tex.first_layer + layer);
81 load.force_alpha_1 = util_format_has_alpha1(psurf->format);
88 &rsc->slices[psurf->u.tex.level];
92 if (psurf->texture->nr_samples > 1)
115 struct v3d_cl *cl, struct pipe_surface *psurf,
120 struct v3d_surface *surf = v3d_surface(psurf);
123 psurf = surf->separate_stencil;
124 surf = v3d_surface(psurf);
130 struct v3d_resource *rsc = v3d_resource(psurf->texture);
135 v3d_layer_offset(&rsc->base, psurf->u.tex.level,
136 psurf->u.tex.first_layer + layer);
158 &rsc->slices[psurf->u.tex.level];
163 if (psurf->texture->nr_samples > 1)
233 struct pipe_surface *psurf = job->bbuf ? job->bbuf : job->cbufs[i];
236 if (!psurf || (V3D_VERSION < 40 &&
237 psurf->texture->nr_samples <= 1)) {
241 load_general(cl, psurf, RENDER_TARGET_0 + i, layer,
337 struct pipe_surface *psurf = job->cbufs[i];
338 if (!psurf ||
339 (V3D_VERSION < 40 && psurf->texture->nr_samples <= 1)) {
343 store_general(job, cl, psurf, layer, RENDER_TARGET_0 + i, bit,
775 struct pipe_surface *psurf = job->cbufs[i];
776 if (!psurf)
778 struct v3d_surface *surf = v3d_surface(psurf);
779 struct v3d_resource *rsc = v3d_resource(psurf->texture);
869 struct pipe_surface *psurf = job->zsbuf;
870 struct v3d_surface *surf = v3d_surface(psurf);
871 struct v3d_resource *rsc = v3d_resource(psurf->texture);