i965: Enhance intel_texsubimage_tiled_memcpy() to support all levels
authorCourtney Goeltzenleuchter <courtney@lunarg.com>
Fri, 13 Dec 2013 19:12:53 +0000 (12:12 -0700)
committerChad Versace <chad.versace@linux.intel.com>
Mon, 30 Dec 2013 22:57:49 +0000 (14:57 -0800)
commit5a51c1b01a16d3256f9769a76d8293fea5853b1f
tree7e42b4cedcddcc197acb6d6c8f1d6f789ad19744
parent85784fd832f34c9a8ab48a162dc82eb50f9c6d12
i965: Enhance intel_texsubimage_tiled_memcpy() to support all levels

Support all levels of a supported texture format.

Using 1024x1024, RGBA 8888 source, mipmap
internal-format Before (MB/sec)     mipmap (MB/sec)
GL_RGBA 627.15 615.90
GL_RGB 456.35 611.53

512x512
GL_RGBA 597.00 619.95
GL_RGB 440.62 611.28

256x256
GL_RGBA 487.80 587.42
GL_RGB 376.63 585.00

Benchmark has been sent to mesa-dev list: teximage_enh

Signed-off-by: Courtney Goeltzenleuchter <courtney@LunarG.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/i965/intel_tex_subimage.c