• Home
  • Raw
  • Download

Lines Matching refs:indirect

205                               const struct pipe_draw_indirect_info *indirect,  in crocus_update_draw_parameters()  argument
213 if (indirect && indirect->buffer) { in crocus_update_draw_parameters()
214 pipe_resource_reference(&draw_params->res, indirect->buffer); in crocus_update_draw_parameters()
216 indirect->offset + (info->index_size ? 12 : 8); in crocus_update_draw_parameters()
276 struct pipe_draw_indirect_info indirect = *dindirect; in crocus_indirect_draw_vbo() local
279 if (devinfo->verx10 >= 75 && indirect.indirect_draw_count && in crocus_indirect_draw_vbo()
288 for (int i = 0; i < indirect.draw_count; i++) { in crocus_indirect_draw_vbo()
294 crocus_update_draw_parameters(ice, &info, drawid_offset + i, &indirect, draws); in crocus_indirect_draw_vbo()
296 screen->vtbl.upload_render_state(ice, batch, &info, drawid_offset + i, &indirect, draws); in crocus_indirect_draw_vbo()
301 indirect.offset += indirect.stride; in crocus_indirect_draw_vbo()
304 if (devinfo->verx10 >= 75 && indirect.indirect_draw_count && in crocus_indirect_draw_vbo()
319 const struct pipe_draw_indirect_info *indirect, in crocus_simple_draw_vbo() argument
330 crocus_update_draw_parameters(ice, draw, drawid_offset, indirect, sc); in crocus_simple_draw_vbo()
332 screen->vtbl.upload_render_state(ice, batch, draw, drawid_offset, indirect, sc); in crocus_simple_draw_vbo()
339 const struct pipe_draw_indirect_info *indirect) in crocus_draw_vbo_get_vertex_count() argument
345 uint32_t val = screen->vtbl.get_so_offset(indirect->count_from_stream_output); in crocus_draw_vbo_get_vertex_count()
359 const struct pipe_draw_indirect_info *indirect, in crocus_draw_vbo() argument
364 util_draw_multi(ctx, info, drawid_offset, indirect, draws, num_draws); in crocus_draw_vbo()
368 if (!indirect && (!draws[0].count || !info->instance_count)) in crocus_draw_vbo()
380 indirect, draws); in crocus_draw_vbo()
385 indirect && indirect->count_from_stream_output) { in crocus_draw_vbo()
386 crocus_draw_vbo_get_vertex_count(ctx, info, drawid_offset, indirect); in crocus_draw_vbo()
435 if (indirect && indirect->buffer) in crocus_draw_vbo()
436 crocus_indirect_draw_vbo(ice, info, drawid_offset, indirect, draws); in crocus_draw_vbo()
438 crocus_simple_draw_vbo(ice, info, drawid_offset, indirect, draws); in crocus_draw_vbo()
456 if (grid->indirect) { in crocus_update_grid_size_resource()
457 pipe_resource_reference(&grid_ref->res, grid->indirect); in crocus_update_grid_size_resource()