intel: Restructure TexSubImage as just the 2D implementation and blit func.
authorEric Anholt <eric@anholt.net>
Tue, 30 Aug 2011 17:31:41 +0000 (10:31 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 30 Aug 2011 21:58:52 +0000 (14:58 -0700)
commit0b96b3ffa92285d281de82442743402cf374973a
tree27262618a7a0f7c08fa78c45ab414eebdf2d7002
parentb26a08402f645aebadfabc91e08eac568e1a40c3
intel: Restructure TexSubImage as just the 2D implementation and blit func.

Fixes a segfault in piglit copyteximage where I accidentally removed
the dst_bo setup in the previous cleanup.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=40474
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Tested-by: Sean McNamara <gm.potato.ul@gmail.com>
Tested-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/intel/intel_tex_subimage.c