anv: meta_blit2d: adapt texel fetch pitch for fake w-tiled
authorLionel Landwerlin <llandwerlin@gmail.com>
Wed, 24 Aug 2016 16:52:12 +0000 (17:52 +0100)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 24 Aug 2016 18:29:23 +0000 (11:29 -0700)
commit91987c51e31306bcc52d2c9d18895a533ab08822
tree1a4816dda02cc82a49abb726ba9252736968a927
parent87a88f2daabfe14b12d447b3d96b9f8938c5cf03
anv: meta_blit2d: adapt texel fetch pitch for fake w-tiled

We need to compute detiling coordinates using the physical size of W tiling
(128x32) rather than the logical size (64x64).

v2: Correct comment (Jason)

Fixes dEQP-VK.api.copy_and_blit.image_to_image_stencil

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97448
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_meta_blit2d.c