diff options
author | Matt Turner <[email protected]> | 2013-08-22 13:31:18 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2013-09-17 16:59:05 -0700 |
commit | b2ab840130677bbe7b67de4727fcd91ee6506bb8 (patch) | |
tree | 5160561da43809a9c7df2b2c40c6e6cb73d6fa93 /src/glsl/ir.cpp | |
parent | 4b0488ef4e3e4562c8e383282e0d2db183dfc5c1 (diff) |
glsl: Add support for ldexp.
v2: Drop frexp. Rebase on builtins rewrite.
Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/glsl/ir.cpp')
-rw-r--r-- | src/glsl/ir.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/ir.cpp b/src/glsl/ir.cpp index 1b1799958ea..a2dca457a95 100644 --- a/src/glsl/ir.cpp +++ b/src/glsl/ir.cpp @@ -401,6 +401,7 @@ ir_expression::ir_expression(int op, ir_rvalue *op0, ir_rvalue *op1) case ir_binop_lshift: case ir_binop_rshift: case ir_binop_bfm: + case ir_binop_ldexp: this->type = op0->type; break; @@ -551,6 +552,7 @@ static const char *const operator_strs[] = { "packHalf2x16_split", "bfm", "ubo_load", + "ldexp", "vector_extract", "fma", "lrp", |