i965/tiled_memcpy: Optimize RGBA -> BGRA swizzle.
authorMatt Turner <mattst88@gmail.com>
Fri, 8 Apr 2016 22:30:30 +0000 (15:30 -0700)
committerMatt Turner <mattst88@gmail.com>
Tue, 12 Apr 2016 21:36:56 +0000 (14:36 -0700)
commit0a5d8d9af42fd77fce1492d55f958da97816961a
tree23d55ac4016c3eab7e3a6651068c7fb22ce921b0
parenta191e6b719848a17963f185954f1696fa5a2bcb1
i965/tiled_memcpy: Optimize RGBA -> BGRA swizzle.

Replaces four byte loads and four byte stores with a load, bswap,
rotate, store; or a movbe, rotate, store.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/mesa/drivers/dri/i965/intel_tiled_memcpy.c