radv/gfx10: fix maximum number of mip levels for 3D images
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 11 Jul 2019 12:24:37 +0000 (14:24 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 11 Jul 2019 12:44:47 +0000 (14:44 +0200)
commit022b1f419075b9cfb2b68b8231ab66bf57318334
treecc1dd33a5d7898eab45a6f69eb3975029c466794
parentf3dfdd4091dbe821f23fef7141d091f7ffc6e292
radv/gfx10: fix maximum number of mip levels for 3D images

The dimensions also have to be adjusted if the number of supported
mip levels is changed.

This fixes dEQP-VK.api.info.image_format_properties.3d.*.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_formats.c