glsl: Remove glsl_parser_state MaxVaryingFloats field
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 10 Sep 2013 17:16:57 +0000 (12:16 -0500)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 7 Oct 2013 16:59:23 +0000 (09:59 -0700)
commit5d6b0e7f1b1d8eaaded76964989a7adf4ed71662
treec6b680eddccc7dd77265590aa1a06a5a124d41b1
parent7db50171be05016fc0a4501c0fd62ef2bed78fbf
glsl: Remove glsl_parser_state MaxVaryingFloats field

Pull the data directly from the context like the other varying related
limits.  The parser state shadow copies were added back when the parser
state didn't have a pointer to the context.  There's no reason to do it
now days.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/glsl/builtin_variables.cpp
src/glsl/glsl_parser_extras.cpp
src/glsl/glsl_parser_extras.h