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 
36 namespace vkt
37 {
38 namespace texture
39 {
40 namespace
41 {
42 
createTextureTests(tcu::TestCaseGroup * textureTests)43 void createTextureTests (tcu::TestCaseGroup* textureTests)
44 {
45 	tcu::TestContext&	testCtx	= textureTests->getTestContext();
46 
47 	textureTests->addChild(createTextureFilteringTests			(testCtx));
48 	textureTests->addChild(createTextureMipmappingTests			(testCtx));
49 	textureTests->addChild(createExplicitLodTests				(testCtx));
50 	textureTests->addChild(createTextureShadowTests				(testCtx));
51 	textureTests->addChild(createFilteringAnisotropyTests		(testCtx));
52 	textureTests->addChild(createTextureCompressedFormatTests	(testCtx));
53 	textureTests->addChild(createTextureSwizzleTests			(testCtx));
54 }
55 
56 } // anonymous
57 
createTests(tcu::TestContext & testCtx)58 tcu::TestCaseGroup* createTests (tcu::TestContext& testCtx)
59 {
60 	return createTestGroup(testCtx, "texture", "Texture Tests", createTextureTests);
61 }
62 
63 } // texture
64 } // vkt
65