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 "../Deqpgles2BaseFunc.h"
19 #include "../ActsDeqpgles20007TestSuite.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(ActsDeqpgles20007TestSuite, TestCase_006854,
27         "dEQP-GLES2.functional.shaders.operator",
28         ".sequence.side_effects.lowp_vec4_vertex");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006855,
31         "dEQP-GLES2.functional.shaders.operator.",
32         "sequence.side_effects.lowp_vec4_fragment");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006856,
35         "dEQP-GLES2.functional.shaders.operator.s",
36         "equence.side_effects.mediump_vec4_vertex");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006857,
39         "dEQP-GLES2.functional.shaders.operator.se",
40         "quence.side_effects.mediump_vec4_fragment");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006858,
43         "dEQP-GLES2.functional.shaders.operator.",
44         "sequence.side_effects.highp_vec4_vertex");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006859,
47         "dEQP-GLES2.functional.shaders.operator.s",
48         "equence.side_effects.highp_vec4_fragment");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006860,
51         "dEQP-GLES2.functional.shaders.operator.se",
52         "quence.side_effects.lowp_float_int_vertex");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006861,
55         "dEQP-GLES2.functional.shaders.operator.seq",
56         "uence.side_effects.lowp_float_int_fragment");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006862,
59         "dEQP-GLES2.functional.shaders.operator.seq",
60         "uence.side_effects.mediump_float_int_vertex");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006863,
63         "dEQP-GLES2.functional.shaders.operator.sequ",
64         "ence.side_effects.mediump_float_int_fragment");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006864,
67         "dEQP-GLES2.functional.shaders.operator.se",
68         "quence.side_effects.highp_float_int_vertex");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006865,
71         "dEQP-GLES2.functional.shaders.operator.seq",
72         "uence.side_effects.highp_float_int_fragment");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006866,
75         "dEQP-GLES2.functional.shaders.operator.se",
76         "quence.side_effects.lowp_bool_vec2_vertex");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006867,
79         "dEQP-GLES2.functional.shaders.operator.seq",
80         "uence.side_effects.lowp_bool_vec2_fragment");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006868,
83         "dEQP-GLES2.functional.shaders.operator.seq",
84         "uence.side_effects.mediump_bool_vec2_vertex");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006869,
87         "dEQP-GLES2.functional.shaders.operator.sequ",
88         "ence.side_effects.mediump_bool_vec2_fragment");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006870,
91         "dEQP-GLES2.functional.shaders.operator.se",
92         "quence.side_effects.highp_bool_vec2_vertex");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006871,
95         "dEQP-GLES2.functional.shaders.operator.seq",
96         "uence.side_effects.highp_bool_vec2_fragment");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006872,
99         "dEQP-GLES2.functional.shaders.operator.seque",
100         "nce.side_effects.lowp_vec4_ivec4_bvec4_vertex");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006873,
103         "dEQP-GLES2.functional.shaders.operator.sequen",
104         "ce.side_effects.lowp_vec4_ivec4_bvec4_fragment");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006874,
107         "dEQP-GLES2.functional.shaders.operator.sequenc",
108         "e.side_effects.mediump_vec4_ivec4_bvec4_vertex");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006875,
111         "dEQP-GLES2.functional.shaders.operator.sequence",
112         ".side_effects.mediump_vec4_ivec4_bvec4_fragment");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006876,
115         "dEQP-GLES2.functional.shaders.operator.sequen",
116         "ce.side_effects.highp_vec4_ivec4_bvec4_vertex");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006877,
119         "dEQP-GLES2.functional.shaders.operator.sequenc",
120         "e.side_effects.highp_vec4_ivec4_bvec4_fragment");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006878,
123         "dEQP-GLES2.functional.shaders.operato",
124         "r.sequence.side_effects.affect_ternary");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006879,
127         "dEQP-GLES2.functional.shaders.opera",
128         "tor.sequence.side_effects.affect_and");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006880,
131         "dEQP-GLES2.functional.shaders.opera",
132         "tor.sequence.side_effects.affect_or");
133