glsl: Clean up header file inclusion in slang_emit.h.
authorVinson Lee <vlee@vmware.com>
Sun, 15 Aug 2010 06:40:42 +0000 (23:40 -0700)
committerVinson Lee <vlee@vmware.com>
Sun, 15 Aug 2010 06:40:42 +0000 (23:40 -0700)
Remove imports.h.
Remove mtypes.h.
Remove slang_compile.h.
Include glheader.h for GL symbols.
Include slang_vartable.h for slang_var_table symbol.

src/mesa/slang/slang_emit.h

index ab4c202..f93d6b0 100644 (file)
 #ifndef SLANG_EMIT_H
 #define SLANG_EMIT_H
 
-
-#include "main/imports.h"
-#include "slang_compile.h"
+#include "main/glheader.h"
 #include "slang_ir.h"
-#include "main/mtypes.h"
+#include "slang_vartable.h"
 
 
 extern GLuint