1 /*------------------------------------------------------------------------ 2 * Vulkan Conformance Tests 3 * ------------------------ 4 * 5 * Copyright (c) 2016 The Khronos Group Inc. 6 * Copyright (c) 2016 Samsung Electronics Co., Ltd. 7 * Copyright (c) 2014 The Android Open Source Project 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 Texture tests. 24 *//*--------------------------------------------------------------------*/ 25 26 #include "vktTextureTests.hpp" 27 #include "vktTestGroupUtil.hpp" 28 #include "vktTextureFilteringTests.hpp" 29 #include "vktTextureMipmapTests.hpp" 30 #include "vktTextureFilteringExplicitLodTests.hpp" 31 #include "vktTextureShadowTests.hpp" 32 #include "vktTextureFilteringAnisotropyTests.hpp" 33 #include "vktTextureCompressedFormatTests.hpp" 34 #include "vktTextureSwizzleTests.hpp" 35 #include "vktTextureSubgroupLodTests.hpp" 36 #include "vktTextureConversionTests.hpp" 37 #include "vktTextureTexelBufferTests.hpp" 38 #include "vktTextureMultisampleTests.hpp" 39 #include "vktTextureTexelOffsetTests.hpp" 40 41 namespace vkt 42 { 43 namespace texture 44 { 45 namespace 46 { 47 createTextureTests(tcu::TestCaseGroup * textureTests)48void createTextureTests (tcu::TestCaseGroup* textureTests) 49 { 50 tcu::TestContext& testCtx = textureTests->getTestContext(); 51 52 textureTests->addChild(createTextureFilteringTests (testCtx)); 53 textureTests->addChild(createTextureMipmappingTests (testCtx)); 54 textureTests->addChild(createExplicitLodTests (testCtx)); 55 textureTests->addChild(createTextureShadowTests (testCtx)); 56 textureTests->addChild(createFilteringAnisotropyTests (testCtx)); 57 textureTests->addChild(createTextureCompressedFormatTests (testCtx)); 58 textureTests->addChild(create3DTextureCompressedFormatTests (testCtx)); 59 textureTests->addChild(createTextureSwizzleTests (testCtx)); 60 textureTests->addChild(createTextureSubgroupLodTests (testCtx)); 61 textureTests->addChild(createTextureConversionTests (testCtx)); 62 textureTests->addChild(createTextureTexelBufferTests (testCtx)); 63 textureTests->addChild(createTextureMultisampleTests (testCtx)); 64 textureTests->addChild(createTextureTexelOffsetTests (testCtx)); 65 } 66 67 } // anonymous 68 createTests(tcu::TestContext & testCtx)69tcu::TestCaseGroup* createTests (tcu::TestContext& testCtx) 70 { 71 return createTestGroup(testCtx, "texture", "Texture Tests", createTextureTests); 72 } 73 74 } // texture 75 } // vkt 76