projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de37a00
)
tgsi: Silence uninitialized variable warnings.
author
Vinson Lee
<vlee@vmware.com>
Sat, 9 Jan 2010 04:22:17 +0000
(20:22 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Sat, 9 Jan 2010 04:24:05 +0000
(20:24 -0800)
src/gallium/auxiliary/tgsi/tgsi_exec.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/tgsi/tgsi_exec.c
b/src/gallium/auxiliary/tgsi/tgsi_exec.c
index b7569e74d4b6986ddf172eccdfbb707cb229f2e8..146000adeb4321a540fd39c1353c26a14e752574 100644
(file)
--- a/
src/gallium/auxiliary/tgsi/tgsi_exec.c
+++ b/
src/gallium/auxiliary/tgsi/tgsi_exec.c
@@
-1209,11
+1209,19
@@
fetch_src_file_channel(
default:
assert( 0 );
+ chan->u[0] = 0;
+ chan->u[1] = 0;
+ chan->u[2] = 0;
+ chan->u[3] = 0;
}
break;
default:
assert( 0 );
+ chan->u[0] = 0;
+ chan->u[1] = 0;
+ chan->u[2] = 0;
+ chan->u[3] = 0;
}
}