Fix AHB external memory test mip levels
authorAri Suonpaa <ari.suonpaa@siru.fi>
Tue, 14 Sep 2021 10:08:37 +0000 (13:08 +0300)
committerAri Suonpaa <ari.suonpaa@siru.fi>
Tue, 14 Sep 2021 10:08:37 +0000 (13:08 +0300)
commita2090098fa72a3333d32d75c10fe4e2be08b6fbc
treed9f34dd7cecadb5af5c32536ee6c2c7af5877651
parenteb44e3ea50bff752f7ebac8f65c827345c95c4c0
Fix AHB external memory test mip levels

AHB external memory tests were testing mipmaps using a
queried maximum number of supported mipmap levels, but
at the same time using an image size of 64x64.
The number of mip levels need to match the number for a
full mip chain, in this case 7. Now a correct number of
mip levels is used, which also gets rid of a validation
error.

VK-GL-CTS Issue: 3112

Affects:

dEQP-VK.api.external.memory.android_hardware_buffer.image_formats.*

Components: Vulkan
Change-Id: I1c6d09f93c06ac1c52cea283fd86359ccde01e4f
external/vulkancts/modules/vulkan/api/vktApiExternalMemoryTests.cpp