Home | History | Annotate | Download | only in a3xx

Lines Matching defs:psurf

72 			struct pipe_surface *psurf = bufs[i];
74 rsc = fd_resource(psurf->texture);
75 pformat = psurf->format;
85 slice = fd_resource_slice(rsc, psurf->u.tex.level);
93 debug_assert(psurf->u.tex.first_layer == psurf->u.tex.last_layer);
95 offset = fd_resource_offset(rsc, psurf->u.tex.level,
96 psurf->u.tex.first_layer);
320 uint32_t base, struct pipe_surface *psurf)
323 struct fd_resource *rsc = fd_resource(psurf->texture);
324 enum pipe_format format = psurf->format;
329 struct fd_resource_slice *slice = fd_resource_slice(rsc, psurf->u.tex.level);
330 uint32_t offset = fd_resource_offset(rsc, psurf->u.tex.level,
331 psurf->u.tex.first_layer);
333 debug_assert(psurf->u.tex.first_layer == psurf->u.tex.last_layer);
482 struct pipe_surface **psurf, uint32_t bufs, uint32_t bin_w)
494 emit_mrt(ring, bufs, psurf, bases, bin_w, false);
496 if (psurf[0] && (psurf[0]->format == PIPE_FORMAT_Z32_FLOAT ||
497 psurf[0]->format == PIPE_FORMAT_Z32_FLOAT_S8X24_UINT)) {
513 if (psurf[0]->format == PIPE_FORMAT_Z32_FLOAT) {
521 zsbufs[0] = zsbufs[1] = psurf[0];
522 psurf = zsbufs;
530 fd3_emit_gmem_restore_tex(ring, psurf, bufs);
734 struct pipe_surface *psurf = pfb->cbufs[i];
735 if (!psurf)
737 pitch = fd_resource(psurf->texture)->slices[psurf->u.tex.level].pitch;