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 "../Deqpgles3BaseFunc.h" 19 #include "../ActsDeqpgles30020TestSuite.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(ActsDeqpgles30020TestSuite, TestCase_019718, 27 "dEQP-GLES3.functional.shaders.constant_expressio", 28 "ns.builtin_functions.exponential.pow_float_vertex"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019719, 31 "dEQP-GLES3.functional.shaders.constant_expression", 32 "s.builtin_functions.exponential.pow_float_fragment"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019720, 35 "dEQP-GLES3.functional.shaders.constant_expressio", 36 "ns.builtin_functions.exponential.pow_vec2_vertex"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019721, 39 "dEQP-GLES3.functional.shaders.constant_expression", 40 "s.builtin_functions.exponential.pow_vec2_fragment"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019722, 43 "dEQP-GLES3.functional.shaders.constant_expressio", 44 "ns.builtin_functions.exponential.pow_vec3_vertex"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019723, 47 "dEQP-GLES3.functional.shaders.constant_expression", 48 "s.builtin_functions.exponential.pow_vec3_fragment"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019724, 51 "dEQP-GLES3.functional.shaders.constant_expressio", 52 "ns.builtin_functions.exponential.pow_vec4_vertex"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019725, 55 "dEQP-GLES3.functional.shaders.constant_expression", 56 "s.builtin_functions.exponential.pow_vec4_fragment"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019726, 59 "dEQP-GLES3.functional.shaders.constant_expressio", 60 "ns.builtin_functions.exponential.exp_float_vertex"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019727, 63 "dEQP-GLES3.functional.shaders.constant_expression", 64 "s.builtin_functions.exponential.exp_float_fragment"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019728, 67 "dEQP-GLES3.functional.shaders.constant_expressio", 68 "ns.builtin_functions.exponential.exp_vec2_vertex"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019729, 71 "dEQP-GLES3.functional.shaders.constant_expression", 72 "s.builtin_functions.exponential.exp_vec2_fragment"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019730, 75 "dEQP-GLES3.functional.shaders.constant_expressio", 76 "ns.builtin_functions.exponential.exp_vec3_vertex"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019731, 79 "dEQP-GLES3.functional.shaders.constant_expression", 80 "s.builtin_functions.exponential.exp_vec3_fragment"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019732, 83 "dEQP-GLES3.functional.shaders.constant_expressio", 84 "ns.builtin_functions.exponential.exp_vec4_vertex"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019733, 87 "dEQP-GLES3.functional.shaders.constant_expression", 88 "s.builtin_functions.exponential.exp_vec4_fragment"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019734, 91 "dEQP-GLES3.functional.shaders.constant_expressio", 92 "ns.builtin_functions.exponential.log_float_vertex"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019735, 95 "dEQP-GLES3.functional.shaders.constant_expression", 96 "s.builtin_functions.exponential.log_float_fragment"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019736, 99 "dEQP-GLES3.functional.shaders.constant_expressio", 100 "ns.builtin_functions.exponential.log_vec2_vertex"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019737, 103 "dEQP-GLES3.functional.shaders.constant_expression", 104 "s.builtin_functions.exponential.log_vec2_fragment"); 105 106 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019738, 107 "dEQP-GLES3.functional.shaders.constant_expressio", 108 "ns.builtin_functions.exponential.log_vec3_vertex"); 109 110 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019739, 111 "dEQP-GLES3.functional.shaders.constant_expression", 112 "s.builtin_functions.exponential.log_vec3_fragment"); 113 114 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019740, 115 "dEQP-GLES3.functional.shaders.constant_expressio", 116 "ns.builtin_functions.exponential.log_vec4_vertex"); 117 118 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019741, 119 "dEQP-GLES3.functional.shaders.constant_expression", 120 "s.builtin_functions.exponential.log_vec4_fragment"); 121 122 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019742, 123 "dEQP-GLES3.functional.shaders.constant_expression", 124 "s.builtin_functions.exponential.exp2_float_vertex"); 125 126 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019743, 127 "dEQP-GLES3.functional.shaders.constant_expressions", 128 ".builtin_functions.exponential.exp2_float_fragment"); 129 130 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019744, 131 "dEQP-GLES3.functional.shaders.constant_expressio", 132 "ns.builtin_functions.exponential.exp2_vec2_vertex"); 133 134 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019745, 135 "dEQP-GLES3.functional.shaders.constant_expression", 136 "s.builtin_functions.exponential.exp2_vec2_fragment"); 137 138 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019746, 139 "dEQP-GLES3.functional.shaders.constant_expressio", 140 "ns.builtin_functions.exponential.exp2_vec3_vertex"); 141 142 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019747, 143 "dEQP-GLES3.functional.shaders.constant_expression", 144 "s.builtin_functions.exponential.exp2_vec3_fragment"); 145 146 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019748, 147 "dEQP-GLES3.functional.shaders.constant_expressio", 148 "ns.builtin_functions.exponential.exp2_vec4_vertex"); 149 150 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019749, 151 "dEQP-GLES3.functional.shaders.constant_expression", 152 "s.builtin_functions.exponential.exp2_vec4_fragment"); 153 154 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019750, 155 "dEQP-GLES3.functional.shaders.constant_expression", 156 "s.builtin_functions.exponential.log2_float_vertex"); 157 158 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019751, 159 "dEQP-GLES3.functional.shaders.constant_expressions", 160 ".builtin_functions.exponential.log2_float_fragment"); 161 162 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019752, 163 "dEQP-GLES3.functional.shaders.constant_expressio", 164 "ns.builtin_functions.exponential.log2_vec2_vertex"); 165 166 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019753, 167 "dEQP-GLES3.functional.shaders.constant_expression", 168 "s.builtin_functions.exponential.log2_vec2_fragment"); 169 170 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019754, 171 "dEQP-GLES3.functional.shaders.constant_expressio", 172 "ns.builtin_functions.exponential.log2_vec3_vertex"); 173 174 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019755, 175 "dEQP-GLES3.functional.shaders.constant_expression", 176 "s.builtin_functions.exponential.log2_vec3_fragment"); 177 178 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019756, 179 "dEQP-GLES3.functional.shaders.constant_expressio", 180 "ns.builtin_functions.exponential.log2_vec4_vertex"); 181 182 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019757, 183 "dEQP-GLES3.functional.shaders.constant_expression", 184 "s.builtin_functions.exponential.log2_vec4_fragment"); 185 186 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019758, 187 "dEQP-GLES3.functional.shaders.constant_expression", 188 "s.builtin_functions.exponential.sqrt_float_vertex"); 189 190 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019759, 191 "dEQP-GLES3.functional.shaders.constant_expressions", 192 ".builtin_functions.exponential.sqrt_float_fragment"); 193 194 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019760, 195 "dEQP-GLES3.functional.shaders.constant_expressio", 196 "ns.builtin_functions.exponential.sqrt_vec2_vertex"); 197 198 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019761, 199 "dEQP-GLES3.functional.shaders.constant_expression", 200 "s.builtin_functions.exponential.sqrt_vec2_fragment"); 201 202 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019762, 203 "dEQP-GLES3.functional.shaders.constant_expressio", 204 "ns.builtin_functions.exponential.sqrt_vec3_vertex"); 205 206 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019763, 207 "dEQP-GLES3.functional.shaders.constant_expression", 208 "s.builtin_functions.exponential.sqrt_vec3_fragment"); 209 210 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019764, 211 "dEQP-GLES3.functional.shaders.constant_expressio", 212 "ns.builtin_functions.exponential.sqrt_vec4_vertex"); 213 214 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019765, 215 "dEQP-GLES3.functional.shaders.constant_expression", 216 "s.builtin_functions.exponential.sqrt_vec4_fragment"); 217 218 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019766, 219 "dEQP-GLES3.functional.shaders.constant_expressions.b", 220 "uiltin_functions.exponential.inversesqrt_float_vertex"); 221 222 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019767, 223 "dEQP-GLES3.functional.shaders.constant_expressions.bu", 224 "iltin_functions.exponential.inversesqrt_float_fragment"); 225 226 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019768, 227 "dEQP-GLES3.functional.shaders.constant_expressions.b", 228 "uiltin_functions.exponential.inversesqrt_vec2_vertex"); 229 230 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019769, 231 "dEQP-GLES3.functional.shaders.constant_expressions.bu", 232 "iltin_functions.exponential.inversesqrt_vec2_fragment"); 233 234 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019770, 235 "dEQP-GLES3.functional.shaders.constant_expressions.b", 236 "uiltin_functions.exponential.inversesqrt_vec3_vertex"); 237 238 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019771, 239 "dEQP-GLES3.functional.shaders.constant_expressions.bu", 240 "iltin_functions.exponential.inversesqrt_vec3_fragment"); 241 242 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019772, 243 "dEQP-GLES3.functional.shaders.constant_expressions.b", 244 "uiltin_functions.exponential.inversesqrt_vec4_vertex"); 245 246 static SHRINK_HWTEST_F(ActsDeqpgles30020TestSuite, TestCase_019773, 247 "dEQP-GLES3.functional.shaders.constant_expressions.bu", 248 "iltin_functions.exponential.inversesqrt_vec4_fragment"); 249