diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-12-12 10:17:58 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-01-06 09:09:20 -0700 |
commit | 9fc529bcff1de621de3f9cb6bf7e2b4f00b26d3a (patch) | |
tree | 43e2030712b5b8edb965241aa92f858f51b3f016 /src/mesa/shader/slang/slang_compile.h | |
parent | a5cd8fef91edf1d23888d0dc074ace91ef3f147a (diff) |
mesa: more glsl type/function movement
(cherry picked from commit 9a174ef4090189e19831092bb2bae4bfc5396968)
Diffstat (limited to 'src/mesa/shader/slang/slang_compile.h')
-rw-r--r-- | src/mesa/shader/slang/slang_compile.h | 7 |
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, |