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_017023, 27 "dEQP-GLES31.functional.program_uniform.by_poi", 28 "nter.render.array_in_struct.float_vec4_vertex"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017024, 31 "dEQP-GLES31.functional.program_uniform.by_poin", 32 "ter.render.array_in_struct.float_vec4_fragment"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017025, 35 "dEQP-GLES31.functional.program_uniform.by_po", 36 "inter.render.array_in_struct.float_vec4_both"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017026, 39 "dEQP-GLES31.functional.program_uniform.by_po", 40 "inter.render.array_in_struct.mat4_mat2_vertex"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017027, 43 "dEQP-GLES31.functional.program_uniform.by_poi", 44 "nter.render.array_in_struct.mat4_mat2_fragment"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017028, 47 "dEQP-GLES31.functional.program_uniform.by_p", 48 "ointer.render.array_in_struct.mat4_mat2_both"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017029, 51 "dEQP-GLES31.functional.program_uniform.by_po", 52 "inter.render.array_in_struct.int_ivec4_vertex"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017030, 55 "dEQP-GLES31.functional.program_uniform.by_poi", 56 "nter.render.array_in_struct.int_ivec4_fragment"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017031, 59 "dEQP-GLES31.functional.program_uniform.by_p", 60 "ointer.render.array_in_struct.int_ivec4_both"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017032, 63 "dEQP-GLES31.functional.program_uniform.by_poi", 64 "nter.render.array_in_struct.uint_uvec4_vertex"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017033, 67 "dEQP-GLES31.functional.program_uniform.by_poin", 68 "ter.render.array_in_struct.uint_uvec4_fragment"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017034, 71 "dEQP-GLES31.functional.program_uniform.by_po", 72 "inter.render.array_in_struct.uint_uvec4_both"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017035, 75 "dEQP-GLES31.functional.program_uniform.by_poi", 76 "nter.render.array_in_struct.bool_bvec4_vertex"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017036, 79 "dEQP-GLES31.functional.program_uniform.by_poin", 80 "ter.render.array_in_struct.bool_bvec4_fragment"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017037, 83 "dEQP-GLES31.functional.program_uniform.by_po", 84 "inter.render.array_in_struct.bool_bvec4_both"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017038, 87 "dEQP-GLES31.functional.program_uniform.by_pointer.", 88 "render.array_in_struct.sampler2D_samplerCube_vertex"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017039, 91 "dEQP-GLES31.functional.program_uniform.by_pointer.r", 92 "ender.array_in_struct.sampler2D_samplerCube_fragment"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017040, 95 "dEQP-GLES31.functional.program_uniform.by_pointer", 96 ".render.array_in_struct.sampler2D_samplerCube_both"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017401, 99 "dEQP-GLES31.functional.program_uniform.by_va", 100 "lue.render.array_in_struct.float_vec4_vertex"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017402, 103 "dEQP-GLES31.functional.program_uniform.by_val", 104 "ue.render.array_in_struct.float_vec4_fragment"); 105 106 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017403, 107 "dEQP-GLES31.functional.program_uniform.by_v", 108 "alue.render.array_in_struct.float_vec4_both"); 109 110 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017404, 111 "dEQP-GLES31.functional.program_uniform.by_v", 112 "alue.render.array_in_struct.int_ivec4_vertex"); 113 114 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017405, 115 "dEQP-GLES31.functional.program_uniform.by_va", 116 "lue.render.array_in_struct.int_ivec4_fragment"); 117 118 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017406, 119 "dEQP-GLES31.functional.program_uniform.by_", 120 "value.render.array_in_struct.int_ivec4_both"); 121 122 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017407, 123 "dEQP-GLES31.functional.program_uniform.by_va", 124 "lue.render.array_in_struct.uint_uvec4_vertex"); 125 126 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017408, 127 "dEQP-GLES31.functional.program_uniform.by_val", 128 "ue.render.array_in_struct.uint_uvec4_fragment"); 129 130 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017409, 131 "dEQP-GLES31.functional.program_uniform.by_v", 132 "alue.render.array_in_struct.uint_uvec4_both"); 133 134 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017410, 135 "dEQP-GLES31.functional.program_uniform.by_va", 136 "lue.render.array_in_struct.bool_bvec4_vertex"); 137 138 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017411, 139 "dEQP-GLES31.functional.program_uniform.by_val", 140 "ue.render.array_in_struct.bool_bvec4_fragment"); 141 142 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017412, 143 "dEQP-GLES31.functional.program_uniform.by_v", 144 "alue.render.array_in_struct.bool_bvec4_both"); 145 146 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017413, 147 "dEQP-GLES31.functional.program_uniform.by_value.r", 148 "ender.array_in_struct.sampler2D_samplerCube_vertex"); 149 150 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017414, 151 "dEQP-GLES31.functional.program_uniform.by_value.re", 152 "nder.array_in_struct.sampler2D_samplerCube_fragment"); 153 154 static SHRINK_HWTEST_F(ActsDeqpgles310018TestSuite, TestCase_017415, 155 "dEQP-GLES31.functional.program_uniform.by_value.", 156 "render.array_in_struct.sampler2D_samplerCube_both"); 157