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 "../ActsDeqpgles30001TestSuite.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(ActsDeqpgles30001TestSuite, TestCase_000010, 27 "dEQP-GLES3.functional.implemen", 28 "tation_limits.max_element_index"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000011, 31 "dEQP-GLES3.functional.implem", 32 "entation_limits.subpixel_bits"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000012, 35 "dEQP-GLES3.functional.implement", 36 "ation_limits.max_3d_texture_size"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000013, 39 "dEQP-GLES3.functional.implemen", 40 "tation_limits.max_texture_size"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000014, 43 "dEQP-GLES3.functional.implementati", 44 "on_limits.max_array_texture_layers"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000015, 47 "dEQP-GLES3.functional.implementa", 48 "tion_limits.max_texture_lod_bias"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000016, 51 "dEQP-GLES3.functional.implementati", 52 "on_limits.max_cube_map_texture_size"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000017, 55 "dEQP-GLES3.functional.implementa", 56 "tion_limits.max_renderbuffer_size"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000018, 59 "dEQP-GLES3.functional.implemen", 60 "tation_limits.max_draw_buffers"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000019, 63 "dEQP-GLES3.functional.implementa", 64 "tion_limits.max_color_attachments"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000020, 67 "dEQP-GLES3.functional.implementati", 68 "on_limits.aliased_point_size_range"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000021, 71 "dEQP-GLES3.functional.implementati", 72 "on_limits.aliased_line_width_range"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000022, 75 "dEQP-GLES3.functional.implementa", 76 "tion_limits.max_elements_indices"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000023, 79 "dEQP-GLES3.functional.implementa", 80 "tion_limits.max_elements_vertices"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000024, 83 "dEQP-GLES3.functional.implementation_", 84 "limits.num_compressed_texture_formats"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000025, 87 "dEQP-GLES3.functional.implementatio", 88 "n_limits.compressed_texture_formats"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000026, 91 "dEQP-GLES3.functional.implementatio", 92 "n_limits.num_program_binary_formats"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000027, 95 "dEQP-GLES3.functional.implementati", 96 "on_limits.num_shader_binary_formats"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000028, 99 "dEQP-GLES3.functional.impleme", 100 "ntation_limits.shader_compiler"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000029, 103 "dEQP-GLES3.functional.implementat", 104 "ion_limits.max_server_wait_timeout"); 105 106 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000030, 107 "dEQP-GLES3.functional.imple", 108 "mentation_limits.extensions"); 109 110 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000031, 111 "dEQP-GLES3.functional.impleme", 112 "ntation_limits.num_extensions"); 113 114 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000032, 115 "dEQP-GLES3.functional.implem", 116 "entation_limits.major_version"); 117 118 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000033, 119 "dEQP-GLES3.functional.implem", 120 "entation_limits.minor_version"); 121 122 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000034, 123 "dEQP-GLES3.functional.implement", 124 "ation_limits.max_vertex_attribs"); 125 126 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000035, 127 "dEQP-GLES3.functional.implementation", 128 "_limits.max_vertex_uniform_components"); 129 130 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000036, 131 "dEQP-GLES3.functional.implementatio", 132 "n_limits.max_vertex_uniform_vectors"); 133 134 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000037, 135 "dEQP-GLES3.functional.implementati", 136 "on_limits.max_vertex_uniform_blocks"); 137 138 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000038, 139 "dEQP-GLES3.functional.implementation", 140 "_limits.max_vertex_output_components"); 141 142 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000039, 143 "dEQP-GLES3.functional.implementation_", 144 "limits.max_vertex_texture_image_units"); 145 146 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000040, 147 "dEQP-GLES3.functional.implementation_", 148 "limits.max_fragment_uniform_components"); 149 150 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000041, 151 "dEQP-GLES3.functional.implementation", 152 "_limits.max_fragment_uniform_vectors"); 153 154 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000042, 155 "dEQP-GLES3.functional.implementatio", 156 "n_limits.max_fragment_uniform_blocks"); 157 158 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000043, 159 "dEQP-GLES3.functional.implementation", 160 "_limits.max_fragment_input_components"); 161 162 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000044, 163 "dEQP-GLES3.functional.implementat", 164 "ion_limits.max_texture_image_units"); 165 166 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000045, 167 "dEQP-GLES3.functional.implementati", 168 "on_limits.min_program_texel_offset"); 169 170 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000046, 171 "dEQP-GLES3.functional.implementati", 172 "on_limits.max_program_texel_offset"); 173 174 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000047, 175 "dEQP-GLES3.functional.implementatio", 176 "n_limits.max_uniform_buffer_bindings"); 177 178 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000048, 179 "dEQP-GLES3.functional.implementat", 180 "ion_limits.max_uniform_block_size"); 181 182 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000049, 183 "dEQP-GLES3.functional.implementation_", 184 "limits.uniform_buffer_offset_alignment"); 185 186 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000050, 187 "dEQP-GLES3.functional.implementatio", 188 "n_limits.max_combined_uniform_blocks"); 189 190 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000051, 191 "dEQP-GLES3.functional.implementation_limi", 192 "ts.max_combined_vertex_uniform_components"); 193 194 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000052, 195 "dEQP-GLES3.functional.implementation_limit", 196 "s.max_combined_fragment_uniform_components"); 197 198 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000053, 199 "dEQP-GLES3.functional.implementat", 200 "ion_limits.max_varying_components"); 201 202 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000054, 203 "dEQP-GLES3.functional.implement", 204 "ation_limits.max_varying_vectors"); 205 206 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000055, 207 "dEQP-GLES3.functional.implementation_l", 208 "imits.max_combined_texture_image_units"); 209 210 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000056, 211 "dEQP-GLES3.functional.implementation_limits.", 212 "max_transform_feedback_interleaved_components"); 213 214 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000057, 215 "dEQP-GLES3.functional.implementation_limi", 216 "ts.max_transform_feedback_separate_attribs"); 217 218 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000058, 219 "dEQP-GLES3.functional.implementation_limits", 220 ".max_transform_feedback_separate_components"); 221