diff options
author | Kenneth Graunke <[email protected]> | 2014-11-11 17:08:22 -0800 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-11-16 20:57:05 +0000 |
commit | e607d2df4632f52f321045845ab58b244583ebd7 (patch) | |
tree | 8a55d2bb145a635782069d69ac45ffbe98d9f205 /src | |
parent | f285c7eaafcb01545591c24c3f5c8adacbbfbdf7 (diff) |
i915g: we also have more than 0 viewports!
See 546d6c8d for the corresponding fix in freedreno.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Reviewed-by: Stephane Marchesin <[email protected]>
Cc: "10.3" <[email protected]>
(cherry picked from commit 2b6e703863f7e5469ba8d82003282cc42f277d5e)
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/i915/i915_screen.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c index 40976b3cb7d..67fd943a036 100644 --- a/src/gallium/drivers/i915/i915_screen.c +++ b/src/gallium/drivers/i915/i915_screen.c @@ -236,6 +236,9 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap) case PIPE_CAP_TGSI_FS_FINE_DERIVATIVE: return 0; + case PIPE_CAP_MAX_VIEWPORTS: + return 1; + case PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT: return 64; |