Mesa (master): glsl: Clean up header file inclusion in slang_storage.h.
Vinson Lee
vlee at kemper.freedesktop.org
Mon Aug 16 05:28:51 UTC 2010
Module: Mesa
Branch: master
Commit: 35a27f6fce0d8632c764127bb88f4537ccb9e54f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=35a27f6fce0d8632c764127bb88f4537ccb9e54f
Author: Vinson Lee <vlee at vmware.com>
Date: Sun Aug 15 22:26:27 2010 -0700
glsl: Clean up header file inclusion in slang_storage.h.
Remove slang_compile.h.
Include glheader.h for GL symbols.
Include slang_compile_function.h for slang_function_scope symbol.
Include slang_compile_struct.h for slang_struct_scope symbol.
Include slang_compile_variable.h for slang_variable_scope symbol.
Include slang_typeinfo.h for slang_type_specifier symbol.
Include slang_utility.h for slang_atom_pool symbol.
---
src/mesa/slang/slang_storage.h | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/src/mesa/slang/slang_storage.h b/src/mesa/slang/slang_storage.h
index 1876a36..de1f184 100644
--- a/src/mesa/slang/slang_storage.h
+++ b/src/mesa/slang/slang_storage.h
@@ -25,7 +25,12 @@
#ifndef SLANG_STORAGE_H
#define SLANG_STORAGE_H
-#include "slang_compile.h"
+#include "main/glheader.h"
+#include "slang_compile_function.h"
+#include "slang_compile_struct.h"
+#include "slang_compile_variable.h"
+#include "slang_typeinfo.h"
+#include "slang_utility.h"
/*
More information about the mesa-commit
mailing list