diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2010-03-30 16:56:50 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-03-30 16:56:50 -0700 |
commit | 1cf43a4331dfe62aaa834e5bc6319b43eac98445 (patch) | |
tree | 9f7f27618e1e6d5aacdc149f57b22a1f90ff30fd /ir.h | |
parent | 84960f01cb0edb79ec86d120b7dab7f254373940 (diff) |
Initial bits of constant expression evaluator
Currently only works for constants. The rest will be added later.
Diffstat (limited to 'ir.h')
-rw-r--r-- | ir.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -40,6 +40,7 @@ class ir_instruction : public exec_node { public: const struct glsl_type *type; + class ir_constant *constant_expression_value(); virtual void accept(ir_visitor *) = 0; /** |