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 "../ActsKhrgles30004TestSuite.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(ActsKhrgles30004TestSuite, TestCase_003908, 27 "KHR-GLES3.framebuffer_completene", 28 "ss.incomplete_missing_attachment"); 29 30 static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003909, 31 "KHR-GLES3.framebuffer_completen", 32 "ess.incomplete_image_zero_width"); 33 34 static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003910, 35 "KHR-GLES3.framebuffer_completen", 36 "ess.incomplete_image_zero_height"); 37 38 static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003911, 39 "KHR-GLES3.framebuffer_completenes", 40 "s.incomplete_texture_3d_layer_oob"); 41 42 static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003912, 43 "KHR-GLES3.framebuffer_completenes", 44 "s.incomplete_texture_2d_layer_oob"); 45 46 static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003913, 47 "KHR-GLES3.framebuffer_completeness", 48 ".incomplete_texture_2d_mm_layer_oob"); 49 50 static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003914, 51 "KHR-GLES3.framebuffer_completeness.mut", 52 "able_nbl_texture_expect_mipmap_complete"); 53 54 static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003915, 55 "KHR-GLES3.framebuffer_completeness.mu", 56 "table_nbl_texture_expect_cube_complete"); 57 58 static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003916, 59 "KHR-GLES3.framebuffer_completeness", 60 ".expect_renderable_internal_format"); 61 62 static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003917, 63 "KHR-GLES3.framebuffer_completenes", 64 "s.all_rbos_expect_same_numsamples"); 65 66 static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003918, 67 "KHR-GLES3.framebuffer_completeness.r", 68 "bo_and_texture_expect_zero_numsamples"); 69 70 static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003919, 71 "KHR-GLES3.framebuffer_com", 72 "pleteness.status_tracking"); 73 74 static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003920, 75 "KHR-GLES3.framebuffer_completeness.mu", 76 "table_texture_missing_attachment_level"); 77 78 static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003921, 79 "KHR-GLES3.framebuffer_completeness.imm", 80 "utable_texture_any_level_as_attachment"); 81