Workaround for entrypoints tests requiring vendor entrypoints while checking KHR...
authorSÅ‚awomir Cygan <slawomir.cygan@intel.com>
Tue, 16 Feb 2021 15:39:46 +0000 (16:39 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 19 Feb 2021 08:02:00 +0000 (08:02 +0000)
commitf0735d915676f2f4e7a59593061fb1c962b7ca68
tree0dbae37bf8174baa26a14204187058073edf636b
parentfae4b78aafbb6b6b2d048ece0896cfb01221403b
Workaround for entrypoints tests requiring vendor entrypoints while checking KHR extension

This is a workaround for dEQP-VK.api.version_check.entry_points test
requiring vkCmdWriteBufferMarker2AMD and vkGetQueueCheckpointData2NV
entrypoints when checking the VK_KHR_synchronization2 extension.

The true problem is full dependency information is not available to code
generating scripts, which only source vulkan_core.h. (vulkan_core.h seems to
have 1:1 mapping from extenions to entrypoints, having above NV and AMD
entrypoint listed under  VK_KHR_synchronization2).

Such information is encoded in registry XML, currently not used by the code
generating script.

As a workaround do not generate code for entrypoints that have different
vendor suffix than the extension they belong to.

Affects: dEQP-VK.api.version_check.entry_points

VK-GL-CTS Issue: 2795

Components: Vulkan
Change-Id: I5b345c36a49c585263d309ed4645b16a144c327e
external/vulkancts/framework/vulkan/vkExtensionFunctions.inl
external/vulkancts/scripts/gen_framework.py