summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorStéphane Marchesin <marcheu@chromium.org>2011-12-01 18:09:18 -0800
committerStéphane Marchesin <marcheu@chromium.org>2011-12-01 18:09:18 -0800
commitd269ce0a3940a650d6808b5893222a5596ebf36e (patch)
treecb7bfa8bf6f55f70a7948f26482216484db43e88 /src/gallium
parent912f7b6bfe809432bf719cdab5659a999083cd52 (diff)
i915g: Add unsupported PIPE_SHADER_CAP_OUTPUT_READ to silence warnings.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/i915/i915_screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c
index 9341fa9245..7ef24f5d6e 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;