Mesa (master): i965g: Remove dead initialization in precalc_tex.

Vinson Lee vlee at kemper.freedesktop.org
Fri Jul 16 08:08:11 UTC 2010


Module: Mesa
Branch: master
Commit: 4b387ee087470df7bf3672882471cd8d108f33cc
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b387ee087470df7bf3672882471cd8d108f33cc

Author: Vinson Lee <vlee at vmware.com>
Date:   Fri Jul 16 01:07:13 2010 -0700

i965g: Remove dead initialization in precalc_tex.

---

 src/gallium/drivers/i965/brw_wm_fp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/i965/brw_wm_fp.c b/src/gallium/drivers/i965/brw_wm_fp.c
index 9c67759..f7ee55c 100644
--- a/src/gallium/drivers/i965/brw_wm_fp.c
+++ b/src/gallium/drivers/i965/brw_wm_fp.c
@@ -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);




More information about the mesa-commit mailing list