summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2008-04-02 11:38:33 +0100
committerKeith Whitwell <[email protected]>2008-04-02 11:38:33 +0100
commit8e33194837dd206d920889851d9cf22190100c99 (patch)
tree0a438cdb78e8fcd606e7686e33d88351e5380840 /src/mesa
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')
-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 14c26c16c04..bb14cf9045a 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);
}