Mesa (master): i915g: add missing and unsupported PIPE_CAPs to avoid debug messages.
Stephane Marchesin
marcheu at kemper.freedesktop.org
Mon Jun 6 20:07:53 UTC 2011
Module: Mesa
Branch: master
Commit: 893b92adffe25a42468cb310dc5d13642472f0cb
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=893b92adffe25a42468cb310dc5d13642472f0cb
Author: Stéphane Marchesin <marcheu at chromium.org>
Date: Fri Jun 3 17:03:37 2011 -0700
i915g: add missing and unsupported PIPE_CAPs to avoid debug messages.
---
src/gallium/drivers/i915/i915_screen.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c
index da96b42..c86baa5 100644
--- a/src/gallium/drivers/i915/i915_screen.c
+++ b/src/gallium/drivers/i915/i915_screen.c
@@ -134,6 +134,11 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap)
case PIPE_CAP_TEXTURE_MIRROR_CLAMP:
case PIPE_CAP_TEXTURE_SWIZZLE:
case PIPE_CAP_TIMER_QUERY:
+ case PIPE_CAP_SM3:
+ case PIPE_CAP_SEAMLESS_CUBE_MAP:
+ case PIPE_CAP_SEAMLESS_CUBE_MAP_PER_TEXTURE:
+ case PIPE_CAP_FRAGMENT_COLOR_CLAMP_CONTROL:
+ case PIPE_CAP_MIXED_COLORBUFFER_FORMATS:
return 0;
/* Features we can lie about (boolean caps). */
More information about the mesa-commit
mailing list