mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
i965: fix point size issue
need to clamp point size to user set min/max values, even for constant point size. Fixes glean pointAtten test.
This commit is contained in:
parent
1d00399593
commit
ff71587b27
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ sf_unit_populate_key(struct brw_context *brw, struct brw_sf_unit_key *key)
|
|||
key->line_smooth = ctx->Line.SmoothFlag;
|
||||
|
||||
key->point_sprite = ctx->Point.PointSprite;
|
||||
key->point_size = ctx->Point.Size;
|
||||
key->point_size = CLAMP(ctx->Point.Size, ctx->Point.MinSize, ctx->Point.MaxSize);
|
||||
key->point_attenuated = ctx->Point._Attenuated;
|
||||
|
||||
key->render_to_fbo = brw->intel.ctx.DrawBuffer->Name != 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue