i965: Account for MinLayer in CopyImageSubData's blitter/CPU paths.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 20 May 2016 02:20:12 +0000 (19:20 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 25 May 2016 21:17:29 +0000 (14:17 -0700)
commit1b39c5efcabb7c4676c57ddc01d37edcce0f2d03
treea2217a04b3a479622a2479c49f9f22e88720b3d4
parent231dcb19f928858ca4143e8b91e4bdc4f220ac87
i965: Account for MinLayer in CopyImageSubData's blitter/CPU paths.

Fixes Piglit's arb_copy_image-texview test with the Meta path disabled
(so we hit the blitter/CPU fallback paths).

v2: Add MinLayer even for cube maps (suggested by Ilia).

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