projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bde088
)
init A.curFuncEndLabel = NULL
author
Brian
<brian@yutani.localnet.net>
Thu, 19 Apr 2007 20:04:30 +0000
(14:04 -0600)
committer
Brian
<brian@yutani.localnet.net>
Thu, 19 Apr 2007 20:04:30 +0000
(14:04 -0600)
src/mesa/shader/slang/slang_compile.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/slang/slang_compile.c
b/src/mesa/shader/slang/slang_compile.c
index d3f6986543e47bf72176a99a4c99ce0b25aabe33..7ea6cc064edb132bcd6ffffaf27eba718e136930 100644
(file)
--- a/
src/mesa/shader/slang/slang_compile.c
+++ b/
src/mesa/shader/slang/slang_compile.c
@@
-1617,6
+1617,7
@@
parse_init_declarator(slang_parse_ctx * C, slang_output_ctx * O,
A.space.vars = O->vars;
A.program = O->program;
A.vartable = O->vartable;
+ A.curFuncEndLabel = NULL;
_slang_codegen_global_variable(&A, var, C->type);
}