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 "../ActsDeqpgles30018TestSuite.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(ActsDeqpgles30018TestSuite, TestCase_017570, 27 "dEQP-GLES3.functional.shaders.derivat", 28 "e.dfdx.texture.float_nicest.float_lowp"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017571, 31 "dEQP-GLES3.functional.shaders.derivate.", 32 "dfdx.texture.float_nicest.float_mediump"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017572, 35 "dEQP-GLES3.functional.shaders.derivate", 36 ".dfdx.texture.float_nicest.float_highp"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017573, 39 "dEQP-GLES3.functional.shaders.derivat", 40 "e.dfdx.texture.float_nicest.vec2_lowp"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017574, 43 "dEQP-GLES3.functional.shaders.derivate", 44 ".dfdx.texture.float_nicest.vec2_mediump"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017575, 47 "dEQP-GLES3.functional.shaders.derivat", 48 "e.dfdx.texture.float_nicest.vec2_highp"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017576, 51 "dEQP-GLES3.functional.shaders.derivat", 52 "e.dfdx.texture.float_nicest.vec3_lowp"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017577, 55 "dEQP-GLES3.functional.shaders.derivate", 56 ".dfdx.texture.float_nicest.vec3_mediump"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017578, 59 "dEQP-GLES3.functional.shaders.derivat", 60 "e.dfdx.texture.float_nicest.vec3_highp"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017579, 63 "dEQP-GLES3.functional.shaders.derivat", 64 "e.dfdx.texture.float_nicest.vec4_lowp"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017580, 67 "dEQP-GLES3.functional.shaders.derivate", 68 ".dfdx.texture.float_nicest.vec4_mediump"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017581, 71 "dEQP-GLES3.functional.shaders.derivat", 72 "e.dfdx.texture.float_nicest.vec4_highp"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017751, 75 "dEQP-GLES3.functional.shaders.derivat", 76 "e.dfdy.texture.float_nicest.float_lowp"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017752, 79 "dEQP-GLES3.functional.shaders.derivate.", 80 "dfdy.texture.float_nicest.float_mediump"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017753, 83 "dEQP-GLES3.functional.shaders.derivate", 84 ".dfdy.texture.float_nicest.float_highp"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017754, 87 "dEQP-GLES3.functional.shaders.derivat", 88 "e.dfdy.texture.float_nicest.vec2_lowp"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017755, 91 "dEQP-GLES3.functional.shaders.derivate", 92 ".dfdy.texture.float_nicest.vec2_mediump"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017756, 95 "dEQP-GLES3.functional.shaders.derivat", 96 "e.dfdy.texture.float_nicest.vec2_highp"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017757, 99 "dEQP-GLES3.functional.shaders.derivat", 100 "e.dfdy.texture.float_nicest.vec3_lowp"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017758, 103 "dEQP-GLES3.functional.shaders.derivate", 104 ".dfdy.texture.float_nicest.vec3_mediump"); 105 106 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017759, 107 "dEQP-GLES3.functional.shaders.derivat", 108 "e.dfdy.texture.float_nicest.vec3_highp"); 109 110 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017760, 111 "dEQP-GLES3.functional.shaders.derivat", 112 "e.dfdy.texture.float_nicest.vec4_lowp"); 113 114 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017761, 115 "dEQP-GLES3.functional.shaders.derivate", 116 ".dfdy.texture.float_nicest.vec4_mediump"); 117 118 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017762, 119 "dEQP-GLES3.functional.shaders.derivat", 120 "e.dfdy.texture.float_nicest.vec4_highp"); 121 122 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017955, 123 "dEQP-GLES3.functional.shaders.derivate", 124 ".fwidth.texture.float_nicest.float_lowp"); 125 126 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017956, 127 "dEQP-GLES3.functional.shaders.derivate.f", 128 "width.texture.float_nicest.float_mediump"); 129 130 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017957, 131 "dEQP-GLES3.functional.shaders.derivate.", 132 "fwidth.texture.float_nicest.float_highp"); 133 134 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017958, 135 "dEQP-GLES3.functional.shaders.derivate", 136 ".fwidth.texture.float_nicest.vec2_lowp"); 137 138 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017959, 139 "dEQP-GLES3.functional.shaders.derivate.", 140 "fwidth.texture.float_nicest.vec2_mediump"); 141 142 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017960, 143 "dEQP-GLES3.functional.shaders.derivate", 144 ".fwidth.texture.float_nicest.vec2_highp"); 145 146 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017961, 147 "dEQP-GLES3.functional.shaders.derivate", 148 ".fwidth.texture.float_nicest.vec3_lowp"); 149 150 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017962, 151 "dEQP-GLES3.functional.shaders.derivate.", 152 "fwidth.texture.float_nicest.vec3_mediump"); 153 154 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017963, 155 "dEQP-GLES3.functional.shaders.derivate", 156 ".fwidth.texture.float_nicest.vec3_highp"); 157 158 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017964, 159 "dEQP-GLES3.functional.shaders.derivate", 160 ".fwidth.texture.float_nicest.vec4_lowp"); 161 162 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017965, 163 "dEQP-GLES3.functional.shaders.derivate.", 164 "fwidth.texture.float_nicest.vec4_mediump"); 165 166 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017966, 167 "dEQP-GLES3.functional.shaders.derivate", 168 ".fwidth.texture.float_nicest.vec4_highp"); 169