projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9aee4be
)
nvfx: Silence uninitialized variable warnings.
author
Vinson Lee
<vlee@vmware.com>
Wed, 15 Sep 2010 12:43:50 +0000
(
05:43
-0700)
committer
Vinson Lee
<vlee@vmware.com>
Wed, 15 Sep 2010 12:43:50 +0000
(
05:43
-0700)
src/gallium/drivers/nvfx/nvfx_fragprog.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nvfx/nvfx_fragprog.c
b/src/gallium/drivers/nvfx/nvfx_fragprog.c
index 4fda8573df9200c32d2b1de76673b6f05bba15be..d97cab8db19ddcd0b7421807c7de53c30ebd126e 100644
(file)
--- a/
src/gallium/drivers/nvfx/nvfx_fragprog.c
+++ b/
src/gallium/drivers/nvfx/nvfx_fragprog.c
@@
-432,6
+432,9
@@
tgsi_src(struct nvfx_fpc *fpc, const struct tgsi_full_src_register *fsrc)
src.swz[1] = fsrc->Register.SwizzleY;
src.swz[2] = fsrc->Register.SwizzleZ;
src.swz[3] = fsrc->Register.SwizzleW;
+ src.indirect = 0;
+ src.indirect_reg = 0;
+ src.indirect_swz = 0;
return src;
}