Home
last modified time | relevance | path

Searched refs:index_size_shift (Results 1 – 16 of 16) sorted by relevance

/external/mesa3d/src/mesa/vbo/
Dvbo_minmax_index.c331 ctx->Array._RestartIndex[(1 << ib->index_size_shift) - 1]; in vbo_get_minmax_index()
335 indices = (char *) ib->ptr + (prim->start << ib->index_size_shift); in vbo_get_minmax_index()
337 GLsizeiptr size = MIN2(count << ib->index_size_shift, ib->obj->Size); in vbo_get_minmax_index()
339 if (vbo_get_minmax_cached(ib->obj, 1 << ib->index_size_shift, (GLintptr) indices, in vbo_get_minmax_index()
349 vbo_get_minmax_index_mapped(count, 1 << ib->index_size_shift, restartIndex, in vbo_get_minmax_index()
353 vbo_minmax_cache_store(ctx, ib->obj, 1 << ib->index_size_shift, offset, in vbo_get_minmax_index()
Dvbo_primitive_restart.c180 GLuint restart_index = ctx->Array._RestartIndex[(1 << ib->index_size_shift) - 1]; in vbo_sw_primitive_restart()
232 sub_prims = find_sub_primitives(ptr, 1 << ib->index_size_shift, in vbo_sw_primitive_restart()
/external/mesa3d/src/mesa/tnl/
Dt_rebase.c167 switch (ib->index_size_shift) { in REBASE()
188 tmp_ib.index_size_shift = ib->index_size_shift; in REBASE()
Dt_draw.c364 ib->count << ib->index_size_shift, in bind_indices()
375 if (ib->index_size_shift == 2 && VB->Primitive[0].basevertex == 0) { in bind_indices()
382 if (ib->index_size_shift == 2) { in bind_indices()
387 else if (ib->index_size_shift == 1) { in bind_indices()
Dt_split_inplace.c81 (split->min_index << ib.index_size_shift)); in flush_vertex()
229 ib.index_size_shift = 2; in split_prims()
Dt_split_copy.c483 switch (copy->ib->index_size_shift) { in replay_init()
552 copy->dstib.index_size_shift = 2; in replay_init()
/external/mesa3d/src/mesa/state_tracker/
Dst_draw.c197 info.index_size = 1 << ib->index_size_shift; in st_draw_vbo()
212 start = pointer_to_offset(ib->ptr) >> ib->index_size_shift; in st_draw_vbo()
292 info.index_size = 1 << ib->index_size_shift; in st_indirect_draw_vbo()
294 info.start = pointer_to_offset(ib->ptr) >> ib->index_size_shift; in st_indirect_draw_vbo()
Dst_draw_feedback.c191 unsigned index_size = 1 << ib->index_size_shift; in st_feedback_draw_vbo()
199 start = pointer_to_offset(ib->ptr) >> ib->index_size_shift; in st_feedback_draw_vbo()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_primitive_restart.c54 switch (ib->index_size_shift) { in can_cut_index_handle_restart_index()
Dbrw_draw_upload.c743 ib_type_size = 1 << index_buffer->index_size_shift; in brw_upload_indices()
779 unsigned index_size = 1 << index_buffer->index_size_shift; in brw_upload_indices()
DgenX_state_upload.c870 ib.IndexFormat = brw_get_index_type(1 << index_buffer->index_size_shift); in genX()
/external/mesa3d/src/mesa/main/
Ddraw.c118 ib->index_size_shift = (type - GL_UNSIGNED_BYTE) >> 1; in get_index_size()
1259 (count[i] << ib.index_size_shift)); in _mesa_validated_multidrawelements()
1268 if (ib.index_size_shift) { in _mesa_validated_multidrawelements()
1271 ((1 << ib.index_size_shift) - 1)) != 0) { in _mesa_validated_multidrawelements()
1280 if (((max_index_ptr - min_index_ptr) >> ib.index_size_shift) > UINT_MAX) in _mesa_validated_multidrawelements()
1296 ib.count = (max_index_ptr - min_index_ptr) >> ib.index_size_shift; in _mesa_validated_multidrawelements()
1305 ((uintptr_t) indices[i] - min_index_ptr) >> ib.index_size_shift; in _mesa_validated_multidrawelements()
Ddraw.h74 uint8_t index_size_shift; /* logbase2(index_size) */ member
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_render_t.c161 switch (ib->index_size_shift) { in get_max_vertices()
Dnouveau_vbo_t.c69 if (ib->index_size_shift == 2) in vbo_init_arrays()
71 else if (ib->index_size_shift == 1) in vbo_init_arrays()
/external/mesa3d/docs/relnotes/
D20.1.0.rst2972 - mesa: add index_size_shift = log2(index_size) into
2986 index_size_shift