summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-01-28 00:40:43 -0800
committerVinson Lee <[email protected]>2010-01-28 00:40:43 -0800
commit5dcc088bf16c8c4659e5e7c272ab226f0ed95d75 (patch)
treefa9fb2c2384a0c49e9f81b51d4505b7d559bc35a
parent1eb1d4e23885b4921cff27473aadb93b942865b1 (diff)
tgsi: Silence uninitialized variable warning.
-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 ab557a23f94..b3be3fc412f 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_ureg.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.c
@@ -579,7 +579,7 @@ decl_immediate( struct ureg_program *ureg,
unsigned type )
{
unsigned i, j;
- unsigned swizzle;
+ unsigned swizzle = 0;
/* Could do a first pass where we examine all existing immediates
* without expanding.