Home
last modified time | relevance | path

Searched refs:vertex_buffer_index (Results 1 – 25 of 60) sorted by relevance

123

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_vdecl.c71 &svga->curr.vb[ve[i].vertex_buffer_index]; in emit_hw_vs_vdecl()
90 &svga->curr.vb[ve[i].vertex_buffer_index]; in emit_hw_vs_vdecl()
118 buffer_indexes[i] = ve[i].vertex_buffer_index; in emit_hw_vs_vdecl()
Dsvga_pipe_vertex.c139 elements[i].inputSlot = elem->vertex_buffer_index; in define_input_element_object()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_vertex_buffers.c138 element.vertex_buffer_index = 0; in vl_vb_get_quad_vertex_element()
146 unsigned vertex_buffer_index) in vl_vb_element_helper() argument
155 elements[i].vertex_buffer_index = vertex_buffer_index; in vl_vb_element_helper()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_fetch.c98 key.element[nr].input_buffer = draw->pt.vertex_element[ei].vertex_buffer_index; in draw_pt_fetch_prepare()
109 key.element[nr].input_buffer = draw->pt.vertex_element[ei].vertex_buffer_index; in draw_pt_fetch_prepare()
120 key.element[nr].input_buffer = draw->pt.vertex_element[ei].vertex_buffer_index; in draw_pt_fetch_prepare()
Ddraw_pt_fetch_shade_emit.c112 fse->key.element[i].in.buffer = src->vertex_buffer_index; in fse_prepare()
114 nr_vbs = MAX2(nr_vbs, src->vertex_buffer_index + 1); in fse_prepare()
Ddraw_pt.c284 uint buf = draw->pt.vertex_element[j].vertex_buffer_index; in draw_print_arrays()
501 draw->pt.vertex_element[i].vertex_buffer_index, in draw_vbo()
/external/mesa3d/src/gallium/auxiliary/postprocess/
Dpp_program.c113 p->velem[0].vertex_buffer_index = 0; in pp_init_prog()
117 p->velem[1].vertex_buffer_index = 0; in pp_init_prog()
/external/mesa3d/src/gallium/tests/graw/
Dtri-instanced.c114 ve[0].vertex_buffer_index = 0; in set_vertices()
119 ve[1].vertex_buffer_index = 0; in set_vertices()
124 ve[2].vertex_buffer_index = 1; in set_vertices()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_context.c218 .vertex_buffer_index = 0, in fd_context_setup_common_vbos()
229 .vertex_buffer_index = 0, in fd_context_setup_common_vbos()
233 .vertex_buffer_index = 1, in fd_context_setup_common_vbos()
/external/mesa3d/src/gallium/docs/source/cso/
Dvelems.rst50 vertex_buffer_index for the first vertex.
55 vertex_buffer_index
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_state.c512 …if (elements[idx].vertex_buffer_index >= ctx->specs.stream_count || elements[idx].instance_divisor… in etna_vertex_elements_state_create()
539 elements[idx + 1].vertex_buffer_index != elements[idx].vertex_buffer_index || in etna_vertex_elements_state_create()
554 VIVS_FE_VERTEX_ELEMENT_CONFIG_STREAM(elements[idx].vertex_buffer_index) | in etna_vertex_elements_state_create()
562 VIVS_NFE_GENERIC_ATTRIB_CONFIG0_STREAM(elements[idx].vertex_buffer_index) | in etna_vertex_elements_state_create()
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_vbo.c139 const int b = ve->vertex_buffer_index; in nv30_update_user_vbufs()
217 vb = &nv30->vtxbuf[ve->vertex_buffer_index];
235 vb = &nv30->vtxbuf[ve->vertex_buffer_index];
236 user = (nv30->vbo_user & (1 << ve->vertex_buffer_index));
277 const unsigned vbi = ve->vertex_buffer_index;
/external/mesa3d/src/gallium/auxiliary/util/
Du_vbuf.c599 unsigned vb_index = mgr->ve->ve[i].vertex_buffer_index; in u_vbuf_translate_begin()
635 unsigned bit, vb_index = mgr->ve->ve[i].vertex_buffer_index; in u_vbuf_translate_begin()
699 mgr->fallback_velems[i].vertex_buffer_index = mgr->fallback_vbs[type]; in u_vbuf_translate_begin()
763 used_buffers |= 1 << ve->ve[i].vertex_buffer_index; in u_vbuf_create_vertex_elements()
766 ve->noninstance_vb_mask_any |= 1 << ve->ve[i].vertex_buffer_index; in u_vbuf_create_vertex_elements()
780 ve->incompatible_vb_mask_any |= 1 << ve->ve[i].vertex_buffer_index; in u_vbuf_create_vertex_elements()
782 ve->compatible_vb_mask_any |= 1 << ve->ve[i].vertex_buffer_index; in u_vbuf_create_vertex_elements()
916 unsigned index = velem->vertex_buffer_index; in u_vbuf_upload_buffers()
Du_draw.c60 &vertex_buffers[element->vertex_buffer_index]; in util_draw_max_index()
/external/mesa3d/src/gallium/tests/trivial/
Dtri.c201 p->velem[0].vertex_buffer_index = 0; in init_prog()
206 p->velem[1].vertex_buffer_index = 0; in init_prog()
Dquad-tex.c256 p->velem[0].vertex_buffer_index = 0; in init_prog()
261 p->velem[1].vertex_buffer_index = 0; in init_prog()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_emit.c948 vb1 = &vbuf[velem[i].vertex_buffer_index]; in r300_emit_vertex_arrays()
949 vb2 = &vbuf[velem[i+1].vertex_buffer_index]; in r300_emit_vertex_arrays()
960 vb1 = &vbuf[velem[i].vertex_buffer_index]; in r300_emit_vertex_arrays()
968 buf = r300_resource(vbuf[velem[i].vertex_buffer_index].buffer.resource); in r300_emit_vertex_arrays()
974 vb1 = &vbuf[velem[i].vertex_buffer_index]; in r300_emit_vertex_arrays()
975 vb2 = &vbuf[velem[i+1].vertex_buffer_index]; in r300_emit_vertex_arrays()
1003 vb1 = &vbuf[velem[i].vertex_buffer_index]; in r300_emit_vertex_arrays()
1020 buf = r300_resource(vbuf[velem[i].vertex_buffer_index].buffer.resource); in r300_emit_vertex_arrays()
Dr300_render.c162 vb = &vbufs[velem[i].vertex_buffer_index]; in r300_split_index_bias()
369 vbi = velem->vertex_buffer_index; in r300_draw_arrays_immediate()
741 &r300->vertex_buffer[velems[i].vertex_buffer_index]; in r300_max_vertex_count()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_vbo.c78 const unsigned vbi = ve->vertex_buffer_index; in nvc0_vertex_state_create()
151 const unsigned b = elements[i].vertex_buffer_index; in nvc0_vertex_state_create()
175 struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[ve->vertex_buffer_index]; in nvc0_set_constant_vertex_attrib()
241 const unsigned b = ve->vertex_buffer_index; in nvc0_update_user_vbufs()
334 b = ve->pipe.vertex_buffer_index; in nvc0_validate_vertex_buffers()
504 if (unlikely(const_vbos & (1 << ve->pipe.vertex_buffer_index))) { in nvc0_vertex_arrays_validate()
/external/mesa3d/src/mesa/state_tracker/
Dst_context.c415 st->util_velems[0].vertex_buffer_index = slot; in st_create_context_priv()
418 st->util_velems[1].vertex_buffer_index = slot; in st_create_context_priv()
421 st->util_velems[2].vertex_buffer_index = slot; in st_create_context_priv()
Dst_pbo.c248 velem.vertex_buffer_index = cso_get_aux_vertex_buffer_slot(cso); in st_pbo_draw()
253 cso_set_vertex_buffers(cso, velem.vertex_buffer_index, 1, &vbo); in st_pbo_draw()
Dst_draw_feedback.c222 velements[attr].vertex_buffer_index = attr; in st_feedback_draw_vbo()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_vbo.c74 const unsigned vbi = ve->vertex_buffer_index; in nv50_vertex_state_create()
249 const unsigned b = ve->vertex_buffer_index; in nv50_update_user_vbufs()
344 const unsigned b = vertex->element[i].pipe.vertex_buffer_index; in nv50_vertex_arrays_validate()
374 const unsigned b = vertex->element[i].pipe.vertex_buffer_index; in nv50_vertex_arrays_validate()
/external/virglrenderer/src/gallium/include/pipe/
Dp_state.h514 unsigned vertex_buffer_index; member
/external/mesa3d/src/gallium/include/pipe/
Dp_state.h635 unsigned vertex_buffer_index:5; member

123