projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
013e4cc
)
nvfx: Silence uninitialized variable warnings.
author
Vinson Lee
<vlee@vmware.com>
Sat, 18 Sep 2010 07:51:07 +0000
(
00:51
-0700)
committer
Vinson Lee
<vlee@vmware.com>
Sat, 18 Sep 2010 07:51:07 +0000
(
00:51
-0700)
src/gallium/drivers/nvfx/nvfx_vertprog.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nvfx/nvfx_vertprog.c
b/src/gallium/drivers/nvfx/nvfx_vertprog.c
index db352de939a2b19dd531c7deeb295807fe72d2dc..e543fda50ef18c7ab413a3fc7dc932ba94a13e18 100644
(file)
--- a/
src/gallium/drivers/nvfx/nvfx_vertprog.c
+++ b/
src/gallium/drivers/nvfx/nvfx_vertprog.c
@@
-377,6
+377,8
@@
tgsi_src(struct nvfx_vpc *vpc, const struct tgsi_full_src_register *fsrc) {
src.swz[2] = fsrc->Register.SwizzleZ;
src.swz[3] = fsrc->Register.SwizzleW;
src.indirect = 0;
+ src.indirect_reg = 0;
+ src.indirect_swz = 0;
if(fsrc->Register.Indirect) {
if(fsrc->Indirect.File == TGSI_FILE_ADDRESS &&