From: Brian Paul Date: Wed, 17 Mar 2010 23:39:49 +0000 (-0600) Subject: cell: return 1 for PIPE_CAP_BLEND_EQUATION_SEPARATE X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=05a980ac2a6b74af0436c1bb15c986a8160ec2eb;p=mesa.git cell: return 1 for PIPE_CAP_BLEND_EQUATION_SEPARATE With this feature, we get OpenGL version 2.0 and the progs/glsl/ demos run as-is. --- diff --git a/src/gallium/drivers/cell/ppu/cell_screen.c b/src/gallium/drivers/cell/ppu/cell_screen.c index eada62181af..7957e0149d7 100644 --- a/src/gallium/drivers/cell/ppu/cell_screen.c +++ b/src/gallium/drivers/cell/ppu/cell_screen.c @@ -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; }