glsl: Add support for default layout qualifiers for uniforms.
authorEric Anholt <eric@anholt.net>
Fri, 22 Jun 2012 20:36:35 +0000 (13:36 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 31 Jul 2012 19:06:20 +0000 (12:06 -0700)
commit551bdf25bc4e57bea51c54da7e31c44c507e6c9f
tree30fe843355b1f850c0ce0772b605b65f1e03dd46
parent7b77c64254109ff1d59a8937f8f15216c10c8cb7
glsl: Add support for default layout qualifiers for uniforms.

I ended up having to add rallocing of the ast_type_qualifier in order
to avoid pulling in ast.h for glsl_parser_extras.h, because I wanted
to track an ast_type_qualifier in the state.

Fixes piglit ARB_uniform_buffer_object/row-major.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/ast.h
src/glsl/ast_type.cpp
src/glsl/glsl_parser.yy
src/glsl/glsl_parser_extras.cpp
src/glsl/glsl_parser_extras.h