summaryrefslogtreecommitdiffstats
path: root/src/mesa/slang/slang_codegen.h
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-08-14 14:58:09 -0700
committerVinson Lee <[email protected]>2010-08-14 14:58:09 -0700
commit586fbc7286edcddc856cd5a21da14a83a460916d (patch)
tree5cb2b7cfff5c058fc0cb804b675a834068522732 /src/mesa/slang/slang_codegen.h
parent10d77f3f6b86eeb3ec1d9736c02335831e5c73c2 (diff)
glsl: Clean up header file inclusion in slang_codegen.h.
Remove mtypes.h. Include glheader.h for GL symbols. Include slang_compile_variable.h for slang_variable symbol. Include slang_typeinfo.h for slang_type_specifier symbol. Include slang_utility.h for slang_atom_pool symbol.
Diffstat (limited to 'src/mesa/slang/slang_codegen.h')
-rw-r--r--src/mesa/slang/slang_codegen.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/slang/slang_codegen.h b/src/mesa/slang/slang_codegen.h
index 461633fe346..ff0279bbfed 100644
--- a/src/mesa/slang/slang_codegen.h
+++ b/src/mesa/slang/slang_codegen.h
@@ -27,9 +27,13 @@
#define SLANG_CODEGEN_H
-#include "main/imports.h"
+#include "main/glheader.h"
#include "slang_compile.h"
+#include "slang_compile_variable.h"
+#include "slang_typeinfo.h"
+#include "slang_utility.h"
+struct slang_function_;
#define MAX_LOOP_DEPTH 30