summaryrefslogtreecommitdiff
path: root/glsl_parser_extras.h
AgeCommit message (Collapse)AuthorFilesLines
2010-06-21glcpp: Print to the main compiler's infolog, not stdout.Kenneth Graunke1-1/+1
2010-06-21Use yy_scan_string and stop caring about shader->SourceLen.Kenneth Graunke1-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.
2010-06-21Make the main compiler call the preprocessor.Kenneth Graunke1-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.
2010-06-09Add EXT_texture_array support.Kenneth Graunke1-0/+2
2010-05-10Convert ast_node use of simple_node to exec_list and exec_nodeIan Romanick1-2/+1
2010-05-03Store warnings and errors in a parser state infolog.Eric Anholt1-1/+3
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 Romanick1-0/+4
2010-04-28Add stub ir_reader and new 'i' mode for reading IR rather than GLSL.Kenneth Graunke1-1/+2
2010-04-07Treat texture rectangles as an extension that is enabled be defaultIan Romanick1-0/+2
2010-04-07Add support for GL_ARB_draw_buffers extensionIan Romanick1-0/+8
2010-04-07Add _mesa_glsl_warning to emit warnings to the shader logIan Romanick1-0/+9
2010-04-07Begin processing #extension directiveIan Romanick1-0/+12
Nowhere near complete. It just parses correctly at this point.
2010-04-07Add utility function to get the name of a shader targetIan Romanick1-0/+6
2010-04-07Begin tracking the nesting of loops and switch-statementsIan Romanick1-0/+3
2010-03-29Add generate_temporary to generate an anonymous temporaryIan Romanick1-0/+3
2010-03-19Track the function that is currently being definedIan Romanick1-0/+8
Later this will allow type checking for return statements.
2010-03-19Use glsl_symbol_table instead of using _mesa_symbol_table directlyIan Romanick1-1/+2
2010-03-11Track generation of errors and halt compilation appropriatelyIan Romanick1-1/+5
2010-03-10Include cstdlib to be sure size_t is availableIan Romanick1-0/+1
2010-02-22Initial commit. lolIan Romanick1-0/+68