radv: don't use iview for meta image width/height.
authorDave Airlie <airlied@redhat.com>
Tue, 22 Aug 2017 03:35:53 +0000 (13:35 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 12 Sep 2017 22:40:18 +0000 (08:40 +1000)
commit2f5b4490b59062f224e73f7a2d5cc0d8bd8eaa7b
treed27f29f8a0b2b17ed4f541671dd802251042dc8c
parentd496780fb2c7f2cf0e32b6a79dc528e5156dfcb3
radv: don't use iview for meta image width/height.

Work out the width/height from the level manually, as on GFX9
we won't minify the iview width/height.

This fixes:
dEQP-VK.api.image_clearing.core.clear_color_image* on gfx9

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Cc: "17.2" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_meta_blit.c
src/amd/vulkan/radv_meta_clear.c