summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/slang_compile.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-12-12 10:17:58 -0700
committerBrian Paul <brian.paul@tungstengraphics.com>2008-12-12 10:17:58 -0700
commit9a174ef4090189e19831092bb2bae4bfc5396968 (patch)
tree84f4e586a8a3e3ff7dfed7f5a9c9ad44012b5314 /src/mesa/shader/slang/slang_compile.h
parentaeeb9bca2712dbf8540486fc584e214a8af4c7c4 (diff)
mesa: more glsl type/function movement
Diffstat (limited to 'src/mesa/shader/slang/slang_compile.h')
-rw-r--r--src/mesa/shader/slang/slang_compile.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_compile.h b/src/mesa/shader/slang/slang_compile.h
index 35e468b44e..d0f0bfc8fb 100644
--- a/src/mesa/shader/slang/slang_compile.h
+++ b/src/mesa/shader/slang/slang_compile.h
@@ -37,6 +37,13 @@
extern "C" {
#endif
+typedef struct slang_name_space_
+{
+ struct slang_function_scope_ *funcs;
+ struct slang_struct_scope_ *structs;
+ struct slang_variable_scope_ *vars;
+} slang_name_space;
+
typedef enum slang_unit_type_
{
SLANG_UNIT_FRAGMENT_SHADER,