Merge changes I5f7e56e3,I7f88e1da into oreo-cts-dev am: 67694b5635 -s ours am: f0c5b...
[platform/upstream/VK-GL-CTS.git] / modules / gles3 / performance / es3pShaderCompilerTests.cpp
1 /*-------------------------------------------------------------------------
2  * drawElements Quality Program OpenGL ES 3.0 Module
3  * -------------------------------------------------
4  *
5  * Copyright 2014 The Android Open Source Project
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 Shader compiler-related performance tests.
22  *//*--------------------------------------------------------------------*/
23
24 #include "es3pShaderCompilerTests.hpp"
25 #include "es3pShaderCompilationCases.hpp"
26 #include "es3pShaderOptimizationTests.hpp"
27
28 namespace deqp
29 {
30 namespace gles3
31 {
32 namespace Performance
33 {
34
35 ShaderCompilerTests::ShaderCompilerTests (Context& context)
36         : TestCaseGroup(context, "compiler", "Shader Compiler Performance Tests")
37 {
38 }
39
40 ShaderCompilerTests::~ShaderCompilerTests (void)
41 {
42 }
43
44 void ShaderCompilerTests::init (void)
45 {
46         addShaderCompilationPerformanceCases(*this);
47
48         addChild(new ShaderOptimizationTests(m_context));
49 }
50
51 } // Performance
52 } // gles3
53 } // deqp