Merge "Clamp lod values when sampling 2D array texture."
[platform/upstream/VK-GL-CTS.git] / external / vulkancts / modules / vulkan / pipeline / vktPipelineTests.cpp
1 /*------------------------------------------------------------------------
2  * Vulkan Conformance Tests
3  * ------------------------
4  *
5  * Copyright (c) 2015 The Khronos Group Inc.
6  * Copyright (c) 2015 Imagination Technologies Ltd.
7  *
8  * Permission is hereby granted, free of charge, to any person obtaining a
9  * copy of this software and/or associated documentation files (the
10  * "Materials"), to deal in the Materials without restriction, including
11  * without limitation the rights to use, copy, modify, merge, publish,
12  * distribute, sublicense, and/or sell copies of the Materials, and to
13  * permit persons to whom the Materials are furnished to do so, subject to
14  * the following conditions:
15  *
16  * The above copyright notice(s) and this permission notice shall be included
17  * in all copies or substantial portions of the Materials.
18  *
19  * The Materials are Confidential Information as defined by the
20  * Khronos Membership Agreement until designated non-confidential by Khronos,
21  * at which point this condition clause shall be removed.
22  *
23  * THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
24  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
25  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
26  * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
27  * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
28  * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
29  * MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
30  *
31  *//*!
32  * \file
33  * \brief Pipeline Tests
34  *//*--------------------------------------------------------------------*/
35
36 #include "vktPipelineTests.hpp"
37 #include "vktPipelineStencilTests.hpp"
38 #include "vktPipelineBlendTests.hpp"
39 #include "vktPipelineDepthTests.hpp"
40 #include "vktPipelineImageTests.hpp"
41 #include "vktPipelineInputAssemblyTests.hpp"
42 #include "vktPipelineSamplerTests.hpp"
43 #include "vktPipelineImageViewTests.hpp"
44 #include "vktPipelinePushConstantTests.hpp"
45 #include "vktPipelineMultisampleTests.hpp"
46 #include "vktPipelineVertexInputTests.hpp"
47 #include "vktPipelineTimestampTests.hpp"
48 #include "deUniquePtr.hpp"
49
50 namespace vkt
51 {
52 namespace pipeline
53 {
54
55 tcu::TestCaseGroup* createTests (tcu::TestContext& testCtx)
56 {
57         de::MovePtr<tcu::TestCaseGroup> pipelineTests (new tcu::TestCaseGroup(testCtx, "pipeline", "Pipeline Tests"));
58
59         pipelineTests->addChild(createStencilTests              (testCtx));
60         pipelineTests->addChild(createBlendTests                (testCtx));
61         pipelineTests->addChild(createDepthTests                (testCtx));
62         pipelineTests->addChild(createImageTests                (testCtx));
63         pipelineTests->addChild(createSamplerTests              (testCtx));
64         pipelineTests->addChild(createImageViewTests    (testCtx));
65         pipelineTests->addChild(createPushConstantTests (testCtx));
66         pipelineTests->addChild(createMultisampleTests  (testCtx));
67         pipelineTests->addChild(createVertexInputTests  (testCtx));
68         pipelineTests->addChild(createInputAssemblyTests(testCtx));
69         pipelineTests->addChild(createTimestampTests    (testCtx));
70
71         return pipelineTests.release();
72 }
73
74 } // pipeline
75 } // vkt