Home
last modified time | relevance | path

Searched refs:vbo_index (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/i915/
Di915_prim_vbuf.c79 size_t vbo_index; /**< index offset to be added to all indices */ member
189 i915_render->vbo_index = 0; in i915_vbuf_render_new_buf()
222 i915_render->vbo_index = offset / vertex_size; in i915_vbuf_render_allocate_vertices()
278 if (max_index + i915_render->vbo_index < ((1 << 17) - 1)) in i915_vbuf_ensure_index_bounds()
282 i915_render->vbo_index = 0; in i915_vbuf_ensure_index_bounds()
351 unsigned end = start + nr + i915_render->vbo_index; in draw_arrays_generate_indices()
352 start += i915_render->vbo_index; in draw_arrays_generate_indices()
466 start += i915_render->vbo_index; in i915_vbuf_render_draw_arrays()
507 unsigned o = i915_render->vbo_index; in draw_generate_indices()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom_array.cpp64 int vbo_index, bool dual_slot, int idx) in init_velement() argument
69 velements[idx].vertex_buffer_index = vbo_index; in init_velement()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c4900 unsigned vbo_index = elements[i].vertex_buffer_index; in si_create_vertex_elements() local
4902 if (vbo_index >= SI_NUM_VERTEX_BUFFERS) { in si_create_vertex_elements()
4917 if (!used[vbo_index]) { in si_create_vertex_elements()
4919 used[vbo_index] = true; in si_create_vertex_elements()
4928 v->vertex_buffer_index[i] = vbo_index; in si_create_vertex_elements()
5048 v->vb_alignment_check_mask |= 1 << vbo_index; in si_create_vertex_elements()
Dsi_state_draw.cpp1983 unsigned vbo_index = velems->vertex_buffer_index[i]; in si_upload_and_prefetch_VB_descriptors() local
1984 struct pipe_vertex_buffer *vb = &sctx->vertex_buffer[vbo_index]; in si_upload_and_prefetch_VB_descriptors()