Fix framework device properties generated code
authorPiers Daniell <pdaniell@nvidia.com>
Wed, 17 Jun 2020 21:21:00 +0000 (15:21 -0600)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 26 Jun 2020 11:14:46 +0000 (07:14 -0400)
commit133c3c4134e5b480a4c0c27b630c4aec0bd3dbc6
treed4bdfaf4bc7b38ace5f02adf2eb39e374b695a34
parenta20baf416c7dd115bdf3307fb9363bdabbb821ce
Fix framework device properties generated code

The gen_framework.py scripts had a few issues:

1) Generated code for non-physical device proprties functions.

2) Failed to generate correct code when it couldn't determine
the actual name of the extension.

3) Generated code that caused core physical device properties,
not part of an extension, to not be filled in.

Affects:

dEQP-VK.* (only initialization)

Components: Framework, Vulkan

VK-GL-CTS issue: 2425

Change-Id: I267eddc86317440007423f73a4744e14eee11ff6
external/vulkancts/framework/vulkan/vkDeviceProperties.cpp
external/vulkancts/framework/vulkan/vkDeviceProperties.inl
external/vulkancts/framework/vulkan/vkDevicePropertiesForContextDecl.inl
external/vulkancts/framework/vulkan/vkDevicePropertiesForContextDefs.inl
external/vulkancts/framework/vulkan/vkDevicePropertiesForDefaultDeviceDefs.inl
external/vulkancts/scripts/gen_framework.py