[Mesa-dev] [PATCH 02/10] glsl: add missing include to ir_optimization.h

Timothy Arceri tarceri at itsqueeze.com
Tue Apr 10 04:34:27 UTC 2018


---
 src/compiler/glsl/ir_optimization.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/compiler/glsl/ir_optimization.h b/src/compiler/glsl/ir_optimization.h
index 81049a479e8..f5d2bea0cd5 100644
--- a/src/compiler/glsl/ir_optimization.h
+++ b/src/compiler/glsl/ir_optimization.h
@@ -30,6 +30,8 @@
 #ifndef GLSL_IR_OPTIMIZATION_H
 #define GLSL_IR_OPTIMIZATION_H
 
+#include "ir.h"
+
 /* Operations for lower_instructions() */
 #define SUB_TO_ADD_NEG     0x01
 #define FDIV_TO_MUL_RCP    0x02
-- 
2.17.0



More information about the mesa-dev mailing list