• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //
2 // Copyright 2019 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5 //
6 
7 // validationGL33.cpp: Validation functions for OpenGL 3.3 entry point parameters
8 
9 #include "libANGLE/validationGL33_autogen.h"
10 
11 namespace gl
12 {
13 
ValidateBindFragDataLocationIndexed(Context * context,GLuint program,GLuint colorNumber,GLuint index,const GLchar * name)14 bool ValidateBindFragDataLocationIndexed(Context *context,
15                                          GLuint program,
16                                          GLuint colorNumber,
17                                          GLuint index,
18                                          const GLchar *name)
19 {
20     return true;
21 }
22 
ValidateColorP3ui(Context * context,GLenum type,GLuint color)23 bool ValidateColorP3ui(Context *context, GLenum type, GLuint color)
24 {
25     return true;
26 }
27 
ValidateColorP3uiv(Context * context,GLenum type,const GLuint * color)28 bool ValidateColorP3uiv(Context *context, GLenum type, const GLuint *color)
29 {
30     return true;
31 }
32 
ValidateColorP4ui(Context * context,GLenum type,GLuint color)33 bool ValidateColorP4ui(Context *context, GLenum type, GLuint color)
34 {
35     return true;
36 }
37 
ValidateColorP4uiv(Context * context,GLenum type,const GLuint * color)38 bool ValidateColorP4uiv(Context *context, GLenum type, const GLuint *color)
39 {
40     return true;
41 }
42 
ValidateGetFragDataIndex(Context * context,GLuint program,const GLchar * name)43 bool ValidateGetFragDataIndex(Context *context, GLuint program, const GLchar *name)
44 {
45     return true;
46 }
47 
ValidateGetQueryObjecti64v(Context * context,GLuint id,GLenum pname,GLint64 * params)48 bool ValidateGetQueryObjecti64v(Context *context, GLuint id, GLenum pname, GLint64 *params)
49 {
50     return true;
51 }
52 
ValidateGetQueryObjectui64v(Context * context,GLuint id,GLenum pname,GLuint64 * params)53 bool ValidateGetQueryObjectui64v(Context *context, GLuint id, GLenum pname, GLuint64 *params)
54 {
55     return true;
56 }
57 
ValidateGetSamplerParameterIiv(Context * context,GLuint sampler,GLenum pname,GLint * params)58 bool ValidateGetSamplerParameterIiv(Context *context, GLuint sampler, GLenum pname, GLint *params)
59 {
60     return true;
61 }
62 
ValidateGetSamplerParameterIuiv(Context * context,GLuint sampler,GLenum pname,GLuint * params)63 bool ValidateGetSamplerParameterIuiv(Context *context, GLuint sampler, GLenum pname, GLuint *params)
64 {
65     return true;
66 }
67 
ValidateMultiTexCoordP1ui(Context * context,GLenum texture,GLenum type,GLuint coords)68 bool ValidateMultiTexCoordP1ui(Context *context, GLenum texture, GLenum type, GLuint coords)
69 {
70     return true;
71 }
72 
ValidateMultiTexCoordP1uiv(Context * context,GLenum texture,GLenum type,const GLuint * coords)73 bool ValidateMultiTexCoordP1uiv(Context *context, GLenum texture, GLenum type, const GLuint *coords)
74 {
75     return true;
76 }
77 
ValidateMultiTexCoordP2ui(Context * context,GLenum texture,GLenum type,GLuint coords)78 bool ValidateMultiTexCoordP2ui(Context *context, GLenum texture, GLenum type, GLuint coords)
79 {
80     return true;
81 }
82 
ValidateMultiTexCoordP2uiv(Context * context,GLenum texture,GLenum type,const GLuint * coords)83 bool ValidateMultiTexCoordP2uiv(Context *context, GLenum texture, GLenum type, const GLuint *coords)
84 {
85     return true;
86 }
87 
ValidateMultiTexCoordP3ui(Context * context,GLenum texture,GLenum type,GLuint coords)88 bool ValidateMultiTexCoordP3ui(Context *context, GLenum texture, GLenum type, GLuint coords)
89 {
90     return true;
91 }
92 
ValidateMultiTexCoordP3uiv(Context * context,GLenum texture,GLenum type,const GLuint * coords)93 bool ValidateMultiTexCoordP3uiv(Context *context, GLenum texture, GLenum type, const GLuint *coords)
94 {
95     return true;
96 }
97 
ValidateMultiTexCoordP4ui(Context * context,GLenum texture,GLenum type,GLuint coords)98 bool ValidateMultiTexCoordP4ui(Context *context, GLenum texture, GLenum type, GLuint coords)
99 {
100     return true;
101 }
102 
ValidateMultiTexCoordP4uiv(Context * context,GLenum texture,GLenum type,const GLuint * coords)103 bool ValidateMultiTexCoordP4uiv(Context *context, GLenum texture, GLenum type, const GLuint *coords)
104 {
105     return true;
106 }
107 
ValidateNormalP3ui(Context * context,GLenum type,GLuint coords)108 bool ValidateNormalP3ui(Context *context, GLenum type, GLuint coords)
109 {
110     return true;
111 }
112 
ValidateNormalP3uiv(Context * context,GLenum type,const GLuint * coords)113 bool ValidateNormalP3uiv(Context *context, GLenum type, const GLuint *coords)
114 {
115     return true;
116 }
117 
ValidateQueryCounter(Context * context,GLuint id,QueryType targetPacked)118 bool ValidateQueryCounter(Context *context, GLuint id, QueryType targetPacked)
119 {
120     return true;
121 }
122 
ValidateSamplerParameterIiv(Context * context,GLuint sampler,GLenum pname,const GLint * param)123 bool ValidateSamplerParameterIiv(Context *context, GLuint sampler, GLenum pname, const GLint *param)
124 {
125     return true;
126 }
127 
ValidateSamplerParameterIuiv(Context * context,GLuint sampler,GLenum pname,const GLuint * param)128 bool ValidateSamplerParameterIuiv(Context *context,
129                                   GLuint sampler,
130                                   GLenum pname,
131                                   const GLuint *param)
132 {
133     return true;
134 }
135 
ValidateSecondaryColorP3ui(Context * context,GLenum type,GLuint color)136 bool ValidateSecondaryColorP3ui(Context *context, GLenum type, GLuint color)
137 {
138     return true;
139 }
140 
ValidateSecondaryColorP3uiv(Context * context,GLenum type,const GLuint * color)141 bool ValidateSecondaryColorP3uiv(Context *context, GLenum type, const GLuint *color)
142 {
143     return true;
144 }
145 
ValidateTexCoordP1ui(Context * context,GLenum type,GLuint coords)146 bool ValidateTexCoordP1ui(Context *context, GLenum type, GLuint coords)
147 {
148     return true;
149 }
150 
ValidateTexCoordP1uiv(Context * context,GLenum type,const GLuint * coords)151 bool ValidateTexCoordP1uiv(Context *context, GLenum type, const GLuint *coords)
152 {
153     return true;
154 }
155 
ValidateTexCoordP2ui(Context * context,GLenum type,GLuint coords)156 bool ValidateTexCoordP2ui(Context *context, GLenum type, GLuint coords)
157 {
158     return true;
159 }
160 
ValidateTexCoordP2uiv(Context * context,GLenum type,const GLuint * coords)161 bool ValidateTexCoordP2uiv(Context *context, GLenum type, const GLuint *coords)
162 {
163     return true;
164 }
165 
ValidateTexCoordP3ui(Context * context,GLenum type,GLuint coords)166 bool ValidateTexCoordP3ui(Context *context, GLenum type, GLuint coords)
167 {
168     return true;
169 }
170 
ValidateTexCoordP3uiv(Context * context,GLenum type,const GLuint * coords)171 bool ValidateTexCoordP3uiv(Context *context, GLenum type, const GLuint *coords)
172 {
173     return true;
174 }
175 
ValidateTexCoordP4ui(Context * context,GLenum type,GLuint coords)176 bool ValidateTexCoordP4ui(Context *context, GLenum type, GLuint coords)
177 {
178     return true;
179 }
180 
ValidateTexCoordP4uiv(Context * context,GLenum type,const GLuint * coords)181 bool ValidateTexCoordP4uiv(Context *context, GLenum type, const GLuint *coords)
182 {
183     return true;
184 }
185 
ValidateVertexAttribP1ui(Context * context,GLuint index,GLenum type,GLboolean normalized,GLuint value)186 bool ValidateVertexAttribP1ui(Context *context,
187                               GLuint index,
188                               GLenum type,
189                               GLboolean normalized,
190                               GLuint value)
191 {
192     return true;
193 }
194 
ValidateVertexAttribP1uiv(Context * context,GLuint index,GLenum type,GLboolean normalized,const GLuint * value)195 bool ValidateVertexAttribP1uiv(Context *context,
196                                GLuint index,
197                                GLenum type,
198                                GLboolean normalized,
199                                const GLuint *value)
200 {
201     return true;
202 }
203 
ValidateVertexAttribP2ui(Context * context,GLuint index,GLenum type,GLboolean normalized,GLuint value)204 bool ValidateVertexAttribP2ui(Context *context,
205                               GLuint index,
206                               GLenum type,
207                               GLboolean normalized,
208                               GLuint value)
209 {
210     return true;
211 }
212 
ValidateVertexAttribP2uiv(Context * context,GLuint index,GLenum type,GLboolean normalized,const GLuint * value)213 bool ValidateVertexAttribP2uiv(Context *context,
214                                GLuint index,
215                                GLenum type,
216                                GLboolean normalized,
217                                const GLuint *value)
218 {
219     return true;
220 }
221 
ValidateVertexAttribP3ui(Context * context,GLuint index,GLenum type,GLboolean normalized,GLuint value)222 bool ValidateVertexAttribP3ui(Context *context,
223                               GLuint index,
224                               GLenum type,
225                               GLboolean normalized,
226                               GLuint value)
227 {
228     return true;
229 }
230 
ValidateVertexAttribP3uiv(Context * context,GLuint index,GLenum type,GLboolean normalized,const GLuint * value)231 bool ValidateVertexAttribP3uiv(Context *context,
232                                GLuint index,
233                                GLenum type,
234                                GLboolean normalized,
235                                const GLuint *value)
236 {
237     return true;
238 }
239 
ValidateVertexAttribP4ui(Context * context,GLuint index,GLenum type,GLboolean normalized,GLuint value)240 bool ValidateVertexAttribP4ui(Context *context,
241                               GLuint index,
242                               GLenum type,
243                               GLboolean normalized,
244                               GLuint value)
245 {
246     return true;
247 }
248 
ValidateVertexAttribP4uiv(Context * context,GLuint index,GLenum type,GLboolean normalized,const GLuint * value)249 bool ValidateVertexAttribP4uiv(Context *context,
250                                GLuint index,
251                                GLenum type,
252                                GLboolean normalized,
253                                const GLuint *value)
254 {
255     return true;
256 }
257 
ValidateVertexP2ui(Context * context,GLenum type,GLuint value)258 bool ValidateVertexP2ui(Context *context, GLenum type, GLuint value)
259 {
260     return true;
261 }
262 
ValidateVertexP2uiv(Context * context,GLenum type,const GLuint * value)263 bool ValidateVertexP2uiv(Context *context, GLenum type, const GLuint *value)
264 {
265     return true;
266 }
267 
ValidateVertexP3ui(Context * context,GLenum type,GLuint value)268 bool ValidateVertexP3ui(Context *context, GLenum type, GLuint value)
269 {
270     return true;
271 }
272 
ValidateVertexP3uiv(Context * context,GLenum type,const GLuint * value)273 bool ValidateVertexP3uiv(Context *context, GLenum type, const GLuint *value)
274 {
275     return true;
276 }
277 
ValidateVertexP4ui(Context * context,GLenum type,GLuint value)278 bool ValidateVertexP4ui(Context *context, GLenum type, GLuint value)
279 {
280     return true;
281 }
282 
ValidateVertexP4uiv(Context * context,GLenum type,const GLuint * value)283 bool ValidateVertexP4uiv(Context *context, GLenum type, const GLuint *value)
284 {
285     return true;
286 }
287 
288 }  // namespace gl
289