summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/ir_expression_flattening.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/glsl/ir_expression_flattening.h')
-rw-r--r--src/compiler/glsl/ir_expression_flattening.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compiler/glsl/ir_expression_flattening.h b/src/compiler/glsl/ir_expression_flattening.h
index 2eda1590001..e75bdfd8420 100644
--- a/src/compiler/glsl/ir_expression_flattening.h
+++ b/src/compiler/glsl/ir_expression_flattening.h
@@ -34,5 +34,10 @@
* instruction stream.
*/
+#ifndef GLSL_IR_EXPRESSION_FLATTENING_H
+#define GLSL_IR_EXPRESSION_FLATTENING_H
+
void do_expression_flattening(exec_list *instructions,
bool (*predicate)(ir_instruction *ir));
+
+#endif /* GLSL_IR_EXPRESSION_FLATTENING_H */