Searched refs:index_size_shift (Results 1 – 16 of 16) sorted by relevance
/external/mesa3d/src/mesa/vbo/ |
D | vbo_minmax_index.c | 331 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()
|
D | vbo_primitive_restart.c | 180 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/ |
D | t_rebase.c | 167 switch (ib->index_size_shift) { in REBASE() 188 tmp_ib.index_size_shift = ib->index_size_shift; in REBASE()
|
D | t_draw.c | 364 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()
|
D | t_split_inplace.c | 81 (split->min_index << ib.index_size_shift)); in flush_vertex() 229 ib.index_size_shift = 2; in split_prims()
|
D | t_split_copy.c | 483 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/ |
D | st_draw.c | 197 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()
|
D | st_draw_feedback.c | 191 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/ |
D | brw_primitive_restart.c | 54 switch (ib->index_size_shift) { in can_cut_index_handle_restart_index()
|
D | brw_draw_upload.c | 743 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()
|
D | genX_state_upload.c | 870 ib.IndexFormat = brw_get_index_type(1 << index_buffer->index_size_shift); in genX()
|
/external/mesa3d/src/mesa/main/ |
D | draw.c | 118 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()
|
D | draw.h | 74 uint8_t index_size_shift; /* logbase2(index_size) */ member
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_render_t.c | 161 switch (ib->index_size_shift) { in get_max_vertices()
|
D | nouveau_vbo_t.c | 69 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/ |
D | 20.1.0.rst | 2972 - mesa: add index_size_shift = log2(index_size) into 2986 index_size_shift
|