• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*------------------------------------------------------------------------
2  * Vulkan Conformance Tests
3  * ------------------------
4  *
5  * Copyright (c) 2020 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 Ray Query tests
22  *//*--------------------------------------------------------------------*/
23 
24 #include "vktRayQueryTests.hpp"
25 #include "vktRayQueryBuiltinTests.hpp"
26 #include "vktRayQueryTraversalControlTests.hpp"
27 #include "vktRayQueryAccelerationStructuresTests.hpp"
28 #include "vktRayQueryProceduralGeometryTests.hpp"
29 #include "vktRayQueryWatertightnessTests.hpp"
30 #include "vktRayQueryCullRayFlagsTests.hpp"
31 #include "vktRayQueryMiscTests.hpp"
32 #include "vktRayQueryDirectionTests.hpp"
33 #include "vktRayQueryBarycentricCoordinatesTests.hpp"
34 #include "vktRayQueryNonUniformArgsTests.hpp"
35 
36 #include "deUniquePtr.hpp"
37 
38 #include "tcuTestCase.hpp"
39 
40 namespace vkt
41 {
42 namespace RayQuery
43 {
44 
createTests(tcu::TestContext & testCtx)45 tcu::TestCaseGroup*	createTests (tcu::TestContext& testCtx)
46 {
47 	de::MovePtr<tcu::TestCaseGroup> group(new tcu::TestCaseGroup(testCtx, "ray_query", "Ray query tests"));
48 
49 	group->addChild(createBuiltinTests(testCtx));
50 	group->addChild(createTraversalControlTests(testCtx));
51 	group->addChild(createAccelerationStructuresTests(testCtx));
52 	group->addChild(createProceduralGeometryTests(testCtx));
53 	group->addChild(createAdvancedTests(testCtx));
54 	group->addChild(createWatertightnessTests(testCtx));
55 	group->addChild(createCullRayFlagsTests(testCtx));
56 	group->addChild(createMiscTests(testCtx));
57 	group->addChild(createDirectionLengthTests(testCtx));
58 	group->addChild(createInsideAABBsTests(testCtx));
59 	group->addChild(createBarycentricCoordinatesTests(testCtx));
60 	group->addChild(createNonUniformArgsTests(testCtx));
61 
62 	return group.release();
63 }
64 
65 }	// RayQuery
66 
67 }	// vkt
68