[Mesa-dev] [PATCH 17/17] glsl: fix checking against the max uniform limit with UBOs

Eric Anholt eric at anholt.net
Thu May 2 11:21:29 PDT 2013


Marek Olšák <maraeo at gmail.com> writes:

> MaxUniformComponents contains only the limit for the default uniform buffer,
> but the linker also adds all uniforms blocks to the uniform usage stats,
> causing bogus linker failures.

So now you can have MaxCombinedUniformComponents in the default uniform
block?  It seems like we should be tracking the two uniform counts
separately, which would be pretty easy.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130502/83282603/attachment.pgp>


More information about the mesa-dev mailing list