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 "../Deqpgles2BaseFunc.h" 19 #include "../ActsDeqpgles20015TestSuite.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(ActsDeqpgles20015TestSuite, TestCase_014420, 27 "dEQP-GLES2.functional.uniform_api.value.initial", 28 ".render.nested_structs_arrays.float_vec4_vertex"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014421, 31 "dEQP-GLES2.functional.uniform_api.value.initial.", 32 "render.nested_structs_arrays.float_vec4_fragment"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014422, 35 "dEQP-GLES2.functional.uniform_api.value.initia", 36 "l.render.nested_structs_arrays.float_vec4_both"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014423, 39 "dEQP-GLES2.functional.uniform_api.value.initial", 40 ".render.nested_structs_arrays.mat4_mat2_fragment"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014424, 43 "dEQP-GLES2.functional.uniform_api.value.initia", 44 "l.render.nested_structs_arrays.int_ivec4_vertex"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014425, 47 "dEQP-GLES2.functional.uniform_api.value.initial", 48 ".render.nested_structs_arrays.int_ivec4_fragment"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014426, 51 "dEQP-GLES2.functional.uniform_api.value.initi", 52 "al.render.nested_structs_arrays.int_ivec4_both"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014427, 55 "dEQP-GLES2.functional.uniform_api.value.initial", 56 ".render.nested_structs_arrays.bool_bvec4_vertex"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014428, 59 "dEQP-GLES2.functional.uniform_api.value.initial.", 60 "render.nested_structs_arrays.bool_bvec4_fragment"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014429, 63 "dEQP-GLES2.functional.uniform_api.value.initia", 64 "l.render.nested_structs_arrays.bool_bvec4_both"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014749, 67 "dEQP-GLES2.functional.uniform_api.value.assigned.by_p", 68 "ointer.render.nested_structs_arrays.float_vec4_vertex"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014750, 71 "dEQP-GLES2.functional.uniform_api.value.assigned.by_po", 72 "inter.render.nested_structs_arrays.float_vec4_fragment"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014751, 75 "dEQP-GLES2.functional.uniform_api.value.assigned.by_", 76 "pointer.render.nested_structs_arrays.float_vec4_both"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014752, 79 "dEQP-GLES2.functional.uniform_api.value.assigned.by_p", 80 "ointer.render.nested_structs_arrays.mat4_mat2_fragment"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014753, 83 "dEQP-GLES2.functional.uniform_api.value.assigned.by_", 84 "pointer.render.nested_structs_arrays.int_ivec4_vertex"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014754, 87 "dEQP-GLES2.functional.uniform_api.value.assigned.by_p", 88 "ointer.render.nested_structs_arrays.int_ivec4_fragment"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014755, 91 "dEQP-GLES2.functional.uniform_api.value.assigned.by", 92 "_pointer.render.nested_structs_arrays.int_ivec4_both"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014756, 95 "dEQP-GLES2.functional.uniform_api.value.assigned.by_p", 96 "ointer.render.nested_structs_arrays.bool_bvec4_vertex"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014757, 99 "dEQP-GLES2.functional.uniform_api.value.assigned.by_po", 100 "inter.render.nested_structs_arrays.bool_bvec4_fragment"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014758, 103 "dEQP-GLES2.functional.uniform_api.value.assigned.by_", 104 "pointer.render.nested_structs_arrays.bool_bvec4_both"); 105 106 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014759, 107 "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointe", 108 "r.render.nested_structs_arrays.sampler2D_samplerCube_vertex"); 109 110 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014760, 111 "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer", 112 ".render.nested_structs_arrays.sampler2D_samplerCube_fragment"); 113 114 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014761, 115 "dEQP-GLES2.functional.uniform_api.value.assigned.by_point", 116 "er.render.nested_structs_arrays.sampler2D_samplerCube_both"); 117 118 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015032, 119 "dEQP-GLES2.functional.uniform_api.value.assigned.by_", 120 "value.render.nested_structs_arrays.float_vec4_vertex"); 121 122 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015033, 123 "dEQP-GLES2.functional.uniform_api.value.assigned.by_v", 124 "alue.render.nested_structs_arrays.float_vec4_fragment"); 125 126 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015034, 127 "dEQP-GLES2.functional.uniform_api.value.assigned.by", 128 "_value.render.nested_structs_arrays.float_vec4_both"); 129 130 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015035, 131 "dEQP-GLES2.functional.uniform_api.value.assigned.by", 132 "_value.render.nested_structs_arrays.int_ivec4_vertex"); 133 134 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015036, 135 "dEQP-GLES2.functional.uniform_api.value.assigned.by_", 136 "value.render.nested_structs_arrays.int_ivec4_fragment"); 137 138 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015037, 139 "dEQP-GLES2.functional.uniform_api.value.assigned.b", 140 "y_value.render.nested_structs_arrays.int_ivec4_both"); 141 142 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015038, 143 "dEQP-GLES2.functional.uniform_api.value.assigned.by_", 144 "value.render.nested_structs_arrays.bool_bvec4_vertex"); 145 146 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015039, 147 "dEQP-GLES2.functional.uniform_api.value.assigned.by_v", 148 "alue.render.nested_structs_arrays.bool_bvec4_fragment"); 149 150 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015040, 151 "dEQP-GLES2.functional.uniform_api.value.assigned.by", 152 "_value.render.nested_structs_arrays.bool_bvec4_both"); 153 154 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015041, 155 "dEQP-GLES2.functional.uniform_api.value.assigned.by_value", 156 ".render.nested_structs_arrays.sampler2D_samplerCube_vertex"); 157 158 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015042, 159 "dEQP-GLES2.functional.uniform_api.value.assigned.by_value.", 160 "render.nested_structs_arrays.sampler2D_samplerCube_fragment"); 161 162 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015043, 163 "dEQP-GLES2.functional.uniform_api.value.assigned.by_valu", 164 "e.render.nested_structs_arrays.sampler2D_samplerCube_both"); 165