• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*-------------------------------------------------------------------------
2  * Vulkan Conformance Tests
3  * ------------------------
4  *
5  * Copyright (c) 2021 The Khronos Group Inc.
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  *//*!
20  * \file
21  * \brief Safety critical tests
22  *//*--------------------------------------------------------------------*/
23 
24 #include "vktSafetyCriticalTests.hpp"
25 
26 #include "vktTestGroupUtil.hpp"
27 
28 #include "vktSafetyCriticalApiTests.hpp"
29 #include "vktDeviceObjectReservationTests.hpp"
30 #include "vktPipelineIdentifierTests.hpp"
31 #include "vktPipelineCacheSCTests.hpp"
32 #include "vktFaultHandlingTests.hpp"
33 #include "vktCommandPoolMemoryReservationTests.hpp"
34 #include "vktObjectRefreshTests.hpp"
35 #include "vktApplicationParametersTests.hpp"
36 
37 namespace vkt
38 {
39 namespace sc
40 {
41 
42 namespace
43 {
44 
createChildren(tcu::TestCaseGroup * scTests)45 void createChildren (tcu::TestCaseGroup* scTests)
46 {
47 	tcu::TestContext&	testCtx		= scTests->getTestContext();
48 
49 	scTests->addChild(createSafetyCriticalAPITests				(testCtx));
50 	scTests->addChild(createDeviceObjectReservationTests		(testCtx));
51 	scTests->addChild(createPipelineIdentifierTests				(testCtx));
52 	scTests->addChild(createPipelineCacheTests					(testCtx));
53 	scTests->addChild(createFaultHandlingTests					(testCtx));
54 	scTests->addChild(createCommandPoolMemoryReservationTests	(testCtx));
55 	scTests->addChild(createObjectRefreshTests					(testCtx));
56 	scTests->addChild(createApplicationParametersTests			(testCtx));
57 }
58 
59 } // anonymous
60 
createTests(tcu::TestContext & testCtx)61 tcu::TestCaseGroup* createTests (tcu::TestContext& testCtx)
62 {
63 	return createTestGroup(testCtx, "sc", "SC Device Creation Tests", createChildren);
64 }
65 
66 } // sc
67 } // vkt
68