Mesa (master): i915g: Blend equation separate seems to work.

Stephane Marchesin marcheu at kemper.freedesktop.org
Thu Sep 22 01:03:06 UTC 2011


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

Author: Stéphane Marchesin <marcheu at chromium.org>
Date:   Wed Sep 21 17:58:59 2011 -0700

i915g: Blend equation separate seems to work.

---

 src/gallium/drivers/i915/i915_screen.c |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c
index 4e55e16..e4e8a9d 100644
--- a/src/gallium/drivers/i915/i915_screen.c
+++ b/src/gallium/drivers/i915/i915_screen.c
@@ -115,13 +115,8 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap)
    case PIPE_CAP_TEXTURE_SHADOW_MAP:
    case PIPE_CAP_TWO_SIDED_STENCIL:
    case PIPE_CAP_VERTEX_ELEMENT_INSTANCE_DIVISOR:
-      return 1;
-
-   /* Features that should be supported (boolean caps). */
-   /* XXX: Just test the code */
    case PIPE_CAP_BLEND_EQUATION_SEPARATE:
-      /* Also lie about these when asked to (needed for GLSL / GL 2.0) */
-      return is->debug.lie ? 1 : 0;
+      return 1;
 
    /* Unsupported features (boolean caps). */
    case PIPE_CAP_MAX_TEXTURE_ARRAY_LAYERS:




More information about the mesa-commit mailing list