1 /*------------------------------------------------------------------------ 2 * Vulkan Conformance Tests 3 * ------------------------ 4 * 5 * Copyright (c) 2015 The Khronos Group Inc. 6 * Copyright (c) 2015 Intel Corporation 7 * 8 * Licensed under the Apache License, Version 2.0 (the "License"); 9 * you may not use this file except in compliance with the License. 10 * You may obtain a copy of the License at 11 * 12 * http://www.apache.org/licenses/LICENSE-2.0 13 * 14 * Unless required by applicable law or agreed to in writing, software 15 * distributed under the License is distributed on an "AS IS" BASIS, 16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 * See the License for the specific language governing permissions and 18 * limitations under the License. 19 * 20 *//*! 21 * \file 22 * \brief Dynamic State Tests 23 *//*--------------------------------------------------------------------*/ 24 25 #include "vktDynamicStateTests.hpp" 26 27 #include "vktDynamicStateVPTests.hpp" 28 #include "vktDynamicStateRSTests.hpp" 29 #include "vktDynamicStateCBTests.hpp" 30 #include "vktDynamicStateDSTests.hpp" 31 #include "vktDynamicStateGeneralTests.hpp" 32 #include "vktDynamicStateComputeTests.hpp" 33 #include "vktDynamicStateInheritanceTests.hpp" 34 #include "vktTestGroupUtil.hpp" 35 36 namespace vkt 37 { 38 namespace DynamicState 39 { 40 41 namespace 42 { 43 createChildren(tcu::TestCaseGroup * group)44void createChildren (tcu::TestCaseGroup* group) 45 { 46 tcu::TestContext& testCtx = group->getTestContext(); 47 48 group->addChild(new DynamicStateVPTests(testCtx)); 49 group->addChild(new DynamicStateRSTests(testCtx)); 50 group->addChild(new DynamicStateCBTests(testCtx)); 51 group->addChild(new DynamicStateDSTests(testCtx)); 52 group->addChild(new DynamicStateGeneralTests(testCtx)); 53 group->addChild(createDynamicStateComputeTests(testCtx)); 54 group->addChild(new DynamicStateInheritanceTests(testCtx)); 55 } 56 57 } // anonymous 58 createTests(tcu::TestContext & testCtx)59tcu::TestCaseGroup* createTests (tcu::TestContext& testCtx) 60 { 61 return createTestGroup(testCtx, "dynamic_state", "Dynamic State Tests", createChildren); 62 } 63 64 } // DynamicState 65 } // vkt 66