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 "../ActsDeqpgles310017TestSuite.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(ActsDeqpgles310017TestSuite, TestCase_016987, 27 "dEQP-GLES31.functional.program_uniform.by_p", 28 "ointer.render.basic_struct.float_vec4_vertex"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_016988, 31 "dEQP-GLES31.functional.program_uniform.by_po", 32 "inter.render.basic_struct.float_vec4_fragment"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_016989, 35 "dEQP-GLES31.functional.program_uniform.by_", 36 "pointer.render.basic_struct.float_vec4_both"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_016990, 39 "dEQP-GLES31.functional.program_uniform.by_p", 40 "ointer.render.basic_struct.mat4_mat2_vertex"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_016991, 43 "dEQP-GLES31.functional.program_uniform.by_po", 44 "inter.render.basic_struct.mat4_mat2_fragment"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_016992, 47 "dEQP-GLES31.functional.program_uniform.by_", 48 "pointer.render.basic_struct.mat4_mat2_both"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_016993, 51 "dEQP-GLES31.functional.program_uniform.by_p", 52 "ointer.render.basic_struct.int_ivec4_vertex"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_016994, 55 "dEQP-GLES31.functional.program_uniform.by_po", 56 "inter.render.basic_struct.int_ivec4_fragment"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_016995, 59 "dEQP-GLES31.functional.program_uniform.by_", 60 "pointer.render.basic_struct.int_ivec4_both"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_016996, 63 "dEQP-GLES31.functional.program_uniform.by_p", 64 "ointer.render.basic_struct.uint_uvec4_vertex"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_016997, 67 "dEQP-GLES31.functional.program_uniform.by_po", 68 "inter.render.basic_struct.uint_uvec4_fragment"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_016998, 71 "dEQP-GLES31.functional.program_uniform.by_", 72 "pointer.render.basic_struct.uint_uvec4_both"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_016999, 75 "dEQP-GLES31.functional.program_uniform.by_p", 76 "ointer.render.basic_struct.bool_bvec4_vertex"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_017000, 79 "dEQP-GLES31.functional.program_uniform.by_po", 80 "inter.render.basic_struct.bool_bvec4_fragment"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_017001, 83 "dEQP-GLES31.functional.program_uniform.by_", 84 "pointer.render.basic_struct.bool_bvec4_both"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_017002, 87 "dEQP-GLES31.functional.program_uniform.by_pointer", 88 ".render.basic_struct.sampler2D_samplerCube_vertex"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_017003, 91 "dEQP-GLES31.functional.program_uniform.by_pointer.", 92 "render.basic_struct.sampler2D_samplerCube_fragment"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_017004, 95 "dEQP-GLES31.functional.program_uniform.by_pointe", 96 "r.render.basic_struct.sampler2D_samplerCube_both"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_017371, 99 "dEQP-GLES31.functional.program_uniform.by_", 100 "value.render.basic_struct.float_vec4_vertex"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_017372, 103 "dEQP-GLES31.functional.program_uniform.by_v", 104 "alue.render.basic_struct.float_vec4_fragment"); 105 106 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_017373, 107 "dEQP-GLES31.functional.program_uniform.by", 108 "_value.render.basic_struct.float_vec4_both"); 109 110 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_017374, 111 "dEQP-GLES31.functional.program_uniform.by_", 112 "value.render.basic_struct.int_ivec4_vertex"); 113 114 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_017375, 115 "dEQP-GLES31.functional.program_uniform.by_v", 116 "alue.render.basic_struct.int_ivec4_fragment"); 117 118 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_017376, 119 "dEQP-GLES31.functional.program_uniform.by", 120 "_value.render.basic_struct.int_ivec4_both"); 121 122 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_017377, 123 "dEQP-GLES31.functional.program_uniform.by_", 124 "value.render.basic_struct.uint_uvec4_vertex"); 125 126 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_017378, 127 "dEQP-GLES31.functional.program_uniform.by_v", 128 "alue.render.basic_struct.uint_uvec4_fragment"); 129 130 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_017379, 131 "dEQP-GLES31.functional.program_uniform.by", 132 "_value.render.basic_struct.uint_uvec4_both"); 133 134 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_017380, 135 "dEQP-GLES31.functional.program_uniform.by_", 136 "value.render.basic_struct.bool_bvec4_vertex"); 137 138 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_017381, 139 "dEQP-GLES31.functional.program_uniform.by_v", 140 "alue.render.basic_struct.bool_bvec4_fragment"); 141 142 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_017382, 143 "dEQP-GLES31.functional.program_uniform.by", 144 "_value.render.basic_struct.bool_bvec4_both"); 145 146 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_017383, 147 "dEQP-GLES31.functional.program_uniform.by_value.", 148 "render.basic_struct.sampler2D_samplerCube_vertex"); 149 150 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_017384, 151 "dEQP-GLES31.functional.program_uniform.by_value.r", 152 "ender.basic_struct.sampler2D_samplerCube_fragment"); 153 154 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_017385, 155 "dEQP-GLES31.functional.program_uniform.by_value", 156 ".render.basic_struct.sampler2D_samplerCube_both"); 157