Fix warning introduced by 1.3 changes
authorJames Fitzpatrick <james.fitzpatrick@imgtec.com>
Mon, 20 Sep 2021 13:20:56 +0000 (14:20 +0100)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Fri, 24 Sep 2021 19:56:37 +0000 (19:56 +0000)
Fixes the following warning in vktApiFeatureInfo.cpp, checkSupportFeatureBitInfluence was replaced by a generic function (checkApiVersionSupport<1,2>) in the changes to add 1.3 support.

.../external/vulkancts/modules/vulkan/api/vktApiFeatureInfo.cpp:1536:6: error: unused function 'checkSupportFeatureBitInfluence' [-Werror,-Wunused-function]
void checkSupportFeatureBitInfluence (Context& context)
     ^
1 error generated.

Components: Vulkan

VK-GL-CTS issue: 3132

Change-Id: Ia1996263f5a95730a50098c747c9f425c7e8a239

external/vulkancts/modules/vulkan/api/vktApiFeatureInfo.cpp

index d3e2adf..cd1ceb0 100644 (file)
@@ -1533,12 +1533,6 @@ tcu::TestStatus validateLimitsExtLineRasterization (Context& context)
                return tcu::TestStatus::fail("fail");
 }
 
-void checkSupportFeatureBitInfluence (Context& context)
-{
-       if (!context.contextSupports(vk::ApiVersion(1, 2, 0)))
-               TCU_THROW(NotSupportedError, "At least Vulkan 1.2 required to run test");
-}
-
 tcu::TestStatus validateLimitsMaxInlineUniformTotalSize (Context& context)
 {
        const VkBool32                                                          checkAlways                     = VK_TRUE;