diff options
author | Roland Scheidegger <[email protected]> | 2010-01-12 15:54:13 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2010-01-12 15:54:13 +0100 |
commit | a407636efb6c32cee81b9a1525dbc804aacd957b (patch) | |
tree | 7d516562ded9d8698592e1f1695604c460d28d6f /src/gallium/drivers/i965 | |
parent | cca66dbb59673168d57b4e3499ccc31f4ddc86ad (diff) |
gallium: remove point_size_min and point_size_max from rasterizer state
The state tracker is responsible for clamping to any graphics API enforced
size min/max limits for both the static point_size setting as well as per
vertex point size (in the vertex shader).
Note that mesa state tracker didn't actually use these values.
Diffstat (limited to 'src/gallium/drivers/i965')
-rw-r--r-- | src/gallium/drivers/i965/brw_sf_state.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/i965/brw_sf_state.c b/src/gallium/drivers/i965/brw_sf_state.c index 25dc2b52e07..663a688772c 100644 --- a/src/gallium/drivers/i965/brw_sf_state.c +++ b/src/gallium/drivers/i965/brw_sf_state.c @@ -126,9 +126,7 @@ sf_unit_populate_key(struct brw_context *brw, struct brw_sf_unit_key *key) key->point_sprite = rast->point_sprite; key->point_attenuated = rast->point_size_per_vertex; - key->point_size = CLAMP(rast->point_size, - rast->point_size_min, - rast->point_size_max); + key->point_size = rast->point_size; } static enum pipe_error |