projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e44c084
)
glsl: init var to silence warning
author
Brian Paul
<brianp@vmware.com>
Wed, 23 Sep 2009 21:44:18 +0000
(15:44 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 24 Sep 2009 16:28:09 +0000
(10:28 -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 349f432decae1ce2f076f74d30c3d7f618371050..703af9f874067a730222e7435992b1cfd7a7ddb2 100644
(file)
--- a/
src/mesa/shader/slang/slang_codegen.c
+++ b/
src/mesa/shader/slang/slang_codegen.c
@@
-2775,7
+2775,7
@@
_slang_gen_while(slang_assemble_ctx * A, slang_operation *oper)
* body code (child[1])
*/
slang_ir_node *loop, *breakIf, *body;
- GLboolean isConst, constTrue;
+ GLboolean isConst, constTrue
= GL_FALSE
;
if (!A->EmitContReturn) {
/* We don't want to emit CONT instructions. If this while-loop has