From: Stéphane Marchesin Date: Thu, 22 Sep 2011 19:00:24 +0000 (-0700) Subject: i915g: Add unsupported PIPE_CAP_MIN_TEXEL_OFFSET/PIPE_CAP_MAX_TEXEL_OFFSET. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7cba40306eec79b54128ca3bf56aa96ae56c5fd4;p=mesa.git i915g: Add unsupported PIPE_CAP_MIN_TEXEL_OFFSET/PIPE_CAP_MAX_TEXEL_OFFSET. --- diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c index e4e8a9de2e5..edb693dde0d 100644 --- a/src/gallium/drivers/i915/i915_screen.c +++ b/src/gallium/drivers/i915/i915_screen.c @@ -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: