summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/ir_optimization.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2016-06-24 01:53:33 -0700
committerIan Romanick <[email protected]>2016-07-19 12:19:29 -0700
commit1b5477668a7b1c448f64a69fbb488bcf47c3e029 (patch)
tree5239a7b7631dffa326531c40a8499be759eae3a9 /src/compiler/glsl/ir_optimization.h
parent2a381a3c73be2f2df06f3feee708bf928645cf63 (diff)
glsl: Add lowering pass for ir_unop_find_msb
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 abc326b2646..2c7e6155ecb 100644
--- a/src/compiler/glsl/ir_optimization.h
+++ b/src/compiler/glsl/ir_optimization.h
@@ -47,6 +47,7 @@
#define INSERT_TO_SHIFTS 0x08000
#define REVERSE_TO_SHIFTS 0x10000
#define FIND_LSB_TO_FLOAT_CAST 0x20000
+#define FIND_MSB_TO_FLOAT_CAST 0x40000
/**
* \see class lower_packing_builtins_visitor