i915g: Add unsupported caps.
authorStéphane Marchesin <marcheu@chromium.org>
Thu, 15 Dec 2011 20:55:18 +0000 (12:55 -0800)
committerStéphane Marchesin <marcheu@chromium.org>
Tue, 20 Dec 2011 02:33:03 +0000 (18:33 -0800)
src/gallium/drivers/i915/i915_screen.c

index 712fef925e0d55254b448e22039bf77790ba37e7..2a64ba4dbab2cbdd1a4d44f58420ef5293a0ffc5 100644 (file)
@@ -195,6 +195,7 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap)
    case PIPE_CAP_SM3:
    case PIPE_CAP_SEAMLESS_CUBE_MAP:
    case PIPE_CAP_SEAMLESS_CUBE_MAP_PER_TEXTURE:
+   case PIPE_CAP_SCALED_RESOLVE:
    case PIPE_CAP_FRAGMENT_COLOR_CLAMP_CONTROL:
    case PIPE_CAP_MIXED_COLORBUFFER_FORMATS:
    case PIPE_CAP_CONDITIONAL_RENDER:
@@ -223,6 +224,9 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap)
       return I915_MAX_TEXTURE_2D_LEVELS;
    case PIPE_CAP_MIN_TEXEL_OFFSET:
    case PIPE_CAP_MAX_TEXEL_OFFSET:
+   case PIPE_CAP_MAX_STREAM_OUTPUT_BUFFERS:
+   case PIPE_CAP_MAX_STREAM_OUTPUT_SEPARATE_COMPONENTS:
+   case PIPE_CAP_MAX_STREAM_OUTPUT_INTERLEAVED_COMPONENTS:
       return 0;
 
    /* Render targets. */