diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-12-12 09:56:13 -0700 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-12-12 09:56:13 -0700 |
commit | ade777ea1b62e2280c9f05fa09927a8f9bb63f4f (patch) | |
tree | 8747530242f2b92d4d44dab1a3ad595a7132671f /src/mesa/shader/slang/slang_compile_function.h | |
parent | 1737f2dbdd8d9d6b1da140340323cbf83f7bd592 (diff) |
mesa: checkpoint: GLSL 1.20 array constructors
Diffstat (limited to 'src/mesa/shader/slang/slang_compile_function.h')
-rw-r--r-- | src/mesa/shader/slang/slang_compile_function.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_compile_function.h b/src/mesa/shader/slang/slang_compile_function.h index a59b094e08..7fd697ddc8 100644 --- a/src/mesa/shader/slang/slang_compile_function.h +++ b/src/mesa/shader/slang/slang_compile_function.h @@ -64,12 +64,15 @@ typedef struct slang_function_ slang_variable_scope *parameters; /**< formal parameters AND local vars */ unsigned int param_count; /**< number of formal params (no locals) */ slang_operation *body; /**< The instruction tree */ +#if 0 unsigned int address; /**< Address of this func in memory */ slang_fixup_table fixups; /**< Mem locations which need func's address */ +#endif } slang_function; extern int slang_function_construct(slang_function *); extern void slang_function_destruct(slang_function *); +extern slang_function *slang_new_function(slang_function_kind kind); /** |