mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
d3d12: Apply GS point sprite lowering to fixed-function point size too
Reviewed-by: Sil Vilerino <sivileri@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14624>
This commit is contained in:
parent
bcbfbb8efd
commit
2a81bd9397
1 changed files with 2 additions and 1 deletions
|
|
@ -383,7 +383,8 @@ needs_point_sprite_lowering(struct d3d12_context *ctx, const struct pipe_draw_in
|
|||
if (gs != NULL && !gs->is_gs_variant) {
|
||||
/* There is an user GS; Check if it outputs points with PSIZE */
|
||||
return (gs->initial->info.gs.output_primitive == GL_POINTS &&
|
||||
gs->initial->info.outputs_written & VARYING_BIT_PSIZ);
|
||||
(gs->initial->info.outputs_written & VARYING_BIT_PSIZ ||
|
||||
ctx->gfx_pipeline_state.rast->base.point_size > 1.0));
|
||||
} else {
|
||||
/* No user GS; check if we are drawing wide points */
|
||||
return ((dinfo->mode == PIPE_PRIM_POINTS ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue