glsl: Clean up header file inclusion in slang_compile.h.
authorVinson Lee <vlee@vmware.com>
Sun, 15 Aug 2010 06:32:08 +0000 (23:32 -0700)
committerVinson Lee <vlee@vmware.com>
Sun, 15 Aug 2010 06:32:08 +0000 (23:32 -0700)
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.

src/mesa/slang/slang_compile.h

index 71fcaa39931def57e0c56382de247305adbe278e..6061f878e7541e1ccf605342dfdfb082599630bf 100644 (file)
 #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" {