summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_optimization.h
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2014-04-28 23:13:08 -0400
committerIlia Mirkin <[email protected]>2014-05-02 12:01:35 -0400
commit31b92aa2fc9e2e86dd0b24aea10ff55e094301e7 (patch)
treefbb58db1045e0654b7ec7fc90f386d9d4781a5e2 /src/glsl/ir_optimization.h
parentf64bfb2e3955374be824b8b1bedc422c527105c9 (diff)
glsl: add lowering passes for carry/borrow
Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/glsl/ir_optimization.h')
-rw-r--r--src/glsl/ir_optimization.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/ir_optimization.h b/src/glsl/ir_optimization.h
index 30b3d17b4e9..c63921c26ce 100644
--- a/src/glsl/ir_optimization.h
+++ b/src/glsl/ir_optimization.h
@@ -38,6 +38,8 @@
#define INT_DIV_TO_MUL_RCP 0x40
#define BITFIELD_INSERT_TO_BFM_BFI 0x80
#define LDEXP_TO_ARITH 0x100
+#define CARRY_TO_ARITH 0x200
+#define BORROW_TO_ARITH 0x400
/**
* \see class lower_packing_builtins_visitor