Merge "Fix internal format/type for 3D + depth/stencil negative API tests." into...
[platform/upstream/VK-GL-CTS.git] / external / vulkancts / modules / vulkan / pipeline / vktPipelineTests.cpp
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 "vktPipelineMultisampleTests.hpp"
35 #include "vktPipelineVertexInputTests.hpp"
36 #include "vktPipelineTimestampTests.hpp"
37 #include "vktPipelineEarlyFragmentTests.hpp"
38 #include "vktPipelineCacheTests.hpp"
39 #include "vktTestGroupUtil.hpp"
40
41 namespace vkt
42 {
43 namespace pipeline
44 {
45
46 namespace
47 {
48
49 void createChildren (tcu::TestCaseGroup* pipelineTests)
50 {
51         tcu::TestContext&       testCtx = pipelineTests->getTestContext();
52
53         pipelineTests->addChild(createStencilTests              (testCtx));
54         pipelineTests->addChild(createBlendTests                (testCtx));
55         pipelineTests->addChild(createDepthTests                (testCtx));
56         pipelineTests->addChild(createImageTests                (testCtx));
57         pipelineTests->addChild(createSamplerTests              (testCtx));
58         pipelineTests->addChild(createImageViewTests    (testCtx));
59         pipelineTests->addChild(createPushConstantTests (testCtx));
60         pipelineTests->addChild(createMultisampleTests  (testCtx));
61         pipelineTests->addChild(createVertexInputTests  (testCtx));
62         pipelineTests->addChild(createInputAssemblyTests(testCtx));
63         pipelineTests->addChild(createTimestampTests    (testCtx));
64         pipelineTests->addChild(createEarlyFragmentTests(testCtx));
65         pipelineTests->addChild(createCacheTests                (testCtx));
66 }
67
68 } // anonymous
69
70 tcu::TestCaseGroup* createTests (tcu::TestContext& testCtx)
71 {
72         return createTestGroup(testCtx, "pipeline", "Pipeline Tests", createChildren);
73 }
74
75 } // pipeline
76 } // vkt