Propagate required features down to the constructor
authorAlexander Galazin <alexander.galazin@arm.com>
Wed, 9 Jan 2019 09:57:07 +0000 (10:57 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Wed, 9 Jan 2019 13:48:30 +0000 (08:48 -0500)
VariablePointers wasn't fully propagated down to the test constructor

Components: Vulkan

VK-GL-CTS issue: 1540

Affects:
dEQP-VK.spirv_assembly.instruction.compute.pointer_parameter.workgroup_memory_variable_pointers

Change-Id: I4d29248ad4c2f38cdda5c31be1be781331433399

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

index 0f3740246017be38396b3c042d6b330f883f5bb2..d7f8927f4e2efbd21b3355b825a2d1bfccd399e1 100644 (file)
@@ -676,6 +676,7 @@ void addComputePointerWorkgroupMemoryVariablePointersTest (tcu::TestCaseGroup* g
 
        spec.assembly                                   = shaderSource;
        spec.numWorkGroups                              = IVec3(1, 1, 1);
+       spec.requestedVulkanFeatures    = requiredFeatures;
 
        group->addChild(new SpvAsmComputeShaderCase(testCtx, "workgroup_memory_variable_pointers", "", spec));
 }