projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1eb1d4e
)
tgsi: Silence uninitialized variable warning.
author
Vinson Lee
<vlee@vmware.com>
Thu, 28 Jan 2010 08:40:43 +0000
(
00:40
-0800)
committer
Vinson Lee
<vlee@vmware.com>
Thu, 28 Jan 2010 08:40:43 +0000
(
00:40
-0800)
src/gallium/auxiliary/tgsi/tgsi_ureg.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/tgsi/tgsi_ureg.c
b/src/gallium/auxiliary/tgsi/tgsi_ureg.c
index ab557a23f94afe9173175c641891465c61f5b634..b3be3fc412fb2c2a2e3373cd4bb86d0ac0e363a5 100644
(file)
--- a/
src/gallium/auxiliary/tgsi/tgsi_ureg.c
+++ b/
src/gallium/auxiliary/tgsi/tgsi_ureg.c
@@
-579,7
+579,7
@@
decl_immediate( struct ureg_program *ureg,
unsigned type )
{
unsigned i, j;
- unsigned swizzle;
+ unsigned swizzle
= 0
;
/* Could do a first pass where we examine all existing immediates
* without expanding.