mesa: Default to GL 3.1's limits on uniform blocks.
authorEric Anholt <eric@anholt.net>
Thu, 26 Jul 2012 23:56:49 +0000 (16:56 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 7 Aug 2012 20:54:51 +0000 (13:54 -0700)
commit1eb3c06ae82cc962c5d867238acd089f833c2337
treee5025e22697e198edcd843a2134154223fe89164
parent803262a5f55ca5b94a09dfe8f35e64a579778209
mesa: Default to GL 3.1's limits on uniform blocks.

The ARB spec lets you get away with the default block counting against the
blocks for combined size limits.  The core spec says you need to be able to
support the maximum size of default block *and* the maximum size of each
uniform block.  I see no reason that any driver would have a problem with
that.

Fixes gl 3.1/minmax (with an associated fix to the test)

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/context.c