anv/meta: Minimize height of images used for copies
authorNanley Chery <nanley.g.chery@intel.com>
Fri, 4 Mar 2016 19:43:19 +0000 (11:43 -0800)
committerNanley Chery <nanley.g.chery@intel.com>
Wed, 9 Mar 2016 18:57:47 +0000 (10:57 -0800)
commit7ebbc3946ae9cffb3c3db522dcbe2f1041633164
tree0a5aeb9f33afd2e43c72f9eb2f50998d0a367abd
parent248ab61740c4082517424f5aa94b2f4e7b210d76
anv/meta: Minimize height of images used for copies

In addition to demystifying the value being added to the height,
this future-proofs the code for new tiling modes and keeps the
image height as small as possible.

v2: Actually use the smallest height possible.

Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/intel/vulkan/anv_meta_blit.c