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 "../Khrgles3BaseFunc.h" 19 #include "../ActsKhrgles30002TestSuite.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(ActsKhrgles30002TestSuite, TestCase_001164, 27 "KHR-GLES3.shaders.preprocesso", 28 "r.conditionals.ifdef_1_vertex"); 29 30 static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001165, 31 "KHR-GLES3.shaders.preprocessor", 32 ".conditionals.ifdef_1_fragment"); 33 34 static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001166, 35 "KHR-GLES3.shaders.preprocesso", 36 "r.conditionals.ifdef_2_vertex"); 37 38 static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001167, 39 "KHR-GLES3.shaders.preprocessor", 40 ".conditionals.ifdef_2_fragment"); 41 42 static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001168, 43 "KHR-GLES3.shaders.preprocesso", 44 "r.conditionals.ifdef_3_vertex"); 45 46 static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001169, 47 "KHR-GLES3.shaders.preprocessor", 48 ".conditionals.ifdef_3_fragment"); 49 50 static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001170, 51 "KHR-GLES3.shaders.preprocesso", 52 "r.conditionals.ifndef_1_vertex"); 53 54 static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001171, 55 "KHR-GLES3.shaders.preprocessor", 56 ".conditionals.ifndef_1_fragment"); 57 58 static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001172, 59 "KHR-GLES3.shaders.preprocesso", 60 "r.conditionals.ifndef_2_vertex"); 61 62 static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001173, 63 "KHR-GLES3.shaders.preprocessor", 64 ".conditionals.ifndef_2_fragment"); 65 66 static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001174, 67 "KHR-GLES3.shaders.preprocessor.conditio", 68 "nals.mixed_conditional_inclusion_vertex"); 69 70 static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001175, 71 "KHR-GLES3.shaders.preprocessor.condition", 72 "als.mixed_conditional_inclusion_fragment"); 73 74 static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001176, 75 "KHR-GLES3.shaders.preprocessor.", 76 "conditionals.nested_if_1_vertex"); 77 78 static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001177, 79 "KHR-GLES3.shaders.preprocessor.c", 80 "onditionals.nested_if_1_fragment"); 81 82 static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001178, 83 "KHR-GLES3.shaders.preprocessor.", 84 "conditionals.nested_if_2_vertex"); 85 86 static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001179, 87 "KHR-GLES3.shaders.preprocessor.c", 88 "onditionals.nested_if_2_fragment"); 89 90 static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001180, 91 "KHR-GLES3.shaders.preprocessor.", 92 "conditionals.nested_if_3_vertex"); 93 94 static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001181, 95 "KHR-GLES3.shaders.preprocessor.c", 96 "onditionals.nested_if_3_fragment"); 97