summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_surface.c
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2009-01-28 03:06:08 -0800
committerCorbin Simpson <[email protected]>2009-02-01 23:30:31 -0800
commit588d8f3befa007e03ffb124033e6879330ad9614 (patch)
tree1e3ec68462d1a6121dbaf6eb8b27798786d96211 /src/gallium/drivers/r300/r300_surface.c
parent84ec4d6bedf33bf03ff7a778632eef7b209944cb (diff)
r300: Fix a few more registers.
Diffstat (limited to 'src/gallium/drivers/r300/r300_surface.c')
-rw-r--r--src/gallium/drivers/r300/r300_surface.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/gallium/drivers/r300/r300_surface.c b/src/gallium/drivers/r300/r300_surface.c
index fc756133b4e..0ef26d4305c 100644
--- a/src/gallium/drivers/r300/r300_surface.c
+++ b/src/gallium/drivers/r300/r300_surface.c
@@ -93,11 +93,13 @@ OUT_CS_32F(0.0);
OUT_CS_32F(0.0);
OUT_CS_32F(1.0);
OUT_CS_32F(1.0);
-OUT_CS_REG(0x4214, 0x00050005);
-OUT_CS_REG(0x4230, 0x18000006);
-OUT_CS_REG(0x4234, 0x00020006);
-OUT_CS_REG(0x4238, 0x3BAAAAAB);
+OUT_CS_REG(R300_GA_TRIANGLE_STIPPLE, 0x5 |
+ (0x5 << R300_GA_TRIANGLE_STIPPLE_Y_SHIFT_SHIFT));
+/* XXX should this be related to the actual point size? */
+OUT_CS_REG(R300_GA_POINT_MINMAX, 0x6 |
+ (0x1800 << R300_GA_POINT_MINMAX_MAX_SHIFT));
OUT_CS_REG(0x4234, 0x00030006);
+OUT_CS_REG(0x4238, 0x3BAAAAAB);
OUT_CS_REG(0x4260, 0x00000000);
OUT_CS_REG(0x4264, 0x00000000);
OUT_CS_REG(0x4268, 0x3F800000);