summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-06-25 14:02:41 -0600
committerBrian Paul <brianp@vmware.com>2009-06-25 14:03:20 -0600
commit3e839ebc24c9a5c80a088da2016db847a8332b4a (patch)
tree00f754e6a087d22d303ea93a7bdf24780f31edea
parent024adeda67601ced98e6de6caf21a08007dc5003 (diff)
glsl: added slang_variable::is_global field
-rw-r--r--src/mesa/shader/slang/slang_compile_variable.h1
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 */