Home
last modified time | relevance | path

Searched refs:nr_bufs (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_gmem.c48 emit_mrt(struct fd_ringbuffer *ring, unsigned nr_bufs, in emit_mrt() argument
71 if ((i < nr_bufs) && bufs[i]) { in emit_mrt()
110 } else if ((i < nr_bufs) && bases) { in emit_mrt()
120 if (bin_w || (i >= nr_bufs) || !bufs[i]) { in emit_mrt()
303 struct pipe_surface **bufs, uint32_t nr_bufs, uint32_t bin_w) in emit_mem2gmem_surf() argument
308 emit_mrt(ring, nr_bufs, bufs, bases, bin_w, false); in emit_mem2gmem_surf()
317 nr_bufs = 2; in emit_mem2gmem_surf()
320 fd4_emit_gmem_restore_tex(ring, nr_bufs, bufs); in emit_mem2gmem_surf()
Dfd4_emit.c256 fd4_emit_gmem_restore_tex(struct fd_ringbuffer *ring, unsigned nr_bufs, in fd4_emit_gmem_restore_tex() argument
263 mrt_comp[i] = (i < nr_bufs) ? 0xf : 0; in fd4_emit_gmem_restore_tex()
267 OUT_PKT3(ring, CP_LOAD_STATE4, 2 + (2 * nr_bufs)); in fd4_emit_gmem_restore_tex()
271 CP_LOAD_STATE4_0_NUM_UNIT(nr_bufs)); in fd4_emit_gmem_restore_tex()
274 for (i = 0; i < nr_bufs; i++) { in fd4_emit_gmem_restore_tex()
284 OUT_PKT3(ring, CP_LOAD_STATE4, 2 + (8 * nr_bufs)); in fd4_emit_gmem_restore_tex()
288 CP_LOAD_STATE4_0_NUM_UNIT(nr_bufs)); in fd4_emit_gmem_restore_tex()
291 for (i = 0; i < nr_bufs; i++) { in fd4_emit_gmem_restore_tex()
Dfd4_emit.h42 unsigned nr_bufs, struct pipe_surface **bufs);
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_gmem.c47 emit_mrt(struct fd_ringbuffer *ring, unsigned nr_bufs, in emit_mrt() argument
71 if ((i < nr_bufs) && bufs[i]) { in emit_mrt()
107 } else if (i < nr_bufs && bases) { in emit_mrt()
117 if (bin_w || (i >= nr_bufs) || !bufs[i]) { in emit_mrt()
124 OUT_RING(ring, COND((i < nr_bufs) && bufs[i], in emit_mrt()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_gmem.c46 emit_mrt(struct fd_ringbuffer *ring, unsigned nr_bufs, in emit_mrt() argument
69 if ((i < nr_bufs) && bufs[i]) { in emit_mrt()
108 if (gmem || (i >= nr_bufs) || !bufs[i]) { in emit_mrt()