r300-gallium: RGBA, not ARGB, after all.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Tue, 31 Mar 2009 00:31:58 +0000 (17:31 -0700)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Tue, 31 Mar 2009 00:31:58 +0000 (17:31 -0700)
Clearly, something else is wrong.

src/gallium/drivers/r300/r300_surface.c

index 7e6036868a93c91ee19c60b3bd5f81c8297fb3fa..9c4f3065a7f6149e493af5e7e140ba90e9e9e303 100644 (file)
@@ -165,10 +165,10 @@ static void r300_surface_fill(struct pipe_context* pipe,
     OUT_CS_32F(1.0);
     OUT_CS_32F(1.0);
     /* Color */
-    OUT_CS_32F(a);
     OUT_CS_32F(r);
     OUT_CS_32F(g);
     OUT_CS_32F(b);
+    OUT_CS_32F(a);
 
     /* XXX figure out why this is 0xA and not 0x2 */
     OUT_CS_REG(R300_RB3D_DSTCACHE_CTLSTAT, 0xA);