r300: Fix a few more registers.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Wed, 28 Jan 2009 11:06:08 +0000 (03:06 -0800)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Mon, 2 Feb 2009 07:30:31 +0000 (23:30 -0800)
src/gallium/drivers/r300/r300_surface.c

index fc756133b4e95ea4b185959af929c6bc2b6fcb08..0ef26d4305c48212ed31b11a0eeda1c2cf6c6461 100644 (file)
@@ -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);