Lines Matching refs:psurf
55 load_general(struct v3d_cl *cl, struct pipe_surface *psurf, int buffer, in load_general() argument
58 struct v3d_surface *surf = v3d_surface(psurf); in load_general()
61 psurf = surf->separate_stencil; in load_general()
62 surf = v3d_surface(psurf); in load_general()
65 struct v3d_resource *rsc = v3d_resource(psurf->texture); in load_general()
68 v3d_layer_offset(&rsc->base, psurf->u.tex.level, in load_general()
69 psurf->u.tex.first_layer + layer); in load_general()
88 &rsc->slices[psurf->u.tex.level]; in load_general()
92 if (psurf->texture->nr_samples > 1) in load_general()
115 struct v3d_cl *cl, struct pipe_surface *psurf, in store_general() argument
119 struct v3d_surface *surf = v3d_surface(psurf); in store_general()
122 psurf = surf->separate_stencil; in store_general()
123 surf = v3d_surface(psurf); in store_general()
129 struct v3d_resource *rsc = v3d_resource(psurf->texture); in store_general()
134 v3d_layer_offset(&rsc->base, psurf->u.tex.level, in store_general()
135 psurf->u.tex.first_layer + layer); in store_general()
157 &rsc->slices[psurf->u.tex.level]; in store_general()
161 if (psurf->texture->nr_samples > 1) in store_general()
222 struct pipe_surface *psurf = job->cbufs[i]; in v3d_rcl_emit_loads() local
223 if (!psurf || (V3D_VERSION < 40 && in v3d_rcl_emit_loads()
224 psurf->texture->nr_samples <= 1)) { in v3d_rcl_emit_loads()
228 load_general(cl, psurf, RENDER_TARGET_0 + i, layer, in v3d_rcl_emit_loads()
321 struct pipe_surface *psurf = job->cbufs[i]; in v3d_rcl_emit_stores() local
322 if (!psurf || in v3d_rcl_emit_stores()
323 (V3D_VERSION < 40 && psurf->texture->nr_samples <= 1)) { in v3d_rcl_emit_stores()
327 store_general(job, cl, psurf, layer, RENDER_TARGET_0 + i, bit, in v3d_rcl_emit_stores()
692 struct pipe_surface *psurf = job->cbufs[i]; in v3dX() local
693 if (!psurf) in v3dX()
695 struct v3d_surface *surf = v3d_surface(psurf); in v3dX()
696 struct v3d_resource *rsc = v3d_resource(psurf->texture); in v3dX()
786 struct pipe_surface *psurf = job->zsbuf; in v3dX() local
787 struct v3d_surface *surf = v3d_surface(psurf); in v3dX()
788 struct v3d_resource *rsc = v3d_resource(psurf->texture); in v3dX()