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 "../ActsDeqpgles310025TestSuite.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(ActsDeqpgles310025TestSuite, TestCase_024797,
27         "dEQP-GLES31.functional.layout_binding.",
28         "sampler.sampler2d.vertex_binding_single");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024798,
31         "dEQP-GLES31.functional.layout_binding",
32         ".sampler.sampler2d.vertex_binding_max");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024799,
35         "dEQP-GLES31.functional.layout_binding.s",
36         "ampler.sampler2d.vertex_binding_multiple");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024800,
39         "dEQP-GLES31.functional.layout_binding.",
40         "sampler.sampler2d.vertex_binding_array");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024801,
43         "dEQP-GLES31.functional.layout_binding.sa",
44         "mpler.sampler2d.vertex_binding_max_array");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024802,
47         "dEQP-GLES31.functional.layout_binding.s",
48         "ampler.sampler2d.fragment_binding_single");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024803,
51         "dEQP-GLES31.functional.layout_binding.",
52         "sampler.sampler2d.fragment_binding_max");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024804,
55         "dEQP-GLES31.functional.layout_binding.sa",
56         "mpler.sampler2d.fragment_binding_multiple");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024805,
59         "dEQP-GLES31.functional.layout_binding.s",
60         "ampler.sampler2d.fragment_binding_array");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024806,
63         "dEQP-GLES31.functional.layout_binding.sam",
64         "pler.sampler2d.fragment_binding_max_array");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024857,
67         "dEQP-GLES31.functional.layout_binding.negati",
68         "ve.sampler.sampler2d.vertex_binding_over_max");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024858,
71         "dEQP-GLES31.functional.layout_binding.negativ",
72         "e.sampler.sampler2d.fragment_binding_over_max");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024859,
75         "dEQP-GLES31.functional.layout_binding.negative.",
76         "sampler.sampler2d.tess_control_binding_over_max");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024860,
79         "dEQP-GLES31.functional.layout_binding.negative.s",
80         "ampler.sampler2d.tess_evaluation_binding_over_max");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024861,
83         "dEQP-GLES31.functional.layout_binding.neg",
84         "ative.sampler.sampler2d.vertex_binding_neg");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024862,
87         "dEQP-GLES31.functional.layout_binding.nega",
88         "tive.sampler.sampler2d.fragment_binding_neg");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024863,
91         "dEQP-GLES31.functional.layout_binding.negati",
92         "ve.sampler.sampler2d.tess_control_binding_neg");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024864,
95         "dEQP-GLES31.functional.layout_binding.negative",
96         ".sampler.sampler2d.tess_evaluation_binding_neg");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024865,
99         "dEQP-GLES31.functional.layout_binding.negative.",
100         "sampler.sampler2d.vertex_binding_over_max_array");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024866,
103         "dEQP-GLES31.functional.layout_binding.negative.s",
104         "ampler.sampler2d.fragment_binding_over_max_array");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024867,
107         "dEQP-GLES31.functional.layout_binding.negative.sam",
108         "pler.sampler2d.tess_control_binding_over_max_array");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024868,
111         "dEQP-GLES31.functional.layout_binding.negative.samp",
112         "ler.sampler2d.tess_evaluation_binding_over_max_array");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024869,
115         "dEQP-GLES31.functional.layout_binding.negati",
116         "ve.sampler.sampler2d.vertex_binding_neg_array");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024870,
119         "dEQP-GLES31.functional.layout_binding.negativ",
120         "e.sampler.sampler2d.fragment_binding_neg_array");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024871,
123         "dEQP-GLES31.functional.layout_binding.negative.",
124         "sampler.sampler2d.tess_control_binding_neg_array");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024872,
127         "dEQP-GLES31.functional.layout_binding.negative.sa",
128         "mpler.sampler2d.tess_evaluation_binding_neg_array");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024873,
131         "dEQP-GLES31.functional.layout_binding.negat",
132         "ive.sampler.sampler2d.binding_contradictory");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024874,
135         "dEQP-GLES31.functional.layout_binding.negative",
136         ".sampler.sampler2d.binding_contradictory_array");
137