summaryrefslogtreecommitdiff
path: root/ir_visitor.h
AgeCommit message (Collapse)AuthorFilesLines
2010-06-09Add stub visitor support for ir_texture.Kenneth Graunke1-0/+1
2010-05-26Refactor ir_dereference support for ir_visitorIan Romanick1-1/+3
Move the accept method for visitors from ir_dereference to the derived classes.
2010-04-21Remove ir_label since it is no longer used.Kenneth Graunke1-1/+0
2010-04-07Add ir_loop_jump to represent 'break' and 'continue' in loopsIan Romanick1-0/+1
2010-04-07Add ir_loop to represent loopsIan Romanick1-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.
2010-03-29Implement ir_if (for if-statments) and conversion from ASTIan Romanick1-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
2010-03-26Move swizzles out of ir_dereference and into their own class.Kenneth Graunke1-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 <ian.d.romanick@intel.com>
2010-03-19Implement IR return instructionsIan Romanick1-0/+1
2010-03-11Add ir_call call to represent function calls.Ian Romanick1-0/+1
2010-03-10Tell emacs that C++ .h files are C++Ian Romanick1-0/+1
2010-03-09IR visitor: Add initial version of ir_visitor classesIan Romanick1-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.