commit | 814c89abdbcd5b841b98746af921796df0362238 | [log] [tgz] |
---|---|---|
author | Kenneth Graunke <kenneth@whitecape.org> | Sun Sep 05 00:31:28 2010 -0700 |
committer | Kenneth Graunke <kenneth@whitecape.org> | Tue Sep 07 17:30:37 2010 -0700 |
tree | 7286d59bd66ed267037896bada25190ceedc26c2 | |
parent | 4a867be14378587574b3082071e9fff962d28d12 [diff] |
glsl: Set default language version in mesa_glsl_parse_state constructor. This should make it easier to change the default version based on the API (say, version 1.00 for OpenGL ES). Also, synchronize the symbol table's version with the parse state's version just before doing AST-to-HIR. This way, it will be set when it matters, but the main initialization code doesn't have to care about the symbol table.