summaryrefslogtreecommitdiff
path: root/src/glsl/glsl_parser.cpp
AgeCommit message (Collapse)Author
2010-11-15glsl: Refresh autogenerated lexer and parser files.Kenneth Graunke
For the last three commits.
2010-11-08r600g: implement texture_get_handle (needed for eglExportDRMImageMESA)Benjamin Franzke
2010-10-18glsl: Regenerate parser files.Kenneth Graunke
2010-10-08glsl: Regenerate files changes by previous commitIan Romanick
2010-10-08glsl: Regenerate files modified by previous commitsIan Romanick
2010-09-07glsl: Recognize GLSL ES 1.00 keywords.Kenneth Graunke
2010-09-07glsl: Accept language version 100 and make it the default on ES2.Kenneth Graunke
2010-09-07glsl: Set default language version in mesa_glsl_parse_state constructor.Kenneth Graunke
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.
2010-09-07glsl: Change grammar rules for selection statements to match the spec.Kenneth Graunke
Fixes piglit test case loop-06.vert. Unfortunately, causes 1 shift/reduce conflict.
2010-08-30glsl2: Commit generated files changed by previous commitIan Romanick
2010-08-26glsl: Use a single shared namespace in the symbol table.Kenneth Graunke
As of 1.20, variable names, function names, and structure type names all share a single namespace, and should conflict with one another in the same scope, or hide each other in nested scopes. However, in 1.10, variables and functions can share the same name in the same scope. Structure types, however, conflict with/hide both. Fixes piglit tests redeclaration-06.vert, redeclaration-11.vert, redeclaration-19.vert, and struct-05.vert.
2010-08-13glsl2: Remove unnecessary use of 'struct' before type namesIan Romanick
In C++ you don't have to say 'struct' or 'class' if the declaration of the type has been seen. Some compilers will complain if you use 'struct' when 'class' should have been used and vice versa. Fixes bugzilla #29539.
2010-08-13glsl2: Commit generated files changed by previous two commitsIan Romanick
2010-08-11glsl2: Commit generated files changed by previous commitIan Romanick
2010-08-11glsl2: Commit generated files changed by previous commitIan Romanick
2010-08-10glsl2: Regenerate glsl_parser.cpp and glsl_parser.hCarl Worth
After making a minor change to the .y file.
2010-08-07glsl2: Add the 1.30 reserved keywords.Kenneth Graunke
2010-08-02glsl2: Fix spelling of "precision" in error output.Eric Anholt
2010-07-28glsl2: Parser support for GL_ARB_fragment_coord_conventionsIan Romanick
2010-07-28glsl: Add generated files from flex/bison.Carl Worth
The mesa build environment does not (currently) accept external dependencies such as flex and bison. The compromise is to commit the generated output files, (in spite of the pain that comes from having generated files under version control).