Home
last modified time | relevance | path

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

123

/third_party/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.c142 elements[i].inputSlot = elem->vertex_buffer_index; in define_input_element_object()
/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_vertex_buffers.c138 element.vertex_buffer_index = 0; in vl_vb_get_quad_vertex_element()
147 unsigned vertex_buffer_index) in vl_vb_element_helper() argument
156 elements[i].vertex_buffer_index = vertex_buffer_index; in vl_vb_element_helper()
Dvl_compositor.c255 vertex_elems[0].vertex_buffer_index = 0; in init_buffers()
259 vertex_elems[1].vertex_buffer_index = 0; in init_buffers()
263 vertex_elems[2].vertex_buffer_index = 0; in init_buffers()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_fetch.c93 key.element[nr].input_buffer = draw->pt.vertex_element[ei].vertex_buffer_index; in draw_pt_fetch_prepare()
104 key.element[nr].input_buffer = draw->pt.vertex_element[ei].vertex_buffer_index; in draw_pt_fetch_prepare()
115 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.c285 uint buf = draw->pt.vertex_element[j].vertex_buffer_index; in draw_print_arrays()
555 draw->pt.vertex_element[i].vertex_buffer_index, in draw_vbo()
/third_party/mesa3d/src/gallium/auxiliary/postprocess/
Dpp_program.c116 p->velem.velems[0].vertex_buffer_index = 0; in pp_init_prog()
120 p->velem.velems[1].vertex_buffer_index = 0; in pp_init_prog()
/third_party/mesa3d/src/gallium/tests/graw/
Dtri-instanced.c119 ve[0].vertex_buffer_index = 0; in set_vertices()
124 ve[1].vertex_buffer_index = 0; in set_vertices()
129 ve[2].vertex_buffer_index = 1; in set_vertices()
/third_party/mesa3d/docs/gallium/cso/
Dvelems.rst50 vertex_buffer_index for the first vertex.
55 vertex_buffer_index
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_vbo.c138 const int b = ve->vertex_buffer_index; in nv30_update_user_vbufs()
216 vb = &nv30->vtxbuf[ve->vertex_buffer_index];
234 vb = &nv30->vtxbuf[ve->vertex_buffer_index];
235 user = (nv30->vbo_user & (1 << ve->vertex_buffer_index));
276 const unsigned vbi = ve->vertex_buffer_index;
/third_party/mesa3d/src/gallium/tests/trivial/
Dtri.c209 p->velem.velems[0].vertex_buffer_index = 0; in init_prog()
214 p->velem.velems[1].vertex_buffer_index = 0; in init_prog()
Dquad-tex.c266 p->velem.velems[0].vertex_buffer_index = 0; in init_prog()
271 p->velem.velems[1].vertex_buffer_index = 0; in init_prog()
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_emit.c951 vb1 = &vbuf[velem[i].vertex_buffer_index]; in r300_emit_vertex_arrays()
952 vb2 = &vbuf[velem[i+1].vertex_buffer_index]; in r300_emit_vertex_arrays()
963 vb1 = &vbuf[velem[i].vertex_buffer_index]; in r300_emit_vertex_arrays()
971 buf = r300_resource(vbuf[velem[i].vertex_buffer_index].buffer.resource); in r300_emit_vertex_arrays()
977 vb1 = &vbuf[velem[i].vertex_buffer_index]; in r300_emit_vertex_arrays()
978 vb2 = &vbuf[velem[i+1].vertex_buffer_index]; in r300_emit_vertex_arrays()
1006 vb1 = &vbuf[velem[i].vertex_buffer_index]; in r300_emit_vertex_arrays()
1023 buf = r300_resource(vbuf[velem[i].vertex_buffer_index].buffer.resource); in r300_emit_vertex_arrays()
Dr300_render.c163 vb = &vbufs[velem[i].vertex_buffer_index]; in r300_split_index_bias()
371 vbi = velem->vertex_buffer_index; in r300_draw_arrays_immediate()
748 &r300->vertex_buffer[velems[i].vertex_buffer_index]; in r300_max_vertex_count()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_context.c541 .vertex_buffer_index = 0, in fd_context_setup_common_vbos()
554 .vertex_buffer_index = 0, in fd_context_setup_common_vbos()
559 .vertex_buffer_index = 1, in fd_context_setup_common_vbos()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_vbo.c79 const unsigned vbi = ve->vertex_buffer_index; in nvc0_vertex_state_create()
152 const unsigned b = elements[i].vertex_buffer_index; in nvc0_vertex_state_create()
176 struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[ve->vertex_buffer_index]; in nvc0_set_constant_vertex_attrib()
240 const unsigned b = ve->vertex_buffer_index; in nvc0_update_user_vbufs()
333 b = ve->pipe.vertex_buffer_index; in nvc0_validate_vertex_buffers()
511 if (unlikely(const_vbos & (1 << ve->pipe.vertex_buffer_index))) { in nvc0_vertex_arrays_validate()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_vbuf.c698 unsigned vb_index = mgr->ve->ve[i].vertex_buffer_index; in u_vbuf_translate_begin()
734 unsigned bit, vb_index = mgr->ve->ve[i].vertex_buffer_index; in u_vbuf_translate_begin()
798 mgr->fallback_velems.velems[i].vertex_buffer_index = mgr->fallback_vbs[type]; in u_vbuf_translate_begin()
863 unsigned vb_index_bit = 1 << ve->ve[i].vertex_buffer_index; in u_vbuf_create_vertex_elements()
1101 unsigned index = velem->vertex_buffer_index; in u_vbuf_upload_buffers()
1133 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()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_vbo.c76 const unsigned vbi = ve->vertex_buffer_index; in nv50_vertex_state_create()
242 const unsigned b = ve->vertex_buffer_index; in nv50_update_user_vbufs()
337 const unsigned b = vertex->element[i].pipe.vertex_buffer_index; in nv50_vertex_arrays_validate()
367 const unsigned b = vertex->element[i].pipe.vertex_buffer_index; in nv50_vertex_arrays_validate()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DInputAssembly.cpp290 ve->vertex_buffer_index = pVertexElement->InputSlot; in CreateElementLayout()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_context.c93 OUT_RING(ring, A6XX_VFD_DECODE_INSTR_IDX(elem->vertex_buffer_index) | in fd6_vertex_state_create()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_context.c638 st->util_velems.velems[0].vertex_buffer_index = 0; in st_create_context_priv()
641 st->util_velems.velems[1].vertex_buffer_index = 0; in st_create_context_priv()
644 st->util_velems.velems[2].vertex_buffer_index = 0; in st_create_context_priv()
/third_party/mesa3d/src/gallium/include/pipe/
Dp_state.h692 uint8_t vertex_buffer_index:7; member
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_draw.c833 assert(pve->vertex_buffer_index < vb->count); in lima_update_gp_attribute_info()
834 assert(vb->enabled_mask & (1 << pve->vertex_buffer_index)); in lima_update_gp_attribute_info()
836 struct pipe_vertex_buffer *pvb = vb->vb + pve->vertex_buffer_index; in lima_update_gp_attribute_info()

123