aboutsummaryrefslogtreecommitdiffstats
path: root/glsl_parser_extras.h
Commit message (Collapse)AuthorAgeFilesLines
* glcpp: Print to the main compiler's infolog, not stdout.Kenneth Graunke2010-06-211-1/+1
|
* Use yy_scan_string and stop caring about shader->SourceLen.Kenneth Graunke2010-06-211-2/+2
| | | | | | We had to call strlen on the preprocessed source, which seemed a bit pointless; also, we updated shader->SourceLen but not shader->Source, which was even more confusing. Just leave both untouched.
* Make the main compiler call the preprocessor.Kenneth Graunke2010-06-211-0/+4
| | | | | | | By using a single function, the main compiler doesn't need to include glcpp.h, which currently has a lot of details about the preprocessor internals. In particular, this prevents the two yacc grammars from seeing each other, which would be rather messy to sort out.
* Add EXT_texture_array support.Kenneth Graunke2010-06-091-0/+2
|
* Convert ast_node use of simple_node to exec_list and exec_nodeIan Romanick2010-05-101-2/+1
|
* Store warnings and errors in a parser state infolog.Eric Anholt2010-05-031-1/+3
| | | | | Cleans up compile warning about unused state in _mesa_glsl_warning. We would want infolog handling roughly like this anyway.
* Track and print user defined structure typesIan Romanick2010-04-281-0/+4
|
* Add stub ir_reader and new 'i' mode for reading IR rather than GLSL.Kenneth Graunke2010-04-281-1/+2
|
* Treat texture rectangles as an extension that is enabled be defaultIan Romanick2010-04-071-0/+2
|
* Add support for GL_ARB_draw_buffers extensionIan Romanick2010-04-071-0/+8
|
* Add _mesa_glsl_warning to emit warnings to the shader logIan Romanick2010-04-071-0/+9
|
* Begin processing #extension directiveIan Romanick2010-04-071-0/+12
| | | | Nowhere near complete. It just parses correctly at this point.
* Add utility function to get the name of a shader targetIan Romanick2010-04-071-0/+6
|
* Begin tracking the nesting of loops and switch-statementsIan Romanick2010-04-071-0/+3
|
* Add generate_temporary to generate an anonymous temporaryIan Romanick2010-03-291-0/+3
|
* Track the function that is currently being definedIan Romanick2010-03-191-0/+8
| | | | Later this will allow type checking for return statements.
* Use glsl_symbol_table instead of using _mesa_symbol_table directlyIan Romanick2010-03-191-1/+2
|
* Track generation of errors and halt compilation appropriatelyIan Romanick2010-03-111-1/+5
|
* Include cstdlib to be sure size_t is availableIan Romanick2010-03-101-0/+1
|
* Initial commit. lolIan Romanick2010-02-221-0/+68