diff options
author | Brian <[email protected]> | 2007-10-22 11:41:31 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-10-22 11:41:31 -0600 |
commit | cd4d732773e06e462e78b8f5bc9f3f1552a198ac (patch) | |
tree | 562af472e93c6818747dc19774f870cf0a190617 /src/mesa | |
parent | 34abb93ea10855840a86695a97ccbc89e6d2b9f8 (diff) |
add point_sprite flag to rasterizer state
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/pipe/p_state.h | 1 | ||||
-rw-r--r-- | src/mesa/state_tracker/st_atom_rasterizer.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/pipe/p_state.h b/src/mesa/pipe/p_state.h index daa74ec0532..fd3f4f22b9e 100644 --- a/src/mesa/pipe/p_state.h +++ b/src/mesa/pipe/p_state.h @@ -85,6 +85,7 @@ struct pipe_rasterizer_state unsigned poly_smooth:1; unsigned poly_stipple_enable:1; unsigned point_smooth:1; + unsigned point_sprite:1; unsigned multisample:1; /* XXX maybe more ms state in future */ unsigned line_smooth:1; unsigned line_stipple_enable:1; diff --git a/src/mesa/state_tracker/st_atom_rasterizer.c b/src/mesa/state_tracker/st_atom_rasterizer.c index e0d83ddaea4..9fbd7dc09ef 100644 --- a/src/mesa/state_tracker/st_atom_rasterizer.c +++ b/src/mesa/state_tracker/st_atom_rasterizer.c @@ -188,6 +188,7 @@ static void update_raster_state( struct st_context *st ) */ raster.point_size = ctx->Point.Size; raster.point_smooth = ctx->Point.SmoothFlag; + raster.point_sprite = ctx->Point.PointSprite; /* _NEW_LINE */ |