i915g: enable separate depth/stencil clears
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 6 Mar 2011 00:30:46 +0000 (01:30 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 10 Mar 2011 21:47:49 +0000 (22:47 +0100)
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
src/gallium/drivers/i915/i915_screen.c

index 39f65f8c8fd25390145b0ca534b0d3fafab708d8..dd679f95200d18b57b3c7f79932a9cda5a913b14 100644 (file)
@@ -110,6 +110,7 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap)
    case PIPE_CAP_TEXTURE_MIRROR_REPEAT:
    case PIPE_CAP_TEXTURE_SHADOW_MAP:
    case PIPE_CAP_TWO_SIDED_STENCIL:
+   case PIPE_CAP_DEPTHSTENCIL_CLEAR_SEPARATE:
       return 1;
 
    /* Features that should be supported (boolean caps). */
@@ -120,7 +121,6 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap)
    /* Unsupported features (boolean caps). */
    case PIPE_CAP_ARRAY_TEXTURES:
    case PIPE_CAP_DEPTH_CLAMP:
-   case PIPE_CAP_DEPTHSTENCIL_CLEAR_SEPARATE: /* disable for now */
    case PIPE_CAP_GLSL:
    case PIPE_CAP_INDEP_BLEND_ENABLE:
    case PIPE_CAP_INDEP_BLEND_FUNC: