summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir.h
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2013-08-22 13:31:18 -0700
committerMatt Turner <[email protected]>2013-09-17 16:59:05 -0700
commitb2ab840130677bbe7b67de4727fcd91ee6506bb8 (patch)
tree5160561da43809a9c7df2b2c40c6e6cb73d6fa93 /src/glsl/ir.h
parent4b0488ef4e3e4562c8e383282e0d2db183dfc5c1 (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.h')
-rw-r--r--src/glsl/ir.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h
index 2637b40e28b..b0e77327711 100644
--- a/src/glsl/ir.h
+++ b/src/glsl/ir.h
@@ -1175,6 +1175,13 @@ enum ir_expression_operation {
ir_binop_ubo_load,
/**
+ * \name Multiplies a number by two to a power, part of ARB_gpu_shader5.
+ */
+ /*@{*/
+ ir_binop_ldexp,
+ /*@}*/
+
+ /**
* Extract a scalar from a vector
*
* operand0 is the vector