summaryrefslogtreecommitdiffstats
path: root/ast_to_hir.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Track the function that is currently being definedIan Romanick2010-03-191-0/+7
| | | | Later this will allow type checking for return statements.
* Initial bits for converting AST return nodes to IR return instructionsIan Romanick2010-03-191-0/+37
|
* Use glsl_symbol_table::name_declared_this_scopeIan Romanick2010-03-191-7/+28
| | | | Prevent most illegal name reuse.
* Use glsl_symbol_table instead of using _mesa_symbol_table directlyIan Romanick2010-03-191-19/+13
|
* Ensure that ast_type always has type_name setIan Romanick2010-03-151-60/+2
| | | | | | For built-in types, type_name would be NULL. This ensures that type_name is set even for the built-in types. This simplifies code in a few places and centralizes the name setting code.
* Move ast_function_expression::hir to ast_function.cppIan Romanick2010-03-151-81/+0
|
* Initial pass at resolving function callsIan Romanick2010-03-111-2/+65
| | | | | The code is still really rough and *REALLY* incomplete. This at least passes the first few trivially simple test cases.
* Default function parameters to 'in' instead of autoIan Romanick2010-03-111-1/+6
|
* Add ir_call call to represent function calls.Ian Romanick2010-03-111-1/+1
|
* Make ast_function_expression subclass of ast_expressionIan Romanick2010-03-101-14/+21
|
* IR variable: Initial work to support GLSL built-in variablesIan Romanick2010-03-101-0/+2
|
* Move top-level AST to HIR conversion to _mesa_ast_to_hirIan Romanick2010-03-101-0/+11
|
* AST to IR: Mark 'varying' in a vertex shader as 'out'Ian Romanick2010-03-101-1/+1
|
* Add assignment side-effect to the instruction streamIan Romanick2010-03-091-2/+6
| | | | | | The actual assignment is a side-effect of the assignment expression. Add it to the instruction stream and return the LHS of the assignment as its rvalue.
* Convert is_glsl_type_matrix to glsl_type::is_matrixIan Romanick2010-03-091-4/+4
|
* Convert is_glsl_type_vector to glsl_type::is_vectorIan Romanick2010-03-091-3/+3
|
* Convert is_glsl_type_scalar to glsl_type::is_scalarIan Romanick2010-03-091-7/+7
|
* Remove unused functionIan Romanick2010-03-081-12/+0
|
* Conver IR structures to use exec_list instead of simple_nodeIan Romanick2010-03-081-33/+30
|
* Make AST->HIR conversion a method of ast_node, re-enableIan Romanick2010-03-011-107/+104
|
* Rename .cc files to .cppIan Romanick2010-02-221-0/+1172