radv/gfx9: set mip0-depth correctly for 2d arrays/3d images
authorDave Airlie <airlied@redhat.com>
Mon, 21 Aug 2017 20:02:03 +0000 (21:02 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 13 Sep 2017 07:16:52 +0000 (17:16 +1000)
commitebd2a5354df64ef504f1e213afd2d6ab9d69a776
treedfc5e02f2d8cac2c0c3ca7ed48f2f8a4d83ed6b5
parent1bcb953e16600e0d9329b678a6eacee98d326547
radv/gfx9: set mip0-depth correctly for 2d arrays/3d images

This field covers the whole resource.

Fixes:
dEQP-VK.pipeline.image.suballocation.sampling_type.combined.view_type.3d.format.*
dEQP-VK.texture.filtering.3d.combinations.*

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_device.c