diff options
author | marha <marha@users.sourceforge.net> | 2011-09-01 08:06:37 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-09-01 08:06:37 +0200 |
commit | 746359d2f7e675a0bfc48a4ba6f8200cace98df2 (patch) | |
tree | be9e3cd02e43b69c70432036c3c6f90c11a4be7f /mesalib/src/glsl/ir_optimization.h | |
parent | d14fe6598b87092374b1be6eb655153d270c3066 (diff) | |
download | vcxsrv-746359d2f7e675a0bfc48a4ba6f8200cace98df2.tar.gz vcxsrv-746359d2f7e675a0bfc48a4ba6f8200cace98df2.tar.bz2 vcxsrv-746359d2f7e675a0bfc48a4ba6f8200cace98df2.zip |
mesa git update 1 Sep 2011
Diffstat (limited to 'mesalib/src/glsl/ir_optimization.h')
-rw-r--r-- | mesalib/src/glsl/ir_optimization.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/mesalib/src/glsl/ir_optimization.h b/mesalib/src/glsl/ir_optimization.h index f7808bdda..48448d4a1 100644 --- a/mesalib/src/glsl/ir_optimization.h +++ b/mesalib/src/glsl/ir_optimization.h @@ -29,12 +29,13 @@ */ /* Operations for lower_instructions() */ -#define SUB_TO_ADD_NEG 0x01 -#define DIV_TO_MUL_RCP 0x02 -#define EXP_TO_EXP2 0x04 -#define POW_TO_EXP2 0x08 -#define LOG_TO_LOG2 0x10 -#define MOD_TO_FRACT 0x20 +#define SUB_TO_ADD_NEG 0x01 +#define DIV_TO_MUL_RCP 0x02 +#define EXP_TO_EXP2 0x04 +#define POW_TO_EXP2 0x08 +#define LOG_TO_LOG2 0x10 +#define MOD_TO_FRACT 0x20 +#define INT_DIV_TO_MUL_RCP 0x40 bool do_common_optimization(exec_list *ir, bool linked, unsigned max_unroll_iterations); |