From: Vinson Lee Date: Sat, 14 Aug 2010 21:58:09 +0000 (-0700) Subject: glsl: Clean up header file inclusion in slang_codegen.h. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=586fbc7286edcddc856cd5a21da14a83a460916d;p=mesa.git 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. --- 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