From 7c211a12aa6c22187264f718c81224a70e224ebe Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Sun, 1 Feb 2015 09:01:50 -0500 Subject: gallium: add a cap to determine whether the driver supports offset_clamp Signed-off-by: Ilia Mirkin Reviewed-by: Glenn Kennard Reviewed-by: Roland Scheidegger --- src/gallium/drivers/i915/i915_screen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/i915/i915_screen.c') diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c index 1277de313be..bbc901eed84 100644 --- a/src/gallium/drivers/i915/i915_screen.c +++ b/src/gallium/drivers/i915/i915_screen.c @@ -227,6 +227,7 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap) case PIPE_CAP_CONDITIONAL_RENDER_INVERTED: case PIPE_CAP_CLIP_HALFZ: case PIPE_CAP_VERTEXID_NOBASE: + case PIPE_CAP_POLYGON_OFFSET_CLAMP: return 0; case PIPE_CAP_MAX_DUAL_SOURCE_RENDER_TARGETS: -- cgit v1.2.3