From 99bd76d834e0c771274f327e1efe9b089ff273d4 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Mon, 15 Apr 2013 13:00:54 +0200 Subject: mesa: convert _NEW_RASTERIZER_DISCARD to a driver flag Reviewed-by: Brian Paul Reviewed-by: Eric Anholt --- src/mesa/state_tracker/st_atom_rasterizer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mesa/state_tracker/st_atom_rasterizer.c') diff --git a/src/mesa/state_tracker/st_atom_rasterizer.c b/src/mesa/state_tracker/st_atom_rasterizer.c index 561dc9accb8..f4d0cab4252 100644 --- a/src/mesa/state_tracker/st_atom_rasterizer.c +++ b/src/mesa/state_tracker/st_atom_rasterizer.c @@ -233,7 +233,7 @@ static void update_raster_state( struct st_context *st ) if (st_fb_orientation(ctx->DrawBuffer) == Y_0_TOP) raster->bottom_edge_rule = 1; - /* _NEW_RASTERIZER_DISCARD */ + /* ST_NEW_RASTERIZER */ raster->rasterizer_discard = ctx->RasterDiscard; /* _NEW_TRANSFORM */ @@ -255,9 +255,9 @@ const struct st_tracked_state st_update_rasterizer = { _NEW_PROGRAM | _NEW_SCISSOR | _NEW_FRAG_CLAMP | - _NEW_RASTERIZER_DISCARD | _NEW_TRANSFORM), /* mesa state dependencies*/ - ST_NEW_VERTEX_PROGRAM, /* state tracker dependencies */ + (ST_NEW_VERTEX_PROGRAM | + ST_NEW_RASTERIZER), /* state tracker dependencies */ }, update_raster_state /* update function */ }; -- cgit v1.2.3