r300g: emit INDEPENDENT_COLORFORMAT_ENABLE only on r5xx
authorMarek Olšák <maraeo@gmail.com>
Fri, 12 Feb 2010 02:51:41 +0000 (03:51 +0100)
committerMarek Olšák <maraeo@gmail.com>
Sat, 13 Feb 2010 14:44:42 +0000 (15:44 +0100)
src/gallium/drivers/r300/r300_emit.c

index d31336ed76f79e029f4467e4e37d60ad3c217557..26bdcff61ecc3535adbb0706a309ca653e6faa38 100644 (file)
@@ -408,8 +408,7 @@ void r300_emit_fb_state(struct r300_context* r300, void* state)
                 R300_RB3D_CCTL_INDEPENDENT_COLOR_CHANNEL_MASK_ENABLE);
         } else {
             OUT_CS_REG(R300_RB3D_CCTL,
-                R300_RB3D_CCTL_NUM_MULTIWRITES(fb->nr_cbufs) |
-                R300_RB3D_CCTL_INDEPENDENT_COLORFORMAT_ENABLE_ENABLE);
+                R300_RB3D_CCTL_NUM_MULTIWRITES(fb->nr_cbufs));
         }
     } else {
         OUT_CS_REG(R300_RB3D_CCTL, 0x0);