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 "../Deqpgles31BaseFunc.h" 19 #include "../ActsDeqpgles310018TestSuite.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(ActsDeqpgles310018TestSuite, TestCase_017041, 27 "dEQP-GLES31.functional.program_uniform.by_pointe", 28 "r.render.nested_structs_arrays.float_vec4_vertex"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017042, 31 "dEQP-GLES31.functional.program_uniform.by_pointer", 32 ".render.nested_structs_arrays.float_vec4_fragment"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017043, 35 "dEQP-GLES31.functional.program_uniform.by_point", 36 "er.render.nested_structs_arrays.float_vec4_both"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017044, 39 "dEQP-GLES31.functional.program_uniform.by_point", 40 "er.render.nested_structs_arrays.mat4_mat2_vertex"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017045, 43 "dEQP-GLES31.functional.program_uniform.by_pointe", 44 "r.render.nested_structs_arrays.mat4_mat2_fragment"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017046, 47 "dEQP-GLES31.functional.program_uniform.by_poin", 48 "ter.render.nested_structs_arrays.mat4_mat2_both"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017047, 51 "dEQP-GLES31.functional.program_uniform.by_point", 52 "er.render.nested_structs_arrays.int_ivec4_vertex"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017048, 55 "dEQP-GLES31.functional.program_uniform.by_pointe", 56 "r.render.nested_structs_arrays.int_ivec4_fragment"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017049, 59 "dEQP-GLES31.functional.program_uniform.by_poin", 60 "ter.render.nested_structs_arrays.int_ivec4_both"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017050, 63 "dEQP-GLES31.functional.program_uniform.by_pointe", 64 "r.render.nested_structs_arrays.uint_uvec4_vertex"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017051, 67 "dEQP-GLES31.functional.program_uniform.by_pointer", 68 ".render.nested_structs_arrays.uint_uvec4_fragment"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017052, 71 "dEQP-GLES31.functional.program_uniform.by_point", 72 "er.render.nested_structs_arrays.uint_uvec4_both"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017053, 75 "dEQP-GLES31.functional.program_uniform.by_pointe", 76 "r.render.nested_structs_arrays.bool_bvec4_vertex"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017054, 79 "dEQP-GLES31.functional.program_uniform.by_pointer", 80 ".render.nested_structs_arrays.bool_bvec4_fragment"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017055, 83 "dEQP-GLES31.functional.program_uniform.by_point", 84 "er.render.nested_structs_arrays.bool_bvec4_both"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017056, 87 "dEQP-GLES31.functional.program_uniform.by_pointer.ren", 88 "der.nested_structs_arrays.sampler2D_samplerCube_vertex"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017057, 91 "dEQP-GLES31.functional.program_uniform.by_pointer.rend", 92 "er.nested_structs_arrays.sampler2D_samplerCube_fragment"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017058, 95 "dEQP-GLES31.functional.program_uniform.by_pointer.re", 96 "nder.nested_structs_arrays.sampler2D_samplerCube_both"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017416, 99 "dEQP-GLES31.functional.program_uniform.by_value", 100 ".render.nested_structs_arrays.float_vec4_vertex"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017417, 103 "dEQP-GLES31.functional.program_uniform.by_value.", 104 "render.nested_structs_arrays.float_vec4_fragment"); 105 106 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017418, 107 "dEQP-GLES31.functional.program_uniform.by_valu", 108 "e.render.nested_structs_arrays.float_vec4_both"); 109 110 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017419, 111 "dEQP-GLES31.functional.program_uniform.by_valu", 112 "e.render.nested_structs_arrays.int_ivec4_vertex"); 113 114 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017420, 115 "dEQP-GLES31.functional.program_uniform.by_value", 116 ".render.nested_structs_arrays.int_ivec4_fragment"); 117 118 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017421, 119 "dEQP-GLES31.functional.program_uniform.by_val", 120 "ue.render.nested_structs_arrays.int_ivec4_both"); 121 122 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017422, 123 "dEQP-GLES31.functional.program_uniform.by_value", 124 ".render.nested_structs_arrays.uint_uvec4_vertex"); 125 126 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017423, 127 "dEQP-GLES31.functional.program_uniform.by_value.", 128 "render.nested_structs_arrays.uint_uvec4_fragment"); 129 130 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017424, 131 "dEQP-GLES31.functional.program_uniform.by_valu", 132 "e.render.nested_structs_arrays.uint_uvec4_both"); 133 134 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017425, 135 "dEQP-GLES31.functional.program_uniform.by_value", 136 ".render.nested_structs_arrays.bool_bvec4_vertex"); 137 138 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017426, 139 "dEQP-GLES31.functional.program_uniform.by_value.", 140 "render.nested_structs_arrays.bool_bvec4_fragment"); 141 142 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017427, 143 "dEQP-GLES31.functional.program_uniform.by_valu", 144 "e.render.nested_structs_arrays.bool_bvec4_both"); 145 146 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017428, 147 "dEQP-GLES31.functional.program_uniform.by_value.rend", 148 "er.nested_structs_arrays.sampler2D_samplerCube_vertex"); 149 150 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017429, 151 "dEQP-GLES31.functional.program_uniform.by_value.rende", 152 "r.nested_structs_arrays.sampler2D_samplerCube_fragment"); 153 154 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017430, 155 "dEQP-GLES31.functional.program_uniform.by_value.ren", 156 "der.nested_structs_arrays.sampler2D_samplerCube_both"); 157