summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i965
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-07-16 01:07:13 -0700
committerVinson Lee <vlee@vmware.com>2010-07-16 01:07:13 -0700
commit4b387ee087470df7bf3672882471cd8d108f33cc (patch)
tree54d5a3c9e1cab211e52e5746d17e2d02c7a5ef3c /src/gallium/drivers/i965
parentfe3caa91d3f637bf9cf9f9e7adb992aa8c7ef8e4 (diff)
i965g: Remove dead initialization in precalc_tex.
Diffstat (limited to 'src/gallium/drivers/i965')
-rw-r--r--src/gallium/drivers/i965/brw_wm_fp.c2
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 9c67759ad0..f7ee55cc1c 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);