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 "../ActsDeqpgles30002TestSuite.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(ActsDeqpgles30002TestSuite, TestCase_001595, 27 "dEQP-GLES3.functional.shaders.conversion", 28 "s.scalar_to_scalar.float_to_float_vertex"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001596, 31 "dEQP-GLES3.functional.shaders.conversions", 32 ".scalar_to_scalar.float_to_float_fragment"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001597, 35 "dEQP-GLES3.functional.shaders.conversio", 36 "ns.scalar_to_scalar.float_to_int_vertex"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001598, 39 "dEQP-GLES3.functional.shaders.conversion", 40 "s.scalar_to_scalar.float_to_int_fragment"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001599, 43 "dEQP-GLES3.functional.shaders.conversio", 44 "ns.scalar_to_scalar.float_to_bool_vertex"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001600, 47 "dEQP-GLES3.functional.shaders.conversion", 48 "s.scalar_to_scalar.float_to_bool_fragment"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001601, 51 "dEQP-GLES3.functional.shaders.conversio", 52 "ns.scalar_to_scalar.int_to_float_vertex"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001602, 55 "dEQP-GLES3.functional.shaders.conversion", 56 "s.scalar_to_scalar.int_to_float_fragment"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001603, 59 "dEQP-GLES3.functional.shaders.conversi", 60 "ons.scalar_to_scalar.int_to_int_vertex"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001604, 63 "dEQP-GLES3.functional.shaders.conversio", 64 "ns.scalar_to_scalar.int_to_int_fragment"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001605, 67 "dEQP-GLES3.functional.shaders.conversi", 68 "ons.scalar_to_scalar.int_to_bool_vertex"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001606, 71 "dEQP-GLES3.functional.shaders.conversio", 72 "ns.scalar_to_scalar.int_to_bool_fragment"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001607, 75 "dEQP-GLES3.functional.shaders.conversio", 76 "ns.scalar_to_scalar.uint_to_float_vertex"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001608, 79 "dEQP-GLES3.functional.shaders.conversion", 80 "s.scalar_to_scalar.uint_to_float_fragment"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001609, 83 "dEQP-GLES3.functional.shaders.conversi", 84 "ons.scalar_to_scalar.uint_to_int_vertex"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001610, 87 "dEQP-GLES3.functional.shaders.conversio", 88 "ns.scalar_to_scalar.uint_to_int_fragment"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001611, 91 "dEQP-GLES3.functional.shaders.conversio", 92 "ns.scalar_to_scalar.uint_to_bool_vertex"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001612, 95 "dEQP-GLES3.functional.shaders.conversion", 96 "s.scalar_to_scalar.uint_to_bool_fragment"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001613, 99 "dEQP-GLES3.functional.shaders.conversio", 100 "ns.scalar_to_scalar.bool_to_float_vertex"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001614, 103 "dEQP-GLES3.functional.shaders.conversion", 104 "s.scalar_to_scalar.bool_to_float_fragment"); 105 106 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001615, 107 "dEQP-GLES3.functional.shaders.conversi", 108 "ons.scalar_to_scalar.bool_to_int_vertex"); 109 110 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001616, 111 "dEQP-GLES3.functional.shaders.conversio", 112 "ns.scalar_to_scalar.bool_to_int_fragment"); 113 114 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001617, 115 "dEQP-GLES3.functional.shaders.conversio", 116 "ns.scalar_to_scalar.bool_to_bool_vertex"); 117 118 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001618, 119 "dEQP-GLES3.functional.shaders.conversion", 120 "s.scalar_to_scalar.bool_to_bool_fragment"); 121 122 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001619, 123 "dEQP-GLES3.functional.shaders.conversio", 124 "ns.scalar_to_scalar.float_to_uint_vertex"); 125 126 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001620, 127 "dEQP-GLES3.functional.shaders.conversion", 128 "s.scalar_to_scalar.float_to_uint_fragment"); 129 130 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001621, 131 "dEQP-GLES3.functional.shaders.conversi", 132 "ons.scalar_to_scalar.int_to_uint_vertex"); 133 134 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001622, 135 "dEQP-GLES3.functional.shaders.conversio", 136 "ns.scalar_to_scalar.int_to_uint_fragment"); 137 138 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001623, 139 "dEQP-GLES3.functional.shaders.conversio", 140 "ns.scalar_to_scalar.uint_to_uint_vertex"); 141 142 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001624, 143 "dEQP-GLES3.functional.shaders.conversion", 144 "s.scalar_to_scalar.uint_to_uint_fragment"); 145 146 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001625, 147 "dEQP-GLES3.functional.shaders.conversio", 148 "ns.scalar_to_scalar.bool_to_uint_vertex"); 149 150 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001626, 151 "dEQP-GLES3.functional.shaders.conversion", 152 "s.scalar_to_scalar.bool_to_uint_fragment"); 153