mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 11:10:10 +01:00
gallium: if point size not computed per vertex, apply size clamp immediately.
Fixes glean pointAtten failure.
This commit is contained in:
parent
5a09ad8248
commit
cbf42c45a1
1 changed files with 6 additions and 1 deletions
|
|
@ -223,7 +223,12 @@ static void update_raster_state( struct st_context *st )
|
|||
raster->point_size_per_vertex = ctx->VertexProgram.PointSizeEnabled;
|
||||
}
|
||||
}
|
||||
|
||||
if (!raster->point_size_per_vertex) {
|
||||
/* clamp size now */
|
||||
raster->point_size = CLAMP(ctx->Point.Size,
|
||||
ctx->Point.MinSize,
|
||||
ctx->Point.MaxSize);
|
||||
}
|
||||
|
||||
/* _NEW_LINE
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue