From 2b6e703863f7e5469ba8d82003282cc42f277d5e Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Tue, 11 Nov 2014 17:08:22 -0800 Subject: [PATCH] i915g: we also have more than 0 viewports! See 546d6c8d for the corresponding fix in freedreno. Signed-off-by: Kenneth Graunke Reviewed-by: Jordan Justen Reviewed-by: Stephane Marchesin Cc: "10.3" --- src/gallium/drivers/i915/i915_screen.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c index 062f1a661cf..e9f10bce609 100644 --- a/src/gallium/drivers/i915/i915_screen.c +++ b/src/gallium/drivers/i915/i915_screen.c @@ -240,6 +240,9 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap) case PIPE_CAP_SAMPLER_VIEW_TARGET: return 0; + case PIPE_CAP_MAX_VIEWPORTS: + return 1; + case PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT: return 64; -- 2.30.2