diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2014-04-28 23:13:08 -0400 |
---|---|---|
committer | Ilia Mirkin <imirkin@alum.mit.edu> | 2014-05-02 12:01:35 -0400 |
commit | 31b92aa2fc9e2e86dd0b24aea10ff55e094301e7 (patch) | |
tree | fbb58db1045e0654b7ec7fc90f386d9d4781a5e2 /src/glsl/ir_optimization.h | |
parent | f64bfb2e3955374be824b8b1bedc422c527105c9 (diff) | |
download | external_mesa3d-31b92aa2fc9e2e86dd0b24aea10ff55e094301e7.zip external_mesa3d-31b92aa2fc9e2e86dd0b24aea10ff55e094301e7.tar.gz external_mesa3d-31b92aa2fc9e2e86dd0b24aea10ff55e094301e7.tar.bz2 |
glsl: add lowering passes for carry/borrow
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/glsl/ir_optimization.h')
-rw-r--r-- | src/glsl/ir_optimization.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/ir_optimization.h b/src/glsl/ir_optimization.h index 30b3d17..c63921c 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 |