Commit 3bdfaccf authored by Louis-Francis Ratté-Boulianne's avatar Louis-Francis Ratté-Boulianne Committed by Erik Faye-Lund

d3d12: Lower point sprites when GL_POLYGON_OFFSET_POINT is enabled

parent 5f46bdb6
......@@ -352,6 +352,7 @@ needs_point_sprite_lowering(struct d3d12_context *ctx, const struct pipe_draw_in
return ((dinfo->mode == PIPE_PRIM_POINTS ||
fill_mode_lowered(ctx, dinfo) == PIPE_POLYGON_MODE_POINT) &&
(ctx->gfx_pipeline_state.rast->base.point_size > 1.0 ||
ctx->gfx_pipeline_state.rast->base.offset_point ||
(ctx->gfx_pipeline_state.rast->base.point_size_per_vertex &&
vs->initial->info.outputs_written & VARYING_BIT_PSIZ)) &&
(vs->initial->info.outputs_written & VARYING_BIT_POS));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment