From: Marek Olšák Date: Fri, 12 Feb 2010 02:51:41 +0000 (+0100) Subject: r300g: emit INDEPENDENT_COLORFORMAT_ENABLE only on r5xx X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=75910e96dc9704e2ade842fde2647b27393ddcb7;p=mesa.git r300g: emit INDEPENDENT_COLORFORMAT_ENABLE only on r5xx --- diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c index d31336ed76f..26bdcff61ec 100644 --- a/src/gallium/drivers/r300/r300_emit.c +++ b/src/gallium/drivers/r300/r300_emit.c @@ -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);