summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/ir_builder.h
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2017-01-23 23:59:45 -0800
committerFrancisco Jerez <[email protected]>2017-01-31 10:32:43 -0800
commit7ec3af3f8ff6584542f029c28abc2bcae1402259 (patch)
treebff4683e998aa51651024e868193c03adf31ca9c /src/compiler/glsl/ir_builder.h
parent6643a97de308bc100a497f18fed8819f6f6f570b (diff)
glsl/ir_builder: Add rcp builder.
Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Juan A. Suarez Romero <[email protected]>
Diffstat (limited to 'src/compiler/glsl/ir_builder.h')
-rw-r--r--src/compiler/glsl/ir_builder.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/glsl/ir_builder.h b/src/compiler/glsl/ir_builder.h
index 5ee9412f6ef..ff1ff709c9a 100644
--- a/src/compiler/glsl/ir_builder.h
+++ b/src/compiler/glsl/ir_builder.h
@@ -148,6 +148,7 @@ ir_expression *neg(operand a);
ir_expression *sin(operand a);
ir_expression *cos(operand a);
ir_expression *exp(operand a);
+ir_expression *rcp(operand a);
ir_expression *rsq(operand a);
ir_expression *sqrt(operand a);
ir_expression *log(operand a);