radv/gfx9: fix image resource handling.
authorDave Airlie <airlied@redhat.com>
Tue, 15 Aug 2017 05:35:52 +0000 (15:35 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 13 Sep 2017 07:17:07 +0000 (17:17 +1000)
commit3633bae36b56a8667d31096b3c3472ab388c4fbf
treee1d964c925b7990b897f40d0bba6ccb96fac21b1
parentaba441be44a2e4bb914e805c4cd064c72e4ea038
radv/gfx9: fix image resource handling.

GFX9 changes how images are layed out, so this needs updating.

Fixes: dEQP-VK.query_pool.statistics_query.*
Cc: "17.2" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_image.c