diff options
author | Vinson Lee <[email protected]> | 2010-09-15 05:43:50 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-09-15 05:43:50 -0700 |
commit | 66a146dd058284b33c0f8fcbcc8ce7511a34ac46 (patch) | |
tree | cb4320084b5caffafd3b61f51324e789cec3edb5 /src/gallium/drivers/nvfx | |
parent | 9aee4be5e010725f3f06a5638532752c400c2f0f (diff) |
nvfx: Silence uninitialized variable warnings.
Diffstat (limited to 'src/gallium/drivers/nvfx')
-rw-r--r-- | src/gallium/drivers/nvfx/nvfx_fragprog.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_fragprog.c b/src/gallium/drivers/nvfx/nvfx_fragprog.c index 4fda8573df9..d97cab8db19 100644 --- 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; } |