Mesa (master): llvmpipe: enable PIPE_CAP_INDEP_BLEND_ENABLE

Brian Paul brianp at kemper.freedesktop.org
Mon May 10 23:08:50 UTC 2010


Module: Mesa
Branch: master
Commit: 7b937cf47f3d8ce0c2bdc8aa22dacbfc999718b8
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b937cf47f3d8ce0c2bdc8aa22dacbfc999718b8

Author: Brian Paul <brianp at vmware.com>
Date:   Mon May 10 17:03:10 2010 -0600

llvmpipe: enable PIPE_CAP_INDEP_BLEND_ENABLE

This enables the GL_EXT_draw_buffers2 extension.
Tested with progs/tests/drawbuffers2.

---

 src/gallium/drivers/llvmpipe/lp_screen.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c
index 586afc8..65cc55b 100644
--- a/src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/src/gallium/drivers/llvmpipe/lp_screen.c
@@ -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:




More information about the mesa-commit mailing list