1 /*-------------------------------------------------------------------------
2 * OpenGL Conformance Test Suite
3 * -----------------------------
4 *
5 * Copyright (c) 2014-2016 The Khronos Group Inc.
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 *
19 */ /*!
20 * \file
21 * \brief
22 */ /*-------------------------------------------------------------------*/
23
24 /*!
25 * \file esextcTextureCubeMapArrayTextureSizeTests.cpp
26 * \brief texture_cube_map_array extension - Texture Size Test (Test 10)
27 */ /*-------------------------------------------------------------------*/
28
29 #include "esextcTextureCubeMapArrayImageTextureSizeTests.hpp"
30 #include "esextcTextureCubeMapArrayImageTextureSize.hpp"
31 #include "glcTestCase.hpp"
32 #include "glwEnums.inl"
33
34 namespace glcts
35 {
36
37 /** Constructor
38 *
39 * @param context Test context
40 * @param name Test case's name
41 * @param description Test case's description
42 **/
TextureCubeMapArrayImageTextureSizeTests(Context & context,const ExtParameters & extParams,const char * name,const char * description)43 TextureCubeMapArrayImageTextureSizeTests::TextureCubeMapArrayImageTextureSizeTests(Context& context,
44 const ExtParameters& extParams,
45 const char* name,
46 const char* description)
47 : TestCaseGroupBase(context, extParams, name, description)
48 {
49 /* Nothing to be done here */
50 }
51
52 /** Deinitializes tests group
53 *
54 **/
deinit(void)55 void TextureCubeMapArrayImageTextureSizeTests::deinit(void)
56 {
57 /* Call base class' deinit() function. */
58 glcts::TestCaseGroupBase::deinit();
59 }
60
61 /** Initializes tests group
62 *
63 **/
init(void)64 void TextureCubeMapArrayImageTextureSizeTests::init(void)
65 {
66 addChild(new TextureCubeMapArrayTextureSizeTFVertexShader(m_context, m_extParams, "texture_size_vertex_sh",
67 "test 10.1"));
68 addChild(new TextureCubeMapArrayTextureSizeTFGeometryShader(m_context, m_extParams, "texture_size_geometry_sh",
69 "test 10.2"));
70 addChild(new TextureCubeMapArrayTextureSizeTFTessControlShader(m_context, m_extParams,
71 "texture_size_tesselation_con_sh", "test 10.3"));
72 addChild(new TextureCubeMapArrayTextureSizeTFTessEvaluationShader(m_context, m_extParams,
73 "texture_size_tesselation_ev_sh", "test 10.4"));
74 addChild(new TextureCubeMapArrayTextureSizeRTFragmentShader(m_context, m_extParams, "texture_size_fragment_sh",
75 "test 10.5"));
76 addChild(new TextureCubeMapArrayTextureSizeRTComputeShader(m_context, m_extParams, "texture_size_compute_sh",
77 "test 10.6"));
78 }
79
80 } // namespace glcts
81