summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2008-04-02 11:38:33 +0100
committerKeith Whitwell <keith@tungstengraphics.com>2008-04-02 11:38:33 +0100
commit8e33194837dd206d920889851d9cf22190100c99 (patch)
tree0a438cdb78e8fcd606e7686e33d88351e5380840 /src/mesa/state_tracker
parentbc739440c29c551fcc44e9e12d0d9c170d8d24fb (diff)
gallium: add a flag to turn on gl rasterization rules
Use this to set up hardware rasterization (if your hardware can do it) or otherwise turn on various tweaks in the draw module. Currently only hooked up to point biasing code.
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_atom_rasterizer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_atom_rasterizer.c b/src/mesa/state_tracker/st_atom_rasterizer.c
index 14c26c16c0..bb14cf9045 100644
--- a/src/mesa/state_tracker/st_atom_rasterizer.c
+++ b/src/mesa/state_tracker/st_atom_rasterizer.c
@@ -261,6 +261,8 @@ static void update_raster_state( struct st_context *st )
if (ctx->Scissor.Enabled)
raster->scissor = 1;
+ raster->gl_rasterization_rules = 1;
+
cso_set_rasterizer(st->cso_context, raster);
}