glsl parser: allow in & out for interface block members
authorJordan Justen <jordan.l.justen@intel.com>
Sat, 9 Mar 2013 22:52:14 +0000 (14:52 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Thu, 23 May 2013 16:37:11 +0000 (09:37 -0700)
commit9368604d996a4c6893f9ca84b1a0e863da9c91c0
tree8197a4e5780cf118cc909ddb849d8c12a8f885e3
parent067cc08d6ab41333cd0fa3ea49b9d0247631a28b
glsl parser: allow in & out for interface block members

Previously uniform blocks allowed for the 'uniform' keyword
to be used with members of a uniform blocks. With interface
blocks 'in' can be used on 'in' interface block members and
'out' can be used on 'out' interface block members.

The basic_interface_block rule will verify that the same
qualifier type is used with the block and each member.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/glsl_parser.yy