glsl: Add parser support for GL_ARB_explicit_attrib_location layouts
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 6 Oct 2010 00:00:31 +0000 (17:00 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 8 Oct 2010 21:21:22 +0000 (14:21 -0700)
commit7f68cbdc4d9f602dc2619ac4a90283a4f057a8cb
tree6a5f406c532817d3cddd651b5993d698e43cab22
parenteafebed5bdfd853c6ec7f7275e219378e441c49c
glsl: Add parser support for GL_ARB_explicit_attrib_location layouts

Only layout(location=#) is supported.  Setting the index requires GLSL
1.30 and GL_ARB_blend_func_extended.
src/glsl/ast.h
src/glsl/glsl_lexer.lpp
src/glsl/glsl_parser.ypp
src/glsl/glsl_parser_extras.cpp
src/glsl/glsl_parser_extras.h