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 "../Deqpgles2BaseFunc.h" 19 #include "../ActsDeqpgles20007TestSuite.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(ActsDeqpgles20007TestSuite, TestCase_006244, 27 "dEQP-GLES2.functional.shaders.operator.", 28 "common_functions.clamp.lowp_float_vertex"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006245, 31 "dEQP-GLES2.functional.shaders.operator.c", 32 "ommon_functions.clamp.lowp_float_fragment"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006246, 35 "dEQP-GLES2.functional.shaders.operator.co", 36 "mmon_functions.clamp.mediump_float_vertex"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006247, 39 "dEQP-GLES2.functional.shaders.operator.com", 40 "mon_functions.clamp.mediump_float_fragment"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006248, 43 "dEQP-GLES2.functional.shaders.operator.c", 44 "ommon_functions.clamp.highp_float_vertex"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006249, 47 "dEQP-GLES2.functional.shaders.operator.co", 48 "mmon_functions.clamp.highp_float_fragment"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006250, 51 "dEQP-GLES2.functional.shaders.operator.", 52 "common_functions.clamp.lowp_vec2_vertex"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006251, 55 "dEQP-GLES2.functional.shaders.operator.c", 56 "ommon_functions.clamp.lowp_vec2_fragment"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006252, 59 "dEQP-GLES2.functional.shaders.operator.c", 60 "ommon_functions.clamp.mediump_vec2_vertex"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006253, 63 "dEQP-GLES2.functional.shaders.operator.co", 64 "mmon_functions.clamp.mediump_vec2_fragment"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006254, 67 "dEQP-GLES2.functional.shaders.operator.", 68 "common_functions.clamp.highp_vec2_vertex"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006255, 71 "dEQP-GLES2.functional.shaders.operator.c", 72 "ommon_functions.clamp.highp_vec2_fragment"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006256, 75 "dEQP-GLES2.functional.shaders.operator.", 76 "common_functions.clamp.lowp_vec3_vertex"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006257, 79 "dEQP-GLES2.functional.shaders.operator.c", 80 "ommon_functions.clamp.lowp_vec3_fragment"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006258, 83 "dEQP-GLES2.functional.shaders.operator.c", 84 "ommon_functions.clamp.mediump_vec3_vertex"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006259, 87 "dEQP-GLES2.functional.shaders.operator.co", 88 "mmon_functions.clamp.mediump_vec3_fragment"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006260, 91 "dEQP-GLES2.functional.shaders.operator.", 92 "common_functions.clamp.highp_vec3_vertex"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006261, 95 "dEQP-GLES2.functional.shaders.operator.c", 96 "ommon_functions.clamp.highp_vec3_fragment"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006262, 99 "dEQP-GLES2.functional.shaders.operator.", 100 "common_functions.clamp.lowp_vec4_vertex"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006263, 103 "dEQP-GLES2.functional.shaders.operator.c", 104 "ommon_functions.clamp.lowp_vec4_fragment"); 105 106 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006264, 107 "dEQP-GLES2.functional.shaders.operator.c", 108 "ommon_functions.clamp.mediump_vec4_vertex"); 109 110 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006265, 111 "dEQP-GLES2.functional.shaders.operator.co", 112 "mmon_functions.clamp.mediump_vec4_fragment"); 113 114 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006266, 115 "dEQP-GLES2.functional.shaders.operator.", 116 "common_functions.clamp.highp_vec4_vertex"); 117 118 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006267, 119 "dEQP-GLES2.functional.shaders.operator.c", 120 "ommon_functions.clamp.highp_vec4_fragment"); 121 122 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006268, 123 "dEQP-GLES2.functional.shaders.operator.com", 124 "mon_functions.clamp.lowp_vec2_float_vertex"); 125 126 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006269, 127 "dEQP-GLES2.functional.shaders.operator.comm", 128 "on_functions.clamp.lowp_vec2_float_fragment"); 129 130 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006270, 131 "dEQP-GLES2.functional.shaders.operator.comm", 132 "on_functions.clamp.mediump_vec2_float_vertex"); 133 134 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006271, 135 "dEQP-GLES2.functional.shaders.operator.commo", 136 "n_functions.clamp.mediump_vec2_float_fragment"); 137 138 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006272, 139 "dEQP-GLES2.functional.shaders.operator.com", 140 "mon_functions.clamp.highp_vec2_float_vertex"); 141 142 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006273, 143 "dEQP-GLES2.functional.shaders.operator.comm", 144 "on_functions.clamp.highp_vec2_float_fragment"); 145 146 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006274, 147 "dEQP-GLES2.functional.shaders.operator.com", 148 "mon_functions.clamp.lowp_vec3_float_vertex"); 149 150 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006275, 151 "dEQP-GLES2.functional.shaders.operator.comm", 152 "on_functions.clamp.lowp_vec3_float_fragment"); 153 154 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006276, 155 "dEQP-GLES2.functional.shaders.operator.comm", 156 "on_functions.clamp.mediump_vec3_float_vertex"); 157 158 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006277, 159 "dEQP-GLES2.functional.shaders.operator.commo", 160 "n_functions.clamp.mediump_vec3_float_fragment"); 161 162 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006278, 163 "dEQP-GLES2.functional.shaders.operator.com", 164 "mon_functions.clamp.highp_vec3_float_vertex"); 165 166 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006279, 167 "dEQP-GLES2.functional.shaders.operator.comm", 168 "on_functions.clamp.highp_vec3_float_fragment"); 169 170 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006280, 171 "dEQP-GLES2.functional.shaders.operator.com", 172 "mon_functions.clamp.lowp_vec4_float_vertex"); 173 174 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006281, 175 "dEQP-GLES2.functional.shaders.operator.comm", 176 "on_functions.clamp.lowp_vec4_float_fragment"); 177 178 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006282, 179 "dEQP-GLES2.functional.shaders.operator.comm", 180 "on_functions.clamp.mediump_vec4_float_vertex"); 181 182 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006283, 183 "dEQP-GLES2.functional.shaders.operator.commo", 184 "n_functions.clamp.mediump_vec4_float_fragment"); 185 186 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006284, 187 "dEQP-GLES2.functional.shaders.operator.com", 188 "mon_functions.clamp.highp_vec4_float_vertex"); 189 190 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006285, 191 "dEQP-GLES2.functional.shaders.operator.comm", 192 "on_functions.clamp.highp_vec4_float_fragment"); 193