i965: Combine src/dest tex vs. rb checks in intel_copy_image_sub_data.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 20 May 2016 03:29:04 +0000 (20:29 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 25 May 2016 21:17:29 +0000 (14:17 -0700)
commit2dc98d9a15ba2ca48e6e50f2232f4a9fcd4c312f
tree35a1ee82e052bf91ebc0d6e2e9406276e8ce4780
parent1b39c5efcabb7c4676c57ddc01d37edcce0f2d03
i965: Combine src/dest tex vs. rb checks in intel_copy_image_sub_data.

This simplifies things a little - now we only have one (tex or rb?)
if-ladder for src, and a second for dst, rather than four.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Chris Forbes <chrisforbes@google.com>
src/mesa/drivers/dri/i965/intel_copy_image.c