Home
last modified time | relevance | path

Searched refs:start_instance (Results 1 – 25 of 65) sorted by relevance

123

/third_party/mesa3d/src/gallium/auxiliary/util/
Du_draw.h101 uint start_instance, in util_draw_arrays_instanced() argument
109 info.start_instance = start_instance; in util_draw_arrays_instanced()
130 uint start_instance, in util_draw_elements_instanced() argument
142 info.start_instance = start_instance; in util_draw_elements_instanced()
Du_vbuf.c694 info->start_instance, /* INSTANCE */ in u_vbuf_translate_begin()
1124 int start_instance, unsigned num_instances, in get_upload_offset_size() argument
1149 *offset += vb->stride * start_instance; in get_upload_offset_size()
1163 int start_instance, unsigned num_instances) in u_vbuf_upload_buffers() argument
1180 num_vertices, start_instance, num_instances, in u_vbuf_upload_buffers()
1212 num_vertices, start_instance, num_instances, in u_vbuf_upload_buffers()
1451 info->start_instance = indirect_data[offset + 4]; in u_vbuf_split_indexed_multidraw()
1586 new_info.start_instance = ~0u; in u_vbuf_draw_vbo()
1603 unsigned start_instance = data[offset + 4]; in u_vbuf_draw_vbo() local
1610 new_info.start_instance = MIN2(new_info.start_instance, in u_vbuf_draw_vbo()
[all …]
Du_draw.c112 if ((info->start_instance + info->instance_count)/element->instance_divisor in util_draw_max_index()
183 draws[i].info.start_instance = info_in->index_size ? params[4] : params[3]; in util_draw_indirect_read()
247 info.start_instance = info_in->index_size ? params[4] : params[3]; in util_draw_indirect()
/third_party/mesa3d/src/gallium/auxiliary/translate/
Dtranslate.h92 unsigned start_instance,
99 unsigned start_instance,
106 unsigned start_instance,
113 unsigned start_instance,
Dtranslate_generic.c590 unsigned start_instance, in generic_run_one() argument
607 index = start_instance; in generic_run_one()
658 unsigned start_instance, in generic_run_elts() argument
667 generic_run_one(tg, *elts++, start_instance, instance_id, vert); in generic_run_elts()
676 unsigned start_instance, in generic_run_elts16() argument
685 generic_run_one(tg, *elts++, start_instance, instance_id, vert); in generic_run_elts16()
694 unsigned start_instance, in generic_run_elts8() argument
703 generic_run_one(tg, *elts++, start_instance, instance_id, vert); in generic_run_elts8()
712 unsigned start_instance, in generic_run() argument
721 generic_run_one(tg, start + i, start_instance, instance_id, vert); in generic_run()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_push.c33 uint32_t start_instance; member
90 ctx->start_instance, ctx->instance_id, in emit_vertices_i08()
129 ctx->start_instance, ctx->instance_id, in emit_vertices_i16()
168 ctx->start_instance, ctx->instance_id, in emit_vertices_i32()
202 ctx->start_instance, ctx->instance_id, in emit_vertices_seq()
314 ctx.start_instance = info->start_instance; in nv50_push_vbo()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_draw_arrays.c178 unsigned start_instance, unsigned instance_count, in simple_draw_arrays() argument
204 start_instance, instance_count, in simple_draw_arrays()
212 unsigned start_instance, unsigned instance_count, in svga_hwtnl_draw_arrays() argument
279 start_instance, instance_count, in svga_hwtnl_draw_arrays()
305 start_instance, in svga_hwtnl_draw_arrays()
Dsvga_draw_elements.c189 unsigned start_instance, in svga_hwtnl_simple_draw_range_elements() argument
211 start_instance, instance_count, in svga_hwtnl_simple_draw_range_elements()
285 info->start_instance, in svga_hwtnl_draw_range_elements()
314 info->start_instance, in svga_hwtnl_draw_range_elements()
Dsvga_pipe_draw.c63 unsigned start_instance, unsigned instance_count, in retry_draw_arrays() argument
71 count, start_instance, in retry_draw_arrays()
168 info->start_instance, in retry_draw_indirect()
371 info->start_instance, info->instance_count, in svga_draw_vbo()
Dsvga_draw_private.h230 unsigned start_instance, unsigned instance_count,
244 unsigned start_instance,
Dsvga_swtnl_backend.c289 const unsigned start_instance = 0; in svga_vbuf_render_draw_arrays() local
305 nr, start_instance, instance_count, 0), retried); in svga_vbuf_render_draw_arrays()
330 .start_instance = 0, in svga_vbuf_render_draw_elements()
Dsvga_draw.h63 unsigned start_instance, unsigned instance_count,
Dsvga_draw.c1002 unsigned start_instance, unsigned instance_count, in draw_vgpu10() argument
1105 start_instance); in draw_vgpu10()
1147 start_instance); in draw_vgpu10()
1361 unsigned start_instance, unsigned instance_count, in svga_hwtnl_prim() argument
1372 max_index, ib, start_instance, in svga_hwtnl_prim()
1381 assert(start_instance == 0); in svga_hwtnl_prim()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/mme/
Dcom9097.mme239 * parm[2 + 5n + 4] = start_instance
260 parm $r5 send $r4 /* start_instance, send index_bias */
261 send $r5 /* send start_instance */
301 * parm[2 + 4n + 3] = start_instance
312 parm $r4 send $r4 /* start_instance */
316 send $r4 /* send start_instance */
351 * parm[3 + 5n + 4] = start_instance
379 parm $r5 send $r4 /* start_instance, send index_bias */
380 send $r5 /* send start_instance */
437 * parm[3 + 4n + 3] = start_instance
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_vbo_translate.c22 uint32_t start_instance; member
262 ctx->start_instance, ctx->instance_id, ctx->dest); in disp_vertices_i08()
319 ctx->start_instance, ctx->instance_id, ctx->dest); in disp_vertices_i16()
376 ctx->start_instance, ctx->instance_id, ctx->dest); in disp_vertices_i32()
429 ctx->start_instance, ctx->instance_id, ctx->dest); in disp_vertices_seq()
526 single.start_instance = cmd->baseInstance; in nvc0_push_vbo_indirect()
533 single.start_instance = cmd->baseInstance; in nvc0_push_vbo_indirect()
546 PUSH_DATA (push, single.start_instance); in nvc0_push_vbo_indirect()
617 ctx.start_instance = info->start_instance; in nvc0_push_vbo()
Dnvc0_vbo.c955 nvc0->instance_off = info->start_instance; in nvc0_draw_vbo()
1038 PUSH_DATA (push, info->start_instance); in nvc0_draw_vbo()
1091 if (nvc0->state.instance_base != info->start_instance) { in nvc0_draw_vbo()
1092 nvc0->state.instance_base = info->start_instance; in nvc0_draw_vbo()
1095 PUSH_DATA (push, info->start_instance); in nvc0_draw_vbo()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_vs_variant.c172 vsvg->draw->start_instance, in vsvg_run_elts()
216 vsvg->draw->start_instance, in vsvg_run_elts()
241 vsvg->draw->start_instance, in vsvg_run_linear()
282 vsvg->draw->start_instance, in vsvg_run_linear()
Ddraw_pt.c464 draw->start_instance = info->start_instance; in draw_instances()
467 unsigned instance_idx = instance + info->start_instance; in draw_instances()
471 instance_idx < draw->start_instance) { in draw_instances()
Ddraw_pt_fetch.c164 draw->start_instance, in draw_pt_fetch_run()
192 draw->start_instance, in draw_pt_fetch_run_linear()
/third_party/mesa3d/src/panfrost/lib/
Dpan_indirect_draw.c57 nir_ssa_def *start_instance; member
114 uint32_t start_instance; member
122 uint32_t start_instance; member
529 nir_iand(b, nir_ine(b, builder->draw.start_instance, zero), in adjust_attrib_offset()
546 builder->draw.start_instance), in adjust_attrib_offset()
941 builder->draw.start_instance = get_indexed_draw_field(b, draw_ptr, start_instance); in patch()
948 builder->draw.start_instance = get_draw_field(b, draw_ptr, start_instance); in patch()
998 builder->draw.start_instance, 1); in patch()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_draw.cpp248 0, draws[i].index_bias, dinfo->start_instance); in draw_indexed_need_index_buffer_unref()
257 0, draws[i].index_bias, dinfo->start_instance); in draw_indexed_need_index_buffer_unref()
277 draws[i].start, draws[i].index_bias, dinfo->start_instance); in draw_indexed()
286 … dinfo->start_instance, sizeof(struct pipe_draw_start_count_bias), in draw_indexed()
292 draws[i].start, draws[i].index_bias, dinfo->start_instance); in draw_indexed()
310 …CTX(CmdDraw)(cmdbuf, draws[i].count, dinfo->instance_count, draws[i].start, dinfo->start_instance); in draw()
318 dinfo->instance_count, dinfo->start_instance, in draw()
322 …CTX(CmdDraw)(cmdbuf, draws[i].count, dinfo->instance_count, draws[i].start, dinfo->start_instance); in draw()
839 …TX(CmdDrawIndirectByteCountEXT)(batch->state->cmdbuf, dinfo->instance_count, dinfo->start_instance, in zink_draw()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_draw.c288 if (ctx->last.dirty || (ctx->last.instance_start != info->start_instance)) { in fd6_draw_vbo()
290 OUT_RING(ring, info->start_instance); /* VFD_INSTANCE_START_OFFSET */ in fd6_draw_vbo()
291 ctx->last.instance_start = info->start_instance; in fd6_draw_vbo()
/third_party/mesa3d/src/amd/common/
Dac_shader_args.h79 struct ac_arg start_instance; member
/third_party/mesa3d/src/util/indices/
Du_primconvert.c136 new_info->start_instance = info->start_instance; in primconvert_init_draw()
/third_party/mesa3d/src/mesa/main/
Ddraw.c1018 info->instance_count, info->start_instance); in _mesa_draw_gallium_fallback()
1069 info->instance_count, info->start_instance); in _mesa_draw_gallium_fallback()
1315 info.start_instance = baseInstance; in _mesa_draw_arrays()
1643 info.start_instance = 0; in _mesa_MultiDrawArrays()
1766 info.start_instance = baseInstance; in _mesa_validated_drawrangeelements()
2160 info.start_instance = 0; in _mesa_validated_multidrawelements()
2577 info.start_instance = cmd->baseInstance; in _mesa_MultiDrawArraysIndirect()
2671 info.start_instance = cmd->baseInstance; in _mesa_MultiDrawElementsIndirect()

123