/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pt_fetch.c | 95 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()
|
D | draw_vs_variant.c | 331 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()
|
D | draw_pt.c | 288 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()
|
D | draw_vs.h | 47 unsigned instance_divisor; member
|
/third_party/mesa3d/src/gallium/frontends/d3d10umd/ |
D | InputAssembly.cpp | 295 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/ |
D | pp_program.c | 115 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/ |
D | translate_sse.c | 60 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 …]
|
D | translate_generic.c | 57 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()
|
D | translate.h | 74 unsigned instance_divisor; member
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_vbo.c | 110 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/ |
D | v3dvx_pipeline.c | 601 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/ |
D | nv50_vbo.c | 113 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/ |
D | st_atom_array.cpp | 63 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/ |
D | u_draw.c | 105 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()
|
D | u_vbuf.c | 718 } 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/ |
D | tri.c | 208 p->velem.velems[0].instance_divisor = 0; in init_prog() 213 p->velem.velems[1].instance_divisor = 0; in init_prog()
|
D | quad-tex.c | 265 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/ |
D | svga_pipe_vertex.c | 146 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/ |
D | fd6_context.c | 96 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/ |
D | vl_vertex_buffers.c | 137 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/ |
D | zink_state.c | 71 …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/ |
D | r300_emit.c | 982 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/ |
D | vertexdeclaration9.c | 210 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/ |
D | velems.rst | 51 instance_divisor
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_vbo.c | 302 transkey.element[j].instance_divisor = ve->instance_divisor;
|