summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/ir_optimization.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2016-06-23 16:16:21 -0700
committerIan Romanick <[email protected]>2016-07-19 12:19:28 -0700
commit7340be8a01ca2df2d8578fa93589dbe5dea37e18 (patch)
treef18be4ba2f09563efcc22b5ba2880ba4b2e5da1c /src/compiler/glsl/ir_optimization.h
parent806add360ff2ffbf70c6a52c64115fcb7ef718bd (diff)
glsl: Add lowering pass for ir_unop_bit_count
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 ba790762a62..c85600345d0 100644
--- a/src/compiler/glsl/ir_optimization.h
+++ b/src/compiler/glsl/ir_optimization.h
@@ -42,6 +42,7 @@
#define SAT_TO_CLAMP 0x400
#define DOPS_TO_DFRAC 0x800
#define DFREXP_DLDEXP_TO_ARITH 0x1000
+#define BIT_COUNT_TO_MATH 0x02000
/**
* \see class lower_packing_builtins_visitor