cell: return 1 for PIPE_CAP_BLEND_EQUATION_SEPARATE
authorBrian Paul <brianp@vmware.com>
Wed, 17 Mar 2010 23:39:49 +0000 (17:39 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 17 Mar 2010 23:40:13 +0000 (17:40 -0600)
With this feature, we get OpenGL version 2.0 and the progs/glsl/
demos run as-is.

src/gallium/drivers/cell/ppu/cell_screen.c

index eada62181af95b96fb03c56b78234beb5935f1e8..7957e0149d7a5f7ca7e199f04111a67e7acf8988 100644 (file)
@@ -95,6 +95,8 @@ cell_get_param(struct pipe_screen *screen, int param)
    case PIPE_CAP_TGSI_FS_COORD_ORIGIN_LOWER_LEFT:
    case PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_INTEGER:
       return 0;
+   case PIPE_CAP_BLEND_EQUATION_SEPARATE:
+      return 1;
    default:
       return 0;
    }