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 "../ActsDeqpgles30014TestSuite.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(ActsDeqpgles30014TestSuite, TestCase_013232, 27 "dEQP-GLES3.functional.shaders.operator.com", 28 "mon_functions.smoothstep.lowp_float_vertex"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013233, 31 "dEQP-GLES3.functional.shaders.operator.comm", 32 "on_functions.smoothstep.lowp_float_fragment"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013234, 35 "dEQP-GLES3.functional.shaders.operator.comm", 36 "on_functions.smoothstep.mediump_float_vertex"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013235, 39 "dEQP-GLES3.functional.shaders.operator.commo", 40 "n_functions.smoothstep.mediump_float_fragment"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013236, 43 "dEQP-GLES3.functional.shaders.operator.com", 44 "mon_functions.smoothstep.highp_float_vertex"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013237, 47 "dEQP-GLES3.functional.shaders.operator.comm", 48 "on_functions.smoothstep.highp_float_fragment"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013238, 51 "dEQP-GLES3.functional.shaders.operator.co", 52 "mmon_functions.smoothstep.lowp_vec2_vertex"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013239, 55 "dEQP-GLES3.functional.shaders.operator.com", 56 "mon_functions.smoothstep.lowp_vec2_fragment"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013240, 59 "dEQP-GLES3.functional.shaders.operator.comm", 60 "on_functions.smoothstep.mediump_vec2_vertex"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013241, 63 "dEQP-GLES3.functional.shaders.operator.commo", 64 "n_functions.smoothstep.mediump_vec2_fragment"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013242, 67 "dEQP-GLES3.functional.shaders.operator.com", 68 "mon_functions.smoothstep.highp_vec2_vertex"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013243, 71 "dEQP-GLES3.functional.shaders.operator.comm", 72 "on_functions.smoothstep.highp_vec2_fragment"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013244, 75 "dEQP-GLES3.functional.shaders.operator.co", 76 "mmon_functions.smoothstep.lowp_vec3_vertex"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013245, 79 "dEQP-GLES3.functional.shaders.operator.com", 80 "mon_functions.smoothstep.lowp_vec3_fragment"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013246, 83 "dEQP-GLES3.functional.shaders.operator.comm", 84 "on_functions.smoothstep.mediump_vec3_vertex"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013247, 87 "dEQP-GLES3.functional.shaders.operator.commo", 88 "n_functions.smoothstep.mediump_vec3_fragment"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013248, 91 "dEQP-GLES3.functional.shaders.operator.com", 92 "mon_functions.smoothstep.highp_vec3_vertex"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013249, 95 "dEQP-GLES3.functional.shaders.operator.comm", 96 "on_functions.smoothstep.highp_vec3_fragment"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013250, 99 "dEQP-GLES3.functional.shaders.operator.co", 100 "mmon_functions.smoothstep.lowp_vec4_vertex"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013251, 103 "dEQP-GLES3.functional.shaders.operator.com", 104 "mon_functions.smoothstep.lowp_vec4_fragment"); 105 106 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013252, 107 "dEQP-GLES3.functional.shaders.operator.comm", 108 "on_functions.smoothstep.mediump_vec4_vertex"); 109 110 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013253, 111 "dEQP-GLES3.functional.shaders.operator.commo", 112 "n_functions.smoothstep.mediump_vec4_fragment"); 113 114 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013254, 115 "dEQP-GLES3.functional.shaders.operator.com", 116 "mon_functions.smoothstep.highp_vec4_vertex"); 117 118 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013255, 119 "dEQP-GLES3.functional.shaders.operator.comm", 120 "on_functions.smoothstep.highp_vec4_fragment"); 121 122 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013256, 123 "dEQP-GLES3.functional.shaders.operator.commo", 124 "n_functions.smoothstep.lowp_float_vec2_vertex"); 125 126 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013257, 127 "dEQP-GLES3.functional.shaders.operator.common", 128 "_functions.smoothstep.lowp_float_vec2_fragment"); 129 130 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013258, 131 "dEQP-GLES3.functional.shaders.operator.common_", 132 "functions.smoothstep.mediump_float_vec2_vertex"); 133 134 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013259, 135 "dEQP-GLES3.functional.shaders.operator.common_f", 136 "unctions.smoothstep.mediump_float_vec2_fragment"); 137 138 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013260, 139 "dEQP-GLES3.functional.shaders.operator.common", 140 "_functions.smoothstep.highp_float_vec2_vertex"); 141 142 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013261, 143 "dEQP-GLES3.functional.shaders.operator.common_", 144 "functions.smoothstep.highp_float_vec2_fragment"); 145 146 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013262, 147 "dEQP-GLES3.functional.shaders.operator.commo", 148 "n_functions.smoothstep.lowp_float_vec3_vertex"); 149 150 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013263, 151 "dEQP-GLES3.functional.shaders.operator.common", 152 "_functions.smoothstep.lowp_float_vec3_fragment"); 153 154 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013264, 155 "dEQP-GLES3.functional.shaders.operator.common_", 156 "functions.smoothstep.mediump_float_vec3_vertex"); 157 158 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013265, 159 "dEQP-GLES3.functional.shaders.operator.common_f", 160 "unctions.smoothstep.mediump_float_vec3_fragment"); 161 162 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013266, 163 "dEQP-GLES3.functional.shaders.operator.common", 164 "_functions.smoothstep.highp_float_vec3_vertex"); 165 166 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013267, 167 "dEQP-GLES3.functional.shaders.operator.common_", 168 "functions.smoothstep.highp_float_vec3_fragment"); 169 170 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013268, 171 "dEQP-GLES3.functional.shaders.operator.commo", 172 "n_functions.smoothstep.lowp_float_vec4_vertex"); 173 174 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013269, 175 "dEQP-GLES3.functional.shaders.operator.common", 176 "_functions.smoothstep.lowp_float_vec4_fragment"); 177 178 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013270, 179 "dEQP-GLES3.functional.shaders.operator.common_", 180 "functions.smoothstep.mediump_float_vec4_vertex"); 181 182 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013271, 183 "dEQP-GLES3.functional.shaders.operator.common_f", 184 "unctions.smoothstep.mediump_float_vec4_fragment"); 185 186 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013272, 187 "dEQP-GLES3.functional.shaders.operator.common", 188 "_functions.smoothstep.highp_float_vec4_vertex"); 189 190 static SHRINK_HWTEST_F(ActsDeqpgles30014TestSuite, TestCase_013273, 191 "dEQP-GLES3.functional.shaders.operator.common_", 192 "functions.smoothstep.highp_float_vec4_fragment"); 193