[Mesa-dev] [PATCH 01/11] glsl: Remove unused includes in link_uniform_init.

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


From: Thomas Helland <thomashelland90 at gmail.com>

Found with IWYU, confirmed with grepping for "hash" and "symbol".
No negative effects on compilation.

IWYU also reported core.h and linker.h could be removed,
but I'm unsure if those are false positives.

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

diff --git a/src/glsl/link_uniform_initializers.cpp b/src/glsl/link_uniform_initializers.cpp
index 2100e05..d755cec 100644
--- a/src/glsl/link_uniform_initializers.cpp
+++ b/src/glsl/link_uniform_initializers.cpp
@@ -25,8 +25,6 @@
 #include "ir.h"
 #include "linker.h"
 #include "ir_uniform.h"
-#include "glsl_symbol_table.h"
-#include "program/hash_table.h"
 
 /* These functions are put in a "private" namespace instead of being marked
  * static so that the unit tests can access them.  See
-- 
2.0.0



More information about the mesa-dev mailing list