From 586fbc7286edcddc856cd5a21da14a83a460916d Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Sat, 14 Aug 2010 14:58:09 -0700 Subject: [PATCH] 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 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.30.2