Vulkan AHB - fix incorrect structure definition
authorTony Zlatinski <tzlatinski@nvidia.com>
Thu, 16 Aug 2018 13:17:28 +0000 (08:17 -0500)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 23 Aug 2018 11:02:29 +0000 (07:02 -0400)
commit00751c0c5fa319c2c9bd8e39f696e6dd7b436180
tree99d82ff792de8bf7dc9db30631f0aed4a743e8e0
parenta46089154137e0939c02bdcabc74f5daa303ffb2
Vulkan AHB - fix incorrect structure definition

Fix a missing VkComponentMapping field of the VkAndroidHardwareBufferFormatPropertiesANDROID
structure. This is causing incorrect values to be populated to the
structure, as well as, a stack overwrite of other stack-located locals.

Affects:
dEQP-VK.api.external.memory.android_hardware_buffer.image_formats.r8g8b8a8_unorm
dEQP-VK.api.external.memory.android_hardware_buffer.image_formats.r5g6b5_unorm_pack16
dEQP-VK.api.external.memory.android_hardware_buffer.image_formats.r16g16b16a16_sfloat
dEQP-VK.api.external.memory.android_hardware_buffer.image_formats.a2b10g10r10_unorm_pack32

Components: Vulkan
VK-GL-CTS issue: 1305
VK-GL-CTS issue: 1316

Change-Id: I81eb1cc605912bf0adebe67b65d7ccdd31236ec9
external/vulkancts/framework/vulkan/vkStrUtilImpl.inl
external/vulkancts/framework/vulkan/vkStructTypes.inl
external/vulkancts/modules/vulkan/api/vktApiExternalMemoryTests.cpp
external/vulkancts/scripts/src/vulkan.h.in