llvmpipe: enable PIPE_CAP_INDEP_BLEND_ENABLE
authorBrian Paul <brianp@vmware.com>
Mon, 10 May 2010 23:03:10 +0000 (17:03 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 10 May 2010 23:04:20 +0000 (17:04 -0600)
This enables the GL_EXT_draw_buffers2 extension.
Tested with progs/tests/drawbuffers2.

src/gallium/drivers/llvmpipe/lp_screen.c

index 586afc8855c9a14d99de87a9f66a628d27aed834..65cc55b8ca227f6deb39b1fbd5f0291c1de860ea 100644 (file)
@@ -124,7 +124,7 @@ llvmpipe_get_param(struct pipe_screen *screen, int param)
    case PIPE_CAP_BLEND_EQUATION_SEPARATE:
       return 1;
    case PIPE_CAP_INDEP_BLEND_ENABLE:
-      return 0;
+      return 1;
    case PIPE_CAP_INDEP_BLEND_FUNC:
       return 0;
    case PIPE_CAP_TGSI_FS_COORD_ORIGIN_UPPER_LEFT: