summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915
diff options
context:
space:
mode:
authorStéphane Marchesin <[email protected]>2011-09-22 12:00:24 -0700
committerStéphane Marchesin <[email protected]>2011-09-22 12:01:19 -0700
commit7cba40306eec79b54128ca3bf56aa96ae56c5fd4 (patch)
treea1fec3eabdcebdcaed107f8a63e4966f72db0a0f /src/gallium/drivers/i915
parent86939e05d232d9b882f0b427b2efad9d754f463a (diff)
i915g: Add unsupported PIPE_CAP_MIN_TEXEL_OFFSET/PIPE_CAP_MAX_TEXEL_OFFSET.
Diffstat (limited to 'src/gallium/drivers/i915')
-rw-r--r--src/gallium/drivers/i915/i915_screen.c3
1 files changed, 3 insertions, 0 deletions
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: