summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_builder.h
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2013-08-03 11:33:49 -0700
committerMatt Turner <[email protected]>2013-08-14 17:15:06 -0700
commit6bfb1a8344d58aa47a28cff87f508088233e70f6 (patch)
tree035c8842c456d18b3139e2c757aeed5996946410 /src/glsl/ir_builder.h
parent3d1b01662bd72b33923a60abad98eb9623406cbc (diff)
glsl: Add bitcast_i2f() 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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/ir_builder.h b/src/glsl/ir_builder.h
index 690ac74ebcd..59985beb2c6 100644
--- a/src/glsl/ir_builder.h
+++ b/src/glsl/ir_builder.h
@@ -151,9 +151,13 @@ ir_expression *lshift(operand a, operand b);
ir_expression *rshift(operand a, operand b);
ir_expression *f2i(operand a);
+ir_expression *bitcast_f2i(operand a);
ir_expression *i2f(operand a);
+ir_expression *bitcast_i2f(operand a);
ir_expression *f2u(operand a);
+ir_expression *bitcast_f2u(operand a);
ir_expression *u2f(operand a);
+ir_expression *bitcast_u2f(operand a);
ir_expression *i2u(operand a);
ir_expression *u2i(operand a);