Add variable pointers requirement for vktSpvAsmPtrAccessChainTests
authorChris Forbes <chrisforbes@google.com>
Thu, 29 Aug 2019 04:31:39 +0000 (21:31 -0700)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 10 Oct 2019 09:30:15 +0000 (05:30 -0400)
These tests did not check for the variablePointers feature they need.

Components: Vulkan

VK-GL-CTS Issue: 1965

Affects: dEQP-VK.spirv_assembly.instruction.compute.ptr_access_chain.*

Change-Id: Ied75a1c5661755549cc599b2397a18345bc727f9

external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmPtrAccessChainTests.cpp

index 25b2609..6af506b 100644 (file)
@@ -52,6 +52,7 @@ void createTests (tcu::TestCaseGroup* tests, const char* data_dir)
        {
                std::string                                     file            = std::string(cases[i].basename) + ".amber";
                cts_amber::AmberTestCase        *testCase       = cts_amber::createAmberTestCase(testCtx, cases[i].basename, cases[i].description, data_dir, file);
+               testCase->addRequirement("VariablePointerFeatures.variablePointers");
 
                tests->addChild(testCase);
        }