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_006370, 27 "dEQP-GLES2.functional.shaders.operator.com", 28 "mon_functions.smoothstep.lowp_float_vertex"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006371, 31 "dEQP-GLES2.functional.shaders.operator.comm", 32 "on_functions.smoothstep.lowp_float_fragment"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006372, 35 "dEQP-GLES2.functional.shaders.operator.comm", 36 "on_functions.smoothstep.mediump_float_vertex"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006373, 39 "dEQP-GLES2.functional.shaders.operator.commo", 40 "n_functions.smoothstep.mediump_float_fragment"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006374, 43 "dEQP-GLES2.functional.shaders.operator.com", 44 "mon_functions.smoothstep.highp_float_vertex"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006375, 47 "dEQP-GLES2.functional.shaders.operator.comm", 48 "on_functions.smoothstep.highp_float_fragment"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006376, 51 "dEQP-GLES2.functional.shaders.operator.co", 52 "mmon_functions.smoothstep.lowp_vec2_vertex"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006377, 55 "dEQP-GLES2.functional.shaders.operator.com", 56 "mon_functions.smoothstep.lowp_vec2_fragment"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006378, 59 "dEQP-GLES2.functional.shaders.operator.comm", 60 "on_functions.smoothstep.mediump_vec2_vertex"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006379, 63 "dEQP-GLES2.functional.shaders.operator.commo", 64 "n_functions.smoothstep.mediump_vec2_fragment"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006380, 67 "dEQP-GLES2.functional.shaders.operator.com", 68 "mon_functions.smoothstep.highp_vec2_vertex"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006381, 71 "dEQP-GLES2.functional.shaders.operator.comm", 72 "on_functions.smoothstep.highp_vec2_fragment"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006382, 75 "dEQP-GLES2.functional.shaders.operator.co", 76 "mmon_functions.smoothstep.lowp_vec3_vertex"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006383, 79 "dEQP-GLES2.functional.shaders.operator.com", 80 "mon_functions.smoothstep.lowp_vec3_fragment"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006384, 83 "dEQP-GLES2.functional.shaders.operator.comm", 84 "on_functions.smoothstep.mediump_vec3_vertex"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006385, 87 "dEQP-GLES2.functional.shaders.operator.commo", 88 "n_functions.smoothstep.mediump_vec3_fragment"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006386, 91 "dEQP-GLES2.functional.shaders.operator.com", 92 "mon_functions.smoothstep.highp_vec3_vertex"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006387, 95 "dEQP-GLES2.functional.shaders.operator.comm", 96 "on_functions.smoothstep.highp_vec3_fragment"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006388, 99 "dEQP-GLES2.functional.shaders.operator.co", 100 "mmon_functions.smoothstep.lowp_vec4_vertex"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006389, 103 "dEQP-GLES2.functional.shaders.operator.com", 104 "mon_functions.smoothstep.lowp_vec4_fragment"); 105 106 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006390, 107 "dEQP-GLES2.functional.shaders.operator.comm", 108 "on_functions.smoothstep.mediump_vec4_vertex"); 109 110 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006391, 111 "dEQP-GLES2.functional.shaders.operator.commo", 112 "n_functions.smoothstep.mediump_vec4_fragment"); 113 114 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006392, 115 "dEQP-GLES2.functional.shaders.operator.com", 116 "mon_functions.smoothstep.highp_vec4_vertex"); 117 118 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006393, 119 "dEQP-GLES2.functional.shaders.operator.comm", 120 "on_functions.smoothstep.highp_vec4_fragment"); 121 122 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006394, 123 "dEQP-GLES2.functional.shaders.operator.commo", 124 "n_functions.smoothstep.lowp_float_vec2_vertex"); 125 126 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006395, 127 "dEQP-GLES2.functional.shaders.operator.common", 128 "_functions.smoothstep.lowp_float_vec2_fragment"); 129 130 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006396, 131 "dEQP-GLES2.functional.shaders.operator.common_", 132 "functions.smoothstep.mediump_float_vec2_vertex"); 133 134 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006397, 135 "dEQP-GLES2.functional.shaders.operator.common_f", 136 "unctions.smoothstep.mediump_float_vec2_fragment"); 137 138 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006398, 139 "dEQP-GLES2.functional.shaders.operator.common", 140 "_functions.smoothstep.highp_float_vec2_vertex"); 141 142 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006399, 143 "dEQP-GLES2.functional.shaders.operator.common_", 144 "functions.smoothstep.highp_float_vec2_fragment"); 145 146 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006400, 147 "dEQP-GLES2.functional.shaders.operator.commo", 148 "n_functions.smoothstep.lowp_float_vec3_vertex"); 149 150 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006401, 151 "dEQP-GLES2.functional.shaders.operator.common", 152 "_functions.smoothstep.lowp_float_vec3_fragment"); 153 154 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006402, 155 "dEQP-GLES2.functional.shaders.operator.common_", 156 "functions.smoothstep.mediump_float_vec3_vertex"); 157 158 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006403, 159 "dEQP-GLES2.functional.shaders.operator.common_f", 160 "unctions.smoothstep.mediump_float_vec3_fragment"); 161 162 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006404, 163 "dEQP-GLES2.functional.shaders.operator.common", 164 "_functions.smoothstep.highp_float_vec3_vertex"); 165 166 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006405, 167 "dEQP-GLES2.functional.shaders.operator.common_", 168 "functions.smoothstep.highp_float_vec3_fragment"); 169 170 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006406, 171 "dEQP-GLES2.functional.shaders.operator.commo", 172 "n_functions.smoothstep.lowp_float_vec4_vertex"); 173 174 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006407, 175 "dEQP-GLES2.functional.shaders.operator.common", 176 "_functions.smoothstep.lowp_float_vec4_fragment"); 177 178 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006408, 179 "dEQP-GLES2.functional.shaders.operator.common_", 180 "functions.smoothstep.mediump_float_vec4_vertex"); 181 182 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006409, 183 "dEQP-GLES2.functional.shaders.operator.common_f", 184 "unctions.smoothstep.mediump_float_vec4_fragment"); 185 186 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006410, 187 "dEQP-GLES2.functional.shaders.operator.common", 188 "_functions.smoothstep.highp_float_vec4_vertex"); 189 190 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006411, 191 "dEQP-GLES2.functional.shaders.operator.common_", 192 "functions.smoothstep.highp_float_vec4_fragment"); 193