Apply sRGB conversion to reference in sRGB framebuffer fetch test am: c76765be1f
[platform/upstream/VK-GL-CTS.git] / external / openglcts / modules / gles31 / es31cTextureStorageMultisampleGetActiveUniformTests.hpp
1 #ifndef _ES31CTEXTURESTORAGEMULTISAMPLEGETACTIVEUNIFORMTESTS_HPP
2 #define _ES31CTEXTURESTORAGEMULTISAMPLEGETACTIVEUNIFORMTESTS_HPP
3 /*-------------------------------------------------------------------------
4  * OpenGL Conformance Test Suite
5  * -----------------------------
6  *
7  * Copyright (c) 2014-2016 The Khronos Group Inc.
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
24  */ /*-------------------------------------------------------------------*/
25
26 /**
27  */ /*!
28  * \file  es31cTextureStorageMultisampleGetActiveUniformTests.hpp
29  * \brief Declares test classes for testing glGetActiveUniform() interactions with
30  *        glGetActiveUniform(). (ES3.1 only)
31  */ /*-------------------------------------------------------------------*/
32
33 #include "es31cTextureStorageMultisampleTests.hpp"
34
35 namespace glcts
36 {
37 /** Test case: glGetActiveUniform(): Make sure multisample texture uniform types are
38  *             recognized by ESSL compiler and reported correctly
39  *             by glGetActiveUniform().
40  **/
41 class MultisampleTextureGetActiveUniformSamplersTest : public glcts::TestCase
42 {
43 public:
44         /* Public methods */
45         MultisampleTextureGetActiveUniformSamplersTest(Context& context);
46
47         virtual void                                             deinit();
48         virtual tcu::TestNode::IterateResult iterate();
49
50 private:
51         /* Private methods */
52         void initInternals();
53         void deinitInternals();
54
55         /* Private variables */
56         glw::GLint       fs_id;
57         glw::GLboolean gl_oes_texture_storage_multisample_2d_array_supported;
58         glw::GLint       po_id;
59         glw::GLint       vs_id;
60
61         static const char* fs_body;
62         static const char* fs_body_oes;
63         static const char* vs_body;
64         static const char* vs_body_oes;
65 };
66 } /* glcts namespace */
67
68 #endif // _ES31CTEXTURESTORAGEMULTISAMPLEGETACTIVEUNIFORMTESTS_HPP