Re: [Mesa-dev] [PATCH 2/2] glsl: Fix uniform buffer object counting.

2013-06-05 Thread Ian Romanick
On 05/31/2013 12:37 PM, Eric Anholt wrote: We were counting uniforms located in UBOs against the default uniform block limit, while not doing any counting against the specific combined limit. Note that I couldn't quite find justification for the way I did this, but I think it's the only sensible

[Mesa-dev] [PATCH 2/2] glsl: Fix uniform buffer object counting.

2013-05-31 Thread Eric Anholt
We were counting uniforms located in UBOs against the default uniform block limit, while not doing any counting against the specific combined limit. Note that I couldn't quite find justification for the way I did this, but I think it's the only sensible thing: The spec talks about components, so e