Lines Matching refs:dinfo
344 fill_mode_lowered(struct d3d12_context *ctx, const struct pipe_draw_info *dinfo)
351 (dinfo->mode != PIPE_PRIM_TRIANGLES &&
352 dinfo->mode != PIPE_PRIM_TRIANGLE_STRIP))
384 needs_point_sprite_lowering(struct d3d12_context *ctx, const struct pipe_draw_info *dinfo)
398 return ((dinfo->mode == PIPE_PRIM_POINTS ||
399 fill_mode_lowered(ctx, dinfo) == PIPE_POLYGON_MODE_POINT) &&
421 get_provoking_vertex(struct d3d12_selection_context *sel_ctx, bool *alternate, const struct pipe_draw_info *dinfo)
423 if (dinfo->mode == GL_PATCHES) {
443 mode = (enum pipe_prim_type)dinfo->mode;
478 needs_vertex_reordering(struct d3d12_selection_context *sel_ctx, const struct pipe_draw_info *dinfo)
484 if (fill_mode_lowered(ctx, dinfo) != PIPE_POLYGON_MODE_FILL)
1465 d3d12_select_shader_variants(struct d3d12_context *ctx, const struct pipe_draw_info *dinfo)
1477 sel_ctx.needs_point_sprite_lowering = needs_point_sprite_lowering(ctx, dinfo);
1478 sel_ctx.fill_mode_lowered = fill_mode_lowered(ctx, dinfo);
1480 sel_ctx.provoking_vertex = get_provoking_vertex(&sel_ctx, &sel_ctx.alternate_tri, dinfo);
1481 sel_ctx.needs_vertex_reordering = needs_vertex_reordering(&sel_ctx, dinfo);