Lines Matching refs:draws
218 const struct pipe_draw_start_count_bias *draws, in etna_draw_vbo() argument
222 util_draw_multi(pctx, info, drawid_offset, indirect, draws, num_draws); in etna_draw_vbo()
226 if (!indirect && (!draws[0].count || !info->instance_count)) in etna_draw_vbo()
237 !u_trim_pipe_prim(info->mode, (unsigned*)&draws[0].count)) in etna_draw_vbo()
247 int prims = u_decomposed_prims_for_vertices(info->mode, draws[0].count); in etna_draw_vbo()
266 !util_upload_index_buffer(pctx, info, &draws[0], &indexbuf, &index_offset, 4)) { in etna_draw_vbo()
271 index_offset += draws[0].start * info->index_size; in etna_draw_vbo()
367 ctx->stats.prims_generated += u_reduced_prims_for_vertices(info->mode, draws[0].count); in etna_draw_vbo()
396 draws[0].count, info->index_size ? draws->index_bias : draws[0].start); in etna_draw_vbo()
399 etna_draw_indexed_primitives(ctx->stream, draw_mode, 0, prims, draws->index_bias); in etna_draw_vbo()
401 etna_draw_primitives(ctx->stream, draw_mode, draws[0].start, prims); in etna_draw_vbo()