r300g: disable independent blend enables
authorMarek Olšák <maraeo@gmail.com>
Fri, 12 Feb 2010 03:01:15 +0000 (04:01 +0100)
committerMarek Olšák <maraeo@gmail.com>
Sat, 13 Feb 2010 14:44:43 +0000 (15:44 +0100)
Not supported by r300.

src/gallium/drivers/r300/r300_emit.c
src/gallium/drivers/r300/r300_screen.c

index 26bdcff61ecc3535adbb0706a309ca653e6faa38..324952b9776a22ce03c33dc957cce7fd41ae98bd 100644 (file)
@@ -404,8 +404,7 @@ void r300_emit_fb_state(struct r300_context* r300, void* state)
         if (r300screen->caps->is_r500) {
             OUT_CS_REG(R300_RB3D_CCTL,
                 R300_RB3D_CCTL_NUM_MULTIWRITES(fb->nr_cbufs) |
-                R300_RB3D_CCTL_INDEPENDENT_COLORFORMAT_ENABLE_ENABLE |
-                R300_RB3D_CCTL_INDEPENDENT_COLOR_CHANNEL_MASK_ENABLE);
+                R300_RB3D_CCTL_INDEPENDENT_COLORFORMAT_ENABLE_ENABLE);
         } else {
             OUT_CS_REG(R300_RB3D_CCTL,
                 R300_RB3D_CCTL_NUM_MULTIWRITES(fb->nr_cbufs));
index 13cd04a80ccb98c4d0ddd6a0b53cc9f68fa231c6..7c8dd754578141797736540e0370452ad934773c 100644 (file)
@@ -153,11 +153,7 @@ static int r300_get_param(struct pipe_screen* pscreen, int param)
                 return 0;
             }
         case PIPE_CAP_INDEP_BLEND_ENABLE:
-            if (r300screen->caps->is_r500) {
-                return 1;
-            } else {
-                return 0;
-            }
+            return 0;
         case PIPE_CAP_INDEP_BLEND_FUNC:
             return 0;
         case PIPE_CAP_TGSI_FS_COORD_ORIGIN_UPPER_LEFT: