[Mesa-dev] [PATCH] i965: Remove some tiny dead code from intel_miptree_map_movntdqa

Chad Versace chad.versace at linux.intel.com
Fri Nov 8 13:55:03 PST 2013


CC: Matt Turner <mattst88 at gmail.com>
Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
---
 src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
index 3f56086..bb986bd 100644
--- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
+++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
@@ -1891,9 +1891,6 @@ intel_miptree_map_movntdqa(struct brw_context *brw,
       void *src_ptr = src + y * mt->region->pitch;
 
       _mesa_streaming_load_memcpy(dst_ptr, src_ptr, width_bytes);
-
-      dst_ptr += width_bytes;
-      src_ptr += width_bytes;
    }
 
    intel_miptree_unmap_raw(brw, mt);
-- 
1.8.3.1



More information about the mesa-dev mailing list