glsl: Add support for C-style initializers.
authorMatt Turner <mattst88@gmail.com>
Sun, 30 Jun 2013 02:29:16 +0000 (19:29 -0700)
committerMatt Turner <mattst88@gmail.com>
Fri, 12 Jul 2013 03:58:59 +0000 (20:58 -0700)
commit1b0d6aef03161eff4c9933548e964fec1258ea44
tree07945e9514fac1588c57cde6b1bbcf386d380568
parentae79e86d4c0d82b4102e2ec65c93c8240fd22e9d
glsl: Add support for C-style initializers.

Required by GL_ARB_shading_language_420pack.

Parts based on work done by Todd Previte and Ken Graunke, implementing
basic support for C-style initializers of arrays.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/ast.h
src/glsl/ast_to_hir.cpp
src/glsl/glsl_parser.yy
src/glsl/glsl_parser_extras.cpp