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 "../ActsDeqpgles20008TestSuite.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(ActsDeqpgles20008TestSuite, TestCase_007421,
27         "dEQP-GLES2.functional.shaders.matrix.mat",
28         "rixcompmult.dynamic_lowp_mat2_mat2_vertex");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007422,
31         "dEQP-GLES2.functional.shaders.matrix.matr",
32         "ixcompmult.dynamic_lowp_mat2_mat2_fragment");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007423,
35         "dEQP-GLES2.functional.shaders.matrix.matri",
36         "xcompmult.dynamic_mediump_mat2_mat2_vertex");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007424,
39         "dEQP-GLES2.functional.shaders.matrix.matrix",
40         "compmult.dynamic_mediump_mat2_mat2_fragment");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007425,
43         "dEQP-GLES2.functional.shaders.matrix.matr",
44         "ixcompmult.dynamic_highp_mat2_mat2_vertex");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007426,
47         "dEQP-GLES2.functional.shaders.matrix.matri",
48         "xcompmult.dynamic_highp_mat2_mat2_fragment");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007427,
51         "dEQP-GLES2.functional.shaders.matrix.mat",
52         "rixcompmult.dynamic_lowp_mat3_mat3_vertex");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007428,
55         "dEQP-GLES2.functional.shaders.matrix.matr",
56         "ixcompmult.dynamic_lowp_mat3_mat3_fragment");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007429,
59         "dEQP-GLES2.functional.shaders.matrix.matri",
60         "xcompmult.dynamic_mediump_mat3_mat3_vertex");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007430,
63         "dEQP-GLES2.functional.shaders.matrix.matrix",
64         "compmult.dynamic_mediump_mat3_mat3_fragment");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007431,
67         "dEQP-GLES2.functional.shaders.matrix.matr",
68         "ixcompmult.dynamic_highp_mat3_mat3_vertex");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007432,
71         "dEQP-GLES2.functional.shaders.matrix.matri",
72         "xcompmult.dynamic_highp_mat3_mat3_fragment");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007433,
75         "dEQP-GLES2.functional.shaders.matrix.mat",
76         "rixcompmult.dynamic_lowp_mat4_mat4_vertex");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007434,
79         "dEQP-GLES2.functional.shaders.matrix.matr",
80         "ixcompmult.dynamic_lowp_mat4_mat4_fragment");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007435,
83         "dEQP-GLES2.functional.shaders.matrix.matri",
84         "xcompmult.dynamic_mediump_mat4_mat4_vertex");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007436,
87         "dEQP-GLES2.functional.shaders.matrix.matrix",
88         "compmult.dynamic_mediump_mat4_mat4_fragment");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007437,
91         "dEQP-GLES2.functional.shaders.matrix.matr",
92         "ixcompmult.dynamic_highp_mat4_mat4_vertex");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007438,
95         "dEQP-GLES2.functional.shaders.matrix.matri",
96         "xcompmult.dynamic_highp_mat4_mat4_fragment");
97