From: Kristian Høgsberg Kristensen Date: Tue, 12 Apr 2016 22:23:17 +0000 (-0700) Subject: i965/tiled_memcpy: Fix rgba8_copy_16_aligned_dst() typo X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8ec971a9972e5343cfb28da6f48650caba0a7e50;p=mesa.git i965/tiled_memcpy: Fix rgba8_copy_16_aligned_dst() typo Copy and paste error in commit eafeb8db66dae7619ff3cb039706b990d718cba7: i965/tiled_memcpy: Unroll bytes==64 case. Signed-off-by: Kristian Høgsberg Kristensen Reviewed-by: Matt Turner --- diff --git a/src/mesa/drivers/dri/i965/intel_tiled_memcpy.c b/src/mesa/drivers/dri/i965/intel_tiled_memcpy.c index b61a842b9cc..a549854dce6 100644 --- a/src/mesa/drivers/dri/i965/intel_tiled_memcpy.c +++ b/src/mesa/drivers/dri/i965/intel_tiled_memcpy.c @@ -180,10 +180,10 @@ rgba8_copy_aligned_src(void *dst, const void *src, size_t bytes) #if defined(__SSSE3__) || defined(__SSE2__) if (bytes == 64) { - rgba8_copy_16_aligned_dst(dst + 0, src + 0); - rgba8_copy_16_aligned_dst(dst + 16, src + 16); - rgba8_copy_16_aligned_dst(dst + 32, src + 32); - rgba8_copy_16_aligned_dst(dst + 48, src + 48); + rgba8_copy_16_aligned_src(dst + 0, src + 0); + rgba8_copy_16_aligned_src(dst + 16, src + 16); + rgba8_copy_16_aligned_src(dst + 32, src + 32); + rgba8_copy_16_aligned_src(dst + 48, src + 48); return dst; }