mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 08:58:02 +02:00
i965: Increase Sandybridge point size clamp.
255.875 matches the hardware documentation. Presumably this was a typo.
Found by inspection. Not known to fix any issues.
Reviewed-by: Eric Anholt <eric@anholt.net>
(cherry picked from commit 2bfc23fb86)
This commit is contained in:
parent
2171197559
commit
e0f6193024
1 changed files with 1 additions and 1 deletions
|
|
@ -209,7 +209,7 @@ upload_sf_state(struct brw_context *brw)
|
|||
ctx->Point._Attenuated))
|
||||
dw4 |= GEN6_SF_USE_STATE_POINT_WIDTH;
|
||||
|
||||
dw4 |= U_FIXED(CLAMP(ctx->Point.Size, 0.125, 225.875), 3) <<
|
||||
dw4 |= U_FIXED(CLAMP(ctx->Point.Size, 0.125, 255.875), 3) <<
|
||||
GEN6_SF_POINT_WIDTH_SHIFT;
|
||||
if (ctx->Point.SpriteOrigin == GL_LOWER_LEFT)
|
||||
dw1 |= GEN6_SF_POINT_SPRITE_LOWERLEFT;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue