glsl: Count builtin uniforms against uniform component limits.
authorEric Anholt <eric@anholt.net>
Mon, 27 Aug 2012 16:48:34 +0000 (09:48 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 7 Sep 2012 15:29:48 +0000 (08:29 -0700)
commit5bb94f2bc4c7b7bc707d22f3dba9216d794d4393
tree374d9484f6b3e2f8f6ca265c27e85c2da6d0b6f8
parent30b303743df5a774e99938d3f4f21c9536b067ab
glsl: Count builtin uniforms against uniform component limits.

We don't fully process the builtin uniforms, but at least
num_uniform_components reflects reality now.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/link_uniforms.cpp