summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/ir_optimization.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2016-06-24 00:11:26 -0700
committerIan Romanick <[email protected]>2016-07-19 12:19:28 -0700
commitad9acb19c39292de220b4d7dfdd2b5673129517a (patch)
tree65416426d798a670b842ce7454a6bddccba14069 /src/compiler/glsl/ir_optimization.h
parent3079dcb00c19aa4773d1a1133bd8c4d1a48e4375 (diff)
glsl: Add lowering pass for ir_unop_bitfield_reverse
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 6fda9f62b71..77c1260e689 100644
--- a/src/compiler/glsl/ir_optimization.h
+++ b/src/compiler/glsl/ir_optimization.h
@@ -45,6 +45,7 @@
#define BIT_COUNT_TO_MATH 0x02000
#define EXTRACT_TO_SHIFTS 0x04000
#define INSERT_TO_SHIFTS 0x08000
+#define REVERSE_TO_SHIFTS 0x10000
/**
* \see class lower_packing_builtins_visitor