glsl: Clean up header file inclusion in slang_codegen.h.
authorVinson Lee <vlee@vmware.com>
Sat, 14 Aug 2010 21:58:09 +0000 (14:58 -0700)
committerVinson Lee <vlee@vmware.com>
Sat, 14 Aug 2010 21:58:09 +0000 (14:58 -0700)
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.

src/mesa/slang/slang_codegen.h

index 461633fe346fb9a0f84bc246410656703bb405bf..ff0279bbfed3bd04cddb14cd36c2f03157616d82 100644 (file)
 #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