Limit the apiVersion of the instance within the CTS framework
authorPiers Daniell <pdaniell@nvidia.com>
Thu, 5 Sep 2019 18:19:24 +0000 (12:19 -0600)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 11 Oct 2019 09:01:22 +0000 (05:01 -0400)
commit94411513e388ea92ce73a90cb3cc7c14d7d1a76a
treef6c807bba7a9ce3fb3dc6cd70da019f15ef5ae8d
parenta83028f213f251e4f8a45160990aaf561fd5edad
Limit the apiVersion of the instance within the CTS framework

This CL allows older CTS tests to run on implementations that
support a newer instance version not supported by this version
of CTS.

The dEQP-VK.api.version_check.version test was modified to
fail if this version of CTS is run on an implementation
it does not support. This is to stop old CTS from passing
on newer implementations, where the newer CTS should have
been used.

Affects:

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

Components: Vulkan

VK-GL-CTS issue: 1979

Change-Id: I97cd17b0aae9b3cba7c2e000d21636ad37c1fd80
external/vulkancts/framework/vulkan/vkBasicTypes.inl
external/vulkancts/modules/vulkan/api/vktApiVersionCheck.cpp
external/vulkancts/modules/vulkan/vktTestCase.cpp
external/vulkancts/modules/vulkan/vktTestCase.hpp
external/vulkancts/scripts/gen_framework.py