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 "../ActsDeqpgles30038TestSuite.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(ActsDeqpgles30038TestSuite, TestCase_037285, 27 "dEQP-GLES3.functional.uniform_api.value.initial", 28 ".render.nested_structs_arrays.float_vec4_vertex"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037286, 31 "dEQP-GLES3.functional.uniform_api.value.initial.", 32 "render.nested_structs_arrays.float_vec4_fragment"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037287, 35 "dEQP-GLES3.functional.uniform_api.value.initia", 36 "l.render.nested_structs_arrays.float_vec4_both"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037288, 39 "dEQP-GLES3.functional.uniform_api.value.initia", 40 "l.render.nested_structs_arrays.mat4_mat2_vertex"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037289, 43 "dEQP-GLES3.functional.uniform_api.value.initial", 44 ".render.nested_structs_arrays.mat4_mat2_fragment"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037290, 47 "dEQP-GLES3.functional.uniform_api.value.initi", 48 "al.render.nested_structs_arrays.mat4_mat2_both"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037291, 51 "dEQP-GLES3.functional.uniform_api.value.initia", 52 "l.render.nested_structs_arrays.int_ivec4_vertex"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037292, 55 "dEQP-GLES3.functional.uniform_api.value.initial", 56 ".render.nested_structs_arrays.int_ivec4_fragment"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037293, 59 "dEQP-GLES3.functional.uniform_api.value.initi", 60 "al.render.nested_structs_arrays.int_ivec4_both"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037294, 63 "dEQP-GLES3.functional.uniform_api.value.initial", 64 ".render.nested_structs_arrays.uint_uvec4_vertex"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037295, 67 "dEQP-GLES3.functional.uniform_api.value.initial.", 68 "render.nested_structs_arrays.uint_uvec4_fragment"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037296, 71 "dEQP-GLES3.functional.uniform_api.value.initia", 72 "l.render.nested_structs_arrays.uint_uvec4_both"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037297, 75 "dEQP-GLES3.functional.uniform_api.value.initial", 76 ".render.nested_structs_arrays.bool_bvec4_vertex"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037298, 79 "dEQP-GLES3.functional.uniform_api.value.initial.", 80 "render.nested_structs_arrays.bool_bvec4_fragment"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037299, 83 "dEQP-GLES3.functional.uniform_api.value.initia", 84 "l.render.nested_structs_arrays.bool_bvec4_both"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037807, 87 "dEQP-GLES3.functional.uniform_api.value.assigned.by_p", 88 "ointer.render.nested_structs_arrays.float_vec4_vertex"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037808, 91 "dEQP-GLES3.functional.uniform_api.value.assigned.by_po", 92 "inter.render.nested_structs_arrays.float_vec4_fragment"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037809, 95 "dEQP-GLES3.functional.uniform_api.value.assigned.by_", 96 "pointer.render.nested_structs_arrays.float_vec4_both"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037810, 99 "dEQP-GLES3.functional.uniform_api.value.assigned.by_", 100 "pointer.render.nested_structs_arrays.mat4_mat2_vertex"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037811, 103 "dEQP-GLES3.functional.uniform_api.value.assigned.by_p", 104 "ointer.render.nested_structs_arrays.mat4_mat2_fragment"); 105 106 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037812, 107 "dEQP-GLES3.functional.uniform_api.value.assigned.by", 108 "_pointer.render.nested_structs_arrays.mat4_mat2_both"); 109 110 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037813, 111 "dEQP-GLES3.functional.uniform_api.value.assigned.by_", 112 "pointer.render.nested_structs_arrays.int_ivec4_vertex"); 113 114 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037814, 115 "dEQP-GLES3.functional.uniform_api.value.assigned.by_p", 116 "ointer.render.nested_structs_arrays.int_ivec4_fragment"); 117 118 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037815, 119 "dEQP-GLES3.functional.uniform_api.value.assigned.by", 120 "_pointer.render.nested_structs_arrays.int_ivec4_both"); 121 122 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037816, 123 "dEQP-GLES3.functional.uniform_api.value.assigned.by_p", 124 "ointer.render.nested_structs_arrays.uint_uvec4_vertex"); 125 126 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037817, 127 "dEQP-GLES3.functional.uniform_api.value.assigned.by_po", 128 "inter.render.nested_structs_arrays.uint_uvec4_fragment"); 129 130 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037818, 131 "dEQP-GLES3.functional.uniform_api.value.assigned.by_", 132 "pointer.render.nested_structs_arrays.uint_uvec4_both"); 133 134 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037819, 135 "dEQP-GLES3.functional.uniform_api.value.assigned.by_p", 136 "ointer.render.nested_structs_arrays.bool_bvec4_vertex"); 137 138 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037820, 139 "dEQP-GLES3.functional.uniform_api.value.assigned.by_po", 140 "inter.render.nested_structs_arrays.bool_bvec4_fragment"); 141 142 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037821, 143 "dEQP-GLES3.functional.uniform_api.value.assigned.by_", 144 "pointer.render.nested_structs_arrays.bool_bvec4_both"); 145 146 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037822, 147 "dEQP-GLES3.functional.uniform_api.value.assigned.by_pointe", 148 "r.render.nested_structs_arrays.sampler2D_samplerCube_vertex"); 149 150 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037823, 151 "dEQP-GLES3.functional.uniform_api.value.assigned.by_pointer", 152 ".render.nested_structs_arrays.sampler2D_samplerCube_fragment"); 153 154 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037824, 155 "dEQP-GLES3.functional.uniform_api.value.assigned.by_point", 156 "er.render.nested_structs_arrays.sampler2D_samplerCube_both"); 157 158 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_038182, 159 "dEQP-GLES3.functional.uniform_api.value.assigned.by_", 160 "value.render.nested_structs_arrays.float_vec4_vertex"); 161 162 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_038183, 163 "dEQP-GLES3.functional.uniform_api.value.assigned.by_v", 164 "alue.render.nested_structs_arrays.float_vec4_fragment"); 165 166 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_038184, 167 "dEQP-GLES3.functional.uniform_api.value.assigned.by", 168 "_value.render.nested_structs_arrays.float_vec4_both"); 169 170 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_038185, 171 "dEQP-GLES3.functional.uniform_api.value.assigned.by", 172 "_value.render.nested_structs_arrays.int_ivec4_vertex"); 173 174 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_038186, 175 "dEQP-GLES3.functional.uniform_api.value.assigned.by_", 176 "value.render.nested_structs_arrays.int_ivec4_fragment"); 177 178 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_038187, 179 "dEQP-GLES3.functional.uniform_api.value.assigned.b", 180 "y_value.render.nested_structs_arrays.int_ivec4_both"); 181 182 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_038188, 183 "dEQP-GLES3.functional.uniform_api.value.assigned.by_", 184 "value.render.nested_structs_arrays.uint_uvec4_vertex"); 185 186 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_038189, 187 "dEQP-GLES3.functional.uniform_api.value.assigned.by_v", 188 "alue.render.nested_structs_arrays.uint_uvec4_fragment"); 189 190 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_038190, 191 "dEQP-GLES3.functional.uniform_api.value.assigned.by", 192 "_value.render.nested_structs_arrays.uint_uvec4_both"); 193 194 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_038191, 195 "dEQP-GLES3.functional.uniform_api.value.assigned.by_", 196 "value.render.nested_structs_arrays.bool_bvec4_vertex"); 197 198 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_038192, 199 "dEQP-GLES3.functional.uniform_api.value.assigned.by_v", 200 "alue.render.nested_structs_arrays.bool_bvec4_fragment"); 201 202 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_038193, 203 "dEQP-GLES3.functional.uniform_api.value.assigned.by", 204 "_value.render.nested_structs_arrays.bool_bvec4_both"); 205 206 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_038194, 207 "dEQP-GLES3.functional.uniform_api.value.assigned.by_value", 208 ".render.nested_structs_arrays.sampler2D_samplerCube_vertex"); 209 210 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_038195, 211 "dEQP-GLES3.functional.uniform_api.value.assigned.by_value.", 212 "render.nested_structs_arrays.sampler2D_samplerCube_fragment"); 213 214 static SHRINK_HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_038196, 215 "dEQP-GLES3.functional.uniform_api.value.assigned.by_valu", 216 "e.render.nested_structs_arrays.sampler2D_samplerCube_both"); 217