Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_gmem.c60 emit_mrt(struct fd_ringbuffer *ring, unsigned nr_bufs, in emit_mrt() argument
82 if ((i < nr_bufs) && bufs[i]) { in emit_mrt()
120 } else if ((i < nr_bufs) && bases) { in emit_mrt()
130 if (bin_w || (i >= nr_bufs) || !bufs[i]) { in emit_mrt()
310 struct pipe_surface **bufs, uint32_t nr_bufs, uint32_t bin_w) in emit_mem2gmem_surf() argument
315 emit_mrt(ring, nr_bufs, bufs, bases, bin_w, false); in emit_mem2gmem_surf()
324 nr_bufs = 2; in emit_mem2gmem_surf()
327 fd4_emit_gmem_restore_tex(ring, nr_bufs, bufs); in emit_mem2gmem_surf()
Dfd4_emit.c268 fd4_emit_gmem_restore_tex(struct fd_ringbuffer *ring, unsigned nr_bufs, in fd4_emit_gmem_restore_tex() argument
275 mrt_comp[i] = (i < nr_bufs) ? 0xf : 0; in fd4_emit_gmem_restore_tex()
279 OUT_PKT3(ring, CP_LOAD_STATE4, 2 + (2 * nr_bufs)); in fd4_emit_gmem_restore_tex()
283 CP_LOAD_STATE4_0_NUM_UNIT(nr_bufs)); in fd4_emit_gmem_restore_tex()
286 for (i = 0; i < nr_bufs; i++) { in fd4_emit_gmem_restore_tex()
296 OUT_PKT3(ring, CP_LOAD_STATE4, 2 + (8 * nr_bufs)); in fd4_emit_gmem_restore_tex()
300 CP_LOAD_STATE4_0_NUM_UNIT(nr_bufs)); in fd4_emit_gmem_restore_tex()
303 for (i = 0; i < nr_bufs; i++) { in fd4_emit_gmem_restore_tex()
Dfd4_emit.h39 void fd4_emit_gmem_restore_tex(struct fd_ringbuffer *ring, unsigned nr_bufs,
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_gmem.c59 emit_mrt(struct fd_ringbuffer *ring, unsigned nr_bufs, in emit_mrt() argument
82 if ((i < nr_bufs) && bufs[i]) { in emit_mrt()
118 } else if (i < nr_bufs && bases) { in emit_mrt()
128 if (bin_w || (i >= nr_bufs) || !bufs[i]) { in emit_mrt()
135 OUT_RING(ring, COND((i < nr_bufs) && bufs[i], in emit_mrt()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_context.h312 unsigned nr_bufs; member
Dpan_cmdstream.c1592 unsigned nr_bufs = ((so->nr_bufs + nr_images) * bufs_per_attrib) + in panfrost_emit_vertex_data() local
1600 nr_bufs += 2; in panfrost_emit_vertex_data()
1603 if (!nr_bufs) { in panfrost_emit_vertex_data()
1609 pan_pool_alloc_desc_array(&batch->pool.base, nr_bufs, in panfrost_emit_vertex_data()
1625 for (unsigned i = 0; i < so->nr_bufs; ++i) { in panfrost_emit_vertex_data()
3229 unsigned *nr_bufs, in pan_assign_vertex_buffer() argument
3234 for (unsigned i = 0; i < (*nr_bufs); ++i) { in pan_assign_vertex_buffer()
3240 unsigned idx = (*nr_bufs)++; in pan_assign_vertex_buffer()
3266 so->buffers, &so->nr_bufs, in panfrost_create_vertex_elements_state()
/third_party/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()
111 if (gmem || (i >= nr_bufs) || !bufs[i]) { in emit_mrt()