glsl: Parse the "binding" keyword and store it in ast_type_qualifier.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 16 Jul 2013 05:20:03 +0000 (22:20 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 18 Jul 2013 23:57:23 +0000 (16:57 -0700)
commit0418846a07b02d39e129987580e7ea50fb422ee0
treed55b179c77f58bfd17addbbaf3015d4d78213329
parent7f6a2d6937e837e06d9e22d173d996397ff4cacf
glsl: Parse the "binding" keyword and store it in ast_type_qualifier.

Nothing actually uses this yet.

v2: Remove >= 0 checks.  They'll be handled in later validation.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/glsl/ast.h
src/glsl/ast_type.cpp
src/glsl/glsl_parser.yy