[Mesa-dev] [PATCH] i965: Remove some tiny dead code from intel_miptree_map_movntdqa
Matt Turner
mattst88 at gmail.com
Fri Nov 8 13:59:31 PST 2013
On Fri, Nov 8, 2013 at 1:55 PM, Chad Versace
<chad.versace at linux.intel.com> wrote:
> 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);
> --
Oh yeah, that is bogus.
Reviewed-by: Matt Turner <mattst88 at gmail.com>
More information about the mesa-dev
mailing list