Mesa (master): i915g: enable separate depth/stencil clears

Daniel Vetter danvet at kemper.freedesktop.org
Thu Mar 10 22:27:24 UTC 2011


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

Author: Daniel Vetter <daniel.vetter at ffwll.ch>
Date:   Sun Mar  6 01:30:46 2011 +0100

i915g: enable separate depth/stencil clears

Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>

---

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

diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c
index 39f65f8..dd679f9 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:




More information about the mesa-commit mailing list