From: Marek Olšák Date: Sat, 27 Mar 2010 21:39:54 +0000 (+0100) Subject: r300g: disable cliprects X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=feb8d995939bd52e880defc1ea95ccb68f5aaa0c;p=mesa.git r300g: disable cliprects Thanks to Nicolai Hähnle for explaining this register! --- diff --git a/src/gallium/drivers/r300/r300_state_invariant.c b/src/gallium/drivers/r300/r300_state_invariant.c index 4a2c68269b1..88ae75bb816 100644 --- a/src/gallium/drivers/r300/r300_state_invariant.c +++ b/src/gallium/drivers/r300/r300_state_invariant.c @@ -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; }