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