i965/tiled_memcpy: Add tiled-to-linear paths
authorSisinty Sasmita Patra <sisinty.patra@intel.com>
Sat, 3 Jan 2015 19:16:08 +0000 (11:16 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 27 Jan 2015 01:29:34 +0000 (17:29 -0800)
commitb52959c6022509514deb672e53c710069eed0237
treeba9708263b9b30d2bffdd3e7114a0aaa26fe57f9
parent009be40b7d9e882ce95f6f76523f8f6d1c21238c
i965/tiled_memcpy: Add tiled-to-linear paths

This commit addes tiled copy functions for coping from tiled memory to
linear memory.  These are very similar to the existing linear-to-tiled
paths.

v2: Jason Ekstrand <jason.ekstrand@intel.com>
   - New commit message
   - Various whitespace fixes
   - Added ptrdiff_t casts as done in commit 225a09790

v3: Jason Ekstrand <jason.ekstrand@intel.com>
   - Fixed a comment

Signed-off-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Chad Versace <chad.versace@intel.com>
src/mesa/drivers/dri/i965/intel_tiled_memcpy.c
src/mesa/drivers/dri/i965/intel_tiled_memcpy.h