Support VK_KHR_portability_enumeration
authorCharles Giessen <charles@lunarg.com>
Wed, 30 Mar 2022 22:41:48 +0000 (16:41 -0600)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Fri, 6 May 2022 15:44:22 +0000 (15:44 +0000)
commitdf479e46638973d4ad6b5080f9b70e550e6d7d4f
tree5005a8303b4b9b4d1b246c63632ae7ea01aa411d
parentd48a55d0b9dd03141cc2900539d0df34271f1f69
Support VK_KHR_portability_enumeration

The portability enumeration extension needs to be enabled if it is
present to allow for CTS to enumerate portability devices.

This commit refactors createDefaultInstance so that it only enumerates
the available instance extensions once instead of twice.

It fixees #3644 by adding VK_KHR_portability_enumeration to the list
of known extensions with the addition of a corresponding json file.

Components: Vulkan

Affected Tests:
All vulkan tests

Change-Id: Ib828ee9f385f2eb2e68e03a6b3b3632443da10df
external/vulkancts/framework/vulkan/vkDeviceUtil.cpp