summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_optimization.h
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2014-07-17 17:59:32 -0400
committerIlia Mirkin <[email protected]>2015-02-19 00:28:35 -0500
commit2e7e7b8af6cb9055204e196db9902ec9991cd538 (patch)
tree100e629644a5e74608d1f0cfcdf39a6d4dcd7b1d /src/glsl/ir_optimization.h
parentfffbf371242b07ff157b88792ab65d82c785de78 (diff)
glsl: add a lowering pass for frexp/ldexp with double arguments
Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/glsl/ir_optimization.h')
-rw-r--r--src/glsl/ir_optimization.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/ir_optimization.h b/src/glsl/ir_optimization.h
index 9f91e2f98af..7eb861ae560 100644
--- a/src/glsl/ir_optimization.h
+++ b/src/glsl/ir_optimization.h
@@ -42,6 +42,7 @@
#define BORROW_TO_ARITH 0x400
#define SAT_TO_CLAMP 0x800
#define DOPS_TO_DFRAC 0x1000
+#define DFREXP_DLDEXP_TO_ARITH 0x2000
/**
* \see class lower_packing_builtins_visitor