i915g: Sort cap list
authorJakob Bornecrantz <wallbraker@gmail.com>
Sat, 12 Mar 2011 22:21:32 +0000 (23:21 +0100)
committerJakob Bornecrantz <wallbraker@gmail.com>
Sun, 13 Mar 2011 12:36:21 +0000 (13:36 +0100)
src/gallium/drivers/i915/i915_screen.c

index c0050bc160c7cb6b80f95fce982aae505003858c..7947f7e528cd6f4d607e0e98cb6bef5bc85426fb 100644 (file)
@@ -105,12 +105,12 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap)
    switch (cap) {
    /* Supported features (boolean caps). */
    case PIPE_CAP_ANISOTROPIC_FILTER:
+   case PIPE_CAP_DEPTHSTENCIL_CLEAR_SEPARATE:
    case PIPE_CAP_NPOT_TEXTURES:
    case PIPE_CAP_PRIMITIVE_RESTART: /* draw module */
    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). */