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 "../Deqpgles2BaseFunc.h" 19f6603c60Sopenharmony_ci#include "../ActsDeqpgles20008TestSuite.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(ActsDeqpgles20008TestSuite, TestCase_007657, 27f6603c60Sopenharmony_ci "dEQP-GLES2.functional.sha", 28f6603c60Sopenharmony_ci "ders.discard.basic_always"); 29f6603c60Sopenharmony_ci 30f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007658, 31f6603c60Sopenharmony_ci "dEQP-GLES2.functional.sh", 32f6603c60Sopenharmony_ci "aders.discard.basic_never"); 33f6603c60Sopenharmony_ci 34f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007659, 35f6603c60Sopenharmony_ci "dEQP-GLES2.functional.sha", 36f6603c60Sopenharmony_ci "ders.discard.basic_uniform"); 37f6603c60Sopenharmony_ci 38f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007660, 39f6603c60Sopenharmony_ci "dEQP-GLES2.functional.sha", 40f6603c60Sopenharmony_ci "ders.discard.basic_dynamic"); 41f6603c60Sopenharmony_ci 42f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007661, 43f6603c60Sopenharmony_ci "dEQP-GLES2.functional.sha", 44f6603c60Sopenharmony_ci "ders.discard.basic_texture"); 45f6603c60Sopenharmony_ci 46f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007662, 47f6603c60Sopenharmony_ci "dEQP-GLES2.functional.shad", 48f6603c60Sopenharmony_ci "ers.discard.function_always"); 49f6603c60Sopenharmony_ci 50f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007663, 51f6603c60Sopenharmony_ci "dEQP-GLES2.functional.shad", 52f6603c60Sopenharmony_ci "ers.discard.function_never"); 53f6603c60Sopenharmony_ci 54f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007664, 55f6603c60Sopenharmony_ci "dEQP-GLES2.functional.shade", 56f6603c60Sopenharmony_ci "rs.discard.function_uniform"); 57f6603c60Sopenharmony_ci 58f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007665, 59f6603c60Sopenharmony_ci "dEQP-GLES2.functional.shade", 60f6603c60Sopenharmony_ci "rs.discard.function_dynamic"); 61f6603c60Sopenharmony_ci 62f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007666, 63f6603c60Sopenharmony_ci "dEQP-GLES2.functional.shade", 64f6603c60Sopenharmony_ci "rs.discard.function_texture"); 65f6603c60Sopenharmony_ci 66f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007667, 67f6603c60Sopenharmony_ci "dEQP-GLES2.functional.shader", 68f6603c60Sopenharmony_ci "s.discard.static_loop_always"); 69f6603c60Sopenharmony_ci 70f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007668, 71f6603c60Sopenharmony_ci "dEQP-GLES2.functional.shade", 72f6603c60Sopenharmony_ci "rs.discard.static_loop_never"); 73f6603c60Sopenharmony_ci 74f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007669, 75f6603c60Sopenharmony_ci "dEQP-GLES2.functional.shader", 76f6603c60Sopenharmony_ci "s.discard.static_loop_uniform"); 77f6603c60Sopenharmony_ci 78f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007670, 79f6603c60Sopenharmony_ci "dEQP-GLES2.functional.shader", 80f6603c60Sopenharmony_ci "s.discard.static_loop_dynamic"); 81f6603c60Sopenharmony_ci 82f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007671, 83f6603c60Sopenharmony_ci "dEQP-GLES2.functional.shader", 84f6603c60Sopenharmony_ci "s.discard.static_loop_texture"); 85f6603c60Sopenharmony_ci 86f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007672, 87f6603c60Sopenharmony_ci "dEQP-GLES2.functional.shader", 88f6603c60Sopenharmony_ci "s.discard.dynamic_loop_always"); 89f6603c60Sopenharmony_ci 90f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007673, 91f6603c60Sopenharmony_ci "dEQP-GLES2.functional.shader", 92f6603c60Sopenharmony_ci "s.discard.dynamic_loop_never"); 93f6603c60Sopenharmony_ci 94f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007674, 95f6603c60Sopenharmony_ci "dEQP-GLES2.functional.shaders", 96f6603c60Sopenharmony_ci ".discard.dynamic_loop_uniform"); 97f6603c60Sopenharmony_ci 98f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007675, 99f6603c60Sopenharmony_ci "dEQP-GLES2.functional.shaders", 100f6603c60Sopenharmony_ci ".discard.dynamic_loop_dynamic"); 101f6603c60Sopenharmony_ci 102f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007676, 103f6603c60Sopenharmony_ci "dEQP-GLES2.functional.shaders", 104f6603c60Sopenharmony_ci ".discard.dynamic_loop_texture"); 105f6603c60Sopenharmony_ci 106f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007677, 107f6603c60Sopenharmony_ci "dEQP-GLES2.functional.shaders.di", 108f6603c60Sopenharmony_ci "scard.function_static_loop_always"); 109f6603c60Sopenharmony_ci 110f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007678, 111f6603c60Sopenharmony_ci "dEQP-GLES2.functional.shaders.di", 112f6603c60Sopenharmony_ci "scard.function_static_loop_never"); 113f6603c60Sopenharmony_ci 114f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007679, 115f6603c60Sopenharmony_ci "dEQP-GLES2.functional.shaders.dis", 116f6603c60Sopenharmony_ci "card.function_static_loop_uniform"); 117f6603c60Sopenharmony_ci 118f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007680, 119f6603c60Sopenharmony_ci "dEQP-GLES2.functional.shaders.dis", 120f6603c60Sopenharmony_ci "card.function_static_loop_dynamic"); 121f6603c60Sopenharmony_ci 122f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007681, 123f6603c60Sopenharmony_ci "dEQP-GLES2.functional.shaders.dis", 124f6603c60Sopenharmony_ci "card.function_static_loop_texture"); 125