Home | History | Annotate | Download | only in swr

Lines Matching full:info

80 swr_draw_vbo(struct pipe_context *pipe, const struct pipe_draw_info *info)
87 if (info->indirect) {
88 util_draw_indirect(pipe, info);
92 /* Update derived state, pass draw info to update function */
93 swr_update_derived(pipe, info);
98 if (!ctx->vs->soFunc[info->mode]) {
102 state.numVertsPerPrim = u_vertices_per_prim(info->mode);
135 ctx->vs->soFunc[info->mode] = JitCompileStreamout(hJitMgr, state);
136 debug_printf("so shader %p\n", ctx->vs->soFunc[info->mode]);
137 assert(ctx->vs->soFunc[info->mode] && "Error: SoShader = NULL");
140 SwrSetSoFunc(ctx->swrContext, ctx->vs->soFunc[info->mode], 0);
145 || (velems->fsState.cutIndex != info->restart_index)
146 || (velems->fsState.bEnableCutIndex != info->primitive_restart)) {
148 velems->fsState.cutIndex = info->restart_index;
149 velems->fsState.bEnableCutIndex = info->primitive_restart;
170 switch (info->mode) {
194 feState.bEnableCutIndex = info->primitive_restart;
197 if (info->indexed)
199 swr_convert_prim_topology(info->mode),
200 info->count,
201 info->instance_count,
202 info->start,
203 info->index_bias,
204 info->start_instance);
207 swr_convert_prim_topology(info->mode),
208 info->count,
209 info->instance_count,
210 info->start,
211 info->start_instance);