i915g: Add unsupported PIPE_CAP_MIN_TEXEL_OFFSET/PIPE_CAP_MAX_TEXEL_OFFSET.
authorStéphane Marchesin <marcheu@chromium.org>
Thu, 22 Sep 2011 19:00:24 +0000 (12:00 -0700)
committerStéphane Marchesin <marcheu@chromium.org>
Thu, 22 Sep 2011 19:01:19 +0000 (12:01 -0700)
src/gallium/drivers/i915/i915_screen.c

index e4e8a9de2e5f8b2f969168c844e00ac76ee3e1de..edb693dde0dbf5d8863625bb921baf9177a22008 100644 (file)
@@ -152,6 +152,9 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap)
       return I915_MAX_TEXTURE_3D_LEVELS;
    case PIPE_CAP_MAX_TEXTURE_CUBE_LEVELS:
       return I915_MAX_TEXTURE_2D_LEVELS;
+   case PIPE_CAP_MIN_TEXEL_OFFSET:
+   case PIPE_CAP_MAX_TEXEL_OFFSET:
+      return 0;
 
    /* Render targets. */
    case PIPE_CAP_MAX_RENDER_TARGETS: