summaryrefslogtreecommitdiff
path: root/glsl_parser_extras.h
AgeCommit message (Collapse)Author
2010-06-24ir_to_mesa: Move the classes into the file now that we don't have the burg.Eric Anholt
At 1kloc, it doesn't look like I'll want to split the ir_to_mesa file up even once it's feature-complete. Move definitions closer to usage, and prevent rebuilding the world when changing the definitions.
2010-06-21glcpp: Print to the main compiler's infolog, not stdout.Kenneth Graunke
2010-06-21Use yy_scan_string and stop caring about shader->SourceLen.Kenneth Graunke
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.
2010-06-21Make the main compiler call the preprocessor.Kenneth Graunke
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.
2010-06-09Add EXT_texture_array support.Kenneth Graunke
2010-05-10Convert ast_node use of simple_node to exec_list and exec_nodeIan Romanick
2010-05-03Store warnings and errors in a parser state infolog.Eric Anholt
Cleans up compile warning about unused state in _mesa_glsl_warning. We would want infolog handling roughly like this anyway.
2010-04-28Track and print user defined structure typesIan Romanick
2010-04-28Add stub ir_reader and new 'i' mode for reading IR rather than GLSL.Kenneth Graunke
2010-04-07Treat texture rectangles as an extension that is enabled be defaultIan Romanick
2010-04-07Add support for GL_ARB_draw_buffers extensionIan Romanick
2010-04-07Add _mesa_glsl_warning to emit warnings to the shader logIan Romanick
2010-04-07Begin processing #extension directiveIan Romanick
Nowhere near complete. It just parses correctly at this point.
2010-04-07Add utility function to get the name of a shader targetIan Romanick
2010-04-07Begin tracking the nesting of loops and switch-statementsIan Romanick
2010-03-29Add generate_temporary to generate an anonymous temporaryIan Romanick
2010-03-19Track the function that is currently being definedIan Romanick
Later this will allow type checking for return statements.
2010-03-19Use glsl_symbol_table instead of using _mesa_symbol_table directlyIan Romanick
2010-03-11Track generation of errors and halt compilation appropriatelyIan Romanick
2010-03-10Include cstdlib to be sure size_t is availableIan Romanick
2010-02-22Initial commit. lolIan Romanick