diff options
author | Brian Paul <[email protected]> | 2009-06-25 14:02:41 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-06-26 13:16:34 -0600 |
commit | 16787c513b677d850ecce9697d81814a2a48fc7f (patch) | |
tree | 263c7a80adb31e2baa61dd6884ae710381f1c6a6 | |
parent | ac05996b812657bdc04e0ec0d09bd638826f52d6 (diff) |
glsl: added slang_variable::is_global field
-rw-r--r-- | src/mesa/shader/slang/slang_compile_variable.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_compile_variable.h b/src/mesa/shader/slang/slang_compile_variable.h index a667d91b471..b4585599f24 100644 --- a/src/mesa/shader/slang/slang_compile_variable.h +++ b/src/mesa/shader/slang/slang_compile_variable.h @@ -39,6 +39,7 @@ typedef struct slang_variable_ GLuint array_len; /**< only if type == SLANG_SPEC_ARRAy */ struct slang_operation_ *initializer; /**< Optional initializer code */ GLuint size; /**< Variable's size in bytes */ + GLboolean is_global; GLboolean isTemp; /**< a named temporary (__resultTmp) */ GLboolean declared; /**< for debug */ struct slang_ir_storage_ *store; /**< Storage for this var */ |