commit | 1cf43a4331dfe62aaa834e5bc6319b43eac98445 | [log] [tgz] |
---|---|---|
author | Ian Romanick <ian.d.romanick@intel.com> | Tue Mar 30 16:56:50 2010 -0700 |
committer | Ian Romanick <ian.d.romanick@intel.com> | Tue Mar 30 16:56:50 2010 -0700 |
tree | 9f7f27618e1e6d5aacdc149f57b22a1f90ff30fd | |
parent | 84960f01cb0edb79ec86d120b7dab7f254373940 [diff] [blame] |
Initial bits of constant expression evaluator Currently only works for constants. The rest will be added later.
diff --git a/ir.h b/ir.h index 83e4f95..aa3e03a 100644 --- a/ir.h +++ b/ir.h
@@ -40,6 +40,7 @@ public: const struct glsl_type *type; + class ir_constant *constant_expression_value(); virtual void accept(ir_visitor *) = 0; /**