glsl parser: on desktop GL require GLSL 150 for instance names
authorJordan Justen <jordan.l.justen@intel.com>
Sat, 9 Mar 2013 22:09:30 +0000 (14:09 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Thu, 23 May 2013 16:37:11 +0000 (09:37 -0700)
commit4369acff5e96782a64adc9c1fc81d63fb07f33f4
tree2fd0fa07b6475c2de673575fbc88ae89dec6e0f2
parentd36cb3617c12808677f0963e1548e07e9347931c
glsl parser: on desktop GL require GLSL 150 for instance names

Interface blocks in GLSL 150 allow an instance name to be used.

v2:
 * use state->check_version

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/glsl_parser.yy