Module: Mesa Branch: master Commit: 586fbc7286edcddc856cd5a21da14a83a460916d URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=586fbc7286edcddc856cd5a21da14a83a460916d
Author: Vinson Lee <[email protected]> Date: Sat Aug 14 14:58:09 2010 -0700 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. --- src/mesa/slang/slang_codegen.h | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/mesa/slang/slang_codegen.h b/src/mesa/slang/slang_codegen.h index 461633f..ff0279b 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 _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
