diff options
author | Ian Romanick <[email protected]> | 2010-11-09 14:19:10 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2010-11-19 15:00:25 -0800 |
commit | 13f57d42b6929f50d8ef8b4123f46a61c46fde7b (patch) | |
tree | d42f595a2bcfecbfa83a9bb2497eed1b4adba9d8 /src/glsl/ir.h | |
parent | 8e498050dc1a1285c2218fdf4ea506c1cdcd9dd8 (diff) |
glsl: Add unary ir_expression constructor
Diffstat (limited to 'src/glsl/ir.h')
-rw-r--r-- | src/glsl/ir.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h index 960cd8bab43..99fdaa3b09b 100644 --- a/src/glsl/ir.h +++ b/src/glsl/ir.h @@ -832,6 +832,14 @@ enum ir_expression_operation { class ir_expression : public ir_rvalue { public: + /** + * Constructor for unary operation expressions + */ + ir_expression(int op, const struct glsl_type *type, ir_rvalue *); + + /** + * Constructor for binary operation expressions + */ ir_expression(int op, const struct glsl_type *type, ir_rvalue *, ir_rvalue *); |