diff options
author | Vinson Lee <[email protected]> | 2010-01-28 00:40:43 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-01-28 00:40:43 -0800 |
commit | 5dcc088bf16c8c4659e5e7c272ab226f0ed95d75 (patch) | |
tree | fa9fb2c2384a0c49e9f81b51d4505b7d559bc35a /src/gallium/auxiliary/tgsi/tgsi_ureg.c | |
parent | 1eb1d4e23885b4921cff27473aadb93b942865b1 (diff) |
tgsi: Silence uninitialized variable warning.
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_ureg.c')
-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 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. |