diff options
Diffstat (limited to 'src/compiler/glsl/ir_builder.cpp')
-rw-r--r-- | src/compiler/glsl/ir_builder.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compiler/glsl/ir_builder.cpp b/src/compiler/glsl/ir_builder.cpp index 0cee8565e4..8d61533efc 100644 --- a/src/compiler/glsl/ir_builder.cpp +++ b/src/compiler/glsl/ir_builder.cpp @@ -315,6 +315,12 @@ exp(operand a) } ir_expression * +rcp(operand a) +{ + return expr(ir_unop_rcp, a); +} + +ir_expression * rsq(operand a) { return expr(ir_unop_rsq, a); |