r300g: disable cliprects
authorMarek Olšák <maraeo@gmail.com>
Sat, 27 Mar 2010 21:39:54 +0000 (22:39 +0100)
committerMarek Olšák <maraeo@gmail.com>
Sat, 27 Mar 2010 21:41:42 +0000 (22:41 +0100)
Thanks to Nicolai Hähnle for explaining this register!

src/gallium/drivers/r300/r300_state_invariant.c

index 4a2c68269b1003bad0b139c9800f2a3619ba6720..88ae75bb816b16941bd2ad95aa619101cc6630d6 100644 (file)
@@ -127,7 +127,7 @@ void r300_emit_invariant_state(struct r300_context* r300,
     OUT_CS_REG(R300_ZB_HIZ_PITCH, 0x00000000);
 
     /* XXX */
-    OUT_CS_REG(R300_SC_CLIP_RULE, 0xaaaa);
+    OUT_CS_REG(R300_SC_CLIP_RULE, 0xFFFF);
 
     END_CS;
 }