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 "../ActsDeqpgles310012TestSuite.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(ActsDeqpgles310012TestSuite, TestCase_011894, 27 "dEQP-GLES31.functional.image_load_store.b", 28 "uffer.format_reinterpret.rgba32f_rgba32ui"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011895, 31 "dEQP-GLES31.functional.image_load_store.", 32 "buffer.format_reinterpret.rgba32f_rgba32i"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011896, 35 "dEQP-GLES31.functional.image_load_store.b", 36 "uffer.format_reinterpret.rgba16f_rgba16ui"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011897, 39 "dEQP-GLES31.functional.image_load_store.", 40 "buffer.format_reinterpret.rgba16f_rgba16i"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011898, 43 "dEQP-GLES31.functional.image_load_store", 44 ".buffer.format_reinterpret.r32f_rgba8ui"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011899, 47 "dEQP-GLES31.functional.image_load_stor", 48 "e.buffer.format_reinterpret.r32f_r32ui"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011900, 51 "dEQP-GLES31.functional.image_load_stor", 52 "e.buffer.format_reinterpret.r32f_rgba8i"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011901, 55 "dEQP-GLES31.functional.image_load_sto", 56 "re.buffer.format_reinterpret.r32f_r32i"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011902, 59 "dEQP-GLES31.functional.image_load_stor", 60 "e.buffer.format_reinterpret.r32f_rgba8"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011903, 63 "dEQP-GLES31.functional.image_load_store.b", 64 "uffer.format_reinterpret.r32f_rgba8_snorm"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011904, 67 "dEQP-GLES31.functional.image_load_store.b", 68 "uffer.format_reinterpret.rgba32ui_rgba32f"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011905, 71 "dEQP-GLES31.functional.image_load_store.b", 72 "uffer.format_reinterpret.rgba32ui_rgba32i"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011906, 75 "dEQP-GLES31.functional.image_load_store.b", 76 "uffer.format_reinterpret.rgba16ui_rgba16f"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011907, 79 "dEQP-GLES31.functional.image_load_store.b", 80 "uffer.format_reinterpret.rgba16ui_rgba16i"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011908, 83 "dEQP-GLES31.functional.image_load_store", 84 ".buffer.format_reinterpret.rgba8ui_r32f"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011909, 87 "dEQP-GLES31.functional.image_load_store", 88 ".buffer.format_reinterpret.rgba8ui_r32ui"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011910, 91 "dEQP-GLES31.functional.image_load_store.", 92 "buffer.format_reinterpret.rgba8ui_rgba8i"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011911, 95 "dEQP-GLES31.functional.image_load_store", 96 ".buffer.format_reinterpret.rgba8ui_r32i"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011912, 99 "dEQP-GLES31.functional.image_load_store", 100 ".buffer.format_reinterpret.rgba8ui_rgba8"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011913, 103 "dEQP-GLES31.functional.image_load_store.bu", 104 "ffer.format_reinterpret.rgba8ui_rgba8_snorm"); 105 106 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011914, 107 "dEQP-GLES31.functional.image_load_stor", 108 "e.buffer.format_reinterpret.r32ui_r32f"); 109 110 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011915, 111 "dEQP-GLES31.functional.image_load_store", 112 ".buffer.format_reinterpret.r32ui_rgba8ui"); 113 114 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011916, 115 "dEQP-GLES31.functional.image_load_store", 116 ".buffer.format_reinterpret.r32ui_rgba8i"); 117 118 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011917, 119 "dEQP-GLES31.functional.image_load_stor", 120 "e.buffer.format_reinterpret.r32ui_r32i"); 121 122 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011918, 123 "dEQP-GLES31.functional.image_load_stor", 124 "e.buffer.format_reinterpret.r32ui_rgba8"); 125 126 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011919, 127 "dEQP-GLES31.functional.image_load_store.b", 128 "uffer.format_reinterpret.r32ui_rgba8_snorm"); 129 130 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011920, 131 "dEQP-GLES31.functional.image_load_store.", 132 "buffer.format_reinterpret.rgba32i_rgba32f"); 133 134 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011921, 135 "dEQP-GLES31.functional.image_load_store.b", 136 "uffer.format_reinterpret.rgba32i_rgba32ui"); 137 138 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011922, 139 "dEQP-GLES31.functional.image_load_store.", 140 "buffer.format_reinterpret.rgba16i_rgba16f"); 141 142 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011923, 143 "dEQP-GLES31.functional.image_load_store.b", 144 "uffer.format_reinterpret.rgba16i_rgba16ui"); 145 146 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011924, 147 "dEQP-GLES31.functional.image_load_stor", 148 "e.buffer.format_reinterpret.rgba8i_r32f"); 149 150 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011925, 151 "dEQP-GLES31.functional.image_load_store.", 152 "buffer.format_reinterpret.rgba8i_rgba8ui"); 153 154 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011926, 155 "dEQP-GLES31.functional.image_load_store", 156 ".buffer.format_reinterpret.rgba8i_r32ui"); 157 158 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011927, 159 "dEQP-GLES31.functional.image_load_stor", 160 "e.buffer.format_reinterpret.rgba8i_r32i"); 161 162 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011928, 163 "dEQP-GLES31.functional.image_load_store", 164 ".buffer.format_reinterpret.rgba8i_rgba8"); 165 166 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011929, 167 "dEQP-GLES31.functional.image_load_store.bu", 168 "ffer.format_reinterpret.rgba8i_rgba8_snorm"); 169 170 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011930, 171 "dEQP-GLES31.functional.image_load_sto", 172 "re.buffer.format_reinterpret.r32i_r32f"); 173 174 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011931, 175 "dEQP-GLES31.functional.image_load_store", 176 ".buffer.format_reinterpret.r32i_rgba8ui"); 177 178 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011932, 179 "dEQP-GLES31.functional.image_load_stor", 180 "e.buffer.format_reinterpret.r32i_r32ui"); 181 182 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011933, 183 "dEQP-GLES31.functional.image_load_stor", 184 "e.buffer.format_reinterpret.r32i_rgba8i"); 185 186 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011934, 187 "dEQP-GLES31.functional.image_load_stor", 188 "e.buffer.format_reinterpret.r32i_rgba8"); 189 190 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011935, 191 "dEQP-GLES31.functional.image_load_store.b", 192 "uffer.format_reinterpret.r32i_rgba8_snorm"); 193 194 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011936, 195 "dEQP-GLES31.functional.image_load_stor", 196 "e.buffer.format_reinterpret.rgba8_r32f"); 197 198 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011937, 199 "dEQP-GLES31.functional.image_load_store", 200 ".buffer.format_reinterpret.rgba8_rgba8ui"); 201 202 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011938, 203 "dEQP-GLES31.functional.image_load_stor", 204 "e.buffer.format_reinterpret.rgba8_r32ui"); 205 206 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011939, 207 "dEQP-GLES31.functional.image_load_store", 208 ".buffer.format_reinterpret.rgba8_rgba8i"); 209 210 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011940, 211 "dEQP-GLES31.functional.image_load_stor", 212 "e.buffer.format_reinterpret.rgba8_r32i"); 213 214 static SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011941, 215 "dEQP-GLES31.functional.image_load_store.b", 216 "uffer.format_reinterpret.rgba8_rgba8_snorm"); 217