Test behaviour of color write enable with colorWriteMask
[platform/upstream/VK-GL-CTS.git] / external / vulkancts / modules / vulkan / fragment_shading_rate / vktFragmentShadingRateTests.cpp
1 /*-------------------------------------------------------------------------
2  * Vulkan Conformance Tests
3  * ------------------------
4  *
5  * Copyright (c) 2015 Google Inc.
6  * Copyright (c) 2019-2020 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 Shading Rate tests
23  *//*--------------------------------------------------------------------*/
24
25 #include "vktFragmentShadingRateTests.hpp"
26 #include "vktFragmentShadingRateBasic.hpp"
27 #include "vktFragmentShadingRatePixelConsistency.hpp"
28 #include "vktTestGroupUtil.hpp"
29
30 namespace vkt
31 {
32 namespace FragmentShadingRate
33 {
34
35 namespace
36 {
37
38 void createChildren (tcu::TestCaseGroup* group)
39 {
40         tcu::TestContext&       testCtx         = group->getTestContext();
41
42         createBasicTests                   (testCtx, group);
43         createPixelConsistencyTests(testCtx, group);
44 }
45
46 } // anonymous
47
48 tcu::TestCaseGroup* createTests (tcu::TestContext& testCtx)
49 {
50         return createTestGroup(testCtx, "fragment_shading_rate", "Fragment shading rate tests", createChildren);
51 }
52
53 } // FragmentShaderInterlock
54 } // vkt