• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*------------------------------------------------------------------------
2  * Vulkan Conformance Tests
3  * ------------------------
4  *
5  * Copyright (c) 2019 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 Tracing tests
22  *//*--------------------------------------------------------------------*/
23 
24 #include "vktRayTracingTests.hpp"
25 #include "vktRayTracingBuiltinTests.hpp"
26 #include "vktRayTracingBuildLargeTests.hpp"
27 #include "vktRayTracingBuildTests.hpp"
28 #include "vktRayTracingCallableShadersTests.hpp"
29 #include "vktRayTracingTraceRaysTests.hpp"
30 #include "vktRayTracingShaderBindingTableTests.hpp"
31 #include "vktRayTracingTraversalControlTests.hpp"
32 #include "vktRayTracingAccelerationStructuresTests.hpp"
33 #include "vktRayTracingProceduralGeometryTests.hpp"
34 #include "vktRayTracingBuildIndirectTests.hpp"
35 #include "vktRayTracingWatertightnessTests.hpp"
36 #include "vktRayTracingPipelineLibraryTests.hpp"
37 #include "vktRayTracingMemGuaranteeTests.hpp"
38 #include "vktRayTracingNullASTests.hpp"
39 #include "vktRayTracingCaptureReplayTests.hpp"
40 #include "vktRayTracingMiscTests.hpp"
41 #include "vktRayTracingComplexControlFlowTests.hpp"
42 #include "vktRayTracingBarrierTests.hpp"
43 #include "vktRayTracingDataSpillTests.hpp"
44 #include "vktRayTracingDirectionTests.hpp"
45 #include "vktRayTracingBarycentricCoordinatesTests.hpp"
46 #include "vktRayTracingNonUniformArgsTests.hpp"
47 
48 #include "deUniquePtr.hpp"
49 
50 #include "tcuTestCase.hpp"
51 
52 namespace vkt
53 {
54 namespace RayTracing
55 {
56 
createTests(tcu::TestContext & testCtx)57 tcu::TestCaseGroup*	createTests (tcu::TestContext& testCtx)
58 {
59 	de::MovePtr<tcu::TestCaseGroup> group(new tcu::TestCaseGroup(testCtx, "ray_tracing_pipeline", "Ray tracing tests"));
60 
61 	group->addChild(createBuiltinTests(testCtx));
62 	group->addChild(createSpecConstantTests(testCtx));
63 	group->addChild(createBuildLargeShaderSetTests(testCtx));
64 	group->addChild(createBuildTests(testCtx));
65 	group->addChild(createCallableShadersTests(testCtx));
66 	group->addChild(createTraceRaysTests(testCtx));
67 	group->addChild(createShaderBindingTableTests(testCtx));
68 	group->addChild(createTraversalControlTests(testCtx));
69 	group->addChild(createAccelerationStructuresTests(testCtx));
70 	group->addChild(createProceduralGeometryTests(testCtx));
71 	group->addChild(createBuildIndirectTests(testCtx));
72 	group->addChild(createWatertightnessTests(testCtx));
73 	group->addChild(createPipelineLibraryTests(testCtx));
74 	group->addChild(createMemGuaranteeTests(testCtx));
75 	group->addChild(createNullAccelerationStructureTests(testCtx));
76 	group->addChild(createCaptureReplayTests(testCtx));
77 	group->addChild(createMiscTests(testCtx));
78 	group->addChild(createComplexControlFlowTests(testCtx));
79 	group->addChild(createBarrierTests(testCtx));
80 	group->addChild(createDataSpillTests(testCtx));
81 	group->addChild(createDirectionLengthTests(testCtx));
82 	group->addChild(createInsideAABBsTests(testCtx));
83 	group->addChild(createBarycentricCoordinatesTests(testCtx));
84 	group->addChild(createNonUniformArgsTests(testCtx));
85 
86 	return group.release();
87 }
88 
89 }	// RayTracing
90 }	// vkt
91