From d269ce0a3940a650d6808b5893222a5596ebf36e Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Marchesin?= Date: Thu, 1 Dec 2011 18:09:18 -0800 Subject: [PATCH] i915g: Add unsupported PIPE_SHADER_CAP_OUTPUT_READ to silence warnings. --- src/gallium/drivers/i915/i915_screen.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c index 9341fa92457..7ef24f5d6ea 100644 --- a/src/gallium/drivers/i915/i915_screen.c +++ b/src/gallium/drivers/i915/i915_screen.c @@ -151,6 +151,8 @@ i915_get_shader_param(struct pipe_screen *screen, unsigned shader, enum pipe_sha return 0; case PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS: return I915_TEX_UNITS; + case PIPE_SHADER_CAP_OUTPUT_READ: + return 0; default: debug_printf("%s: Unknown cap %u.\n", __FUNCTION__, cap); return 0; -- 2.30.2