summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/ir_optimization.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2016-06-23 23:16:10 -0700
committerIan Romanick <[email protected]>2016-07-19 12:19:28 -0700
commit3079dcb00c19aa4773d1a1133bd8c4d1a48e4375 (patch)
treedb04acc38731db966d375547d03251d8060e39f7 /src/compiler/glsl/ir_optimization.h
parent4d6d219b58d43f6e14a6f9d7e49a00d437d65343 (diff)
glsl: Add lowering pass for ir_quadop_bitfield_insert
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 9550052d6b0..6fda9f62b71 100644
--- a/src/compiler/glsl/ir_optimization.h
+++ b/src/compiler/glsl/ir_optimization.h
@@ -44,6 +44,7 @@
#define DFREXP_DLDEXP_TO_ARITH 0x1000
#define BIT_COUNT_TO_MATH 0x02000
#define EXTRACT_TO_SHIFTS 0x04000
+#define INSERT_TO_SHIFTS 0x08000
/**
* \see class lower_packing_builtins_visitor