diff options
Diffstat (limited to 'src/glsl/ir.h')
-rw-r--r-- | src/glsl/ir.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h index de41858764c..0646e6d754c 100644 --- a/src/glsl/ir.h +++ b/src/glsl/ir.h @@ -1252,6 +1252,11 @@ public: */ ir_expression(int op, ir_rvalue *op0, ir_rvalue *op1); + /** + * Constructor for ternary operation expressions + */ + ir_expression(int op, ir_rvalue *op0, ir_rvalue *op1, ir_rvalue *op2); + virtual ir_expression *as_expression() { return this; |