Searched refs:new_draw (Results 1 – 3 of 3) sorted by relevance
/third_party/mesa3d/src/gallium/auxiliary/indices/ |
D | u_primconvert.c | 114 struct pipe_draw_start_count_bias new_draw; in util_primconvert_draw_vbo() local 201 &mode, &index_size, &new_draw.count, in util_primconvert_draw_vbo() 204 assert(new_draw.count == total_index_count); in util_primconvert_draw_vbo() 221 &mode, &index_size, &new_draw.count, in util_primconvert_draw_vbo() 233 &mode, &index_size, &new_draw.count, in util_primconvert_draw_vbo() 240 u_upload_alloc(pc->pipe->stream_uploader, 0, new_info.index_size * new_draw.count, 4, in util_primconvert_draw_vbo() 242 new_draw.start = ib_offset / new_info.index_size; in util_primconvert_draw_vbo() 243 new_draw.index_bias = info->index_size ? draw->index_bias : 0; in util_primconvert_draw_vbo() 267 …new_draw.count = u_index_count_converted_indices(pc->cfg.primtypes_mask, true, info->mode, total_i… in util_primconvert_draw_vbo() 269 trans_func(src, draw->start, draw->count, new_draw.count, info->restart_index, dst); in util_primconvert_draw_vbo() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_prim_restart.c | 296 struct pipe_draw_start_count_bias new_draw = *draw; in util_draw_vbo_without_prim_restart() local 317 new_draw.count = indirect.count; in util_draw_vbo_without_prim_restart() 318 new_draw.start = indirect.firstIndex; in util_draw_vbo_without_prim_restart() 326 new_draw.start * info->index_size, in util_draw_vbo_without_prim_restart() 327 new_draw.count * info->index_size, in util_draw_vbo_without_prim_restart() 340 + new_draw.start * info->index_size; in util_draw_vbo_without_prim_restart() 344 direct_draws = util_prim_restart_convert_to_direct(src_map, &new_info, &new_draw, &num_draws, in util_draw_vbo_without_prim_restart()
|
D | u_vbuf.c | 1396 struct pipe_draw_start_count_bias new_draw; in u_vbuf_draw_vbo() local 1420 new_draw = draw; in u_vbuf_draw_vbo() 1489 new_draw.index_bias = index_bias0; in u_vbuf_draw_vbo() 1551 new_draw.start = ~0u; in u_vbuf_draw_vbo() 1563 new_draw.start = MIN2(new_draw.start, start); in u_vbuf_draw_vbo() 1573 new_draw.count = end_vertex - new_draw.start; in u_vbuf_draw_vbo() 1576 if (new_draw.start == ~0u || !new_draw.count || !new_info.instance_count) in u_vbuf_draw_vbo() 1580 if ((!indirect && !new_draw.count) || !new_info.instance_count) in u_vbuf_draw_vbo() 1593 u_vbuf_get_minmax_index(mgr->pipe, &new_info, &new_draw, in u_vbuf_draw_vbo() 1599 start_vertex = min_index + new_draw.index_bias; in u_vbuf_draw_vbo() [all …]
|