• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef _VKTSHADERBUILTINPRECISIONTESTS_HPP
2 #define _VKTSHADERBUILTINPRECISIONTESTS_HPP
3 /*------------------------------------------------------------------------
4  * Vulkan Conformance Tests
5  * ------------------------
6  *
7  * Copyright (c) 2015 The Khronos Group Inc.
8  * Copyright (c) 2015 Samsung Electronics Co., Ltd.
9  *
10  * Licensed under the Apache License, Version 2.0 (the "License");
11  * you may not use this file except in compliance with the License.
12  * You may obtain a copy of the License at
13  *
14  *      http://www.apache.org/licenses/LICENSE-2.0
15  *
16  * Unless required by applicable law or agreed to in writing, software
17  * distributed under the License is distributed on an "AS IS" BASIS,
18  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19  * See the License for the specific language governing permissions and
20  * limitations under the License.
21  *
22  *//*!
23  * \file
24  * \brief Precision and range tests for builtins and types.
25  *
26  *//*--------------------------------------------------------------------*/
27 
28 #include "tcuDefs.hpp"
29 #include "vktTestCase.hpp"
30 
31 namespace vkt
32 {
33 namespace shaderexecutor
34 {
35 
36 class BuiltinPrecisionTests : public tcu::TestCaseGroup
37 {
38 public:
39 									BuiltinPrecisionTests				(tcu::TestContext& testCtx);
40 	virtual							~BuiltinPrecisionTests				(void);
41 
42 	virtual void					init								(void);
43 
44 private:
45 									BuiltinPrecisionTests				(const BuiltinPrecisionTests&);		// not allowed!
46 	BuiltinPrecisionTests&			operator=							(const BuiltinPrecisionTests&);		// not allowed!
47 };
48 
49 class BuiltinPrecision16BitTests : public tcu::TestCaseGroup
50 {
51 public:
52 									BuiltinPrecision16BitTests			(tcu::TestContext& testCtx);
53 	virtual							~BuiltinPrecision16BitTests			(void);
54 
55 	virtual void					init								(void);
56 
57 private:
58 									BuiltinPrecision16BitTests			(const BuiltinPrecisionTests&);		// not allowed!
59 	BuiltinPrecision16BitTests&		operator=							(const BuiltinPrecisionTests&);		// not allowed!
60 };
61 
62 class BuiltinPrecision16Storage32BitTests : public tcu::TestCaseGroup
63 {
64 public:
65 												BuiltinPrecision16Storage32BitTests	(tcu::TestContext& testCtx);
66 	virtual										~BuiltinPrecision16Storage32BitTests	(void);
67 
68 	virtual void								init(void);
69 
70 private:
71 												BuiltinPrecision16Storage32BitTests	(const BuiltinPrecisionTests&);		// not allowed!
72 	BuiltinPrecision16Storage32BitTests&		operator=								(const BuiltinPrecisionTests&);		// not allowed!
73 };
74 
75 } // shaderexecutor
76 } // vkt
77 
78 #endif // _VKTSHADERBUILTINPRECISIONTESTS_HPP
79