diff options
Diffstat (limited to 'ir_constant_folding.cpp')
-rw-r--r-- | ir_constant_folding.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ir_constant_folding.cpp b/ir_constant_folding.cpp index b3f27c80c8..5dc4a7dc65 100644 --- a/ir_constant_folding.cpp +++ b/ir_constant_folding.cpp @@ -60,6 +60,7 @@ public: virtual void visit(ir_function_signature *); virtual void visit(ir_function *); virtual void visit(ir_expression *); + virtual void visit(ir_texture *); virtual void visit(ir_swizzle *); virtual void visit(ir_dereference_variable *); virtual void visit(ir_dereference_array *); @@ -115,6 +116,14 @@ ir_constant_folding_visitor::visit(ir_expression *ir) void +ir_constant_folding_visitor::visit(ir_texture *ir) +{ + // FINISHME: Do stuff with texture lookups + (void) ir; +} + + +void ir_constant_folding_visitor::visit(ir_swizzle *ir) { ir->val->accept(this); |