summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/ir_optimization.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2016-06-24 01:17:23 -0700
committerIan Romanick <[email protected]>2016-07-19 12:19:29 -0700
commit2a381a3c73be2f2df06f3feee708bf928645cf63 (patch)
tree3f1cc2c1ddd5d4d72c1e9bd483e843395916ec0a /src/compiler/glsl/ir_optimization.h
parentad9acb19c39292de220b4d7dfdd2b5673129517a (diff)
glsl: Add lowering pass for ir_unop_find_lsb
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 77c1260e689..abc326b2646 100644
--- a/src/compiler/glsl/ir_optimization.h
+++ b/src/compiler/glsl/ir_optimization.h
@@ -46,6 +46,7 @@
#define EXTRACT_TO_SHIFTS 0x04000
#define INSERT_TO_SHIFTS 0x08000
#define REVERSE_TO_SHIFTS 0x10000
+#define FIND_LSB_TO_FLOAT_CAST 0x20000
/**
* \see class lower_packing_builtins_visitor