Mesa (master): glsl: Remove unused includes in link_uniform_init.

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


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

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

glsl: Remove unused includes in link_uniform_init.

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.

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/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




More information about the mesa-commit mailing list