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 "../ActsDeqpgles30002TestSuite.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(ActsDeqpgles30002TestSuite, TestCase_001477, 27f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.link", 28f6603c60Sopenharmony_ci "age.varying.rules.fragment_declare"); 29f6603c60Sopenharmony_ci 30f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001478, 31f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.lin", 32f6603c60Sopenharmony_ci "kage.varying.rules.vertex_declare"); 33f6603c60Sopenharmony_ci 34f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001479, 35f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.li", 36f6603c60Sopenharmony_ci "nkage.varying.rules.both_declare"); 37f6603c60Sopenharmony_ci 38f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001480, 39f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.linkage.v", 40f6603c60Sopenharmony_ci "arying.rules.vertex_declare_fragment_use"); 41f6603c60Sopenharmony_ci 42f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001481, 43f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.linkage.v", 44f6603c60Sopenharmony_ci "arying.rules.vertex_use_fragment_declare"); 45f6603c60Sopenharmony_ci 46f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001482, 47f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.linkage.v", 48f6603c60Sopenharmony_ci "arying.rules.vertex_use_declare_fragment"); 49f6603c60Sopenharmony_ci 50f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001483, 51f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.linkage", 52f6603c60Sopenharmony_ci ".varying.rules.vertex_use_fragment_use"); 53f6603c60Sopenharmony_ci 54f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001484, 55f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.linkag", 56f6603c60Sopenharmony_ci "e.varying.rules.differing_precision_1"); 57f6603c60Sopenharmony_ci 58f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001485, 59f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.linkag", 60f6603c60Sopenharmony_ci "e.varying.rules.differing_precision_2"); 61f6603c60Sopenharmony_ci 62f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001486, 63f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.linkag", 64f6603c60Sopenharmony_ci "e.varying.rules.differing_precision_3"); 65f6603c60Sopenharmony_ci 66f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001487, 67f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.lin", 68f6603c60Sopenharmony_ci "kage.varying.rules.type_mismatch_1"); 69f6603c60Sopenharmony_ci 70f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001488, 71f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.lin", 72f6603c60Sopenharmony_ci "kage.varying.rules.type_mismatch_2"); 73f6603c60Sopenharmony_ci 74f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001489, 75f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.lin", 76f6603c60Sopenharmony_ci "kage.varying.rules.type_mismatch_3"); 77f6603c60Sopenharmony_ci 78f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001490, 79f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.linkage", 80f6603c60Sopenharmony_ci ".varying.rules.struct_type_mismatch_1"); 81f6603c60Sopenharmony_ci 82f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001491, 83f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.linkage", 84f6603c60Sopenharmony_ci ".varying.rules.struct_type_mismatch_2"); 85f6603c60Sopenharmony_ci 86f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001492, 87f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.linkage", 88f6603c60Sopenharmony_ci ".varying.rules.struct_type_mismatch_3"); 89f6603c60Sopenharmony_ci 90f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001493, 91f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.linkage.", 92f6603c60Sopenharmony_ci "varying.rules.interpolation_mismatch_1"); 93f6603c60Sopenharmony_ci 94f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001494, 95f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.linkage.", 96f6603c60Sopenharmony_ci "varying.rules.differing_interpolation_2"); 97f6603c60Sopenharmony_ci 98f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001495, 99f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.lin", 100f6603c60Sopenharmony_ci "kage.varying.rules.illegal_usage_1"); 101f6603c60Sopenharmony_ci 102f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001496, 103f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.link", 104f6603c60Sopenharmony_ci "age.varying.rules.invalid_type_int"); 105f6603c60Sopenharmony_ci 106f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001497, 107f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.link", 108f6603c60Sopenharmony_ci "age.varying.rules.invalid_type_uint"); 109f6603c60Sopenharmony_ci 110f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001498, 111f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.link", 112f6603c60Sopenharmony_ci "age.varying.rules.invalid_type_bool"); 113f6603c60Sopenharmony_ci 114f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001499, 115f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.linkage.", 116f6603c60Sopenharmony_ci "varying.rules.invalid_type_struct_array"); 117f6603c60Sopenharmony_ci 118f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001500, 119f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.linkage.v", 120f6603c60Sopenharmony_ci "arying.rules.invalid_type_struct_struct"); 121f6603c60Sopenharmony_ci 122f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001501, 123f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.linkage.", 124f6603c60Sopenharmony_ci "varying.rules.invalid_type_array_struct"); 125f6603c60Sopenharmony_ci 126f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001502, 127f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.linkage.", 128f6603c60Sopenharmony_ci "varying.rules.invalid_type_array_array"); 129