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 "../Deqpgles31BaseFunc.h"
19 #include "../ActsDeqpgles310015TestSuite.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(ActsDeqpgles310015TestSuite, TestCase_014139,
27         "dEQP-GLES31.functional.texture.texture_buffer",
28         ".modify_render.mapbuffer_write.as_vertex_array");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310015TestSuite, TestCase_014140,
31         "dEQP-GLES31.functional.texture.texture_buffer",
32         ".modify_render.mapbuffer_write.as_index_array");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310015TestSuite, TestCase_014141,
35         "dEQP-GLES31.functional.texture.texture_buffer.modify_",
36         "render.mapbuffer_write.as_vertex_array_as_index_array");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310015TestSuite, TestCase_014142,
39         "dEQP-GLES31.functional.texture.texture_buffer.",
40         "modify_render.mapbuffer_write.as_vertex_texture");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310015TestSuite, TestCase_014143,
43         "dEQP-GLES31.functional.texture.texture_buffer.modify_r",
44         "ender.mapbuffer_write.as_vertex_array_as_vertex_texture");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310015TestSuite, TestCase_014144,
47         "dEQP-GLES31.functional.texture.texture_buffer.modify_r",
48         "ender.mapbuffer_write.as_index_array_as_vertex_texture");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310015TestSuite, TestCase_014145,
51         "dEQP-GLES31.functional.texture.texture_buffer.modify_render.ma",
52         "pbuffer_write.as_vertex_array_as_index_array_as_vertex_texture");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310015TestSuite, TestCase_014146,
55         "dEQP-GLES31.functional.texture.texture_buffer.m",
56         "odify_render.mapbuffer_write.as_fragment_texture");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310015TestSuite, TestCase_014147,
59         "dEQP-GLES31.functional.texture.texture_buffer.modify_re",
60         "nder.mapbuffer_write.as_vertex_array_as_fragment_texture");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310015TestSuite, TestCase_014148,
63         "dEQP-GLES31.functional.texture.texture_buffer.modify_re",
64         "nder.mapbuffer_write.as_index_array_as_fragment_texture");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310015TestSuite, TestCase_014149,
67         "dEQP-GLES31.functional.texture.texture_buffer.modify_render.map",
68         "buffer_write.as_vertex_array_as_index_array_as_fragment_texture");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310015TestSuite, TestCase_014150,
71         "dEQP-GLES31.functional.texture.texture_buffer.modify_ren",
72         "der.mapbuffer_write.as_vertex_texture_as_fragment_texture");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310015TestSuite, TestCase_014151,
75         "dEQP-GLES31.functional.texture.texture_buffer.modify_render.mapb",
76         "uffer_write.as_vertex_array_as_vertex_texture_as_fragment_texture");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310015TestSuite, TestCase_014152,
79         "dEQP-GLES31.functional.texture.texture_buffer.modify_render.mapb",
80         "uffer_write.as_index_array_as_vertex_texture_as_fragment_texture");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310015TestSuite, TestCase_014153,
83         "dEQP-GLES31.functional.texture.texture_buffer.modify_render.mapbuffer_wr",
84         "ite.as_vertex_array_as_index_array_as_vertex_texture_as_fragment_texture");
85