r300-gallium: Add SC_CLIP_RULE to clear.

This is a register that is in r300_demo but not r300_surface, so adding it in
to see if it helps.
This commit is contained in:
Corbin Simpson 2009-02-16 02:52:47 -08:00
parent 9576ddd97d
commit 82722a75c5
1 changed files with 3 additions and 0 deletions

View File

@ -194,6 +194,9 @@ static void r300_surface_fill(struct pipe_context* pipe,
((h * 6) & R300_POINTSIZE_Y_MASK) |
((w * 6) << R300_POINTSIZE_X_SHIFT));
/* XXX */
OUT_CS_REG(R300_SC_CLIP_RULE, 0xaaaa);
/* Pixel scissors */
OUT_CS_REG_SEQ(R300_SC_SCISSORS_TL, 2);
OUT_CS((x << R300_SCISSORS_X_SHIFT) | (y << R300_SCISSORS_Y_SHIFT));