Lines Matching refs:prsc
137 etna_transfer_map(struct pipe_context *pctx, struct pipe_resource *prsc, in etna_transfer_map() argument
144 struct etna_resource *rsc = etna_resource(prsc); in etna_transfer_map()
147 enum pipe_format format = prsc->format; in etna_transfer_map()
157 pipe_resource_reference(&ptrans->resource, prsc); in etna_transfer_map()
162 assert(level <= prsc->last_level); in etna_transfer_map()
170 prsc->last_level == 0 && in etna_transfer_map()
171 prsc->width0 == box->width && in etna_transfer_map()
172 prsc->height0 == box->height && in etna_transfer_map()
173 prsc->depth0 == box->depth && in etna_transfer_map()
174 prsc->array_size == 1) { in etna_transfer_map()
200 if (prsc->depth0 > 1) { in etna_transfer_map()
206 struct pipe_resource templ = *prsc; in etna_transfer_map()
242 etna_copy_resource_box(pctx, trans->rsc, prsc, level, &ptrans->box); in etna_transfer_map()
340 etna_compute_offset(prsc->format, box, res_level->stride, in etna_transfer_map()