summaryrefslogtreecommitdiffstats
path: root/src/glsl/glsl_parser.cpp
Commit message (Collapse)AuthorAgeFilesLines
* glsl: Refresh autogenerated lexer and parser files.Kenneth Graunke2010-11-151-1108/+1122
| | | | For the last three commits.
* r600g: implement texture_get_handle (needed for eglExportDRMImageMESA)Benjamin Franzke2010-11-081-249/+241
|
* glsl: Regenerate parser files.Kenneth Graunke2010-10-181-242/+250
|
* glsl: Regenerate files changes by previous commitIan Romanick2010-10-081-791/+844
|
* glsl: Regenerate files modified by previous commitsIan Romanick2010-10-081-1394/+1401
|
* glsl: Recognize GLSL ES 1.00 keywords.Kenneth Graunke2010-09-071-27/+27
|
* glsl: Accept language version 100 and make it the default on ES2.Kenneth Graunke2010-09-071-242/+244
|
* glsl: Set default language version in mesa_glsl_parse_state constructor.Kenneth Graunke2010-09-071-254/+243
| | | | | | | | | | 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.
* glsl: Change grammar rules for selection statements to match the spec.Kenneth Graunke2010-09-071-910/+883
| | | | | | Fixes piglit test case loop-06.vert. Unfortunately, causes 1 shift/reduce conflict.
* glsl2: Commit generated files changed by previous commitIan Romanick2010-08-301-1650/+1663
|
* glsl: Use a single shared namespace in the symbol table.Kenneth Graunke2010-08-261-481/+491
| | | | | | | | | | | | 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.
* glsl2: Remove unnecessary use of 'struct' before type namesIan Romanick2010-08-131-18/+18
| | | | | | | | 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.
* glsl2: Commit generated files changed by previous two commitsIan Romanick2010-08-131-1223/+1137
|
* glsl2: Commit generated files changed by previous commitIan Romanick2010-08-111-248/+248
|
* glsl2: Commit generated files changed by previous commitIan Romanick2010-08-111-1001/+1004
|
* glsl2: Regenerate glsl_parser.cpp and glsl_parser.hCarl Worth2010-08-101-489/+497
| | | | After making a minor change to the .y file.
* glsl2: Add the 1.30 reserved keywords.Kenneth Graunke2010-08-071-1243/+1402
|
* glsl2: Fix spelling of "precision" in error output.Eric Anholt2010-08-021-3/+3
|
* glsl2: Parser support for GL_ARB_fragment_coord_conventionsIan Romanick2010-07-281-1253/+1360
|
* glsl: Add generated files from flex/bison.Carl Worth2010-07-281-0/+5054
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).