Don't use invalid sType as canary value for arrays
authorPiers Daniell <pdaniell@nvidia.com>
Fri, 4 May 2018 22:53:25 +0000 (16:53 -0600)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 18 May 2018 09:38:36 +0000 (05:38 -0400)
commit6370e32eddf6aaaef3fcacd1ca09c7ea8fa1a108
tree95ef6f9bd7bbbf2ec6ed590158783708962a95d5
parent5ab503c62769a1abbb793103c6d1ccdc2be769f9
Don't use invalid sType as canary value for arrays

Using an invalid sType in an array is a violation of Vulkan
valid usage and will fail the test if validation layers
are enabled.

This CL also ensures the property structs passed into the
get functions have their sType initialized correctly.

Affects: dEQP-VK.wsi.display.*

Components: Vulkan

VK-GL-CTS issue: 1155

Change-Id: I4b9b00248265b2e3c7d0b2b652e98d2f0f5a0902
external/vulkancts/modules/vulkan/wsi/vktWsiDisplayTests.cpp