glsl: allow GLSL compiler version to be overridden to 1.50
authorJordan Justen <jordan.l.justen@intel.com>
Tue, 19 Feb 2013 17:23:51 +0000 (09:23 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Fri, 1 Mar 2013 05:49:59 +0000 (21:49 -0800)
commit500b69e7973a8320d76cc7e8a3f1761641bed433
tree9b75dd70d9ad886fc71e4fa0dc14cac6b917b719
parent4154ac066f2cdeddfe934884b59c8f1ff393545d
glsl: allow GLSL compiler version to be overridden to 1.50

Although GLSL 1.50 compiler support is not available,
this change will allow MESA_GLSL_VERSION_OVERRIDE=150 to be
used while 1.50 support is being developed.

Since no drivers claim 1.50 GLSL support, this change should
only impact Mesa when MESA_GLSL_VERSION_OVERRIDE=150 is set.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/builtin_variables.cpp
src/glsl/glsl_types.cpp