Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_helpers.c167 unsigned *nr_bufs, in pan_assign_vertex_buffer() argument
172 for (unsigned i = 0; i < (*nr_bufs); ++i) { in pan_assign_vertex_buffer()
178 unsigned idx = (*nr_bufs)++; in pan_assign_vertex_buffer()
Dpan_context.h348 unsigned *nr_bufs,
Dpan_cmdstream.c122 unsigned nr_bufs; member
2001 unsigned nr_bufs = ((so->nr_bufs + nr_images) * bufs_per_attrib) + in panfrost_emit_vertex_data() local
2014 nr_bufs += 2; in panfrost_emit_vertex_data()
2017 if (!nr_bufs) { in panfrost_emit_vertex_data()
2023 pan_pool_alloc_desc_array(&batch->pool.base, nr_bufs, in panfrost_emit_vertex_data()
2038 for (unsigned i = 0; i < so->nr_bufs; ++i) { in panfrost_emit_vertex_data()
4261 so->buffers, &so->nr_bufs, in panfrost_create_vertex_elements_state()
/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()
318 struct pipe_surface **bufs, uint32_t nr_bufs, uint32_t bin_w) in emit_mem2gmem_surf() argument
323 emit_mrt(ring, nr_bufs, bufs, bases, bin_w, false); in emit_mem2gmem_surf()
332 nr_bufs = 2; in emit_mem2gmem_surf()
335 fd4_emit_gmem_restore_tex(ring, nr_bufs, bufs); in emit_mem2gmem_surf()
Dfd4_emit.c367 fd4_emit_gmem_restore_tex(struct fd_ringbuffer *ring, unsigned nr_bufs, in fd4_emit_gmem_restore_tex() argument
374 mrt_comp[i] = (i < nr_bufs) ? 0xf : 0; in fd4_emit_gmem_restore_tex()
378 OUT_PKT3(ring, CP_LOAD_STATE4, 2 + (2 * nr_bufs)); in fd4_emit_gmem_restore_tex()
382 CP_LOAD_STATE4_0_NUM_UNIT(nr_bufs)); in fd4_emit_gmem_restore_tex()
385 for (i = 0; i < nr_bufs; i++) { in fd4_emit_gmem_restore_tex()
395 OUT_PKT3(ring, CP_LOAD_STATE4, 2 + (8 * nr_bufs)); in fd4_emit_gmem_restore_tex()
399 CP_LOAD_STATE4_0_NUM_UNIT(nr_bufs)); in fd4_emit_gmem_restore_tex()
402 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/freedreno/a5xx/
Dfd5_gmem.c46 emit_mrt(struct fd_ringbuffer *ring, unsigned nr_bufs, in emit_mrt() argument
68 if ((i < nr_bufs) && bufs[i]) { in emit_mrt()
109 if (gmem || (i >= nr_bufs) || !bufs[i]) { in emit_mrt()
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h19085 unsigned int nr_bufs; member
44301 unsigned int nr_bufs; member