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