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 "../Deqpgles3BaseFunc.h"
19 #include "../ActsDeqpgles30007TestSuite.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(ActsDeqpgles30007TestSuite, TestCase_006679,
27         "dEQP-GLES3.functional.shaders.index",
28         "ing.moredynamic.matrix_twice_vertex");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006680,
31         "dEQP-GLES3.functional.shaders.indexi",
32         "ng.moredynamic.matrix_twice_fragment");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006681,
35         "dEQP-GLES3.functional.shaders.indexing.moredyn",
36         "amic.with_value_from_indexing_expression_vertex");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006682,
39         "dEQP-GLES3.functional.shaders.indexing.moredyna",
40         "mic.with_value_from_indexing_expression_fragment");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006683,
43         "dEQP-GLES3.functional.shaders.in",
44         "dexing.moredynamic.lvalue_vertex");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006684,
47         "dEQP-GLES3.functional.shaders.ind",
48         "exing.moredynamic.lvalue_fragment");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006685,
51         "dEQP-GLES3.functional.shaders.indexing.moredynamic",
52         ".lvalue_with_value_from_indexing_expression_vertex");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006686,
55         "dEQP-GLES3.functional.shaders.indexing.moredynamic.",
56         "lvalue_with_value_from_indexing_expression_fragment");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006687,
59         "dEQP-GLES3.functional.shaders.indexing.more",
60         "dynamic.builtin_fncall_out_parameter_vertex");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006688,
63         "dEQP-GLES3.functional.shaders.indexing.mored",
64         "ynamic.builtin_fncall_out_parameter_fragment");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006689,
67         "dEQP-GLES3.functional.shaders.indexing.moredy",
68         "namic.user_defined_fncall_out_parameter_vertex");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006690,
71         "dEQP-GLES3.functional.shaders.indexing.moredyn",
72         "amic.user_defined_fncall_out_parameter_fragment");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006691,
75         "dEQP-GLES3.functional.shaders.indexing.moredyn",
76         "amic.user_defined_fncall_inout_parameter_vertex");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006692,
79         "dEQP-GLES3.functional.shaders.indexing.moredyna",
80         "mic.user_defined_fncall_inout_parameter_fragment");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006693,
83         "dEQP-GLES3.functional.shaders.indexin",
84         "g.moredynamic.with_side_effects_vertex");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006694,
87         "dEQP-GLES3.functional.shaders.indexing",
88         ".moredynamic.with_side_effects_fragment");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006695,
91         "dEQP-GLES3.functional.shaders.indexing.m",
92         "oredynamic.inout_with_side_effects_vertex");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006696,
95         "dEQP-GLES3.functional.shaders.indexing.mo",
96         "redynamic.inout_with_side_effects_fragment");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006697,
99         "dEQP-GLES3.functional.shaders.indexing.moredynamic.user_defin",
100         "ed_fncall_inout_parameter_with_index_with_side_effects_vertex");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006698,
103         "dEQP-GLES3.functional.shaders.indexing.moredynamic.user_define",
104         "d_fncall_inout_parameter_with_index_with_side_effects_fragment");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006699,
107         "dEQP-GLES3.functional.shaders.indexin",
108         "g.moredynamic.lvalue_with_uint_vertex");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006700,
111         "dEQP-GLES3.functional.shaders.indexing",
112         ".moredynamic.lvalue_with_uint_fragment");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006701,
115         "dEQP-GLES3.functional.shaders.in",
116         "dexing.moredynamic.uniform_vertex");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006702,
119         "dEQP-GLES3.functional.shaders.ind",
120         "exing.moredynamic.uniform_fragment");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006703,
123         "dEQP-GLES3.functional.shaders.indexing.m",
124         "oredynamic.sequence_vector_lvalue_vertex");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006704,
127         "dEQP-GLES3.functional.shaders.indexing.mo",
128         "redynamic.sequence_vector_lvalue_fragment");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006705,
131         "dEQP-GLES3.functional.shaders.indexing.m",
132         "oredynamic.matrix_twice_in_lvalue_vertex");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles30007TestSuite, TestCase_006706,
135         "dEQP-GLES3.functional.shaders.indexing.mo",
136         "redynamic.matrix_twice_in_lvalue_fragment");
137