From: Brian Date: Mon, 22 Oct 2007 17:41:31 +0000 (-0600) Subject: add point_sprite flag to rasterizer state X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cd4d732773e06e462e78b8f5bc9f3f1552a198ac;p=mesa.git add point_sprite flag to rasterizer state --- 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 */