aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/ir_optimization.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2016-10-17 13:55:54 -0700
committerIan Romanick <[email protected]>2017-01-20 15:41:23 -0800
commit50d52df278c547ffd53505a3ebf98f13cba5bd56 (patch)
treedb2258c845386c5fd3c93f549f349c7b6e8c574f /src/compiler/glsl/ir_optimization.h
parent6b03b345eb64e15e577bc8b2cf04b314a4c70537 (diff)
glsl: Add a lowering pass for 64-bit integer sign()
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/glsl/ir_optimization.h b/src/compiler/glsl/ir_optimization.h
index 6fc7ff8ffa6..e4f78f038fd 100644
--- a/src/compiler/glsl/ir_optimization.h
+++ b/src/compiler/glsl/ir_optimization.h
@@ -52,6 +52,7 @@
/* Opertaions for lower_64bit_integer_instructions() */
#define MUL64 (1U << 0)
+#define SIGN64 (1U << 1)
/**
* \see class lower_packing_builtins_visitor