Home
last modified time | relevance | path

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

12

/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.c100 key.element[nr].input_buffer = draw->pt.vertex_element[ei].vertex_buffer_index; in draw_pt_fetch_prepare()
111 key.element[nr].input_buffer = draw->pt.vertex_element[ei].vertex_buffer_index; in draw_pt_fetch_prepare()
122 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.c271 uint buf = draw->pt.vertex_element[j].vertex_buffer_index; in draw_print_arrays()
481 draw->pt.vertex_element[i].vertex_buffer_index, in draw_vbo()
Ddraw_pt_fetch_emit.c121 unsigned input_buffer = src->vertex_buffer_index; in fetch_emit_prepare()
/external/mesa3d/src/gallium/auxiliary/postprocess/
Dpp_program.c114 p->velem[0].vertex_buffer_index = 0; in pp_init_prog()
118 p->velem[1].vertex_buffer_index = 0; in pp_init_prog()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_vdecl.c76 &svga->curr.vb[ve[i].vertex_buffer_index]; in emit_hw_vs_vdecl()
95 &svga->curr.vb[ve[i].vertex_buffer_index]; in emit_hw_vs_vdecl()
Dsvga_pipe_draw.c71 &svga->curr.vb[ve[i].vertex_buffer_index]; in svga_user_buffer_range()
84 &svga->curr.vb[ve[i].vertex_buffer_index]; in svga_user_buffer_range()
130 &svga->curr.vb[ve[i].vertex_buffer_index]; in svga_upload_user_buffers()
/external/mesa3d/src/gallium/tests/graw/
Dtri-instanced.c117 ve[0].vertex_buffer_index = 0; in set_vertices()
122 ve[1].vertex_buffer_index = 0; in set_vertices()
127 ve[2].vertex_buffer_index = 1; in set_vertices()
/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/nv30/
Dnv30_vbo.c136 const int b = ve->vertex_buffer_index; in nv30_update_user_vbufs()
207 vb = &nv30->vtxbuf[ve->vertex_buffer_index]; in nv30_vbo_validate()
225 vb = &nv30->vtxbuf[ve->vertex_buffer_index]; in nv30_vbo_validate()
226 user = (nv30->vbo_user & (1 << ve->vertex_buffer_index)); in nv30_vbo_validate()
269 const unsigned vbi = ve->vertex_buffer_index; in nv30_vertex_state_create()
/external/mesa3d/src/gallium/auxiliary/util/
Du_vbuf.c447 unsigned vb_index = mgr->ve->ve[i].vertex_buffer_index; in u_vbuf_translate_begin()
482 unsigned bit, vb_index = mgr->ve->ve[i].vertex_buffer_index; in u_vbuf_translate_begin()
546 mgr->fallback_velems[i].vertex_buffer_index = mgr->fallback_vbs[type]; in u_vbuf_translate_begin()
611 used_buffers |= 1 << ve->ve[i].vertex_buffer_index; in u_vbuf_create_vertex_elements()
614 ve->noninstance_vb_mask_any |= 1 << ve->ve[i].vertex_buffer_index; in u_vbuf_create_vertex_elements()
683 ve->incompatible_vb_mask_any |= 1 << ve->ve[i].vertex_buffer_index; in u_vbuf_create_vertex_elements()
685 ve->compatible_vb_mask_any |= 1 << ve->ve[i].vertex_buffer_index; in u_vbuf_create_vertex_elements()
804 unsigned index = velem->vertex_buffer_index; in u_vbuf_upload_buffers()
Du_draw.c59 &vertex_buffers[element->vertex_buffer_index]; in util_draw_max_index()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_emit.c846 vb1 = &vbuf[velem[i].vertex_buffer_index]; in r300_emit_vertex_arrays()
847 vb2 = &vbuf[velem[i+1].vertex_buffer_index]; in r300_emit_vertex_arrays()
858 vb1 = &vbuf[velem[i].vertex_buffer_index]; in r300_emit_vertex_arrays()
866 buf = r300_resource(vbuf[velem[i].vertex_buffer_index].buffer); in r300_emit_vertex_arrays()
872 vb1 = &vbuf[velem[i].vertex_buffer_index]; in r300_emit_vertex_arrays()
873 vb2 = &vbuf[velem[i+1].vertex_buffer_index]; in r300_emit_vertex_arrays()
901 vb1 = &vbuf[velem[i].vertex_buffer_index]; in r300_emit_vertex_arrays()
918 buf = r300_resource(vbuf[velem[i].vertex_buffer_index].buffer); 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()
401 vbi = r300->velems->velem[i].vertex_buffer_index; in r300_draw_arrays_immediate()
751 &r300->vertex_buffer[velems[i].vertex_buffer_index]; in r300_max_vertex_count()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_draw.c424 if (ve->vertex_buffer_index >= rctx->nr_vertex_buffers) in si_vertex_buffer_update()
427 vb = &rctx->vertex_buffer[ve->vertex_buffer_index]; in si_vertex_buffer_update()
447 if (!bound[ve->vertex_buffer_index]) { in si_vertex_buffer_update()
449 bound[ve->vertex_buffer_index] = true; in si_vertex_buffer_update()
/external/mesa3d/src/gallium/tests/trivial/
Dtri.c203 p->velem[0].vertex_buffer_index = 0; in init_prog()
208 p->velem[1].vertex_buffer_index = 0; in init_prog()
Dquad-tex.c262 p->velem[0].vertex_buffer_index = 0; in init_prog()
267 p->velem[1].vertex_buffer_index = 0; in init_prog()
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_vbo.c77 const unsigned vbi = ve->vertex_buffer_index; in nvc0_vertex_state_create()
146 const unsigned b = elements[i].vertex_buffer_index; in nvc0_vertex_state_create()
170 struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[ve->vertex_buffer_index]; in nvc0_set_constant_vertex_attrib()
236 const unsigned b = ve->vertex_buffer_index; in nvc0_update_user_vbufs()
325 b = ve->pipe.vertex_buffer_index; in nvc0_validate_vertex_buffers()
482 if (unlikely(const_vbos & (1 << ve->pipe.vertex_buffer_index))) { in nvc0_vertex_arrays_validate()
/external/mesa3d/src/gallium/state_trackers/vega/
Dpolygon.c285 velement.vertex_buffer_index = 0; in polygon_fill()
326 velement.vertex_buffer_index = 0; in polygon_array_fill()
/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_vbo.c73 const unsigned vbi = ve->vertex_buffer_index; in nv50_vertex_state_create()
232 const unsigned b = ve->vertex_buffer_index; in nv50_update_user_vbufs()
323 const unsigned b = vertex->element[i].pipe.vertex_buffer_index; in nv50_vertex_arrays_validate()
351 const unsigned b = vertex->element[i].pipe.vertex_buffer_index; in nv50_vertex_arrays_validate()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_array.c412 velements[attr].vertex_buffer_index = 0; in setup_interleaved_attribs()
519 velements[attr].vertex_buffer_index = attr; in setup_non_interleaved_attribs()
Dst_draw_feedback.c195 velements[attr].vertex_buffer_index = attr; in st_feedback_draw_vbo()
Dst_context.c176 st->velems_util_draw[i].vertex_buffer_index = 0; in st_create_context_priv()
/external/mesa3d/src/gallium/include/pipe/
Dp_state.h503 unsigned vertex_buffer_index; member

12