i965g: Remove dead initialization in precalc_tex.
authorVinson Lee <vlee@vmware.com>
Fri, 16 Jul 2010 08:07:13 +0000 (01:07 -0700)
committerVinson Lee <vlee@vmware.com>
Fri, 16 Jul 2010 08:07:13 +0000 (01:07 -0700)
src/gallium/drivers/i965/brw_wm_fp.c

index 9c67759ad0bb702c0bcf80ddd0633a66898c4f48..f7ee55cc1c85b03b3a37276b0155a726fe978d2a 100644 (file)
@@ -678,7 +678,7 @@ static void precalc_tex( struct brw_wm_compile *c,
                         struct brw_fp_src src0,
                         struct brw_fp_src sampler )
 {
-   struct brw_fp_src coord = src_undef();
+   struct brw_fp_src coord;
    struct brw_fp_dst tmp = dst_undef();
 
    assert(unit < BRW_MAX_TEX_UNIT);