projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac05996
)
glsl: added slang_variable::is_global field
author
Brian Paul
<brianp@vmware.com>
Thu, 25 Jun 2009 20:02:41 +0000
(14:02 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 26 Jun 2009 19:16:34 +0000
(13:16 -0600)
src/mesa/shader/slang/slang_compile_variable.h
patch
|
blob
|
history
diff --git
a/src/mesa/shader/slang/slang_compile_variable.h
b/src/mesa/shader/slang/slang_compile_variable.h
index a667d91b471325f5cce2ac3f370456497dd1a900..b4585599f248219d1efb33e207a3f09eed3d957e 100644
(file)
--- 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 */