radv/gfx9: use total levels in texture descriptor
authorDave Airlie <airlied@redhat.com>
Mon, 21 Aug 2017 07:27:25 +0000 (08:27 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 24 Aug 2017 00:14:13 +0000 (01:14 +0100)
commitdf09f1f3cd5110874899ed0f4b4c33ba9b006c50
tree299a89cc45376e02bc7aa5842a7fecf848f5d844
parent6bafb56df69b5804dd113d24285312f266cadae2
radv/gfx9: use total levels in texture descriptor

We need to use all the levels when filling out the gfx9
descriptor.

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