1 /*------------------------------------------------------------------------ 2 * Vulkan Conformance Tests 3 * ------------------------ 4 * 5 * Copyright (c) 2015 The Khronos Group Inc. 6 * Copyright (c) 2015 Imagination Technologies Ltd. 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 Pipeline Tests 23 *//*--------------------------------------------------------------------*/ 24 25 #include "vktPipelineTests.hpp" 26 #include "vktPipelineStencilTests.hpp" 27 #include "vktPipelineBlendTests.hpp" 28 #include "vktPipelineDepthTests.hpp" 29 #include "vktPipelineImageTests.hpp" 30 #include "vktPipelineInputAssemblyTests.hpp" 31 #include "vktPipelineSamplerTests.hpp" 32 #include "vktPipelineImageViewTests.hpp" 33 #include "vktPipelinePushConstantTests.hpp" 34 #include "vktPipelineSpecConstantTests.hpp" 35 #include "vktPipelineMultisampleTests.hpp" 36 #include "vktPipelineMultisampleInterpolationTests.hpp" 37 #include "vktPipelineVertexInputTests.hpp" 38 #include "vktPipelineTimestampTests.hpp" 39 #include "vktPipelineCacheTests.hpp" 40 #include "vktPipelineRenderToImageTests.hpp" 41 #include "vktTestGroupUtil.hpp" 42 43 namespace vkt 44 { 45 namespace pipeline 46 { 47 48 namespace 49 { 50 createChildren(tcu::TestCaseGroup * pipelineTests)51void createChildren (tcu::TestCaseGroup* pipelineTests) 52 { 53 tcu::TestContext& testCtx = pipelineTests->getTestContext(); 54 55 pipelineTests->addChild(createStencilTests (testCtx)); 56 pipelineTests->addChild(createBlendTests (testCtx)); 57 pipelineTests->addChild(createDepthTests (testCtx)); 58 pipelineTests->addChild(createImageTests (testCtx)); 59 pipelineTests->addChild(createSamplerTests (testCtx)); 60 pipelineTests->addChild(createImageViewTests (testCtx)); 61 pipelineTests->addChild(createPushConstantTests (testCtx)); 62 pipelineTests->addChild(createSpecConstantTests (testCtx)); 63 pipelineTests->addChild(createMultisampleTests (testCtx)); 64 pipelineTests->addChild(createMultisampleInterpolationTests (testCtx)); 65 pipelineTests->addChild(createVertexInputTests (testCtx)); 66 pipelineTests->addChild(createInputAssemblyTests (testCtx)); 67 pipelineTests->addChild(createTimestampTests (testCtx)); 68 pipelineTests->addChild(createCacheTests (testCtx)); 69 pipelineTests->addChild(createRenderToImageTests (testCtx)); 70 } 71 72 } // anonymous 73 createTests(tcu::TestContext & testCtx)74tcu::TestCaseGroup* createTests (tcu::TestContext& testCtx) 75 { 76 return createTestGroup(testCtx, "pipeline", "Pipeline Tests", createChildren); 77 } 78 79 } // pipeline 80 } // vkt 81