Home
last modified time | relevance | path

Searched refs:instance_divisor (Results 1 – 25 of 45) sorted by relevance

12

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_fetch.c102 key.element[nr].instance_divisor = draw->pt.vertex_element[ei].instance_divisor; in draw_pt_fetch_prepare()
113 key.element[nr].instance_divisor = draw->pt.vertex_element[ei].instance_divisor; in draw_pt_fetch_prepare()
124 key.element[nr].instance_divisor = draw->pt.vertex_element[ei].instance_divisor; in draw_pt_fetch_prepare()
Ddraw_vs_variant.c300 fetch.element[i].instance_divisor = 0; in draw_vs_create_variant_generic()
316 emit.element[i].instance_divisor = 0; in draw_vs_create_variant_generic()
326 emit.element[i].instance_divisor = 0; in draw_vs_create_variant_generic()
Ddraw_pt.c274 if (draw->pt.vertex_element[j].instance_divisor) { in draw_print_arrays()
275 ii = draw->instance_id / draw->pt.vertex_element[j].instance_divisor; in draw_print_arrays()
480 draw->pt.vertex_element[i].instance_divisor, in draw_vbo()
Ddraw_pt_fetch_emit.c141 key.element[i].instance_divisor = src->instance_divisor; in fetch_emit_prepare()
Ddraw_vs.h47 unsigned instance_divisor; member
Ddraw_pt_emit.c99 hw_key.element[i].instance_divisor = 0; in draw_pt_emit_prepare()
/external/mesa3d/src/gallium/auxiliary/util/
Du_draw.c104 if (element->instance_divisor == 0) { in util_draw_max_index()
111 assert((info->start_instance + info->instance_count)/element->instance_divisor in util_draw_max_index()
Du_vbuf.c455 } else if (mgr->ve->ve[i].instance_divisor) { in u_vbuf_translate_begin()
508 te->instance_divisor = 0; in u_vbuf_translate_begin()
543 mgr->fallback_velems[i].instance_divisor = mgr->ve->ve[i].instance_divisor; in u_vbuf_translate_begin()
613 if (!ve->ve[i].instance_divisor) { in u_vbuf_create_vertex_elements()
819 instance_div = velem->instance_divisor; in u_vbuf_upload_buffers()
/external/mesa3d/src/gallium/auxiliary/postprocess/
Dpp_program.c113 p->velem[0].instance_divisor = 0; in pp_init_prog()
117 p->velem[1].instance_divisor = 0; in pp_init_prog()
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_vbo.c104 if (unlikely(ve->instance_divisor)) { in nvc0_vertex_state_create()
107 if (ve->instance_divisor < so->min_instance_div[vbi]) in nvc0_vertex_state_create()
108 so->min_instance_div[vbi] = ve->instance_divisor; in nvc0_vertex_state_create()
123 transkey.element[j].instance_divisor = ve->instance_divisor; in nvc0_vertex_state_create()
330 if (ve->pipe.instance_divisor) { in nvc0_validate_vertex_buffers()
332 PUSH_DATA (push, ve->pipe.instance_divisor); in nvc0_validate_vertex_buffers()
344 if (unlikely(ve->pipe.instance_divisor)) { in nvc0_validate_vertex_buffers()
349 PUSH_DATA (push, ve->pipe.instance_divisor); in nvc0_validate_vertex_buffers()
/external/mesa3d/src/gallium/auxiliary/translate/
Dtranslate_sse.c58 unsigned instance_divisor; member
1069 if (!index_size || variant->instance_divisor) { in init_inputs()
1084 if (variant->instance_divisor) { in init_inputs()
1089 if (variant->instance_divisor != 1) { in init_inputs()
1098 x86_mov_reg_imm(p->func, tmp_ECX, variant->instance_divisor); in init_inputs()
1153 else if (!index_size || p->buffer_variant[var_idx].instance_divisor) { in get_buffer_ptr()
1217 if (p->buffer_variant[0].instance_divisor == 0) { in incr_inputs()
1235 if (variant->instance_divisor == 0) { in incr_inputs()
1479 if (key->element[i].instance_divisor) { in translate_sse2_create()
1488 p->buffer_variant[j].instance_divisor == key->element[i].instance_divisor) { in translate_sse2_create()
[all …]
Dtranslate_generic.c59 unsigned instance_divisor; member
625 if (tg->attrib[attr].instance_divisor) { in generic_run_one()
626 index = instance_id / tg->attrib[attr].instance_divisor; in generic_run_one()
833 tg->attrib[i].instance_divisor = key->element[i].instance_divisor; in translate_generic_create()
Dtranslate.h59 unsigned instance_divisor; member
/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_vbo.c106 transkey.element[j].instance_divisor = ve->instance_divisor; in nv50_vertex_state_create()
112 if (unlikely(ve->instance_divisor)) { in nv50_vertex_state_create()
115 if (ve->instance_divisor < so->min_instance_div[vbi]) in nv50_vertex_state_create()
116 so->min_instance_div[vbi] = ve->instance_divisor; in nv50_vertex_state_create()
374 if (unlikely(ve->pipe.instance_divisor)) { in nv50_vertex_arrays_validate()
379 PUSH_DATA (push, ve->pipe.instance_divisor); in nv50_vertex_arrays_validate()
/external/mesa3d/src/gallium/tests/trivial/
Dtri.c202 p->velem[0].instance_divisor = 0; in init_prog()
207 p->velem[1].instance_divisor = 0; in init_prog()
Dquad-tex.c261 p->velem[0].instance_divisor = 0; in init_prog()
266 p->velem[1].instance_divisor = 0; in init_prog()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_vertex_buffers.c137 element.instance_divisor = 0; in vl_vb_get_quad_vertex_element()
154 elements[i].instance_divisor = 1; in vl_vb_element_helper()
/external/mesa3d/src/gallium/state_trackers/vega/
Dpolygon.c284 velement.instance_divisor = 0; in polygon_fill()
325 velement.instance_divisor = 0; in polygon_array_fill()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_emit.c877 if (velem[i].instance_divisor) { in r300_emit_vertex_arrays()
880 (instance_id / velem[i].instance_divisor) * vb1->stride; in r300_emit_vertex_arrays()
885 if (velem[i+1].instance_divisor) { in r300_emit_vertex_arrays()
888 (instance_id / velem[i+1].instance_divisor) * vb2->stride; in r300_emit_vertex_arrays()
904 if (velem[i].instance_divisor) { in r300_emit_vertex_arrays()
907 (instance_id / velem[i].instance_divisor) * vb1->stride; in r300_emit_vertex_arrays()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_array.c411 velements[attr].instance_divisor = array->InstanceDivisor; in setup_interleaved_attribs()
518 velements[attr].instance_divisor = array->InstanceDivisor; in setup_non_interleaved_attribs()
Dst_draw_feedback.c194 velements[attr].instance_divisor = 0; in st_feedback_draw_vbo()
/external/mesa3d/src/gallium/docs/source/cso/
Dvelems.rst51 instance_divisor
/external/mesa3d/src/gallium/include/pipe/
Dp_state.h498 unsigned instance_divisor; member
/external/mesa3d/src/gallium/tests/graw/
Dtri-instanced.c128 ve[2].instance_divisor = 1; in set_vertices()
/external/mesa3d/src/gallium/drivers/nv30/
Dnv30_vbo.c294 transkey.element[j].instance_divisor = ve->instance_divisor; in nv30_vertex_state_create()

12