Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-06-23 | Add a virtual clone() method to ir_instruction. | Eric Anholt | |
This will be used by function inlining, the linker, and avoiding double usage of the LHS deref chains in ++, *=, and similar operations. | |||
2010-06-22 | Include stdio.h and stdlib.h everywhere, and don't cook our own #define NULL. | Eric Anholt | |
2010-06-11 | ir_constant_visitor: Type of constant result is same as original expression | Ian Romanick | |
The type of the resulting constant must be the same as the type of the original expression. The changes to the code require that the case where an unhandled expression is received, and there really shouldn't be any of these, must be an exit point. | |||
2010-06-11 | ir_constant_visitor: Types of ir_binop_{equal,nequal} must match | Ian Romanick | |
The types must match exactly, so there is no reason to check the types here. | |||
2010-06-11 | ir_constant_visitor: Use 'union ir_constant_data' in expression handler | Ian Romanick | |
2010-06-11 | ir_constant_visitor: Use 'union ir_constant_data' instead of open-coded version | Ian Romanick | |
2010-06-11 | ir_constant_visitor: Handle bool-to-int and int-to-bool | Ian Romanick | |
2010-06-11 | ir_constant_visitor: Handle constant swizzles | Ian Romanick | |
2010-06-11 | ir_constant_visitor: Handle array access of constant vectors and matrices | Ian Romanick | |
2010-06-11 | ir_constant_visitor: Handle dereferences of constant records | Ian Romanick | |
2010-06-11 | ir_constant_visitor: Use clone to create a constant from a variable reference | Ian Romanick | |
2010-06-11 | Add float/bool conversion to ir_constant_expression.cpp. | Ian Romanick | |
2010-06-09 | ir_constant_visitor: Add support for dFdx and dFdy operations. | Kenneth Graunke | |
If the argument is a constant expression...it's not changing per pixel, so the result is simply 0. | |||
2010-06-09 | Add stub visitor support for ir_texture. | Kenneth Graunke | |
2010-06-01 | ir_constant_expression: Handle several floating point unops. | Eric Anholt | |
Cleans up a bunch of pointless operations in a GStreamer fragment shader. | |||
2010-05-26 | Refactor ir_dereference data fields to subclasses | Ian Romanick | |
2010-05-26 | Refactor ir_dereference support for ir_visitor | Ian Romanick | |
Move the accept method for visitors from ir_dereference to the derived classes. | |||
2010-04-21 | Remove ir_label since it is no longer used. | Kenneth Graunke | |
2010-04-07 | Add support for bool to ir_equal and ir_nequal constant handling | Ian Romanick | |
2010-04-07 | Add ir_loop_jump to represent 'break' and 'continue' in loops | Ian Romanick | |
2010-04-07 | Add ir_loop to represent loops | Ian Romanick | |
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-04-06 | Add float/int conversion to ir_constant_expression.cpp. | Eric Anholt | |
Gives CorrectParse2.frag one more constant folding. | |||
2010-04-06 | Handle constant expressions using derefs of const values. | Eric Anholt | |
Fixes CorrectParse1.frag and makes for a ton of folding in CorrectParse2.frag. | |||
2010-04-06 | Add support for =, != to ir_constant_expresion.cpp | Eric Anholt | |
This results in constant folding of one more expression in CorrectParse2.frag. | |||
2010-04-06 | Add ir_constant_expression.cpp support for <, >, <=, >=. | Eric Anholt | |
This results in folding one more constant expression in CorrectParse2.frag. | |||
2010-04-02 | Add some more operations to ir_constant_expression.cpp. | Eric Anholt | |
2010-04-02 | Make ir_constant_expression.cpp support multi-component types. | Eric Anholt | |
2010-04-02 | Simplify ir_constant_expression.cpp by factoring operand computation out. | Eric Anholt | |
2010-04-02 | Handle logic not in constant expression evaluation. | Eric Anholt | |
2010-04-02 | Start trying to fill in a few bits of ir_constant_expression.cpp | Eric Anholt | |
This makes a little progress on CorrectParse2.frag. | |||
2010-03-30 | Initial bits of constant expression evaluator | Ian Romanick | |
Currently only works for constants. The rest will be added later. |