1 /*------------------------------------------------------------------------ 2 * OpenGL Conformance Tests 3 * ------------------------ 4 * 5 * Copyright (c) 2017-2019 The Khronos Group Inc. 6 * Copyright (c) 2017 Codeplay Software Ltd. 7 * Copyright (c) 2019 NVIDIA Corporation. 8 * 9 * Licensed under the Apache License, Version 2.0 (the "License"); 10 * you may not use this file except in compliance with the License. 11 * You may obtain a copy of the License at 12 * 13 * http://www.apache.org/licenses/LICENSE-2.0 14 * 15 * Unless required by applicable law or agreed to in writing, software 16 * distributed under the License is distributed on an "AS IS" BASIS, 17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 * See the License for the specific language governing permissions and 19 * limitations under the License. 20 * 21 */ /*! 22 * \file 23 * \brief Subgroups Tests 24 */ /*--------------------------------------------------------------------*/ 25 26 #include "glcSubgroupsTests.hpp" 27 #include "glcSubgroupsBuiltinVarTests.hpp" 28 #include "glcSubgroupsBuiltinMaskVarTests.hpp" 29 #include "glcSubgroupsBasicTests.hpp" 30 #include "glcSubgroupsVoteTests.hpp" 31 #include "glcSubgroupsBallotTests.hpp" 32 #include "glcSubgroupsBallotBroadcastTests.hpp" 33 #include "glcSubgroupsBallotOtherTests.hpp" 34 #include "glcSubgroupsArithmeticTests.hpp" 35 #include "glcSubgroupsClusteredTests.hpp" 36 #include "glcSubgroupsPartitionedTests.hpp" 37 #include "glcSubgroupsShuffleTests.hpp" 38 #include "glcSubgroupsQuadTests.hpp" 39 #include "glcSubgroupsShapeTests.hpp" 40 //#include "glcTestGroupUtil.hpp" 41 42 namespace glc 43 { 44 namespace subgroups 45 { 46 47 /** Constructor. 48 * 49 * @param context Rendering context. 50 */ GlSubgroupTests(deqp::Context & context)51GlSubgroupTests::GlSubgroupTests(deqp::Context& context) 52 : TestCaseGroup(context, "subgroups", "Shader Subgroup Operation tests") 53 { 54 } 55 56 /** Initializes the test group contents. */ init()57void GlSubgroupTests::init() 58 { 59 addChild(createSubgroupsBuiltinVarTests(m_context)); 60 addChild(createSubgroupsBuiltinMaskVarTests(m_context)); 61 addChild(createSubgroupsBasicTests(m_context)); 62 addChild(createSubgroupsVoteTests(m_context)); 63 addChild(createSubgroupsBallotTests(m_context)); 64 addChild(createSubgroupsBallotBroadcastTests(m_context)); 65 addChild(createSubgroupsBallotOtherTests(m_context)); 66 addChild(createSubgroupsArithmeticTests(m_context)); 67 addChild(createSubgroupsClusteredTests(m_context)); 68 addChild(createSubgroupsPartitionedTests(m_context)); 69 addChild(createSubgroupsShuffleTests(m_context)); 70 addChild(createSubgroupsQuadTests(m_context)); 71 addChild(createSubgroupsShapeTests(m_context)); 72 } 73 74 } // subgroups 75 } // glc 76