Home
last modified time | relevance | path

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

123

/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_fetch.c95 key.element[nr].instance_divisor = draw->pt.vertex_element[ei].instance_divisor; in draw_pt_fetch_prepare()
106 key.element[nr].instance_divisor = draw->pt.vertex_element[ei].instance_divisor; in draw_pt_fetch_prepare()
117 key.element[nr].instance_divisor = draw->pt.vertex_element[ei].instance_divisor; in draw_pt_fetch_prepare()
Ddraw_vs_variant.c331 fetch.element[i].instance_divisor = 0; in draw_vs_create_variant_generic()
347 emit.element[i].instance_divisor = 0; in draw_vs_create_variant_generic()
357 emit.element[i].instance_divisor = 0; in draw_vs_create_variant_generic()
Ddraw_pt.c288 if (draw->pt.vertex_element[j].instance_divisor) { in draw_print_arrays()
289 ii = draw->instance_id / draw->pt.vertex_element[j].instance_divisor; in draw_print_arrays()
557 draw->pt.vertex_element[i].instance_divisor, in draw_vbo()
Ddraw_vs.h47 unsigned instance_divisor; member
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DInputAssembly.cpp295 ve->instance_divisor = 0; in CreateElementLayout()
300 ve->instance_divisor = ~0; in CreateElementLayout()
302 ve->instance_divisor = pVertexElement->InstanceDataStepRate; in CreateElementLayout()
/third_party/mesa3d/src/gallium/auxiliary/postprocess/
Dpp_program.c115 p->velem.velems[0].instance_divisor = 0; in pp_init_prog()
119 p->velem.velems[1].instance_divisor = 0; in pp_init_prog()
/third_party/mesa3d/src/gallium/auxiliary/translate/
Dtranslate_sse.c60 unsigned instance_divisor; member
1113 if (!index_size || variant->instance_divisor) { in init_inputs()
1128 if (variant->instance_divisor) { in init_inputs()
1136 if (variant->instance_divisor != 1) { in init_inputs()
1143 x86_mov_reg_imm(p->func, tmp_ECX, variant->instance_divisor); in init_inputs()
1202 else if (!index_size || p->buffer_variant[var_idx].instance_divisor) { in get_buffer_ptr()
1264 if (p->buffer_variant[0].instance_divisor == 0) { in incr_inputs()
1283 if (variant->instance_divisor == 0) { in incr_inputs()
1537 if (key->element[i].instance_divisor) { in translate_sse2_create()
1547 && p->buffer_variant[j].instance_divisor == in translate_sse2_create()
[all …]
Dtranslate_generic.c57 unsigned instance_divisor; member
606 if (tg->attrib[attr].instance_divisor) { in generic_run_one()
608 index += (instance_id / tg->attrib[attr].instance_divisor); in generic_run_one()
818 tg->attrib[i].instance_divisor = key->element[i].instance_divisor; in translate_generic_create()
Dtranslate.h74 unsigned instance_divisor; member
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_vbo.c110 if (unlikely(ve->instance_divisor)) { in nvc0_vertex_state_create()
113 if (ve->instance_divisor < so->min_instance_div[vbi]) in nvc0_vertex_state_create()
114 so->min_instance_div[vbi] = ve->instance_divisor; in nvc0_vertex_state_create()
129 transkey.element[j].instance_divisor = ve->instance_divisor; in nvc0_vertex_state_create()
338 if (ve->pipe.instance_divisor) { in nvc0_validate_vertex_buffers()
340 PUSH_DATA (push, ve->pipe.instance_divisor); in nvc0_validate_vertex_buffers()
352 if (unlikely(ve->pipe.instance_divisor)) { in nvc0_validate_vertex_buffers()
357 PUSH_DATA (push, ve->pipe.instance_divisor); in nvc0_validate_vertex_buffers()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dvx_pipeline.c601 attr.instance_divisor = MIN2(pipeline->vb[binding].instance_divisor, in pack_shader_state_attribute_record()
622 pipeline->vb[desc->binding].instance_divisor = desc->inputRate; in v3dX()
630 pipeline->vb[desc->binding].instance_divisor = desc->divisor; in v3dX()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_vbo.c113 transkey.element[j].instance_divisor = ve->instance_divisor; in nv50_vertex_state_create()
119 if (unlikely(ve->instance_divisor)) { in nv50_vertex_state_create()
122 if (ve->instance_divisor < so->min_instance_div[vbi]) in nv50_vertex_state_create()
123 so->min_instance_div[vbi] = ve->instance_divisor; in nv50_vertex_state_create()
397 if (unlikely(ve->pipe.instance_divisor)) { in nv50_vertex_arrays_validate()
402 PUSH_DATA (push, ve->pipe.instance_divisor); in nv50_vertex_arrays_validate()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom_array.cpp63 int src_offset, unsigned instance_divisor, in init_velement() argument
68 velements[idx].instance_divisor = instance_divisor; in init_velement()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_draw.c105 if (element->instance_divisor == 0) { in util_draw_max_index()
112 if ((info->start_instance + info->instance_count)/element->instance_divisor in util_draw_max_index()
Du_vbuf.c718 } else if (mgr->ve->ve[i].instance_divisor) { in u_vbuf_translate_begin()
774 te->instance_divisor = 0; in u_vbuf_translate_begin()
818 mgr->fallback_velems.velems[i].instance_divisor = mgr->ve->ve[i].instance_divisor; in u_vbuf_translate_begin()
895 if (!ve->ve[i].instance_divisor) { in u_vbuf_create_vertex_elements()
1131 unsigned instance_div = velem->instance_divisor; in get_upload_offset_size()
/third_party/mesa3d/src/gallium/tests/trivial/
Dtri.c208 p->velem.velems[0].instance_divisor = 0; in init_prog()
213 p->velem.velems[1].instance_divisor = 0; in init_prog()
Dquad-tex.c265 p->velem.velems[0].instance_divisor = 0; in init_prog()
270 p->velem.velems[1].instance_divisor = 0; in init_prog()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_vertex.c146 if (elem->instance_divisor) { in define_input_element_object()
148 elements[i].instanceDataStepRate = elem->instance_divisor; in define_input_element_object()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_context.c96 COND(elem->instance_divisor, in fd6_vertex_state_create()
102 MAX2(1, elem->instance_divisor)); /* VFD_DECODE[j].STEP_RATE */ in fd6_vertex_state_create()
/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_vertex_buffers.c137 element.instance_divisor = 0; in vl_vb_get_quad_vertex_element()
155 elements[i].instance_divisor = 1; in vl_vb_element_helper()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_state.c71 …ves->bindings[binding].inputRate = elem->instance_divisor ? VK_VERTEX_INPUT_RATE_INSTANCE : VK_VER… in zink_create_vertex_elements_state()
73 …assert(!elem->instance_divisor || zink_screen(pctx->screen)->info.have_EXT_vertex_attribute_diviso… in zink_create_vertex_elements_state()
74 if (elem->instance_divisor > screen->info.vdiv_props.maxVertexAttribDivisor) in zink_create_vertex_elements_state()
75 …debug_printf("zink: clamping instance divisor %u to %u\n", elem->instance_divisor, screen->info.vd… in zink_create_vertex_elements_state()
76 …ves->divisor[binding] = MIN2(elem->instance_divisor, screen->info.vdiv_props.maxVertexAttribDiviso… in zink_create_vertex_elements_state()
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_emit.c982 if (velem[i].instance_divisor) { in r300_emit_vertex_arrays()
985 (instance_id / velem[i].instance_divisor) * vb1->stride; in r300_emit_vertex_arrays()
990 if (velem[i+1].instance_divisor) { in r300_emit_vertex_arrays()
993 (instance_id / velem[i+1].instance_divisor) * vb2->stride; in r300_emit_vertex_arrays()
1009 if (velem[i].instance_divisor) { in r300_emit_vertex_arrays()
1012 (instance_id / velem[i].instance_divisor) * vb1->stride; in r300_emit_vertex_arrays()
/third_party/mesa3d/src/gallium/frontends/nine/
Dvertexdeclaration9.c210 This->elems[i].instance_divisor = 0; in NineVertexDeclaration9_ctor()
502 transkey.element[i].instance_divisor = 0; in NineVertexDeclaration9_ConvertStreamOutput()
/third_party/mesa3d/docs/gallium/cso/
Dvelems.rst51 instance_divisor
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_vbo.c302 transkey.element[j].instance_divisor = ve->instance_divisor;

123