1f6603c60Sopenharmony_ci/* 2f6603c60Sopenharmony_ci * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. 3f6603c60Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 4f6603c60Sopenharmony_ci * you may not use this file except in compliance with the License. 5f6603c60Sopenharmony_ci * You may obtain a copy of the License at 6f6603c60Sopenharmony_ci * 7f6603c60Sopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 8f6603c60Sopenharmony_ci * 9f6603c60Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software 10f6603c60Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 11f6603c60Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12f6603c60Sopenharmony_ci * See the License for the specific language governing permissions and 13f6603c60Sopenharmony_ci * limitations under the License. 14f6603c60Sopenharmony_ci */ 15f6603c60Sopenharmony_ci 16f6603c60Sopenharmony_ci#include <climits> 17f6603c60Sopenharmony_ci#include <gtest/gtest.h> 18f6603c60Sopenharmony_ci#include "../Deqpgles3BaseFunc.h" 19f6603c60Sopenharmony_ci#include "../ActsDeqpgles30018TestSuite.h" 20f6603c60Sopenharmony_ci#include "shrinkdefine.h" 21f6603c60Sopenharmony_ci 22f6603c60Sopenharmony_ciusing namespace std; 23f6603c60Sopenharmony_ciusing namespace testing::ext; 24f6603c60Sopenharmony_ciusing namespace OHOS; 25f6603c60Sopenharmony_ci 26f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017967, 27f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_", 28f6603c60Sopenharmony_ci "functions.common.abs.float_lowp_vertex"); 29f6603c60Sopenharmony_ci 30f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017968, 31f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_f", 32f6603c60Sopenharmony_ci "unctions.common.abs.float_lowp_fragment"); 33f6603c60Sopenharmony_ci 34f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017969, 35f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_f", 36f6603c60Sopenharmony_ci "unctions.common.abs.float_mediump_vertex"); 37f6603c60Sopenharmony_ci 38f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017970, 39f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_fu", 40f6603c60Sopenharmony_ci "nctions.common.abs.float_mediump_fragment"); 41f6603c60Sopenharmony_ci 42f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017971, 43f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_", 44f6603c60Sopenharmony_ci "functions.common.abs.float_highp_vertex"); 45f6603c60Sopenharmony_ci 46f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017972, 47f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_f", 48f6603c60Sopenharmony_ci "unctions.common.abs.float_highp_fragment"); 49f6603c60Sopenharmony_ci 50f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017973, 51f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin", 52f6603c60Sopenharmony_ci "_functions.common.abs.vec2_lowp_vertex"); 53f6603c60Sopenharmony_ci 54f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017974, 55f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_", 56f6603c60Sopenharmony_ci "functions.common.abs.vec2_lowp_fragment"); 57f6603c60Sopenharmony_ci 58f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017975, 59f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_f", 60f6603c60Sopenharmony_ci "unctions.common.abs.vec2_mediump_vertex"); 61f6603c60Sopenharmony_ci 62f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017976, 63f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_fu", 64f6603c60Sopenharmony_ci "nctions.common.abs.vec2_mediump_fragment"); 65f6603c60Sopenharmony_ci 66f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017977, 67f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_", 68f6603c60Sopenharmony_ci "functions.common.abs.vec2_highp_vertex"); 69f6603c60Sopenharmony_ci 70f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017978, 71f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_f", 72f6603c60Sopenharmony_ci "unctions.common.abs.vec2_highp_fragment"); 73f6603c60Sopenharmony_ci 74f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017979, 75f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin", 76f6603c60Sopenharmony_ci "_functions.common.abs.vec3_lowp_vertex"); 77f6603c60Sopenharmony_ci 78f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017980, 79f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_", 80f6603c60Sopenharmony_ci "functions.common.abs.vec3_lowp_fragment"); 81f6603c60Sopenharmony_ci 82f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017981, 83f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_f", 84f6603c60Sopenharmony_ci "unctions.common.abs.vec3_mediump_vertex"); 85f6603c60Sopenharmony_ci 86f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017982, 87f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_fu", 88f6603c60Sopenharmony_ci "nctions.common.abs.vec3_mediump_fragment"); 89f6603c60Sopenharmony_ci 90f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017983, 91f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_", 92f6603c60Sopenharmony_ci "functions.common.abs.vec3_highp_vertex"); 93f6603c60Sopenharmony_ci 94f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017984, 95f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_f", 96f6603c60Sopenharmony_ci "unctions.common.abs.vec3_highp_fragment"); 97f6603c60Sopenharmony_ci 98f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017985, 99f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin", 100f6603c60Sopenharmony_ci "_functions.common.abs.vec4_lowp_vertex"); 101f6603c60Sopenharmony_ci 102f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017986, 103f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_", 104f6603c60Sopenharmony_ci "functions.common.abs.vec4_lowp_fragment"); 105f6603c60Sopenharmony_ci 106f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017987, 107f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_f", 108f6603c60Sopenharmony_ci "unctions.common.abs.vec4_mediump_vertex"); 109f6603c60Sopenharmony_ci 110f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017988, 111f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_fu", 112f6603c60Sopenharmony_ci "nctions.common.abs.vec4_mediump_fragment"); 113f6603c60Sopenharmony_ci 114f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017989, 115f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_", 116f6603c60Sopenharmony_ci "functions.common.abs.vec4_highp_vertex"); 117f6603c60Sopenharmony_ci 118f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017990, 119f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_f", 120f6603c60Sopenharmony_ci "unctions.common.abs.vec4_highp_fragment"); 121f6603c60Sopenharmony_ci 122f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017991, 123f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin", 124f6603c60Sopenharmony_ci "_functions.common.abs.int_lowp_vertex"); 125f6603c60Sopenharmony_ci 126f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017992, 127f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_", 128f6603c60Sopenharmony_ci "functions.common.abs.int_lowp_fragment"); 129f6603c60Sopenharmony_ci 130f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017993, 131f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_", 132f6603c60Sopenharmony_ci "functions.common.abs.int_mediump_vertex"); 133f6603c60Sopenharmony_ci 134f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017994, 135f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_f", 136f6603c60Sopenharmony_ci "unctions.common.abs.int_mediump_fragment"); 137f6603c60Sopenharmony_ci 138f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017995, 139f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin", 140f6603c60Sopenharmony_ci "_functions.common.abs.int_highp_vertex"); 141f6603c60Sopenharmony_ci 142f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017996, 143f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_", 144f6603c60Sopenharmony_ci "functions.common.abs.int_highp_fragment"); 145f6603c60Sopenharmony_ci 146f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017997, 147f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_", 148f6603c60Sopenharmony_ci "functions.common.abs.ivec2_lowp_vertex"); 149f6603c60Sopenharmony_ci 150f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017998, 151f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_f", 152f6603c60Sopenharmony_ci "unctions.common.abs.ivec2_lowp_fragment"); 153f6603c60Sopenharmony_ci 154f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017999, 155f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_f", 156f6603c60Sopenharmony_ci "unctions.common.abs.ivec2_mediump_vertex"); 157f6603c60Sopenharmony_ci 158f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_018000, 159f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_fu", 160f6603c60Sopenharmony_ci "nctions.common.abs.ivec2_mediump_fragment"); 161f6603c60Sopenharmony_ci 162f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_018001, 163f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_", 164f6603c60Sopenharmony_ci "functions.common.abs.ivec2_highp_vertex"); 165f6603c60Sopenharmony_ci 166f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_018002, 167f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_f", 168f6603c60Sopenharmony_ci "unctions.common.abs.ivec2_highp_fragment"); 169f6603c60Sopenharmony_ci 170f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_018003, 171f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_", 172f6603c60Sopenharmony_ci "functions.common.abs.ivec3_lowp_vertex"); 173f6603c60Sopenharmony_ci 174f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_018004, 175f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_f", 176f6603c60Sopenharmony_ci "unctions.common.abs.ivec3_lowp_fragment"); 177f6603c60Sopenharmony_ci 178f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_018005, 179f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_f", 180f6603c60Sopenharmony_ci "unctions.common.abs.ivec3_mediump_vertex"); 181f6603c60Sopenharmony_ci 182f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_018006, 183f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_fu", 184f6603c60Sopenharmony_ci "nctions.common.abs.ivec3_mediump_fragment"); 185f6603c60Sopenharmony_ci 186f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_018007, 187f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_", 188f6603c60Sopenharmony_ci "functions.common.abs.ivec3_highp_vertex"); 189f6603c60Sopenharmony_ci 190f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_018008, 191f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_f", 192f6603c60Sopenharmony_ci "unctions.common.abs.ivec3_highp_fragment"); 193f6603c60Sopenharmony_ci 194f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_018009, 195f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_", 196f6603c60Sopenharmony_ci "functions.common.abs.ivec4_lowp_vertex"); 197f6603c60Sopenharmony_ci 198f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_018010, 199f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_f", 200f6603c60Sopenharmony_ci "unctions.common.abs.ivec4_lowp_fragment"); 201f6603c60Sopenharmony_ci 202f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_018011, 203f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_f", 204f6603c60Sopenharmony_ci "unctions.common.abs.ivec4_mediump_vertex"); 205f6603c60Sopenharmony_ci 206f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_018012, 207f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_fu", 208f6603c60Sopenharmony_ci "nctions.common.abs.ivec4_mediump_fragment"); 209f6603c60Sopenharmony_ci 210f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_018013, 211f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_", 212f6603c60Sopenharmony_ci "functions.common.abs.ivec4_highp_vertex"); 213f6603c60Sopenharmony_ci 214f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_018014, 215f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.builtin_f", 216f6603c60Sopenharmony_ci "unctions.common.abs.ivec4_highp_fragment"); 217