[Mesa-dev] [PATCH 03/11] glsl: Remove unused include in ast_to_hir.cpp

thomashelland90 at gmail.com thomashelland90 at gmail.com
Mon Jun 9 15:57:34 PDT 2014


From: Thomas Helland <thomashelland90 at gmail.com>

Found with IWYU. Comment says it's for struct gl_extensions.
Grepping for gl_extensions shows no uses.
Tested by compiling on my Ivy-bridge system.

Signed-off-by: Thomas Helland <thomashelland90 at gmail.com>
---
 src/glsl/ast_to_hir.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp
index 00a59a5..140bb74 100644
--- a/src/glsl/ast_to_hir.cpp
+++ b/src/glsl/ast_to_hir.cpp
@@ -49,7 +49,6 @@
  * parser (and lexer) sources.
  */
 
-#include "main/core.h" /* for struct gl_extensions */
 #include "glsl_symbol_table.h"
 #include "glsl_parser_extras.h"
 #include "ast.h"
-- 
2.0.0



More information about the mesa-dev mailing list