diff options
author | Brian Paul <[email protected]> | 2006-11-24 19:01:14 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2006-11-24 19:01:14 +0000 |
commit | e49d06e61955208b9cd3e18469034e7447394b95 (patch) | |
tree | adba3a8148477f400f369cef640b67a9fb2c86bf /src/mesa/shader/slang/slang_compile_variable.h | |
parent | d4c4bdfa1e6bf35c84c4a2d5e18a70dbff11b101 (diff) |
new slang_variable_scope_grow() function
Diffstat (limited to 'src/mesa/shader/slang/slang_compile_variable.h')
-rw-r--r-- | src/mesa/shader/slang/slang_compile_variable.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_compile_variable.h b/src/mesa/shader/slang/slang_compile_variable.h index 2f358860f82..b0910e855ea 100644 --- a/src/mesa/shader/slang/slang_compile_variable.h +++ b/src/mesa/shader/slang/slang_compile_variable.h @@ -81,6 +81,7 @@ typedef struct slang_variable_ GLuint address2; /**< Storage location */ GLuint size; /**< Variable's size in bytes */ GLboolean global; /**< A global var? */ + void *aux; /**< Used during code gen */ } slang_variable; @@ -104,6 +105,8 @@ extern int slang_variable_scope_copy(slang_variable_scope *, const slang_variable_scope *); +slang_variable * +slang_variable_scope_grow(slang_variable_scope *); extern int slang_variable_construct(slang_variable *); |