i915g: Add unsupported PIPE_SHADER_CAP_OUTPUT_READ to silence warnings.
authorStéphane Marchesin <marcheu@chromium.org>
Fri, 2 Dec 2011 02:09:18 +0000 (18:09 -0800)
committerStéphane Marchesin <marcheu@chromium.org>
Fri, 2 Dec 2011 02:09:18 +0000 (18:09 -0800)
src/gallium/drivers/i915/i915_screen.c

index 9341fa92457b7ed5086840bef5ae261cea2b7de3..7ef24f5d6eaacfae109fa7dc166453e1fa265367 100644 (file)
@@ -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;