summaryrefslogtreecommitdiff
path: root/glsl_parser_extras.cpp
AgeCommit message (Expand)Author
2010-06-23ast_node: Remove empty destructor.Carl Worth
2010-06-19Change error/warning functions to print to the info log.Kenneth Graunke
2010-06-14Move stand-alone compiler main routine to main.cppIan Romanick
2010-06-09Don't call _mesa_glsl_initialize_types for every builtin function.Kenneth Graunke
2010-06-09Only initialize types after #extension directives have been processed.Kenneth Graunke
2010-06-07Don't process empty shadersIan Romanick
2010-06-01ir_constant_variable: New pass to mark constant-assigned variables constant.Eric Anholt
2010-06-01ir_swizzle_swizzle: Reduce swizzle chains to a single swizzle.Eric Anholt
2010-06-01ir_vec_index_to_swizzle: Pass to convert indexing of vectors to swizzles.Eric Anholt
2010-05-14Fix function call parameter printer to omit extraneous leading commaIan Romanick
2010-05-10Convert ast_node use of simple_node to exec_list and exec_nodeIan Romanick
2010-05-10Store AST function call parameters in expressionsIan Romanick
2010-05-05Move optimization pass prototypes to a single header.Eric Anholt
2010-05-05ir_dead_code_local: Remove redundant assignments within basic blocks.Eric Anholt
2010-05-04ir_copy_propagation: New pass to rewrite dereferences to avoid copies.Eric Anholt
2010-05-03Store warnings and errors in a parser state infolog.Eric Anholt
2010-05-03Quiet warnings about ir_shader not being handled in places it's not needed.Eric Anholt
2010-04-28IR print visitor: Move logic for printing the whole program to _mesa_print_irIan Romanick
2010-04-28Set language_version to 130 (the max currently supported) when reading IR.Kenneth Graunke
2010-04-28Add stub ir_reader and new 'i' mode for reading IR rather than GLSL.Kenneth Graunke
2010-04-28Add parens around printed IR so it's an official list of instructions.Kenneth Graunke
2010-04-23Zero-out the entire parser state structure at initializationIan Romanick
2010-04-23Add missing 'else's to fix extension processingIan Romanick
2010-04-19Remove dead code assignments and variable declarations.Eric Anholt
2010-04-14Add an ir_if simplification pass.Eric Anholt
2010-04-08Repeat the optimization passes until we stop making progress.Eric Anholt
2010-04-08Inline functions consisting of a return of an expression.Eric Anholt
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-07Clean up error reporting in _mesa_glsl_process_extensionIan Romanick
2010-04-07Emit a warning when an unknown extension is used with #extensionIan Romanick
2010-04-07Add _mesa_glsl_warning to emit warnings to the shader logIan Romanick
2010-04-07Begin processing #extension directiveIan Romanick
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-04-06Make constant folding descend into if statements.Eric Anholt
2010-04-06Add a constant folding optimization pass.Eric Anholt
2010-04-02Remove ast_node::typeIan Romanick
2010-03-31Add ast_function::hirIan Romanick
2010-03-29Add generate_temporary to generate an anonymous temporaryIan Romanick
2010-03-25IR print visitor: Remove most of the newlines from the printed outputIan Romanick
2010-03-25Make the standalone parser return an exit code so we can automate testing.Eric Anholt
2010-03-23Disallow passing NULL for state to _mesa_glsl_errorIan Romanick
2010-03-19Use glsl_symbol_table instead of using _mesa_symbol_table directlyIan Romanick
2010-03-15Factor ast_type_specifier code out to ast_type.cppIan Romanick
2010-03-11Track generation of errors and halt compilation appropriatelyIan Romanick
2010-03-10Move top-level AST to HIR conversion to _mesa_ast_to_hirIan Romanick
2010-03-10Require the shader target be specified to the driver programIan Romanick
2010-03-10Use ir_print_visitor to dump IR treeIan Romanick
2010-03-08Conver IR structures to use exec_list instead of simple_nodeIan Romanick