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 "../ActsDeqpgles310001TestSuite.h" 20#include "shrinkdefine.h" 21 22using namespace std; 23using namespace testing::ext; 24using namespace OHOS; 25 26static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000349, 27 "dEQP-GLES31.functional.shaders.builtin_fun", 28 "ctions.common.roundeven.float_lowp_geometry"); 29 30static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000350, 31 "dEQP-GLES31.functional.shaders.builtin_funct", 32 "ions.common.roundeven.float_lowp_tess_control"); 33 34static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000351, 35 "dEQP-GLES31.functional.shaders.builtin_func", 36 "tions.common.roundeven.float_lowp_tess_eval"); 37 38static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000352, 39 "dEQP-GLES31.functional.shaders.builtin_fun", 40 "ctions.common.roundeven.float_lowp_compute"); 41 42static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000353, 43 "dEQP-GLES31.functional.shaders.builtin_funct", 44 "ions.common.roundeven.float_mediump_geometry"); 45 46static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000354, 47 "dEQP-GLES31.functional.shaders.builtin_functio", 48 "ns.common.roundeven.float_mediump_tess_control"); 49 50static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000355, 51 "dEQP-GLES31.functional.shaders.builtin_funct", 52 "ions.common.roundeven.float_mediump_tess_eval"); 53 54static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000356, 55 "dEQP-GLES31.functional.shaders.builtin_func", 56 "tions.common.roundeven.float_mediump_compute"); 57 58static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000357, 59 "dEQP-GLES31.functional.shaders.builtin_func", 60 "tions.common.roundeven.float_highp_geometry"); 61 62static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000358, 63 "dEQP-GLES31.functional.shaders.builtin_functi", 64 "ons.common.roundeven.float_highp_tess_control"); 65 66static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000359, 67 "dEQP-GLES31.functional.shaders.builtin_func", 68 "tions.common.roundeven.float_highp_tess_eval"); 69 70static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000360, 71 "dEQP-GLES31.functional.shaders.builtin_fun", 72 "ctions.common.roundeven.float_highp_compute"); 73 74static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000361, 75 "dEQP-GLES31.functional.shaders.builtin_fun", 76 "ctions.common.roundeven.vec2_lowp_geometry"); 77 78static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000362, 79 "dEQP-GLES31.functional.shaders.builtin_funct", 80 "ions.common.roundeven.vec2_lowp_tess_control"); 81 82static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000363, 83 "dEQP-GLES31.functional.shaders.builtin_fun", 84 "ctions.common.roundeven.vec2_lowp_tess_eval"); 85 86static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000364, 87 "dEQP-GLES31.functional.shaders.builtin_fu", 88 "nctions.common.roundeven.vec2_lowp_compute"); 89 90static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000365, 91 "dEQP-GLES31.functional.shaders.builtin_func", 92 "tions.common.roundeven.vec2_mediump_geometry"); 93 94static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000366, 95 "dEQP-GLES31.functional.shaders.builtin_functi", 96 "ons.common.roundeven.vec2_mediump_tess_control"); 97 98static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000367, 99 "dEQP-GLES31.functional.shaders.builtin_funct", 100 "ions.common.roundeven.vec2_mediump_tess_eval"); 101 102static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000368, 103 "dEQP-GLES31.functional.shaders.builtin_func", 104 "tions.common.roundeven.vec2_mediump_compute"); 105 106static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000369, 107 "dEQP-GLES31.functional.shaders.builtin_fun", 108 "ctions.common.roundeven.vec2_highp_geometry"); 109 110static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000370, 111 "dEQP-GLES31.functional.shaders.builtin_funct", 112 "ions.common.roundeven.vec2_highp_tess_control"); 113 114static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000371, 115 "dEQP-GLES31.functional.shaders.builtin_func", 116 "tions.common.roundeven.vec2_highp_tess_eval"); 117 118static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000372, 119 "dEQP-GLES31.functional.shaders.builtin_fun", 120 "ctions.common.roundeven.vec2_highp_compute"); 121 122static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000373, 123 "dEQP-GLES31.functional.shaders.builtin_fun", 124 "ctions.common.roundeven.vec3_lowp_geometry"); 125 126static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000374, 127 "dEQP-GLES31.functional.shaders.builtin_funct", 128 "ions.common.roundeven.vec3_lowp_tess_control"); 129 130static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000375, 131 "dEQP-GLES31.functional.shaders.builtin_fun", 132 "ctions.common.roundeven.vec3_lowp_tess_eval"); 133 134static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000376, 135 "dEQP-GLES31.functional.shaders.builtin_fu", 136 "nctions.common.roundeven.vec3_lowp_compute"); 137 138static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000377, 139 "dEQP-GLES31.functional.shaders.builtin_func", 140 "tions.common.roundeven.vec3_mediump_geometry"); 141 142static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000378, 143 "dEQP-GLES31.functional.shaders.builtin_functi", 144 "ons.common.roundeven.vec3_mediump_tess_control"); 145 146static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000379, 147 "dEQP-GLES31.functional.shaders.builtin_funct", 148 "ions.common.roundeven.vec3_mediump_tess_eval"); 149 150static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000380, 151 "dEQP-GLES31.functional.shaders.builtin_func", 152 "tions.common.roundeven.vec3_mediump_compute"); 153 154static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000381, 155 "dEQP-GLES31.functional.shaders.builtin_fun", 156 "ctions.common.roundeven.vec3_highp_geometry"); 157 158static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000382, 159 "dEQP-GLES31.functional.shaders.builtin_funct", 160 "ions.common.roundeven.vec3_highp_tess_control"); 161 162static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000383, 163 "dEQP-GLES31.functional.shaders.builtin_func", 164 "tions.common.roundeven.vec3_highp_tess_eval"); 165 166static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000384, 167 "dEQP-GLES31.functional.shaders.builtin_fun", 168 "ctions.common.roundeven.vec3_highp_compute"); 169 170static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000385, 171 "dEQP-GLES31.functional.shaders.builtin_fun", 172 "ctions.common.roundeven.vec4_lowp_geometry"); 173 174static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000386, 175 "dEQP-GLES31.functional.shaders.builtin_funct", 176 "ions.common.roundeven.vec4_lowp_tess_control"); 177 178static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000387, 179 "dEQP-GLES31.functional.shaders.builtin_fun", 180 "ctions.common.roundeven.vec4_lowp_tess_eval"); 181 182static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000388, 183 "dEQP-GLES31.functional.shaders.builtin_fu", 184 "nctions.common.roundeven.vec4_lowp_compute"); 185 186static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000389, 187 "dEQP-GLES31.functional.shaders.builtin_func", 188 "tions.common.roundeven.vec4_mediump_geometry"); 189 190static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000390, 191 "dEQP-GLES31.functional.shaders.builtin_functi", 192 "ons.common.roundeven.vec4_mediump_tess_control"); 193 194static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000391, 195 "dEQP-GLES31.functional.shaders.builtin_funct", 196 "ions.common.roundeven.vec4_mediump_tess_eval"); 197 198static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000392, 199 "dEQP-GLES31.functional.shaders.builtin_func", 200 "tions.common.roundeven.vec4_mediump_compute"); 201 202static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000393, 203 "dEQP-GLES31.functional.shaders.builtin_fun", 204 "ctions.common.roundeven.vec4_highp_geometry"); 205 206static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000394, 207 "dEQP-GLES31.functional.shaders.builtin_funct", 208 "ions.common.roundeven.vec4_highp_tess_control"); 209 210static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000395, 211 "dEQP-GLES31.functional.shaders.builtin_func", 212 "tions.common.roundeven.vec4_highp_tess_eval"); 213 214static SHRINK_HWTEST_F(ActsDeqpgles310001TestSuite, TestCase_000396, 215 "dEQP-GLES31.functional.shaders.builtin_fun", 216 "ctions.common.roundeven.vec4_highp_compute"); 217