diff options
author | Ian Romanick <[email protected]> | 2016-10-18 16:47:14 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2017-01-20 15:41:23 -0800 |
commit | 7122d851aa7d4bae028df2ade1e91ba2347e8bfe (patch) | |
tree | 7a51d5a3369a689b24dd28041ef548bbc02fe5b8 /src/compiler/glsl/ir_optimization.h | |
parent | 695b04f7eb24bff108e8d85c476adb5cf9de6f2d (diff) |
glsl: Add a lowering pass for 64-bit integer modulus
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 3f0ef7d280c..d46b9579941 100644 --- a/src/compiler/glsl/ir_optimization.h +++ b/src/compiler/glsl/ir_optimization.h @@ -54,6 +54,7 @@ #define MUL64 (1U << 0) #define SIGN64 (1U << 1) #define DIV64 (1U << 2) +#define MOD64 (1U << 3) /** * \see class lower_packing_builtins_visitor |