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 "../ActsDeqpgles310014TestSuite.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(ActsDeqpgles310014TestSuite, TestCase_013083, 27 "dEQP-GLES31.functional.texture.gath", 28 "er.basic.2d.rgba8.base_level.level_1"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles310014TestSuite, TestCase_013084, 31 "dEQP-GLES31.functional.texture.gath", 32 "er.basic.2d.rgba8.base_level.level_2"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles310014TestSuite, TestCase_013152, 35 "dEQP-GLES31.functional.texture.gather.", 36 "basic.2d_array.rgba8.base_level.level_1"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles310014TestSuite, TestCase_013153, 39 "dEQP-GLES31.functional.texture.gather.", 40 "basic.2d_array.rgba8.base_level.level_2"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles310014TestSuite, TestCase_013227, 43 "dEQP-GLES31.functional.texture.gathe", 44 "r.basic.cube.rgba8.base_level.level_1"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles310014TestSuite, TestCase_013228, 47 "dEQP-GLES31.functional.texture.gathe", 48 "r.basic.cube.rgba8.base_level.level_2"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles310014TestSuite, TestCase_013361, 51 "dEQP-GLES31.functional.texture.gather.offset.im", 52 "plementation_offset.2d.rgba8.base_level.level_1"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles310014TestSuite, TestCase_013362, 55 "dEQP-GLES31.functional.texture.gather.offset.im", 56 "plementation_offset.2d.rgba8.base_level.level_2"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles310014TestSuite, TestCase_013430, 59 "dEQP-GLES31.functional.texture.gather.offset.imple", 60 "mentation_offset.2d_array.rgba8.base_level.level_1"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles310014TestSuite, TestCase_013431, 63 "dEQP-GLES31.functional.texture.gather.offset.imple", 64 "mentation_offset.2d_array.rgba8.base_level.level_2"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles310014TestSuite, TestCase_013559, 67 "dEQP-GLES31.functional.texture.gather.offset_dynami", 68 "c.implementation_offset.2d.rgba8.base_level.level_1"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles310014TestSuite, TestCase_013560, 71 "dEQP-GLES31.functional.texture.gather.offset_dynami", 72 "c.implementation_offset.2d.rgba8.base_level.level_2"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles310014TestSuite, TestCase_013628, 75 "dEQP-GLES31.functional.texture.gather.offset_dynamic.i", 76 "mplementation_offset.2d_array.rgba8.base_level.level_1"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles310014TestSuite, TestCase_013629, 79 "dEQP-GLES31.functional.texture.gather.offset_dynamic.i", 80 "mplementation_offset.2d_array.rgba8.base_level.level_2"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles310014TestSuite, TestCase_013757, 83 "dEQP-GLES31.functional.texture.gather.offsets.i", 84 "mplementation_offset.2d.rgba8.base_level.level_1"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles310014TestSuite, TestCase_013758, 87 "dEQP-GLES31.functional.texture.gather.offsets.i", 88 "mplementation_offset.2d.rgba8.base_level.level_2"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles310014TestSuite, TestCase_013826, 91 "dEQP-GLES31.functional.texture.gather.offsets.impl", 92 "ementation_offset.2d_array.rgba8.base_level.level_1"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles310014TestSuite, TestCase_013827, 95 "dEQP-GLES31.functional.texture.gather.offsets.impl", 96 "ementation_offset.2d_array.rgba8.base_level.level_2"); 97