diff options
author | Brian Paul <brianp@vmware.com> | 2009-06-25 14:02:41 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-06-25 14:03:20 -0600 |
commit | 3e839ebc24c9a5c80a088da2016db847a8332b4a (patch) | |
tree | 00f754e6a087d22d303ea93a7bdf24780f31edea | |
parent | 024adeda67601ced98e6de6caf21a08007dc5003 (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 a667d91b47..b4585599f2 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 */ |