From 42d30b977dd421437663e953159c42eea146cde9 Mon Sep 17 00:00:00 2001 From: James Fitzpatrick Date: Mon, 20 Sep 2021 14:20:56 +0100 Subject: [PATCH] Fix warning introduced by 1.3 changes 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 | 6 ------ 1 file changed, 6 deletions(-) diff --git a/external/vulkancts/modules/vulkan/api/vktApiFeatureInfo.cpp b/external/vulkancts/modules/vulkan/api/vktApiFeatureInfo.cpp index d3e2adf..cd1ceb0 100644 --- a/external/vulkancts/modules/vulkan/api/vktApiFeatureInfo.cpp +++ b/external/vulkancts/modules/vulkan/api/vktApiFeatureInfo.cpp @@ -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; -- 2.7.4