Track frag shader changes introduced by commit 4769566500be1a53dd9b4cc1a613aef439a0e3d8
authorScott Moreau <oreaus@gmail.com>
Tue, 2 Feb 2010 18:59:53 +0000 (11:59 -0700)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Tue, 2 Feb 2010 19:52:17 +0000 (11:52 -0800)
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
src/mesa/drivers/dri/r300/r300_blit.c

index e24c7955d4b4471c150d0d36fa543a86db70b9b5..54ac2510e7a1f5419e22c4ed772c7ac90dfab5fb 100644 (file)
@@ -114,7 +114,7 @@ static void create_fragment_program(struct r300_context *r300)
     inst->U.I.SrcReg[0].Swizzle = RC_SWIZZLE_XYZW;
 
     compiler.Base.Program.InputsRead = (1 << FRAG_ATTRIB_TEX0);
-    compiler.OutputColor = FRAG_RESULT_COLOR;
+    compiler.OutputColor[0] = FRAG_RESULT_COLOR;
     compiler.OutputDepth = FRAG_RESULT_DEPTH;
     compiler.is_r500 = (r300->radeon.radeonScreen->chip_family >= CHIP_FAMILY_RV515);
     compiler.code = &r300->blit.fp_code;