r300-gallium: Add SC_CLIP_RULE to clear.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Mon, 16 Feb 2009 10:52:47 +0000 (02:52 -0800)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Mon, 16 Feb 2009 11:16:59 +0000 (03:16 -0800)
This is a register that is in r300_demo but not r300_surface, so adding it in
to see if it helps.

src/gallium/drivers/r300/r300_surface.c

index 8c6b336aac12fed43941d5fa701378c0cdf307f4..0a4710151a038d82dc8e8b386bf06d5970b8947d 100644 (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));