i915g: Blend equation separate seems to work.
authorStéphane Marchesin <marcheu@chromium.org>
Thu, 22 Sep 2011 00:58:59 +0000 (17:58 -0700)
committerStéphane Marchesin <marcheu@chromium.org>
Thu, 22 Sep 2011 01:01:41 +0000 (18:01 -0700)
src/gallium/drivers/i915/i915_screen.c

index 4e55e16eefccb4364b8d5621c2cdac6a446e7fd3..e4e8a9de2e5f8b2f969168c844e00ac76ee3e1de 100644 (file)
@@ -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: