• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*-------------------------------------------------------------------------
2  * Vulkan Conformance Tests
3  * ------------------------
4  *
5  * Copyright (c) 2015 Google Inc.
6  * Copyright (c) 2019 NVIDIA Corporation
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  *
20  *//*!
21  * \file
22  * \brief Fragment shader interlock tests
23  *//*--------------------------------------------------------------------*/
24 
25 #include "vktFragmentShaderInterlockTests.hpp"
26 #include "vktFragmentShaderInterlockBasic.hpp"
27 #include "vktTestGroupUtil.hpp"
28 
29 namespace vkt
30 {
31 namespace FragmentShaderInterlock
32 {
33 
34 namespace
35 {
36 
createChildren(tcu::TestCaseGroup * group)37 static void createChildren (tcu::TestCaseGroup* group)
38 {
39 	tcu::TestContext&	testCtx		= group->getTestContext();
40 
41 	group->addChild(createBasicTests(testCtx));
42 }
43 
cleanupGroup(tcu::TestCaseGroup * group)44 static void cleanupGroup (tcu::TestCaseGroup* group)
45 {
46 	DE_UNREF(group);
47 	// Destroy singleton objects.
48 	cleanupDevice();
49 }
50 
51 } // anonymous
52 
createTests(tcu::TestContext & testCtx)53 tcu::TestCaseGroup* createTests (tcu::TestContext& testCtx)
54 {
55 	return createTestGroup(testCtx, "fragment_shader_interlock", "Fragment shader interlock tests", createChildren, cleanupGroup);
56 }
57 
58 } // FragmentShaderInterlock
59 } // vkt
60