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_024807,
27         "dEQP-GLES31.functional.layout_binding.",
28         "sampler.sampler3d.vertex_binding_single");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024808,
31         "dEQP-GLES31.functional.layout_binding",
32         ".sampler.sampler3d.vertex_binding_max");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024809,
35         "dEQP-GLES31.functional.layout_binding.s",
36         "ampler.sampler3d.vertex_binding_multiple");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024810,
39         "dEQP-GLES31.functional.layout_binding.",
40         "sampler.sampler3d.vertex_binding_array");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024811,
43         "dEQP-GLES31.functional.layout_binding.sa",
44         "mpler.sampler3d.vertex_binding_max_array");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024812,
47         "dEQP-GLES31.functional.layout_binding.s",
48         "ampler.sampler3d.fragment_binding_single");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024813,
51         "dEQP-GLES31.functional.layout_binding.",
52         "sampler.sampler3d.fragment_binding_max");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024814,
55         "dEQP-GLES31.functional.layout_binding.sa",
56         "mpler.sampler3d.fragment_binding_multiple");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024815,
59         "dEQP-GLES31.functional.layout_binding.s",
60         "ampler.sampler3d.fragment_binding_array");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024816,
63         "dEQP-GLES31.functional.layout_binding.sam",
64         "pler.sampler3d.fragment_binding_max_array");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024875,
67         "dEQP-GLES31.functional.layout_binding.negati",
68         "ve.sampler.sampler3d.vertex_binding_over_max");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024876,
71         "dEQP-GLES31.functional.layout_binding.negativ",
72         "e.sampler.sampler3d.fragment_binding_over_max");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024877,
75         "dEQP-GLES31.functional.layout_binding.negative.",
76         "sampler.sampler3d.tess_control_binding_over_max");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024878,
79         "dEQP-GLES31.functional.layout_binding.negative.s",
80         "ampler.sampler3d.tess_evaluation_binding_over_max");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024879,
83         "dEQP-GLES31.functional.layout_binding.neg",
84         "ative.sampler.sampler3d.vertex_binding_neg");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024880,
87         "dEQP-GLES31.functional.layout_binding.nega",
88         "tive.sampler.sampler3d.fragment_binding_neg");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024881,
91         "dEQP-GLES31.functional.layout_binding.negati",
92         "ve.sampler.sampler3d.tess_control_binding_neg");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024882,
95         "dEQP-GLES31.functional.layout_binding.negative",
96         ".sampler.sampler3d.tess_evaluation_binding_neg");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024883,
99         "dEQP-GLES31.functional.layout_binding.negative.",
100         "sampler.sampler3d.vertex_binding_over_max_array");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024884,
103         "dEQP-GLES31.functional.layout_binding.negative.s",
104         "ampler.sampler3d.fragment_binding_over_max_array");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024885,
107         "dEQP-GLES31.functional.layout_binding.negative.sam",
108         "pler.sampler3d.tess_control_binding_over_max_array");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024886,
111         "dEQP-GLES31.functional.layout_binding.negative.samp",
112         "ler.sampler3d.tess_evaluation_binding_over_max_array");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024887,
115         "dEQP-GLES31.functional.layout_binding.negati",
116         "ve.sampler.sampler3d.vertex_binding_neg_array");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024888,
119         "dEQP-GLES31.functional.layout_binding.negativ",
120         "e.sampler.sampler3d.fragment_binding_neg_array");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024889,
123         "dEQP-GLES31.functional.layout_binding.negative.",
124         "sampler.sampler3d.tess_control_binding_neg_array");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024890,
127         "dEQP-GLES31.functional.layout_binding.negative.sa",
128         "mpler.sampler3d.tess_evaluation_binding_neg_array");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024891,
131         "dEQP-GLES31.functional.layout_binding.negat",
132         "ive.sampler.sampler3d.binding_contradictory");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024892,
135         "dEQP-GLES31.functional.layout_binding.negative",
136         ".sampler.sampler3d.binding_contradictory_array");
137