1 /*------------------------------------------------------------------------ 2 * Vulkan Conformance Tests 3 * ------------------------ 4 * 5 * Copyright (c) 2018 The Khronos Group Inc. 6 * Copyright (c) 2018 Danylo Piliaiev <danylo.piliaiev@gmail.com> 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 Conditional Rendering Tests 23 *//*--------------------------------------------------------------------*/ 24 25 #include "vktConditionalTests.hpp" 26 #include "vktTestGroupUtil.hpp" 27 #include "vktConditionalDrawTests.hpp" 28 #include "vktConditionalDispatchTests.hpp" 29 #include "vktConditionalClearAttachmentTests.hpp" 30 #include "vktConditionalDrawAndClearTests.hpp" 31 #include "vktConditionalIgnoreTests.hpp" 32 33 namespace vkt 34 { 35 namespace conditional 36 { 37 38 namespace 39 { 40 createChildren(tcu::TestCaseGroup * group)41void createChildren (tcu::TestCaseGroup* group) 42 { 43 tcu::TestContext& testCtx = group->getTestContext(); 44 45 group->addChild(new ConditionalDrawTests(testCtx)); 46 group->addChild(new ConditionalDispatchTests(testCtx)); 47 group->addChild(new ConditionalClearAttachmentTests(testCtx)); 48 group->addChild(new ConditionalRenderingDrawAndClearTests(testCtx)); 49 group->addChild(new ConditionalIgnoreTests(testCtx)); 50 } 51 52 } // anonymous 53 createTests(tcu::TestContext & testCtx)54tcu::TestCaseGroup* createTests (tcu::TestContext& testCtx) 55 { 56 return createTestGroup(testCtx, "conditional_rendering", "Conditional Rendering Tests", createChildren); 57 } 58 59 } // conditional 60 } // vkt 61