Make validation function more robust
authorBoris Zanin <boris.zanin@mobica.com>
Thu, 14 Mar 2019 14:58:34 +0000 (15:58 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 17 May 2019 11:32:42 +0000 (07:32 -0400)
commit9b5f2086e332ea22aa80b060127c2cc93e3d9c7b
tree6795b262921a190d5a0aeb203a82fce18188afe7
parent402815f11c93ce6c81c03f3de3249d20ba2152a0
Make validation function more robust

This change modifies validateSpirV function.
Code should expect spvBinaryToText can leave some
parameters uninitialized (at least pText).
Also expect some other functions to return
uninitialized results (spvValidatorOptionsCreate,
spvContextCreate).

Affects:
 * dEQP-VK.*

Components: Framework, Vulkan

VK-GL-CTS issue: 1645

Change-Id: Ia5af2c5451d33247af2b8934fe4e5391badc8163
external/vulkancts/framework/vulkan/vkSpirVAsm.cpp