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 "../ActsDeqpgles30044TestSuite.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(ActsDeqpgles30044TestSuite, TestCase_043903, 27 "dEQP-GLES3.functional.pol", 28 "ygon_offset.default_enable"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043904, 31 "dEQP-GLES3.functional.polygon_offs", 32 "et.default_displacement_with_units"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043905, 35 "dEQP-GLES3.functional.polygon_o", 36 "ffset.default_render_with_units"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043906, 39 "dEQP-GLES3.functional.polygon_o", 40 "ffset.default_render_with_factor"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043907, 43 "dEQP-GLES3.functional.polygon", 44 "_offset.default_factor_0_slope"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043908, 47 "dEQP-GLES3.functional.pol", 48 "ygon_offset.fixed16_enable"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043909, 51 "dEQP-GLES3.functional.polygon_offs", 52 "et.fixed16_displacement_with_units"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043910, 55 "dEQP-GLES3.functional.polygon_o", 56 "ffset.fixed16_render_with_units"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043911, 59 "dEQP-GLES3.functional.polygon_o", 60 "ffset.fixed16_render_with_factor"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043912, 63 "dEQP-GLES3.functional.polygon", 64 "_offset.fixed16_factor_0_slope"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043913, 67 "dEQP-GLES3.functional.pol", 68 "ygon_offset.fixed24_enable"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043914, 71 "dEQP-GLES3.functional.polygon_offs", 72 "et.fixed24_displacement_with_units"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043915, 75 "dEQP-GLES3.functional.polygon_o", 76 "ffset.fixed24_render_with_units"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043916, 79 "dEQP-GLES3.functional.polygon_o", 80 "ffset.fixed24_render_with_factor"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043917, 83 "dEQP-GLES3.functional.polygon", 84 "_offset.fixed24_factor_0_slope"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043918, 87 "dEQP-GLES3.functional.pol", 88 "ygon_offset.float32_enable"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043919, 91 "dEQP-GLES3.functional.polygon_offs", 92 "et.float32_displacement_with_units"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043920, 95 "dEQP-GLES3.functional.polygon_o", 96 "ffset.float32_render_with_units"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043921, 99 "dEQP-GLES3.functional.polygon_o", 100 "ffset.float32_render_with_factor"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043922, 103 "dEQP-GLES3.functional.polygon", 104 "_offset.float32_factor_0_slope"); 105