Mesa (master): glsl: Remove unused include in ast_to_hir.cpp

Matt Turner mattst88 at kemper.freedesktop.org
Tue Jun 10 20:08:07 UTC 2014


Module: Mesa
Branch: master
Commit: 6f385d93715a1685024d18df3944b560e5d38d00
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6f385d93715a1685024d18df3944b560e5d38d00

Author: Thomas Helland <thomashelland90 at gmail.com>
Date:   Tue Jun 10 00:57:34 2014 +0200

glsl: Remove unused include in ast_to_hir.cpp

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.

Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
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"




More information about the mesa-commit mailing list