summaryrefslogtreecommitdiffstats
path: root/src/glsl/glsl_parser.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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).