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_014408, 27 "dEQP-GLES2.functional.uniform_api.value.init", 28 "ial.render.array_in_struct.float_vec4_vertex"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014409, 31 "dEQP-GLES2.functional.uniform_api.value.initi", 32 "al.render.array_in_struct.float_vec4_fragment"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014410, 35 "dEQP-GLES2.functional.uniform_api.value.ini", 36 "tial.render.array_in_struct.float_vec4_both"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014411, 39 "dEQP-GLES2.functional.uniform_api.value.ini", 40 "tial.render.array_in_struct.mat4_mat2_vertex"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014412, 43 "dEQP-GLES2.functional.uniform_api.value.init", 44 "ial.render.array_in_struct.mat4_mat2_fragment"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014413, 47 "dEQP-GLES2.functional.uniform_api.value.in", 48 "itial.render.array_in_struct.mat4_mat2_both"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014414, 51 "dEQP-GLES2.functional.uniform_api.value.ini", 52 "tial.render.array_in_struct.int_ivec4_vertex"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014415, 55 "dEQP-GLES2.functional.uniform_api.value.init", 56 "ial.render.array_in_struct.int_ivec4_fragment"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014416, 59 "dEQP-GLES2.functional.uniform_api.value.in", 60 "itial.render.array_in_struct.int_ivec4_both"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014417, 63 "dEQP-GLES2.functional.uniform_api.value.init", 64 "ial.render.array_in_struct.bool_bvec4_vertex"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014418, 67 "dEQP-GLES2.functional.uniform_api.value.initi", 68 "al.render.array_in_struct.bool_bvec4_fragment"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014419, 71 "dEQP-GLES2.functional.uniform_api.value.ini", 72 "tial.render.array_in_struct.bool_bvec4_both"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014734, 75 "dEQP-GLES2.functional.uniform_api.value.assigned.b", 76 "y_pointer.render.array_in_struct.float_vec4_vertex"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014735, 79 "dEQP-GLES2.functional.uniform_api.value.assigned.by", 80 "_pointer.render.array_in_struct.float_vec4_fragment"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014736, 83 "dEQP-GLES2.functional.uniform_api.value.assigned.", 84 "by_pointer.render.array_in_struct.float_vec4_both"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014737, 87 "dEQP-GLES2.functional.uniform_api.value.assigned.", 88 "by_pointer.render.array_in_struct.mat4_mat2_vertex"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014738, 91 "dEQP-GLES2.functional.uniform_api.value.assigned.b", 92 "y_pointer.render.array_in_struct.mat4_mat2_fragment"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014739, 95 "dEQP-GLES2.functional.uniform_api.value.assigned", 96 ".by_pointer.render.array_in_struct.mat4_mat2_both"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014740, 99 "dEQP-GLES2.functional.uniform_api.value.assigned.", 100 "by_pointer.render.array_in_struct.int_ivec4_vertex"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014741, 103 "dEQP-GLES2.functional.uniform_api.value.assigned.b", 104 "y_pointer.render.array_in_struct.int_ivec4_fragment"); 105 106 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014742, 107 "dEQP-GLES2.functional.uniform_api.value.assigned", 108 ".by_pointer.render.array_in_struct.int_ivec4_both"); 109 110 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014743, 111 "dEQP-GLES2.functional.uniform_api.value.assigned.b", 112 "y_pointer.render.array_in_struct.bool_bvec4_vertex"); 113 114 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014744, 115 "dEQP-GLES2.functional.uniform_api.value.assigned.by", 116 "_pointer.render.array_in_struct.bool_bvec4_fragment"); 117 118 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014745, 119 "dEQP-GLES2.functional.uniform_api.value.assigned.", 120 "by_pointer.render.array_in_struct.bool_bvec4_both"); 121 122 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014746, 123 "dEQP-GLES2.functional.uniform_api.value.assigned.by_poi", 124 "nter.render.array_in_struct.sampler2D_samplerCube_vertex"); 125 126 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014747, 127 "dEQP-GLES2.functional.uniform_api.value.assigned.by_poin", 128 "ter.render.array_in_struct.sampler2D_samplerCube_fragment"); 129 130 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014748, 131 "dEQP-GLES2.functional.uniform_api.value.assigned.by_po", 132 "inter.render.array_in_struct.sampler2D_samplerCube_both"); 133 134 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015020, 135 "dEQP-GLES2.functional.uniform_api.value.assigned.", 136 "by_value.render.array_in_struct.float_vec4_vertex"); 137 138 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015021, 139 "dEQP-GLES2.functional.uniform_api.value.assigned.b", 140 "y_value.render.array_in_struct.float_vec4_fragment"); 141 142 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015022, 143 "dEQP-GLES2.functional.uniform_api.value.assigned", 144 ".by_value.render.array_in_struct.float_vec4_both"); 145 146 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015023, 147 "dEQP-GLES2.functional.uniform_api.value.assigned", 148 ".by_value.render.array_in_struct.int_ivec4_vertex"); 149 150 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015024, 151 "dEQP-GLES2.functional.uniform_api.value.assigned.", 152 "by_value.render.array_in_struct.int_ivec4_fragment"); 153 154 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015025, 155 "dEQP-GLES2.functional.uniform_api.value.assigne", 156 "d.by_value.render.array_in_struct.int_ivec4_both"); 157 158 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015026, 159 "dEQP-GLES2.functional.uniform_api.value.assigned.", 160 "by_value.render.array_in_struct.bool_bvec4_vertex"); 161 162 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015027, 163 "dEQP-GLES2.functional.uniform_api.value.assigned.b", 164 "y_value.render.array_in_struct.bool_bvec4_fragment"); 165 166 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015028, 167 "dEQP-GLES2.functional.uniform_api.value.assigned", 168 ".by_value.render.array_in_struct.bool_bvec4_both"); 169 170 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015029, 171 "dEQP-GLES2.functional.uniform_api.value.assigned.by_va", 172 "lue.render.array_in_struct.sampler2D_samplerCube_vertex"); 173 174 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015030, 175 "dEQP-GLES2.functional.uniform_api.value.assigned.by_val", 176 "ue.render.array_in_struct.sampler2D_samplerCube_fragment"); 177 178 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015031, 179 "dEQP-GLES2.functional.uniform_api.value.assigned.by_v", 180 "alue.render.array_in_struct.sampler2D_samplerCube_both"); 181