aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/slang/slang_compile.h
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-08-14 23:32:08 -0700
committerVinson Lee <[email protected]>2010-08-14 23:32:08 -0700
commit0ef5449832c53f79477672a8b8cbfce212a1eea4 (patch)
tree8d6e3175deb87b5991548bd3f62e5b552564e0cd /src/mesa/slang/slang_compile.h
parent8981fae4c3e4ecfbbc41d2469dc48a360a9fc182 (diff)
glsl: Clean up header file inclusion in slang_compile.h.
Remove imports.h. Remove slang_typeinfo.h. Remove slang_compile_operation.h. Include glheader.h for GL symbols. Include slang_utility.h for slang_atom_pool symbol.
Diffstat (limited to 'src/mesa/slang/slang_compile.h')
-rw-r--r--src/mesa/slang/slang_compile.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/mesa/slang/slang_compile.h b/src/mesa/slang/slang_compile.h
index 71fcaa39931..6061f878e75 100644
--- a/src/mesa/slang/slang_compile.h
+++ b/src/mesa/slang/slang_compile.h
@@ -25,13 +25,14 @@
#if !defined SLANG_COMPILE_H
#define SLANG_COMPILE_H
-#include "main/imports.h"
+#include "main/glheader.h"
#include "main/mtypes.h"
-#include "slang_typeinfo.h"
-#include "slang_compile_variable.h"
-#include "slang_compile_struct.h"
-#include "slang_compile_operation.h"
#include "slang_compile_function.h"
+#include "slang_compile_struct.h"
+#include "slang_compile_variable.h"
+#include "slang_utility.h"
+
+struct slang_code_object_;
#if defined __cplusplus
extern "C" {