• 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 #include "vktRayQueryOpacityMicromapTests.hpp"
36 
37 #include "deUniquePtr.hpp"
38 
39 #include "tcuTestCase.hpp"
40 
41 namespace vkt
42 {
43 namespace RayQuery
44 {
45 
createTests(tcu::TestContext & testCtx)46 tcu::TestCaseGroup*	createTests (tcu::TestContext& testCtx)
47 {
48 	de::MovePtr<tcu::TestCaseGroup> group(new tcu::TestCaseGroup(testCtx, "ray_query", "Ray query tests"));
49 
50 	group->addChild(createBuiltinTests(testCtx));
51 	group->addChild(createTraversalControlTests(testCtx));
52 	group->addChild(createAccelerationStructuresTests(testCtx));
53 	group->addChild(createProceduralGeometryTests(testCtx));
54 	group->addChild(createAdvancedTests(testCtx));
55 	group->addChild(createWatertightnessTests(testCtx));
56 	group->addChild(createCullRayFlagsTests(testCtx));
57 	group->addChild(createMiscTests(testCtx));
58 	group->addChild(createDirectionLengthTests(testCtx));
59 	group->addChild(createInsideAABBsTests(testCtx));
60 	group->addChild(createBarycentricCoordinatesTests(testCtx));
61 	group->addChild(createNonUniformArgsTests(testCtx));
62 	group->addChild(addHelperInvocationsTests(testCtx));
63 	group->addChild(createOpacityMicromapTests(testCtx));
64 
65 	return group.release();
66 }
67 
68 }	// RayQuery
69 
70 }	// vkt
71