anv: Properly handle GetImageSubresourceLayout on complex images
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 20 Jul 2018 21:24:17 +0000 (14:24 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 23 Jul 2018 06:24:10 +0000 (23:24 -0700)
commitb99493c6288e060e2caded5124e7d347149704db
treeedf6bef7052b3baff008c61f453551c7068c2afe
parent78f391d343609dca85fdaf1753a3403cf32a3842
anv: Properly handle GetImageSubresourceLayout on complex images

We support mipmapped and arrayed linear images so we need to support
vkGetImageSubresourceLayout on them.  Fortunately, it's just a trivial
call into ISL.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_image.c