1 /*------------------------------------------------------------------------
2 * Vulkan Conformance Tests
3 * ------------------------
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
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
13 * http://www.apache.org/licenses/LICENSE-2.0
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.
23 * \brief Vulkan shader render test cases
24 *//*--------------------------------------------------------------------*/
26 #include "vktShaderBuiltinTests.hpp"
28 #include "deUniquePtr.hpp"
30 #include "vktShaderBuiltinPrecisionTests.hpp"
31 #include "vktShaderCommonFunctionTests.hpp"
32 #include "vktShaderIntegerFunctionTests.hpp"
33 #include "vktShaderPackingFunctionTests.hpp"
37 namespace shaderexecutor
40 tcu::TestCaseGroup* createBuiltinTests (tcu::TestContext& testCtx)
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"));
45 builtinFunctionTests->addChild(new ShaderCommonFunctionTests(testCtx));
46 builtinFunctionTests->addChild(new ShaderIntegerFunctionTests(testCtx));
47 builtinFunctionTests->addChild(new ShaderPackingFunctionTests(testCtx));
49 builtinTests->addChild(builtinFunctionTests.release());
50 builtinTests->addChild(new BuiltinPrecisionTests(testCtx));
52 return builtinTests.release();