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 "../ActsDeqpgles30003TestSuite.h"
20#include "shrinkdefine.h"
21
22using namespace std;
23using namespace testing::ext;
24using namespace OHOS;
25
26static SHRINK_HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_002751,
27        "dEQP-GLES3.functional.shaders.cond",
28        "itionals.if.single_statement_vertex");
29
30static SHRINK_HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_002752,
31        "dEQP-GLES3.functional.shaders.condi",
32        "tionals.if.single_statement_fragment");
33
34static SHRINK_HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_002753,
35        "dEQP-GLES3.functional.shaders.condi",
36        "tionals.if.compound_statement_vertex");
37
38static SHRINK_HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_002754,
39        "dEQP-GLES3.functional.shaders.condit",
40        "ionals.if.compound_statement_fragment");
41
42static SHRINK_HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_002755,
43        "dEQP-GLES3.functional.shaders.condit",
44        "ionals.if.sequence_statements_vertex");
45
46static SHRINK_HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_002756,
47        "dEQP-GLES3.functional.shaders.conditi",
48        "onals.if.sequence_statements_fragment");
49
50static SHRINK_HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_002757,
51        "dEQP-GLES3.functional.shaders.condi",
52        "tionals.if.sequence_condition_vertex");
53
54static SHRINK_HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_002758,
55        "dEQP-GLES3.functional.shaders.condit",
56        "ionals.if.sequence_condition_fragment");
57
58static SHRINK_HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_002759,
59        "dEQP-GLES3.functional.shaders.condi",
60        "tionals.if.complex_condition_vertex");
61
62static SHRINK_HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_002760,
63        "dEQP-GLES3.functional.shaders.condit",
64        "ionals.if.complex_condition_fragment");
65
66static SHRINK_HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_002761,
67        "dEQP-GLES3.functional.shaders.",
68        "conditionals.if.if_else_vertex");
69
70static SHRINK_HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_002762,
71        "dEQP-GLES3.functional.shaders.c",
72        "onditionals.if.if_else_fragment");
73
74static SHRINK_HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_002763,
75        "dEQP-GLES3.functional.shaders.c",
76        "onditionals.if.if_elseif_vertex");
77
78static SHRINK_HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_002764,
79        "dEQP-GLES3.functional.shaders.co",
80        "nditionals.if.if_elseif_fragment");
81
82static SHRINK_HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_002765,
83        "dEQP-GLES3.functional.shaders.con",
84        "ditionals.if.if_elseif_else_vertex");
85
86static SHRINK_HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_002766,
87        "dEQP-GLES3.functional.shaders.cond",
88        "itionals.if.if_elseif_else_fragment");
89
90static SHRINK_HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_002767,
91        "dEQP-GLES3.functional.shaders.condit",
92        "ionals.if.mixed_if_elseif_else_vertex");
93
94static SHRINK_HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_002768,
95        "dEQP-GLES3.functional.shaders.conditi",
96        "onals.if.mixed_if_elseif_else_fragment");
97
98static SHRINK_HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_002769,
99        "dEQP-GLES3.functional.shaders.conditionals.",
100        "if.constant_conditional_assignment_to_matrix");
101
102static SHRINK_HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_002770,
103        "dEQP-GLES3.functional.shaders.conditionals",
104        ".if.input_conditional_assignment_to_matrix");
105
106static SHRINK_HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_002771,
107        "dEQP-GLES3.functional.shaders.conditionals.",
108        "if.uniform_conditional_assignment_to_matrix");
109