Home | History | Annotate | Download | only in state_tracker

Lines Matching refs:info

201    struct pipe_draw_info info;
224 util_draw_init_info(&info);
237 info.indexed = TRUE;
239 info.min_index = min_index;
240 info.max_index = max_index;
246 info.primitive_restart = ctx->Array.PrimitiveRestart;
247 info.restart_index = ctx->Array.RestartIndex;
251 /* Set info.count_from_stream_output. */
253 st_transform_feedback_draw_init(tfb_vertcount, &info);
259 info.mode = translate_prim( ctx, prims[i].mode );
260 info.start = prims[i].start;
261 info.count = prims[i].count;
262 info.start_instance = prims[i].base_instance;
263 info.instance_count = prims[i].num_instances;
264 info.index_bias = prims[i].basevertex;
266 info.min_index = info.start;
267 info.max_index = info.start + info.count - 1;
270 if (info.count_from_stream_output) {
271 cso_draw_vbo(st->cso_context, &info);
273 else if (info.primitive_restart) {
275 cso_draw_vbo(st->cso_context, &info);
277 else if (u_trim_pipe_prim(info.mode, &info.count))
278 cso_draw_vbo(st->cso_context, &info);