summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-04-03 13:16:37 -0600
committerBrian <[email protected]>2008-04-03 13:16:37 -0600
commit124e1345c9ba4abe17bb04b8781ec0fe803eda7b (patch)
tree3177aaefe3e6030ca6ad56b2fefc0750bc6b7fc1
parentce5c867cbb17b2444ebc3db5c6a03cee5e2edb8a (diff)
gallium: set rasterizer.gl_rasterization_rules = 1 in a few more places
-rw-r--r--src/mesa/state_tracker/st_cb_bitmap.c1
-rw-r--r--src/mesa/state_tracker/st_cb_clear.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_bitmap.c b/src/mesa/state_tracker/st_cb_bitmap.c
index 975a55d6dc0..0872f2bd28a 100644
--- a/src/mesa/state_tracker/st_cb_bitmap.c
+++ b/src/mesa/state_tracker/st_cb_bitmap.c
@@ -754,6 +754,7 @@ st_init_bitmap(struct st_context *st)
/* init baseline rasterizer state once */
memset(&st->bitmap.rasterizer, 0, sizeof(st->bitmap.rasterizer));
+ st->bitmap.rasterizer.gl_rasterization_rules = 1;
st->bitmap.rasterizer.bypass_vs = 1;
init_bitmap_cache(st);
diff --git a/src/mesa/state_tracker/st_cb_clear.c b/src/mesa/state_tracker/st_cb_clear.c
index b5e737e0d1f..fa9f986f116 100644
--- a/src/mesa/state_tracker/st_cb_clear.c
+++ b/src/mesa/state_tracker/st_cb_clear.c
@@ -62,6 +62,7 @@ st_init_clear(struct st_context *st)
/* rasterizer state: bypass clipping */
memset(&st->clear.raster, 0, sizeof(st->clear.raster));
+ st->clear.raster.gl_rasterization_rules = 1;
st->clear.raster.bypass_clipping = 1;
/* viewport state: identity since we're drawing in window coords */