summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2007-04-19 14:04:30 -0600
committerBrian <brian@yutani.localnet.net>2007-04-19 14:04:30 -0600
commit4abcaf3949a7ad9580a05d6029f2289adb4bcf03 (patch)
tree9629f3939b6599e1cb9437acc0640020ebf5531e /src/mesa/shader/slang
parent6bde08815fae2a5ba95e0446d8c73040d1f321bc (diff)
init A.curFuncEndLabel = NULL
Diffstat (limited to 'src/mesa/shader/slang')
-rw-r--r--src/mesa/shader/slang/slang_compile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_compile.c b/src/mesa/shader/slang/slang_compile.c
index d3f6986543..7ea6cc064e 100644
--- 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);
}