i965: Allow glCopyTexSubImage() on depth textures.
authorEric Anholt <eric@anholt.net>
Thu, 23 May 2013 20:40:26 +0000 (13:40 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 28 May 2013 19:40:39 +0000 (12:40 -0700)
commit7638f5578e3fdf37d3b55ca78508b002040b3468
tree18c29d788870de922b0d4f52191c23be318525bd
parent48a22340cfdfe5a8d007f37ffbc39b60184c6187
i965: Allow glCopyTexSubImage() on depth textures.

If the hw is pre-gen5 and can't blit depth, it'll cleanly error out.

Reviewed-and-tested-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/intel/intel_tex_copy.c