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 "../Deqpgles31BaseFunc.h" 19 #include "../ActsDeqpgles310013TestSuite.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(ActsDeqpgles310013TestSuite, TestCase_012619, 27 "dEQP-GLES31.functional.te", 28 "xture.format.buffer.r8_pot"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012620, 31 "dEQP-GLES31.functional.tex", 32 "ture.format.buffer.r8_npot"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012621, 35 "dEQP-GLES31.functional.tex", 36 "ture.format.buffer.r16f_pot"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012622, 39 "dEQP-GLES31.functional.text", 40 "ure.format.buffer.r16f_npot"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012623, 43 "dEQP-GLES31.functional.tex", 44 "ture.format.buffer.r32f_pot"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012624, 47 "dEQP-GLES31.functional.text", 48 "ure.format.buffer.r32f_npot"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012625, 51 "dEQP-GLES31.functional.tex", 52 "ture.format.buffer.r8i_pot"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012626, 55 "dEQP-GLES31.functional.tex", 56 "ture.format.buffer.r8i_npot"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012627, 59 "dEQP-GLES31.functional.tex", 60 "ture.format.buffer.r16i_pot"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012628, 63 "dEQP-GLES31.functional.text", 64 "ure.format.buffer.r16i_npot"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012629, 67 "dEQP-GLES31.functional.tex", 68 "ture.format.buffer.r32i_pot"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012630, 71 "dEQP-GLES31.functional.text", 72 "ure.format.buffer.r32i_npot"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012631, 75 "dEQP-GLES31.functional.tex", 76 "ture.format.buffer.r8ui_pot"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012632, 79 "dEQP-GLES31.functional.text", 80 "ure.format.buffer.r8ui_npot"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012633, 83 "dEQP-GLES31.functional.text", 84 "ure.format.buffer.r16ui_pot"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012634, 87 "dEQP-GLES31.functional.text", 88 "ure.format.buffer.r16ui_npot"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012635, 91 "dEQP-GLES31.functional.text", 92 "ure.format.buffer.r32ui_pot"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012636, 95 "dEQP-GLES31.functional.text", 96 "ure.format.buffer.r32ui_npot"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012637, 99 "dEQP-GLES31.functional.tex", 100 "ture.format.buffer.rg8_pot"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012638, 103 "dEQP-GLES31.functional.tex", 104 "ture.format.buffer.rg8_npot"); 105 106 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012639, 107 "dEQP-GLES31.functional.text", 108 "ure.format.buffer.rg16f_pot"); 109 110 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012640, 111 "dEQP-GLES31.functional.text", 112 "ure.format.buffer.rg16f_npot"); 113 114 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012641, 115 "dEQP-GLES31.functional.text", 116 "ure.format.buffer.rg32f_pot"); 117 118 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012642, 119 "dEQP-GLES31.functional.text", 120 "ure.format.buffer.rg32f_npot"); 121 122 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012643, 123 "dEQP-GLES31.functional.tex", 124 "ture.format.buffer.rg8i_pot"); 125 126 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012644, 127 "dEQP-GLES31.functional.text", 128 "ure.format.buffer.rg8i_npot"); 129 130 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012645, 131 "dEQP-GLES31.functional.text", 132 "ure.format.buffer.rg16i_pot"); 133 134 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012646, 135 "dEQP-GLES31.functional.text", 136 "ure.format.buffer.rg16i_npot"); 137 138 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012647, 139 "dEQP-GLES31.functional.text", 140 "ure.format.buffer.rg32i_pot"); 141 142 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012648, 143 "dEQP-GLES31.functional.text", 144 "ure.format.buffer.rg32i_npot"); 145 146 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012649, 147 "dEQP-GLES31.functional.text", 148 "ure.format.buffer.rg8ui_pot"); 149 150 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012650, 151 "dEQP-GLES31.functional.text", 152 "ure.format.buffer.rg8ui_npot"); 153 154 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012651, 155 "dEQP-GLES31.functional.text", 156 "ure.format.buffer.rg16ui_pot"); 157 158 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012652, 159 "dEQP-GLES31.functional.textu", 160 "re.format.buffer.rg16ui_npot"); 161 162 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012653, 163 "dEQP-GLES31.functional.text", 164 "ure.format.buffer.rg32ui_pot"); 165 166 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012654, 167 "dEQP-GLES31.functional.textu", 168 "re.format.buffer.rg32ui_npot"); 169 170 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012655, 171 "dEQP-GLES31.functional.text", 172 "ure.format.buffer.rgba8_pot"); 173 174 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012656, 175 "dEQP-GLES31.functional.text", 176 "ure.format.buffer.rgba8_npot"); 177 178 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012657, 179 "dEQP-GLES31.functional.textu", 180 "re.format.buffer.rgba16f_pot"); 181 182 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012658, 183 "dEQP-GLES31.functional.textu", 184 "re.format.buffer.rgba16f_npot"); 185 186 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012659, 187 "dEQP-GLES31.functional.textu", 188 "re.format.buffer.rgba32f_pot"); 189 190 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012660, 191 "dEQP-GLES31.functional.textu", 192 "re.format.buffer.rgba32f_npot"); 193 194 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012661, 195 "dEQP-GLES31.functional.text", 196 "ure.format.buffer.rgba8i_pot"); 197 198 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012662, 199 "dEQP-GLES31.functional.textu", 200 "re.format.buffer.rgba8i_npot"); 201 202 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012663, 203 "dEQP-GLES31.functional.textu", 204 "re.format.buffer.rgba16i_pot"); 205 206 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012664, 207 "dEQP-GLES31.functional.textu", 208 "re.format.buffer.rgba16i_npot"); 209 210 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012665, 211 "dEQP-GLES31.functional.textu", 212 "re.format.buffer.rgba32i_pot"); 213 214 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012666, 215 "dEQP-GLES31.functional.textu", 216 "re.format.buffer.rgba32i_npot"); 217 218 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012667, 219 "dEQP-GLES31.functional.textu", 220 "re.format.buffer.rgba8ui_pot"); 221 222 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012668, 223 "dEQP-GLES31.functional.textu", 224 "re.format.buffer.rgba8ui_npot"); 225 226 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012669, 227 "dEQP-GLES31.functional.textu", 228 "re.format.buffer.rgba16ui_pot"); 229 230 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012670, 231 "dEQP-GLES31.functional.textur", 232 "e.format.buffer.rgba16ui_npot"); 233 234 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012671, 235 "dEQP-GLES31.functional.textu", 236 "re.format.buffer.rgba32ui_pot"); 237 238 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012672, 239 "dEQP-GLES31.functional.textur", 240 "e.format.buffer.rgba32ui_npot"); 241