From: Corbin Simpson Date: Mon, 16 Feb 2009 10:52:47 +0000 (-0800) Subject: r300-gallium: Add SC_CLIP_RULE to clear. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=82722a75c5d55bb8a553b525b4a1e481a7044718;p=mesa.git 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. --- diff --git a/src/gallium/drivers/r300/r300_surface.c b/src/gallium/drivers/r300/r300_surface.c index 8c6b336aac1..0a4710151a0 100644 --- a/src/gallium/drivers/r300/r300_surface.c +++ b/src/gallium/drivers/r300/r300_surface.c @@ -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));