summaryrefslogtreecommitdiffstats
path: root/ir_visitor.h
Commit message (Collapse)AuthorAgeFilesLines
* Add stub visitor support for ir_texture.Kenneth Graunke2010-06-091-0/+1
|
* Refactor ir_dereference support for ir_visitorIan Romanick2010-05-261-1/+3
| | | | | Move the accept method for visitors from ir_dereference to the derived classes.
* Remove ir_label since it is no longer used.Kenneth Graunke2010-04-211-1/+0
|
* Add ir_loop_jump to represent 'break' and 'continue' in loopsIan Romanick2010-04-071-0/+1
|
* Add ir_loop to represent loopsIan Romanick2010-04-071-0/+1
| | | | | This touches a lot of files because everything derived from ir_visitor has to be updated. This is the primary disadvantage of the visitor pattern.
* Implement ir_if (for if-statments) and conversion from ASTIan Romanick2010-03-291-0/+1
| | | | | | | | | | | | | The following tests now pass: glslparsertest/shaders/if1.frag glslparsertest/shaders/if2.frag The following tests that used to pass now fail. It appears that most of these fail because ast_nequal and ast_equal are not converted to HIR. shaders/glsl-unused-varying.frag shaders/glsl-fs-sqrt-branch.frag
* Move swizzles out of ir_dereference and into their own class.Kenneth Graunke2010-03-261-0/+1
| | | | | | | Also turn generate_swizzle into a static "create" method of the new class; we'll want to use it for the IR reader as well. Signed-off-by: Ian Romanick <[email protected]>
* Implement IR return instructionsIan Romanick2010-03-191-0/+1
|
* Add ir_call call to represent function calls.Ian Romanick2010-03-111-0/+1
|
* Tell emacs that C++ .h files are C++Ian Romanick2010-03-101-0/+1
|
* IR visitor: Add initial version of ir_visitor classesIan Romanick2010-03-091-0/+57
The ir_visitor class is the abstract base class for all visitors. ir_print_visitor contains the beginnings of a concrete visitor class that will print out an IR sequence in a Lisp / Scheme-like syntax.