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 "../ActsDeqpgles30017TestSuite.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(ActsDeqpgles30017TestSuite, TestCase_016284, 27 "dEQP-GLES3.functional.shaders.matri", 28 "x.sub_assign.lowp_mat2_float_vertex"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016285, 31 "dEQP-GLES3.functional.shaders.matrix", 32 ".sub_assign.lowp_mat2_float_fragment"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016286, 35 "dEQP-GLES3.functional.shaders.matrix", 36 ".sub_assign.mediump_mat2_float_vertex"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016287, 39 "dEQP-GLES3.functional.shaders.matrix.", 40 "sub_assign.mediump_mat2_float_fragment"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016288, 43 "dEQP-GLES3.functional.shaders.matri", 44 "x.sub_assign.highp_mat2_float_vertex"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016289, 47 "dEQP-GLES3.functional.shaders.matrix", 48 ".sub_assign.highp_mat2_float_fragment"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016290, 51 "dEQP-GLES3.functional.shaders.matrix", 52 ".sub_assign.lowp_mat2x3_float_vertex"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016291, 55 "dEQP-GLES3.functional.shaders.matrix.", 56 "sub_assign.lowp_mat2x3_float_fragment"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016292, 59 "dEQP-GLES3.functional.shaders.matrix.", 60 "sub_assign.mediump_mat2x3_float_vertex"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016293, 63 "dEQP-GLES3.functional.shaders.matrix.s", 64 "ub_assign.mediump_mat2x3_float_fragment"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016294, 67 "dEQP-GLES3.functional.shaders.matrix", 68 ".sub_assign.highp_mat2x3_float_vertex"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016295, 71 "dEQP-GLES3.functional.shaders.matrix.", 72 "sub_assign.highp_mat2x3_float_fragment"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016296, 75 "dEQP-GLES3.functional.shaders.matrix", 76 ".sub_assign.lowp_mat2x4_float_vertex"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016297, 79 "dEQP-GLES3.functional.shaders.matrix.", 80 "sub_assign.lowp_mat2x4_float_fragment"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016298, 83 "dEQP-GLES3.functional.shaders.matrix.", 84 "sub_assign.mediump_mat2x4_float_vertex"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016299, 87 "dEQP-GLES3.functional.shaders.matrix.s", 88 "ub_assign.mediump_mat2x4_float_fragment"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016300, 91 "dEQP-GLES3.functional.shaders.matrix", 92 ".sub_assign.highp_mat2x4_float_vertex"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016301, 95 "dEQP-GLES3.functional.shaders.matrix.", 96 "sub_assign.highp_mat2x4_float_fragment"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016302, 99 "dEQP-GLES3.functional.shaders.matrix", 100 ".sub_assign.lowp_mat3x2_float_vertex"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016303, 103 "dEQP-GLES3.functional.shaders.matrix.", 104 "sub_assign.lowp_mat3x2_float_fragment"); 105 106 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016304, 107 "dEQP-GLES3.functional.shaders.matrix.", 108 "sub_assign.mediump_mat3x2_float_vertex"); 109 110 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016305, 111 "dEQP-GLES3.functional.shaders.matrix.s", 112 "ub_assign.mediump_mat3x2_float_fragment"); 113 114 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016306, 115 "dEQP-GLES3.functional.shaders.matrix", 116 ".sub_assign.highp_mat3x2_float_vertex"); 117 118 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016307, 119 "dEQP-GLES3.functional.shaders.matrix.", 120 "sub_assign.highp_mat3x2_float_fragment"); 121 122 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016308, 123 "dEQP-GLES3.functional.shaders.matri", 124 "x.sub_assign.lowp_mat3_float_vertex"); 125 126 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016309, 127 "dEQP-GLES3.functional.shaders.matrix", 128 ".sub_assign.lowp_mat3_float_fragment"); 129 130 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016310, 131 "dEQP-GLES3.functional.shaders.matrix", 132 ".sub_assign.mediump_mat3_float_vertex"); 133 134 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016311, 135 "dEQP-GLES3.functional.shaders.matrix.", 136 "sub_assign.mediump_mat3_float_fragment"); 137 138 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016312, 139 "dEQP-GLES3.functional.shaders.matri", 140 "x.sub_assign.highp_mat3_float_vertex"); 141 142 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016313, 143 "dEQP-GLES3.functional.shaders.matrix", 144 ".sub_assign.highp_mat3_float_fragment"); 145 146 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016314, 147 "dEQP-GLES3.functional.shaders.matrix", 148 ".sub_assign.lowp_mat3x4_float_vertex"); 149 150 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016315, 151 "dEQP-GLES3.functional.shaders.matrix.", 152 "sub_assign.lowp_mat3x4_float_fragment"); 153 154 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016316, 155 "dEQP-GLES3.functional.shaders.matrix.", 156 "sub_assign.mediump_mat3x4_float_vertex"); 157 158 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016317, 159 "dEQP-GLES3.functional.shaders.matrix.s", 160 "ub_assign.mediump_mat3x4_float_fragment"); 161 162 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016318, 163 "dEQP-GLES3.functional.shaders.matrix", 164 ".sub_assign.highp_mat3x4_float_vertex"); 165 166 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016319, 167 "dEQP-GLES3.functional.shaders.matrix.", 168 "sub_assign.highp_mat3x4_float_fragment"); 169 170 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016320, 171 "dEQP-GLES3.functional.shaders.matrix", 172 ".sub_assign.lowp_mat4x2_float_vertex"); 173 174 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016321, 175 "dEQP-GLES3.functional.shaders.matrix.", 176 "sub_assign.lowp_mat4x2_float_fragment"); 177 178 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016322, 179 "dEQP-GLES3.functional.shaders.matrix.", 180 "sub_assign.mediump_mat4x2_float_vertex"); 181 182 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016323, 183 "dEQP-GLES3.functional.shaders.matrix.s", 184 "ub_assign.mediump_mat4x2_float_fragment"); 185 186 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016324, 187 "dEQP-GLES3.functional.shaders.matrix", 188 ".sub_assign.highp_mat4x2_float_vertex"); 189 190 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016325, 191 "dEQP-GLES3.functional.shaders.matrix.", 192 "sub_assign.highp_mat4x2_float_fragment"); 193 194 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016326, 195 "dEQP-GLES3.functional.shaders.matrix", 196 ".sub_assign.lowp_mat4x3_float_vertex"); 197 198 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016327, 199 "dEQP-GLES3.functional.shaders.matrix.", 200 "sub_assign.lowp_mat4x3_float_fragment"); 201 202 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016328, 203 "dEQP-GLES3.functional.shaders.matrix.", 204 "sub_assign.mediump_mat4x3_float_vertex"); 205 206 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016329, 207 "dEQP-GLES3.functional.shaders.matrix.s", 208 "ub_assign.mediump_mat4x3_float_fragment"); 209 210 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016330, 211 "dEQP-GLES3.functional.shaders.matrix", 212 ".sub_assign.highp_mat4x3_float_vertex"); 213 214 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016331, 215 "dEQP-GLES3.functional.shaders.matrix.", 216 "sub_assign.highp_mat4x3_float_fragment"); 217 218 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016332, 219 "dEQP-GLES3.functional.shaders.matri", 220 "x.sub_assign.lowp_mat4_float_vertex"); 221 222 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016333, 223 "dEQP-GLES3.functional.shaders.matrix", 224 ".sub_assign.lowp_mat4_float_fragment"); 225 226 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016334, 227 "dEQP-GLES3.functional.shaders.matrix", 228 ".sub_assign.mediump_mat4_float_vertex"); 229 230 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016335, 231 "dEQP-GLES3.functional.shaders.matrix.", 232 "sub_assign.mediump_mat4_float_fragment"); 233 234 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016336, 235 "dEQP-GLES3.functional.shaders.matri", 236 "x.sub_assign.highp_mat4_float_vertex"); 237 238 static SHRINK_HWTEST_F(ActsDeqpgles30017TestSuite, TestCase_016337, 239 "dEQP-GLES3.functional.shaders.matrix", 240 ".sub_assign.highp_mat4_float_fragment"); 241