diff options
author | Vinson Lee <[email protected]> | 2010-09-18 00:51:07 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-09-18 00:51:07 -0700 |
commit | b1a5c63467b01265c8652862053b7f2f90dc8044 (patch) | |
tree | a2d0cdb921746dae6ab649cf2dc3cd3498b7c3d7 /src | |
parent | 013e4cca9f9c74e52f8372b500fb3ff07c692a61 (diff) |
nvfx: Silence uninitialized variable warnings.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/nvfx/nvfx_vertprog.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_vertprog.c b/src/gallium/drivers/nvfx/nvfx_vertprog.c index db352de939a..e543fda50ef 100644 --- 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 && |