Mesa (master): i915g: Add unsupported PIPE_SHADER_CAP_OUTPUT_READ to silence warnings.
Stephane Marchesin
marcheu at kemper.freedesktop.org
Fri Dec 2 02:09:38 UTC 2011
Module: Mesa
Branch: master
Commit: d269ce0a3940a650d6808b5893222a5596ebf36e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d269ce0a3940a650d6808b5893222a5596ebf36e
Author: Stéphane Marchesin <marcheu at chromium.org>
Date: Thu Dec 1 18:09:18 2011 -0800
i915g: Add unsupported PIPE_SHADER_CAP_OUTPUT_READ to silence warnings.
---
src/gallium/drivers/i915/i915_screen.c | 2 ++
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 9341fa9..7ef24f5 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;
More information about the mesa-commit
mailing list