summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_builder.h
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2013-08-04 14:09:09 -0700
committerMatt Turner <[email protected]>2013-08-14 17:15:06 -0700
commit16be6298c0d7aa1a06903e6768bc74358d339fba (patch)
treeaf42b336aeedc1d7e2f4d6aa977482e18bd1bc0f /src/glsl/ir_builder.h
parent6bfb1a8344d58aa47a28cff87f508088233e70f6 (diff)
glsl: Add abs() to ir_builder.
Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/glsl/ir_builder.h')
-rw-r--r--src/glsl/ir_builder.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/ir_builder.h b/src/glsl/ir_builder.h
index 59985beb2c6..49c2a7382da 100644
--- a/src/glsl/ir_builder.h
+++ b/src/glsl/ir_builder.h
@@ -133,6 +133,7 @@ ir_expression *round_even(operand a);
ir_expression *dot(operand a, operand b);
ir_expression *clamp(operand a, operand b, operand c);
ir_expression *saturate(operand a);
+ir_expression *abs(operand a);
ir_expression *equal(operand a, operand b);
ir_expression *less(operand a, operand b);