Fix Api version check with loaders
authorMatthew Netsch <quic_mnetsch@quicinc.com>
Fri, 29 Jul 2022 17:43:14 +0000 (10:43 -0700)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Thu, 4 Aug 2022 15:54:26 +0000 (15:54 +0000)
commit297f6f5c400af3b61d783cb4ce08b4798366edfc
tree90069ec4eeaa7e3d8f5ec19848ee98dbb09a0e56
parent56e5dc27253d7f3f9bdc3c44547475ae5ff7464b
Fix Api version check with loaders

Loaders return instance version that they support,
which may be greater than version ICDs support.

Change version check to use device version instead
of instance version for the purposes of verifying if
this version of CTS is legal to be used with the ICD.

Components: Vulkan
VK-GL-CTS Issue: 3863

Affects:
* dEQP-VK.api.version_check.version

Change-Id: I57e9a4aeee0ebda3fee1396c780d03941959ba6f
external/vulkancts/modules/vulkan/api/vktApiVersionCheck.cpp