From: Daniel Vetter Date: Sun, 6 Mar 2011 00:30:46 +0000 (+0100) Subject: i915g: enable separate depth/stencil clears X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=55d2d7fb3a2d079049e475fd2d3191a6246a7ac6;p=mesa.git i915g: enable separate depth/stencil clears Signed-off-by: Daniel Vetter --- diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c index 39f65f8c8fd..dd679f95200 100644 --- a/src/gallium/drivers/i915/i915_screen.c +++ b/src/gallium/drivers/i915/i915_screen.c @@ -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: