1/*------------------------------------------------------------------------
2 * Vulkan Conformance Tests
3 * ------------------------
4 *
5 * Copyright (c) 2015 The Khronos Group Inc.
6 * Copyright (c) 2015 Samsung Electronics Co., Ltd.
7 * Copyright (c) 2016 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 Vulkan shader render test cases
24 *//*--------------------------------------------------------------------*/
25
26#include "vktShaderBuiltinTests.hpp"
27
28#include "deUniquePtr.hpp"
29
30#include "vktShaderBuiltinPrecisionTests.hpp"
31#include "vktShaderCommonFunctionTests.hpp"
32#include "vktShaderIntegerFunctionTests.hpp"
33#include "vktShaderPackingFunctionTests.hpp"
34
35namespace vkt
36{
37namespace shaderexecutor
38{
39
40tcu::TestCaseGroup* createBuiltinTests (tcu::TestContext& testCtx)
41{
42	de::MovePtr<tcu::TestCaseGroup>	builtinTests			(new tcu::TestCaseGroup(testCtx, "builtin",		"Built-in tests"));
43	de::MovePtr<tcu::TestCaseGroup>	builtinFunctionTests	(new tcu::TestCaseGroup(testCtx, "function",	"Built-in Function Tests"));
44
45	builtinFunctionTests->addChild(new ShaderCommonFunctionTests(testCtx));
46	builtinFunctionTests->addChild(new ShaderIntegerFunctionTests(testCtx));
47	builtinFunctionTests->addChild(new ShaderPackingFunctionTests(testCtx));
48
49	builtinTests->addChild(builtinFunctionTests.release());
50	builtinTests->addChild(new BuiltinPrecisionTests(testCtx));
51
52	return builtinTests.release();
53}
54
55} // shaderexecutor
56} // vkt
57