summaryrefslogtreecommitdiffstats
path: root/src/mesa/slang/slang_print.h
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-08-14 23:14:42 -0700
committerVinson Lee <[email protected]>2010-08-14 23:14:42 -0700
commitf1702b180858856dd4dfb38a3571732ad21de300 (patch)
treed1e34910f3366b18781effe50d77b2607af2cd3a /src/mesa/slang/slang_print.h
parent4fef77c7c5455b983daa93cacf90d2b3baa3967e (diff)
glsl: Include missing headers in slang_print.h.
Include glheader.h for GL symbols. Include slang_compile_function.h for slang_function symbol. Include slang_compile_operation.h for slang_operation symbol. Include slang_compile_variable.h for slang_variable and slang_variable_scope symbols. Include slang_typeinfo.h for slang_type_qualifer and slang_fully_specified_type symbols.
Diffstat (limited to 'src/mesa/slang/slang_print.h')
-rw-r--r--src/mesa/slang/slang_print.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/slang/slang_print.h b/src/mesa/slang/slang_print.h
index 46605c80610..99da3041437 100644
--- a/src/mesa/slang/slang_print.h
+++ b/src/mesa/slang/slang_print.h
@@ -3,6 +3,12 @@
#ifndef SLANG_PRINT
#define SLANG_PRINT
+#include "main/glheader.h"
+#include "slang_compile_function.h"
+#include "slang_compile_operation.h"
+#include "slang_compile_variable.h"
+#include "slang_typeinfo.h"
+
extern void
slang_print_function(const slang_function *f, GLboolean body);