summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-08-19 12:00:24 +0100
committerKeith Whitwell <[email protected]>2009-08-19 12:00:24 +0100
commit65079afcde1be96d980b56e86bdd023d8e5a338b (patch)
tree6bdbecf6c35b5056447f921518e4ab19cd2fe168 /src/gallium/auxiliary/tgsi
parent7dc55275922aa52f281b7d8d4a5d776a3799b762 (diff)
tgsi: silence compiler warning
Diffstat (limited to 'src/gallium/auxiliary/tgsi')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_ureg.c2
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.