projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5951ab3
)
glsl: fix uninitialized var in _slang_gen_for_without_continue()
author
Brian Paul
<brianp@vmware.com>
Wed, 24 Jun 2009 22:12:20 +0000
(16:12 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 26 Jun 2009 19:16:33 +0000
(13:16 -0600)
src/mesa/shader/slang/slang_codegen.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/slang/slang_codegen.c
b/src/mesa/shader/slang/slang_codegen.c
index 3b58ee4cbd33f9ec88f8e17a6904ecd8eda300ec..4623b6b5bcd131f31bf6c5095bd88bad39aa2af2 100644
(file)
--- a/
src/mesa/shader/slang/slang_codegen.c
+++ b/
src/mesa/shader/slang/slang_codegen.c
@@
-3171,7
+3171,7
@@
_slang_gen_for_without_continue(slang_assemble_ctx *A, slang_operation *oper)
/* declare: bool _condFlag = true */
{
- slang_operation *condDecl;
+ slang_operation *condDecl
= slang_oper_child(top, 0)
;
slang_generate_declaration(A, top->locals, condDecl,
SLANG_SPEC_BOOL, "_condFlag", GL_TRUE);
}