1 /* 2 * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 #include <climits> 17 #include <gtest/gtest.h> 18 #include "../Khrgles2BaseFunc.h" 19 #include "../ActsKhrgles20001TestSuite.h" 20 #include "shrinkdefine.h" 21 22 using namespace std; 23 using namespace testing::ext; 24 using namespace OHOS; 25 26 static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000003, 27 "KHR-GLES2.shaders.aggressive", 28 "_optimizations.sin_float_vert"); 29 30 static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000004, 31 "KHR-GLES2.shaders.aggressive", 32 "_optimizations.sin_float_frag"); 33 34 static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000005, 35 "KHR-GLES2.shaders.aggressive", 36 "_optimizations.sin_vec2_vert"); 37 38 static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000006, 39 "KHR-GLES2.shaders.aggressive", 40 "_optimizations.sin_vec2_frag"); 41 42 static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000007, 43 "KHR-GLES2.shaders.aggressive", 44 "_optimizations.sin_vec3_vert"); 45 46 static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000008, 47 "KHR-GLES2.shaders.aggressive", 48 "_optimizations.sin_vec3_frag"); 49 50 static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000009, 51 "KHR-GLES2.shaders.aggressive", 52 "_optimizations.cos_float_vert"); 53 54 static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000010, 55 "KHR-GLES2.shaders.aggressive", 56 "_optimizations.cos_float_frag"); 57 58 static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000011, 59 "KHR-GLES2.shaders.aggressive", 60 "_optimizations.cos_vec2_vert"); 61 62 static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000012, 63 "KHR-GLES2.shaders.aggressive", 64 "_optimizations.cos_vec2_frag"); 65 66 static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000013, 67 "KHR-GLES2.shaders.aggressive", 68 "_optimizations.cos_vec3_vert"); 69 70 static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000014, 71 "KHR-GLES2.shaders.aggressive", 72 "_optimizations.cos_vec3_frag"); 73