projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c48ae0b
)
ir_to_mesa: Initialize variable in ir_to_mesa_visitor::visit.
author
Vinson Lee
<vlee@vmware.com>
Sun, 29 Aug 2010 18:31:33 +0000
(11:31 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Sun, 29 Aug 2010 18:31:33 +0000
(11:31 -0700)
Fixes piglit glsl-fs-loop valgrind uninitialized value error on softpipe
and llvmpipe.
src/mesa/program/ir_to_mesa.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/program/ir_to_mesa.cpp
b/src/mesa/program/ir_to_mesa.cpp
index 948f09a851cde25ded3fe7980894347d9df88de2..19f3847ab5b63055f4fb0680b59beeb947dc5a39 100644
(file)
--- a/
src/mesa/program/ir_to_mesa.cpp
+++ b/
src/mesa/program/ir_to_mesa.cpp
@@
-1553,7
+1553,7
@@
void
ir_to_mesa_visitor::visit(ir_constant *ir)
{
ir_to_mesa_src_reg src_reg;
- GLfloat stack_vals[4];
+ GLfloat stack_vals[4]
= { 0 }
;
GLfloat *values = stack_vals;
unsigned int i;