intel: Fix intel_texsubimage_tiled_memcpy to skip GL_EXT_unpack_subimage case
authorRob Bradford <rob@linux.intel.com>
Tue, 2 Oct 2012 13:18:39 +0000 (14:18 +0100)
committerChad Versace <chad.versace@linux.intel.com>
Wed, 3 Oct 2012 23:44:22 +0000 (16:44 -0700)
commit185d6df3c10a7ff5defe163af614bfc41088910b
tree20145442a72d6269ee96bfaf8286703d3bc9dff7
parent31ab61cac10bf75210134b6d8a354ac3cbd3b4da
intel: Fix intel_texsubimage_tiled_memcpy to skip GL_EXT_unpack_subimage case

413c49141 added an optimisation to improve the performance of teximage
under a limited set of circumstances. If GL_EXT_unpack_subimage has been
used then we we must also skip this optimisation since the optimised
codepath does not take the packing values into consideration.

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/intel/intel_tex_subimage.c