glsl: Add gl_MaxVaryingComponents in GLSL 1.30.
authorEric Anholt <eric@anholt.net>
Fri, 21 Oct 2011 22:17:16 +0000 (15:17 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 24 Oct 2011 20:43:02 +0000 (13:43 -0700)
commit2ecfa88548c6b3135101ae9b5a2ae83b1cef8784
tree16556f267d415b8ca80a9d64bd4298ad66751005
parent3cc0a7be23ab603ed40d602595f673a44e079885
glsl: Add gl_MaxVaryingComponents in GLSL 1.30.

This is the new name for gl_MaxVaryingFloats now that non-float
varyings exist.  Fixes piglit
glsl-1.30/execution/maximums/gl_MaxVaryingFloats

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