diff options
author | Keith Whitwell <[email protected]> | 2009-08-19 12:00:24 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-08-19 12:00:24 +0100 |
commit | 65079afcde1be96d980b56e86bdd023d8e5a338b (patch) | |
tree | 6bdbecf6c35b5056447f921518e4ab19cd2fe168 /src | |
parent | 7dc55275922aa52f281b7d8d4a5d776a3799b762 (diff) |
tgsi: silence compiler warning
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_ureg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.c b/src/gallium/auxiliary/tgsi/tgsi_ureg.c index 2121f4d77cf..bbe06bfd7c6 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_ureg.c +++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.c @@ -393,7 +393,7 @@ struct ureg_src ureg_DECL_immediate( struct ureg_program *ureg, unsigned nr ) { unsigned i; - unsigned swizzle; + unsigned swizzle = 0; /* Could do a first pass where we examine all existing immediates * without expanding. |