projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddc3aa0
)
ir_to_mesa: Fix uninitalized value.
author
Kenneth Graunke
<kenneth@whitecape.org>
Fri, 2 Jul 2010 09:50:40 +0000
(
02:50
-0700)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Sat, 3 Jul 2010 01:03:58 +0000
(18:03 -0700)
src/mesa/shader/ir_to_mesa.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/shader/ir_to_mesa.cpp
b/src/mesa/shader/ir_to_mesa.cpp
index 87d6f8452a26f8cad4b687ed41b3542866a52314..547b18402f90c6db242a59262cc4e20760a55f95 100644
(file)
--- a/
src/mesa/shader/ir_to_mesa.cpp
+++ b/
src/mesa/shader/ir_to_mesa.cpp
@@
-1546,7
+1546,7
@@
static void
set_branchtargets(struct prog_instruction *mesa_instructions,
int num_instructions)
{
- int if_count = 0, loop_count;
+ int if_count = 0, loop_count
= 0
;
int *if_stack, *loop_stack;
int if_stack_pos = 0, loop_stack_pos = 0;
int i, j;