diff options
author | Ian Romanick <[email protected]> | 2016-10-17 17:55:18 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2017-01-20 15:41:23 -0800 |
commit | 82c31f3eb957a0089773db47a4aca8bf3eb4a29e (patch) | |
tree | 59cb995404757f8e08ba656392da0e276a845930 /src/compiler/glsl/ir_optimization.h | |
parent | 012f2995c307a83212a88ff18e13bf7be006cd77 (diff) |
glsl: Add a lowering pass for 64-bit integer division
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/compiler/glsl/ir_optimization.h')
-rw-r--r-- | src/compiler/glsl/ir_optimization.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/glsl/ir_optimization.h b/src/compiler/glsl/ir_optimization.h index e4f78f038fd..3f0ef7d280c 100644 --- a/src/compiler/glsl/ir_optimization.h +++ b/src/compiler/glsl/ir_optimization.h @@ -53,6 +53,7 @@ /* Opertaions for lower_64bit_integer_instructions() */ #define MUL64 (1U << 0) #define SIGN64 (1U << 1) +#define DIV64 (1U << 2) /** * \see class lower_packing_builtins_visitor |