diff options
author | Keith Whitwell <[email protected]> | 2007-12-19 10:55:49 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2007-12-19 11:10:35 +0000 |
commit | 94c2ab2895f220d5d5156db71197446b3b89f52b (patch) | |
tree | ff838db6931833e8c378aa296e1f992e611f8d5c | |
parent | 4fd2a2ac6f6593487d59fac2d8c0365179509ae5 (diff) |
965: fix vertex pointsize state, match default cull mode
-rw-r--r-- | src/mesa/pipe/i965simple/brw_sf_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/pipe/i965simple/brw_sf_state.c b/src/mesa/pipe/i965simple/brw_sf_state.c index 0de6e7240e8..2dde2779910 100644 --- a/src/mesa/pipe/i965simple/brw_sf_state.c +++ b/src/mesa/pipe/i965simple/brw_sf_state.c @@ -133,7 +133,7 @@ static void upload_sf_unit( struct brw_context *brw ) else sf.sf6.cull_mode = BRW_CULLMODE_NONE; #else - sf.sf5.front_winding = BRW_FRONTWINDING_CW; + sf.sf5.front_winding = BRW_FRONTWINDING_CCW; sf.sf6.cull_mode = BRW_CULLMODE_NONE; #endif @@ -149,7 +149,7 @@ static void upload_sf_unit( struct brw_context *brw ) sf.sf7.sprite_point = brw->attribs.Raster->point_sprite; sf.sf7.point_size = CLAMP(brw->attribs.Raster->line_width, 1.0, 255.0) * (1<<3); - sf.sf7.use_point_size_state = brw->attribs.Raster->point_size_per_vertex; + sf.sf7.use_point_size_state = !brw->attribs.Raster->point_size_per_vertex; /* might be BRW_NEW_PRIMITIVE if we have to adjust pv for polygons: */ |