Merge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master
[platform/upstream/VK-GL-CTS.git] / external / vulkancts / modules / vulkan / dynamic_state / vktDynamicStateTests.cpp
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 "vktTestGroupUtil.hpp"
34
35 namespace vkt
36 {
37 namespace DynamicState
38 {
39
40 namespace
41 {
42
43 void createChildren (tcu::TestCaseGroup* group)
44 {
45         tcu::TestContext&       testCtx         = group->getTestContext();
46
47         group->addChild(new DynamicStateVPTests(testCtx));
48         group->addChild(new DynamicStateRSTests(testCtx));
49         group->addChild(new DynamicStateCBTests(testCtx));
50         group->addChild(new DynamicStateDSTests(testCtx));
51         group->addChild(new DynamicStateGeneralTests(testCtx));
52         group->addChild(createDynamicStateComputeTests(testCtx));
53 }
54
55 } // anonymous
56
57 tcu::TestCaseGroup* createTests (tcu::TestContext& testCtx)
58 {
59         return createTestGroup(testCtx, "dynamic_state", "Dynamic State Tests", createChildren);
60 }
61
62 } // DynamicState
63 } // vkt