glsl: parse in/out types for interface blocks 09/6709/1
authorJordan Justen <jordan.l.justen@intel.com>
Sat, 9 Mar 2013 19:36:11 +0000 (11:36 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Thu, 23 May 2013 16:37:11 +0000 (09:37 -0700)
commit6d3d974e379caadde53c5361e26384935c199769
tree68feb08ab085c7eb186c1e7842f4ab4fa81b6559
parent744c2704061f9c0c660fb5c48d4e74a586335ef0
glsl: parse in/out types for interface blocks

Previously only 'uniform' was allowed for uniform blocks.

Now, in/out can be parsed, but it will only be allowed for
GLSL >= 150.

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