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_014384, 27 "dEQP-GLES2.functional.uniform_api.value.in", 28 "itial.render.basic_struct.float_vec4_vertex"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014385, 31 "dEQP-GLES2.functional.uniform_api.value.ini", 32 "tial.render.basic_struct.float_vec4_fragment"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014386, 35 "dEQP-GLES2.functional.uniform_api.value.i", 36 "nitial.render.basic_struct.float_vec4_both"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014387, 39 "dEQP-GLES2.functional.uniform_api.value.in", 40 "itial.render.basic_struct.mat4_mat2_vertex"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014388, 43 "dEQP-GLES2.functional.uniform_api.value.ini", 44 "tial.render.basic_struct.mat4_mat2_fragment"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014389, 47 "dEQP-GLES2.functional.uniform_api.value.i", 48 "nitial.render.basic_struct.mat4_mat2_both"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014390, 51 "dEQP-GLES2.functional.uniform_api.value.in", 52 "itial.render.basic_struct.int_ivec4_vertex"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014391, 55 "dEQP-GLES2.functional.uniform_api.value.ini", 56 "tial.render.basic_struct.int_ivec4_fragment"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014392, 59 "dEQP-GLES2.functional.uniform_api.value.i", 60 "nitial.render.basic_struct.int_ivec4_both"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014393, 63 "dEQP-GLES2.functional.uniform_api.value.in", 64 "itial.render.basic_struct.bool_bvec4_vertex"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014394, 67 "dEQP-GLES2.functional.uniform_api.value.ini", 68 "tial.render.basic_struct.bool_bvec4_fragment"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014395, 71 "dEQP-GLES2.functional.uniform_api.value.i", 72 "nitial.render.basic_struct.bool_bvec4_both"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014704, 75 "dEQP-GLES2.functional.uniform_api.value.assigned", 76 ".by_pointer.render.basic_struct.float_vec4_vertex"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014705, 79 "dEQP-GLES2.functional.uniform_api.value.assigned.", 80 "by_pointer.render.basic_struct.float_vec4_fragment"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014706, 83 "dEQP-GLES2.functional.uniform_api.value.assigne", 84 "d.by_pointer.render.basic_struct.float_vec4_both"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014707, 87 "dEQP-GLES2.functional.uniform_api.value.assigned", 88 ".by_pointer.render.basic_struct.mat4_mat2_vertex"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014708, 91 "dEQP-GLES2.functional.uniform_api.value.assigned.", 92 "by_pointer.render.basic_struct.mat4_mat2_fragment"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014709, 95 "dEQP-GLES2.functional.uniform_api.value.assigne", 96 "d.by_pointer.render.basic_struct.mat4_mat2_both"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014710, 99 "dEQP-GLES2.functional.uniform_api.value.assigned", 100 ".by_pointer.render.basic_struct.int_ivec4_vertex"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014711, 103 "dEQP-GLES2.functional.uniform_api.value.assigned.", 104 "by_pointer.render.basic_struct.int_ivec4_fragment"); 105 106 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014712, 107 "dEQP-GLES2.functional.uniform_api.value.assigne", 108 "d.by_pointer.render.basic_struct.int_ivec4_both"); 109 110 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014713, 111 "dEQP-GLES2.functional.uniform_api.value.assigned", 112 ".by_pointer.render.basic_struct.bool_bvec4_vertex"); 113 114 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014714, 115 "dEQP-GLES2.functional.uniform_api.value.assigned.", 116 "by_pointer.render.basic_struct.bool_bvec4_fragment"); 117 118 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014715, 119 "dEQP-GLES2.functional.uniform_api.value.assigne", 120 "d.by_pointer.render.basic_struct.bool_bvec4_both"); 121 122 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014716, 123 "dEQP-GLES2.functional.uniform_api.value.assigned.by_po", 124 "inter.render.basic_struct.sampler2D_samplerCube_vertex"); 125 126 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014717, 127 "dEQP-GLES2.functional.uniform_api.value.assigned.by_poi", 128 "nter.render.basic_struct.sampler2D_samplerCube_fragment"); 129 130 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014718, 131 "dEQP-GLES2.functional.uniform_api.value.assigned.by_p", 132 "ointer.render.basic_struct.sampler2D_samplerCube_both"); 133 134 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014996, 135 "dEQP-GLES2.functional.uniform_api.value.assigne", 136 "d.by_value.render.basic_struct.float_vec4_vertex"); 137 138 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014997, 139 "dEQP-GLES2.functional.uniform_api.value.assigned", 140 ".by_value.render.basic_struct.float_vec4_fragment"); 141 142 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014998, 143 "dEQP-GLES2.functional.uniform_api.value.assign", 144 "ed.by_value.render.basic_struct.float_vec4_both"); 145 146 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014999, 147 "dEQP-GLES2.functional.uniform_api.value.assigne", 148 "d.by_value.render.basic_struct.int_ivec4_vertex"); 149 150 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015000, 151 "dEQP-GLES2.functional.uniform_api.value.assigned", 152 ".by_value.render.basic_struct.int_ivec4_fragment"); 153 154 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015001, 155 "dEQP-GLES2.functional.uniform_api.value.assign", 156 "ed.by_value.render.basic_struct.int_ivec4_both"); 157 158 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015002, 159 "dEQP-GLES2.functional.uniform_api.value.assigne", 160 "d.by_value.render.basic_struct.bool_bvec4_vertex"); 161 162 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015003, 163 "dEQP-GLES2.functional.uniform_api.value.assigned", 164 ".by_value.render.basic_struct.bool_bvec4_fragment"); 165 166 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015004, 167 "dEQP-GLES2.functional.uniform_api.value.assign", 168 "ed.by_value.render.basic_struct.bool_bvec4_both"); 169 170 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015005, 171 "dEQP-GLES2.functional.uniform_api.value.assigned.by_v", 172 "alue.render.basic_struct.sampler2D_samplerCube_vertex"); 173 174 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015006, 175 "dEQP-GLES2.functional.uniform_api.value.assigned.by_va", 176 "lue.render.basic_struct.sampler2D_samplerCube_fragment"); 177 178 static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015007, 179 "dEQP-GLES2.functional.uniform_api.value.assigned.by_", 180 "value.render.basic_struct.sampler2D_samplerCube_both"); 181