Mesa (master): i915g: Add unsupported PIPE_CAP_MIN_TEXEL_OFFSET/ PIPE_CAP_MAX_TEXEL_OFFSET.

Stephane Marchesin marcheu at kemper.freedesktop.org
Thu Sep 22 12:46:25 PDT 2011


Module: Mesa
Branch: master
Commit: 7cba40306eec79b54128ca3bf56aa96ae56c5fd4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7cba40306eec79b54128ca3bf56aa96ae56c5fd4

Author: Stéphane Marchesin <marcheu at chromium.org>
Date:   Thu Sep 22 12:00:24 2011 -0700

i915g: Add unsupported PIPE_CAP_MIN_TEXEL_OFFSET/PIPE_CAP_MAX_TEXEL_OFFSET.

---

 src/gallium/drivers/i915/i915_screen.c |    3 +++
 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 e4e8a9d..edb693d 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:



More information about the mesa-commit mailing list