• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 "../Khrgles31BaseFunc.h"
19 #include "../ActsKhrgles310004TestSuite.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(ActsKhrgles310004TestSuite, TestCase_003469,
27         "KHR-GLES31.shaders.lay",
28         "out_location.sampler_2d");
29 
30 static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003470,
31         "KHR-GLES31.shaders.lay",
32         "out_location.sampler_3d");
33 
34 static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003471,
35         "KHR-GLES31.shaders.layo",
36         "ut_location.sampler_cube");
37 
38 static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003472,
39         "KHR-GLES31.shaders.layout_l",
40         "ocation.sampler_cube_shadow");
41 
42 static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003473,
43         "KHR-GLES31.shaders.layout_",
44         "location.sampler_2d_shadow");
45 
46 static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003474,
47         "KHR-GLES31.shaders.layout",
48         "_location.sampler_2d_array");
49 
50 static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003475,
51         "KHR-GLES31.shaders.layout_loc",
52         "ation.sampler_2d_array_shadow");
53 
54 static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003476,
55         "KHR-GLES31.shaders.layo",
56         "ut_location.isampler_2d");
57 
58 static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003477,
59         "KHR-GLES31.shaders.layo",
60         "ut_location.isampler_3d");
61 
62 static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003478,
63         "KHR-GLES31.shaders.layou",
64         "t_location.isampler_cube");
65 
66 static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003479,
67         "KHR-GLES31.shaders.layout_",
68         "location.isampler_2d_array");
69 
70 static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003480,
71         "KHR-GLES31.shaders.layo",
72         "ut_location.usampler_2d");
73 
74 static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003481,
75         "KHR-GLES31.shaders.layo",
76         "ut_location.usampler_3d");
77 
78 static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003482,
79         "KHR-GLES31.shaders.layou",
80         "t_location.usampler_cube");
81 
82 static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003483,
83         "KHR-GLES31.shaders.layout_",
84         "location.usampler_2d_array");
85 
86 static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003484,
87         "KHR-GLES31.shaders.la",
88         "yout_location.image_2d");
89 
90 static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003485,
91         "KHR-GLES31.shaders.lay",
92         "out_location.iimage_2d");
93 
94 static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003486,
95         "KHR-GLES31.shaders.lay",
96         "out_location.uimage_2d");
97 
98 static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003487,
99         "KHR-GLES31.shaders.la",
100         "yout_location.image_3d");
101 
102 static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003488,
103         "KHR-GLES31.shaders.lay",
104         "out_location.iimage_3d");
105 
106 static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003489,
107         "KHR-GLES31.shaders.lay",
108         "out_location.uimage_3d");
109 
110 static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003490,
111         "KHR-GLES31.shaders.lay",
112         "out_location.image_cube");
113 
114 static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003491,
115         "KHR-GLES31.shaders.layo",
116         "ut_location.iimage_cube");
117 
118 static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003492,
119         "KHR-GLES31.shaders.layo",
120         "ut_location.uimage_cube");
121 
122 static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003493,
123         "KHR-GLES31.shaders.layou",
124         "t_location.image_2d_array");
125 
126 static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003494,
127         "KHR-GLES31.shaders.layout",
128         "_location.iimage_2d_array");
129 
130 static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003495,
131         "KHR-GLES31.shaders.layout",
132         "_location.uimage_2d_array");
133 
134 static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003496,
135         "KHR-GLES31.shaders.layou",
136         "t_location.invalid_cases");
137