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.
This commit is contained in:
Keith Whitwell
2008-04-02 11:38:33 +01:00
parent bc739440c2
commit 8e33194837
3 changed files with 16 additions and 6 deletions

View File

@@ -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);
}