• 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 // validationGL4.cpp: Validation functions for OpenGL 4.0 entry point parameters
8 
9 #include "libANGLE/validationGL4_autogen.h"
10 
11 namespace gl
12 {
13 
ValidateBeginQueryIndexed(const Context * context,angle::EntryPoint entryPoint,GLenum target,GLuint index,QueryID id)14 bool ValidateBeginQueryIndexed(const Context *context,
15                                angle::EntryPoint entryPoint,
16                                GLenum target,
17                                GLuint index,
18                                QueryID id)
19 {
20     return true;
21 }
22 
ValidateDrawTransformFeedback(const Context * context,angle::EntryPoint entryPoint,GLenum mode,TransformFeedbackID id)23 bool ValidateDrawTransformFeedback(const Context *context,
24                                    angle::EntryPoint entryPoint,
25                                    GLenum mode,
26                                    TransformFeedbackID id)
27 {
28     return true;
29 }
30 
ValidateDrawTransformFeedbackStream(const Context * context,angle::EntryPoint entryPoint,GLenum mode,TransformFeedbackID id,GLuint stream)31 bool ValidateDrawTransformFeedbackStream(const Context *context,
32                                          angle::EntryPoint entryPoint,
33                                          GLenum mode,
34                                          TransformFeedbackID id,
35                                          GLuint stream)
36 {
37     return true;
38 }
39 
ValidateEndQueryIndexed(const Context * context,angle::EntryPoint entryPoint,GLenum target,GLuint index)40 bool ValidateEndQueryIndexed(const Context *context,
41                              angle::EntryPoint entryPoint,
42                              GLenum target,
43                              GLuint index)
44 {
45     return true;
46 }
47 
ValidateGetActiveSubroutineName(const Context * context,angle::EntryPoint entryPoint,ShaderProgramID program,GLenum shadertype,GLuint index,GLsizei bufsize,const GLsizei * length,const GLchar * name)48 bool ValidateGetActiveSubroutineName(const Context *context,
49                                      angle::EntryPoint entryPoint,
50                                      ShaderProgramID program,
51                                      GLenum shadertype,
52                                      GLuint index,
53                                      GLsizei bufsize,
54                                      const GLsizei *length,
55                                      const GLchar *name)
56 {
57     return true;
58 }
59 
ValidateGetActiveSubroutineUniformName(const Context * context,angle::EntryPoint entryPoint,ShaderProgramID program,GLenum shadertype,GLuint index,GLsizei bufsize,const GLsizei * length,const GLchar * name)60 bool ValidateGetActiveSubroutineUniformName(const Context *context,
61                                             angle::EntryPoint entryPoint,
62                                             ShaderProgramID program,
63                                             GLenum shadertype,
64                                             GLuint index,
65                                             GLsizei bufsize,
66                                             const GLsizei *length,
67                                             const GLchar *name)
68 {
69     return true;
70 }
71 
ValidateGetActiveSubroutineUniformiv(const Context * context,angle::EntryPoint entryPoint,ShaderProgramID program,GLenum shadertype,GLuint index,GLenum pname,const GLint * values)72 bool ValidateGetActiveSubroutineUniformiv(const Context *context,
73                                           angle::EntryPoint entryPoint,
74                                           ShaderProgramID program,
75                                           GLenum shadertype,
76                                           GLuint index,
77                                           GLenum pname,
78                                           const GLint *values)
79 {
80     return true;
81 }
82 
ValidateGetProgramStageiv(const Context * context,angle::EntryPoint entryPoint,ShaderProgramID program,GLenum shadertype,GLenum pname,const GLint * values)83 bool ValidateGetProgramStageiv(const Context *context,
84                                angle::EntryPoint entryPoint,
85                                ShaderProgramID program,
86                                GLenum shadertype,
87                                GLenum pname,
88                                const GLint *values)
89 {
90     return true;
91 }
92 
ValidateGetQueryIndexediv(const Context * context,angle::EntryPoint entryPoint,GLenum target,GLuint index,GLenum pname,const GLint * params)93 bool ValidateGetQueryIndexediv(const Context *context,
94                                angle::EntryPoint entryPoint,
95                                GLenum target,
96                                GLuint index,
97                                GLenum pname,
98                                const GLint *params)
99 {
100     return true;
101 }
102 
ValidateGetSubroutineIndex(const Context * context,angle::EntryPoint entryPoint,ShaderProgramID program,GLenum shadertype,const GLchar * name)103 bool ValidateGetSubroutineIndex(const Context *context,
104                                 angle::EntryPoint entryPoint,
105                                 ShaderProgramID program,
106                                 GLenum shadertype,
107                                 const GLchar *name)
108 {
109     return true;
110 }
111 
ValidateGetSubroutineUniformLocation(const Context * context,angle::EntryPoint entryPoint,ShaderProgramID program,GLenum shadertype,const GLchar * name)112 bool ValidateGetSubroutineUniformLocation(const Context *context,
113                                           angle::EntryPoint entryPoint,
114                                           ShaderProgramID program,
115                                           GLenum shadertype,
116                                           const GLchar *name)
117 {
118     return true;
119 }
120 
ValidateGetUniformSubroutineuiv(const Context * context,angle::EntryPoint entryPoint,GLenum shadertype,GLint location,const GLuint * params)121 bool ValidateGetUniformSubroutineuiv(const Context *context,
122                                      angle::EntryPoint entryPoint,
123                                      GLenum shadertype,
124                                      GLint location,
125                                      const GLuint *params)
126 {
127     return true;
128 }
129 
ValidateGetUniformdv(const Context * context,angle::EntryPoint entryPoint,ShaderProgramID program,UniformLocation location,const GLdouble * params)130 bool ValidateGetUniformdv(const Context *context,
131                           angle::EntryPoint entryPoint,
132                           ShaderProgramID program,
133                           UniformLocation location,
134                           const GLdouble *params)
135 {
136     return true;
137 }
138 
ValidatePatchParameterfv(const Context * context,angle::EntryPoint entryPoint,GLenum pname,const GLfloat * values)139 bool ValidatePatchParameterfv(const Context *context,
140                               angle::EntryPoint entryPoint,
141                               GLenum pname,
142                               const GLfloat *values)
143 {
144     return true;
145 }
146 
ValidateUniform1d(const Context * context,angle::EntryPoint entryPoint,UniformLocation location,GLdouble x)147 bool ValidateUniform1d(const Context *context,
148                        angle::EntryPoint entryPoint,
149                        UniformLocation location,
150                        GLdouble x)
151 {
152     return true;
153 }
154 
ValidateUniform1dv(const Context * context,angle::EntryPoint entryPoint,UniformLocation location,GLsizei count,const GLdouble * value)155 bool ValidateUniform1dv(const Context *context,
156                         angle::EntryPoint entryPoint,
157                         UniformLocation location,
158                         GLsizei count,
159                         const GLdouble *value)
160 {
161     return true;
162 }
163 
ValidateUniform2d(const Context * context,angle::EntryPoint entryPoint,UniformLocation location,GLdouble x,GLdouble y)164 bool ValidateUniform2d(const Context *context,
165                        angle::EntryPoint entryPoint,
166                        UniformLocation location,
167                        GLdouble x,
168                        GLdouble y)
169 {
170     return true;
171 }
172 
ValidateUniform2dv(const Context * context,angle::EntryPoint entryPoint,UniformLocation location,GLsizei count,const GLdouble * value)173 bool ValidateUniform2dv(const Context *context,
174                         angle::EntryPoint entryPoint,
175                         UniformLocation location,
176                         GLsizei count,
177                         const GLdouble *value)
178 {
179     return true;
180 }
181 
ValidateUniform3d(const Context * context,angle::EntryPoint entryPoint,UniformLocation location,GLdouble x,GLdouble y,GLdouble z)182 bool ValidateUniform3d(const Context *context,
183                        angle::EntryPoint entryPoint,
184                        UniformLocation location,
185                        GLdouble x,
186                        GLdouble y,
187                        GLdouble z)
188 {
189     return true;
190 }
191 
ValidateUniform3dv(const Context * context,angle::EntryPoint entryPoint,UniformLocation location,GLsizei count,const GLdouble * value)192 bool ValidateUniform3dv(const Context *context,
193                         angle::EntryPoint entryPoint,
194                         UniformLocation location,
195                         GLsizei count,
196                         const GLdouble *value)
197 {
198     return true;
199 }
200 
ValidateUniform4d(const Context * context,angle::EntryPoint entryPoint,UniformLocation location,GLdouble x,GLdouble y,GLdouble z,GLdouble w)201 bool ValidateUniform4d(const Context *context,
202                        angle::EntryPoint entryPoint,
203                        UniformLocation location,
204                        GLdouble x,
205                        GLdouble y,
206                        GLdouble z,
207                        GLdouble w)
208 {
209     return true;
210 }
211 
ValidateUniform4dv(const Context * context,angle::EntryPoint entryPoint,UniformLocation location,GLsizei count,const GLdouble * value)212 bool ValidateUniform4dv(const Context *context,
213                         angle::EntryPoint entryPoint,
214                         UniformLocation location,
215                         GLsizei count,
216                         const GLdouble *value)
217 {
218     return true;
219 }
220 
ValidateUniformMatrix2dv(const Context * context,angle::EntryPoint entryPoint,UniformLocation location,GLsizei count,GLboolean transpose,const GLdouble * value)221 bool ValidateUniformMatrix2dv(const Context *context,
222                               angle::EntryPoint entryPoint,
223                               UniformLocation location,
224                               GLsizei count,
225                               GLboolean transpose,
226                               const GLdouble *value)
227 {
228     return true;
229 }
230 
ValidateUniformMatrix2x3dv(const Context * context,angle::EntryPoint entryPoint,UniformLocation location,GLsizei count,GLboolean transpose,const GLdouble * value)231 bool ValidateUniformMatrix2x3dv(const Context *context,
232                                 angle::EntryPoint entryPoint,
233                                 UniformLocation location,
234                                 GLsizei count,
235                                 GLboolean transpose,
236                                 const GLdouble *value)
237 {
238     return true;
239 }
240 
ValidateUniformMatrix2x4dv(const Context * context,angle::EntryPoint entryPoint,UniformLocation location,GLsizei count,GLboolean transpose,const GLdouble * value)241 bool ValidateUniformMatrix2x4dv(const Context *context,
242                                 angle::EntryPoint entryPoint,
243                                 UniformLocation location,
244                                 GLsizei count,
245                                 GLboolean transpose,
246                                 const GLdouble *value)
247 {
248     return true;
249 }
250 
ValidateUniformMatrix3dv(const Context * context,angle::EntryPoint entryPoint,UniformLocation location,GLsizei count,GLboolean transpose,const GLdouble * value)251 bool ValidateUniformMatrix3dv(const Context *context,
252                               angle::EntryPoint entryPoint,
253                               UniformLocation location,
254                               GLsizei count,
255                               GLboolean transpose,
256                               const GLdouble *value)
257 {
258     return true;
259 }
260 
ValidateUniformMatrix3x2dv(const Context * context,angle::EntryPoint entryPoint,UniformLocation location,GLsizei count,GLboolean transpose,const GLdouble * value)261 bool ValidateUniformMatrix3x2dv(const Context *context,
262                                 angle::EntryPoint entryPoint,
263                                 UniformLocation location,
264                                 GLsizei count,
265                                 GLboolean transpose,
266                                 const GLdouble *value)
267 {
268     return true;
269 }
270 
ValidateUniformMatrix3x4dv(const Context * context,angle::EntryPoint entryPoint,UniformLocation location,GLsizei count,GLboolean transpose,const GLdouble * value)271 bool ValidateUniformMatrix3x4dv(const Context *context,
272                                 angle::EntryPoint entryPoint,
273                                 UniformLocation location,
274                                 GLsizei count,
275                                 GLboolean transpose,
276                                 const GLdouble *value)
277 {
278     return true;
279 }
280 
ValidateUniformMatrix4dv(const Context * context,angle::EntryPoint entryPoint,UniformLocation location,GLsizei count,GLboolean transpose,const GLdouble * value)281 bool ValidateUniformMatrix4dv(const Context *context,
282                               angle::EntryPoint entryPoint,
283                               UniformLocation location,
284                               GLsizei count,
285                               GLboolean transpose,
286                               const GLdouble *value)
287 {
288     return true;
289 }
290 
ValidateUniformMatrix4x2dv(const Context * context,angle::EntryPoint entryPoint,UniformLocation location,GLsizei count,GLboolean transpose,const GLdouble * value)291 bool ValidateUniformMatrix4x2dv(const Context *context,
292                                 angle::EntryPoint entryPoint,
293                                 UniformLocation location,
294                                 GLsizei count,
295                                 GLboolean transpose,
296                                 const GLdouble *value)
297 {
298     return true;
299 }
300 
ValidateUniformMatrix4x3dv(const Context * context,angle::EntryPoint entryPoint,UniformLocation location,GLsizei count,GLboolean transpose,const GLdouble * value)301 bool ValidateUniformMatrix4x3dv(const Context *context,
302                                 angle::EntryPoint entryPoint,
303                                 UniformLocation location,
304                                 GLsizei count,
305                                 GLboolean transpose,
306                                 const GLdouble *value)
307 {
308     return true;
309 }
310 
ValidateUniformSubroutinesuiv(const Context * context,angle::EntryPoint entryPoint,GLenum shadertype,GLsizei count,const GLuint * indices)311 bool ValidateUniformSubroutinesuiv(const Context *context,
312                                    angle::EntryPoint entryPoint,
313                                    GLenum shadertype,
314                                    GLsizei count,
315                                    const GLuint *indices)
316 {
317     return true;
318 }
319 
ValidateDepthRangeArrayv(const Context * context,angle::EntryPoint entryPoint,GLuint first,GLsizei count,const GLdouble * v)320 bool ValidateDepthRangeArrayv(const Context *context,
321                               angle::EntryPoint entryPoint,
322                               GLuint first,
323                               GLsizei count,
324                               const GLdouble *v)
325 {
326     return true;
327 }
328 
ValidateDepthRangeIndexed(const Context * context,angle::EntryPoint entryPoint,GLuint index,GLdouble n,GLdouble f)329 bool ValidateDepthRangeIndexed(const Context *context,
330                                angle::EntryPoint entryPoint,
331                                GLuint index,
332                                GLdouble n,
333                                GLdouble f)
334 {
335     return true;
336 }
337 
ValidateGetDoublei_v(const Context * context,angle::EntryPoint entryPoint,GLenum target,GLuint index,const GLdouble * data)338 bool ValidateGetDoublei_v(const Context *context,
339                           angle::EntryPoint entryPoint,
340                           GLenum target,
341                           GLuint index,
342                           const GLdouble *data)
343 {
344     return true;
345 }
346 
ValidateGetFloati_v(const Context * context,angle::EntryPoint entryPoint,GLenum target,GLuint index,const GLfloat * data)347 bool ValidateGetFloati_v(const Context *context,
348                          angle::EntryPoint entryPoint,
349                          GLenum target,
350                          GLuint index,
351                          const GLfloat *data)
352 {
353     return true;
354 }
355 
ValidateGetVertexAttribLdv(const Context * context,angle::EntryPoint entryPoint,GLuint index,GLenum pname,const GLdouble * params)356 bool ValidateGetVertexAttribLdv(const Context *context,
357                                 angle::EntryPoint entryPoint,
358                                 GLuint index,
359                                 GLenum pname,
360                                 const GLdouble *params)
361 {
362     return true;
363 }
364 
ValidateProgramUniform1d(const Context * context,angle::EntryPoint entryPoint,ShaderProgramID program,UniformLocation location,GLdouble v0)365 bool ValidateProgramUniform1d(const Context *context,
366                               angle::EntryPoint entryPoint,
367                               ShaderProgramID program,
368                               UniformLocation location,
369                               GLdouble v0)
370 {
371     return true;
372 }
373 
ValidateProgramUniform1dv(const Context * context,angle::EntryPoint entryPoint,ShaderProgramID program,UniformLocation location,GLsizei count,const GLdouble * value)374 bool ValidateProgramUniform1dv(const Context *context,
375                                angle::EntryPoint entryPoint,
376                                ShaderProgramID program,
377                                UniformLocation location,
378                                GLsizei count,
379                                const GLdouble *value)
380 {
381     return true;
382 }
383 
ValidateProgramUniform2d(const Context * context,angle::EntryPoint entryPoint,ShaderProgramID program,UniformLocation location,GLdouble v0,GLdouble v1)384 bool ValidateProgramUniform2d(const Context *context,
385                               angle::EntryPoint entryPoint,
386                               ShaderProgramID program,
387                               UniformLocation location,
388                               GLdouble v0,
389                               GLdouble v1)
390 {
391     return true;
392 }
393 
ValidateProgramUniform2dv(const Context * context,angle::EntryPoint entryPoint,ShaderProgramID program,UniformLocation location,GLsizei count,const GLdouble * value)394 bool ValidateProgramUniform2dv(const Context *context,
395                                angle::EntryPoint entryPoint,
396                                ShaderProgramID program,
397                                UniformLocation location,
398                                GLsizei count,
399                                const GLdouble *value)
400 {
401     return true;
402 }
403 
ValidateProgramUniform3d(const Context * context,angle::EntryPoint entryPoint,ShaderProgramID program,UniformLocation location,GLdouble v0,GLdouble v1,GLdouble v2)404 bool ValidateProgramUniform3d(const Context *context,
405                               angle::EntryPoint entryPoint,
406                               ShaderProgramID program,
407                               UniformLocation location,
408                               GLdouble v0,
409                               GLdouble v1,
410                               GLdouble v2)
411 {
412     return true;
413 }
414 
ValidateProgramUniform3dv(const Context * context,angle::EntryPoint entryPoint,ShaderProgramID program,UniformLocation location,GLsizei count,const GLdouble * value)415 bool ValidateProgramUniform3dv(const Context *context,
416                                angle::EntryPoint entryPoint,
417                                ShaderProgramID program,
418                                UniformLocation location,
419                                GLsizei count,
420                                const GLdouble *value)
421 {
422     return true;
423 }
424 
ValidateProgramUniform4d(const Context * context,angle::EntryPoint entryPoint,ShaderProgramID program,UniformLocation location,GLdouble v0,GLdouble v1,GLdouble v2,GLdouble v3)425 bool ValidateProgramUniform4d(const Context *context,
426                               angle::EntryPoint entryPoint,
427                               ShaderProgramID program,
428                               UniformLocation location,
429                               GLdouble v0,
430                               GLdouble v1,
431                               GLdouble v2,
432                               GLdouble v3)
433 {
434     return true;
435 }
436 
ValidateProgramUniform4dv(const Context * context,angle::EntryPoint entryPoint,ShaderProgramID program,UniformLocation location,GLsizei count,const GLdouble * value)437 bool ValidateProgramUniform4dv(const Context *context,
438                                angle::EntryPoint entryPoint,
439                                ShaderProgramID program,
440                                UniformLocation location,
441                                GLsizei count,
442                                const GLdouble *value)
443 {
444     return true;
445 }
446 
ValidateProgramUniformMatrix2dv(const Context * context,angle::EntryPoint entryPoint,ShaderProgramID program,UniformLocation location,GLsizei count,GLboolean transpose,const GLdouble * value)447 bool ValidateProgramUniformMatrix2dv(const Context *context,
448                                      angle::EntryPoint entryPoint,
449                                      ShaderProgramID program,
450                                      UniformLocation location,
451                                      GLsizei count,
452                                      GLboolean transpose,
453                                      const GLdouble *value)
454 {
455     return true;
456 }
457 
ValidateProgramUniformMatrix2x3dv(const Context * context,angle::EntryPoint entryPoint,ShaderProgramID program,UniformLocation location,GLsizei count,GLboolean transpose,const GLdouble * value)458 bool ValidateProgramUniformMatrix2x3dv(const Context *context,
459                                        angle::EntryPoint entryPoint,
460                                        ShaderProgramID program,
461                                        UniformLocation location,
462                                        GLsizei count,
463                                        GLboolean transpose,
464                                        const GLdouble *value)
465 {
466     return true;
467 }
468 
ValidateProgramUniformMatrix2x4dv(const Context * context,angle::EntryPoint entryPoint,ShaderProgramID program,UniformLocation location,GLsizei count,GLboolean transpose,const GLdouble * value)469 bool ValidateProgramUniformMatrix2x4dv(const Context *context,
470                                        angle::EntryPoint entryPoint,
471                                        ShaderProgramID program,
472                                        UniformLocation location,
473                                        GLsizei count,
474                                        GLboolean transpose,
475                                        const GLdouble *value)
476 {
477     return true;
478 }
479 
ValidateProgramUniformMatrix3dv(const Context * context,angle::EntryPoint entryPoint,ShaderProgramID program,UniformLocation location,GLsizei count,GLboolean transpose,const GLdouble * value)480 bool ValidateProgramUniformMatrix3dv(const Context *context,
481                                      angle::EntryPoint entryPoint,
482                                      ShaderProgramID program,
483                                      UniformLocation location,
484                                      GLsizei count,
485                                      GLboolean transpose,
486                                      const GLdouble *value)
487 {
488     return true;
489 }
490 
ValidateProgramUniformMatrix3x2dv(const Context * context,angle::EntryPoint entryPoint,ShaderProgramID program,UniformLocation location,GLsizei count,GLboolean transpose,const GLdouble * value)491 bool ValidateProgramUniformMatrix3x2dv(const Context *context,
492                                        angle::EntryPoint entryPoint,
493                                        ShaderProgramID program,
494                                        UniformLocation location,
495                                        GLsizei count,
496                                        GLboolean transpose,
497                                        const GLdouble *value)
498 {
499     return true;
500 }
501 
ValidateProgramUniformMatrix3x4dv(const Context * context,angle::EntryPoint entryPoint,ShaderProgramID program,UniformLocation location,GLsizei count,GLboolean transpose,const GLdouble * value)502 bool ValidateProgramUniformMatrix3x4dv(const Context *context,
503                                        angle::EntryPoint entryPoint,
504                                        ShaderProgramID program,
505                                        UniformLocation location,
506                                        GLsizei count,
507                                        GLboolean transpose,
508                                        const GLdouble *value)
509 {
510     return true;
511 }
512 
ValidateProgramUniformMatrix4dv(const Context * context,angle::EntryPoint entryPoint,ShaderProgramID program,UniformLocation location,GLsizei count,GLboolean transpose,const GLdouble * value)513 bool ValidateProgramUniformMatrix4dv(const Context *context,
514                                      angle::EntryPoint entryPoint,
515                                      ShaderProgramID program,
516                                      UniformLocation location,
517                                      GLsizei count,
518                                      GLboolean transpose,
519                                      const GLdouble *value)
520 {
521     return true;
522 }
523 
ValidateProgramUniformMatrix4x2dv(const Context * context,angle::EntryPoint entryPoint,ShaderProgramID program,UniformLocation location,GLsizei count,GLboolean transpose,const GLdouble * value)524 bool ValidateProgramUniformMatrix4x2dv(const Context *context,
525                                        angle::EntryPoint entryPoint,
526                                        ShaderProgramID program,
527                                        UniformLocation location,
528                                        GLsizei count,
529                                        GLboolean transpose,
530                                        const GLdouble *value)
531 {
532     return true;
533 }
534 
ValidateProgramUniformMatrix4x3dv(const Context * context,angle::EntryPoint entryPoint,ShaderProgramID program,UniformLocation location,GLsizei count,GLboolean transpose,const GLdouble * value)535 bool ValidateProgramUniformMatrix4x3dv(const Context *context,
536                                        angle::EntryPoint entryPoint,
537                                        ShaderProgramID program,
538                                        UniformLocation location,
539                                        GLsizei count,
540                                        GLboolean transpose,
541                                        const GLdouble *value)
542 {
543     return true;
544 }
545 
ValidateScissorArrayv(const Context * context,angle::EntryPoint entryPoint,GLuint first,GLsizei count,const GLint * v)546 bool ValidateScissorArrayv(const Context *context,
547                            angle::EntryPoint entryPoint,
548                            GLuint first,
549                            GLsizei count,
550                            const GLint *v)
551 {
552     return true;
553 }
554 
ValidateScissorIndexed(const Context * context,angle::EntryPoint entryPoint,GLuint index,GLint left,GLint bottom,GLsizei width,GLsizei height)555 bool ValidateScissorIndexed(const Context *context,
556                             angle::EntryPoint entryPoint,
557                             GLuint index,
558                             GLint left,
559                             GLint bottom,
560                             GLsizei width,
561                             GLsizei height)
562 {
563     return true;
564 }
565 
ValidateScissorIndexedv(const Context * context,angle::EntryPoint entryPoint,GLuint index,const GLint * v)566 bool ValidateScissorIndexedv(const Context *context,
567                              angle::EntryPoint entryPoint,
568                              GLuint index,
569                              const GLint *v)
570 {
571     return true;
572 }
573 
ValidateVertexAttribL1d(const PrivateState & state,ErrorSet * errors,angle::EntryPoint entryPoint,GLuint index,GLdouble x)574 bool ValidateVertexAttribL1d(const PrivateState &state,
575                              ErrorSet *errors,
576                              angle::EntryPoint entryPoint,
577                              GLuint index,
578                              GLdouble x)
579 {
580     return true;
581 }
582 
ValidateVertexAttribL1dv(const PrivateState & state,ErrorSet * errors,angle::EntryPoint entryPoint,GLuint index,const GLdouble * v)583 bool ValidateVertexAttribL1dv(const PrivateState &state,
584                               ErrorSet *errors,
585                               angle::EntryPoint entryPoint,
586                               GLuint index,
587                               const GLdouble *v)
588 {
589     return true;
590 }
591 
ValidateVertexAttribL2d(const PrivateState & state,ErrorSet * errors,angle::EntryPoint entryPoint,GLuint index,GLdouble x,GLdouble y)592 bool ValidateVertexAttribL2d(const PrivateState &state,
593                              ErrorSet *errors,
594                              angle::EntryPoint entryPoint,
595                              GLuint index,
596                              GLdouble x,
597                              GLdouble y)
598 {
599     return true;
600 }
601 
ValidateVertexAttribL2dv(const PrivateState & state,ErrorSet * errors,angle::EntryPoint entryPoint,GLuint index,const GLdouble * v)602 bool ValidateVertexAttribL2dv(const PrivateState &state,
603                               ErrorSet *errors,
604                               angle::EntryPoint entryPoint,
605                               GLuint index,
606                               const GLdouble *v)
607 {
608     return true;
609 }
610 
ValidateVertexAttribL3d(const PrivateState & state,ErrorSet * errors,angle::EntryPoint entryPoint,GLuint index,GLdouble x,GLdouble y,GLdouble z)611 bool ValidateVertexAttribL3d(const PrivateState &state,
612                              ErrorSet *errors,
613                              angle::EntryPoint entryPoint,
614                              GLuint index,
615                              GLdouble x,
616                              GLdouble y,
617                              GLdouble z)
618 {
619     return true;
620 }
621 
ValidateVertexAttribL3dv(const PrivateState & state,ErrorSet * errors,angle::EntryPoint entryPoint,GLuint index,const GLdouble * v)622 bool ValidateVertexAttribL3dv(const PrivateState &state,
623                               ErrorSet *errors,
624                               angle::EntryPoint entryPoint,
625                               GLuint index,
626                               const GLdouble *v)
627 {
628     return true;
629 }
630 
ValidateVertexAttribL4d(const PrivateState & state,ErrorSet * errors,angle::EntryPoint entryPoint,GLuint index,GLdouble x,GLdouble y,GLdouble z,GLdouble w)631 bool ValidateVertexAttribL4d(const PrivateState &state,
632                              ErrorSet *errors,
633                              angle::EntryPoint entryPoint,
634                              GLuint index,
635                              GLdouble x,
636                              GLdouble y,
637                              GLdouble z,
638                              GLdouble w)
639 {
640     return true;
641 }
642 
ValidateVertexAttribL4dv(const PrivateState & state,ErrorSet * errors,angle::EntryPoint entryPoint,GLuint index,const GLdouble * v)643 bool ValidateVertexAttribL4dv(const PrivateState &state,
644                               ErrorSet *errors,
645                               angle::EntryPoint entryPoint,
646                               GLuint index,
647                               const GLdouble *v)
648 {
649     return true;
650 }
651 
ValidateVertexAttribLPointer(const Context * context,angle::EntryPoint entryPoint,GLuint index,GLint size,GLenum type,GLsizei stride,const void * pointer)652 bool ValidateVertexAttribLPointer(const Context *context,
653                                   angle::EntryPoint entryPoint,
654                                   GLuint index,
655                                   GLint size,
656                                   GLenum type,
657                                   GLsizei stride,
658                                   const void *pointer)
659 {
660     return true;
661 }
662 
ValidateViewportArrayv(const Context * context,angle::EntryPoint entryPoint,GLuint first,GLsizei count,const GLfloat * v)663 bool ValidateViewportArrayv(const Context *context,
664                             angle::EntryPoint entryPoint,
665                             GLuint first,
666                             GLsizei count,
667                             const GLfloat *v)
668 {
669     return true;
670 }
671 
ValidateViewportIndexedf(const Context * context,angle::EntryPoint entryPoint,GLuint index,GLfloat x,GLfloat y,GLfloat w,GLfloat h)672 bool ValidateViewportIndexedf(const Context *context,
673                               angle::EntryPoint entryPoint,
674                               GLuint index,
675                               GLfloat x,
676                               GLfloat y,
677                               GLfloat w,
678                               GLfloat h)
679 {
680     return true;
681 }
682 
ValidateViewportIndexedfv(const Context * context,angle::EntryPoint entryPoint,GLuint index,const GLfloat * v)683 bool ValidateViewportIndexedfv(const Context *context,
684                                angle::EntryPoint entryPoint,
685                                GLuint index,
686                                const GLfloat *v)
687 {
688     return true;
689 }
690 
ValidateDrawArraysInstancedBaseInstance(const Context * context,angle::EntryPoint entryPoint,PrimitiveMode mode,GLint first,GLsizei count,GLsizei instancecount,GLuint baseinstance)691 bool ValidateDrawArraysInstancedBaseInstance(const Context *context,
692                                              angle::EntryPoint entryPoint,
693                                              PrimitiveMode mode,
694                                              GLint first,
695                                              GLsizei count,
696                                              GLsizei instancecount,
697                                              GLuint baseinstance)
698 {
699     return true;
700 }
701 
ValidateDrawElementsInstancedBaseInstance(const Context * context,angle::EntryPoint entryPoint,PrimitiveMode mode,GLsizei count,DrawElementsType type,const void * indices,GLsizei instancecount,GLuint baseinstance)702 bool ValidateDrawElementsInstancedBaseInstance(const Context *context,
703                                                angle::EntryPoint entryPoint,
704                                                PrimitiveMode mode,
705                                                GLsizei count,
706                                                DrawElementsType type,
707                                                const void *indices,
708                                                GLsizei instancecount,
709                                                GLuint baseinstance)
710 {
711     return true;
712 }
713 
ValidateDrawElementsInstancedBaseVertexBaseInstance(const Context * context,angle::EntryPoint entryPoint,PrimitiveMode mode,GLsizei count,DrawElementsType type,const void * indices,GLsizei instancecount,GLint basevertex,GLuint baseinstance)714 bool ValidateDrawElementsInstancedBaseVertexBaseInstance(const Context *context,
715                                                          angle::EntryPoint entryPoint,
716                                                          PrimitiveMode mode,
717                                                          GLsizei count,
718                                                          DrawElementsType type,
719                                                          const void *indices,
720                                                          GLsizei instancecount,
721                                                          GLint basevertex,
722                                                          GLuint baseinstance)
723 {
724     return true;
725 }
726 
ValidateDrawTransformFeedbackInstanced(const Context * context,angle::EntryPoint entryPoint,GLenum mode,TransformFeedbackID id,GLsizei instancecount)727 bool ValidateDrawTransformFeedbackInstanced(const Context *context,
728                                             angle::EntryPoint entryPoint,
729                                             GLenum mode,
730                                             TransformFeedbackID id,
731                                             GLsizei instancecount)
732 {
733     return true;
734 }
735 
ValidateDrawTransformFeedbackStreamInstanced(const Context * context,angle::EntryPoint entryPoint,GLenum mode,TransformFeedbackID id,GLuint stream,GLsizei instancecount)736 bool ValidateDrawTransformFeedbackStreamInstanced(const Context *context,
737                                                   angle::EntryPoint entryPoint,
738                                                   GLenum mode,
739                                                   TransformFeedbackID id,
740                                                   GLuint stream,
741                                                   GLsizei instancecount)
742 {
743     return true;
744 }
745 
ValidateGetActiveAtomicCounterBufferiv(const Context * context,angle::EntryPoint entryPoint,ShaderProgramID program,GLuint bufferIndex,GLenum pname,const GLint * params)746 bool ValidateGetActiveAtomicCounterBufferiv(const Context *context,
747                                             angle::EntryPoint entryPoint,
748                                             ShaderProgramID program,
749                                             GLuint bufferIndex,
750                                             GLenum pname,
751                                             const GLint *params)
752 {
753     return true;
754 }
755 
ValidateTexStorage1D(const Context * context,angle::EntryPoint entryPoint,GLenum target,GLsizei levels,GLenum internalformat,GLsizei width)756 bool ValidateTexStorage1D(const Context *context,
757                           angle::EntryPoint entryPoint,
758                           GLenum target,
759                           GLsizei levels,
760                           GLenum internalformat,
761                           GLsizei width)
762 {
763     return true;
764 }
765 
ValidateClearBufferData(const Context * context,angle::EntryPoint entryPoint,GLenum target,GLenum internalformat,GLenum format,GLenum type,const void * data)766 bool ValidateClearBufferData(const Context *context,
767                              angle::EntryPoint entryPoint,
768                              GLenum target,
769                              GLenum internalformat,
770                              GLenum format,
771                              GLenum type,
772                              const void *data)
773 {
774     return true;
775 }
776 
ValidateClearBufferSubData(const Context * context,angle::EntryPoint entryPoint,GLenum target,GLenum internalformat,GLintptr offset,GLsizeiptr size,GLenum format,GLenum type,const void * data)777 bool ValidateClearBufferSubData(const Context *context,
778                                 angle::EntryPoint entryPoint,
779                                 GLenum target,
780                                 GLenum internalformat,
781                                 GLintptr offset,
782                                 GLsizeiptr size,
783                                 GLenum format,
784                                 GLenum type,
785                                 const void *data)
786 {
787     return true;
788 }
789 
ValidateGetInternalformati64v(const Context * context,angle::EntryPoint entryPoint,GLenum target,GLenum internalformat,GLenum pname,GLsizei bufSize,const GLint64 * params)790 bool ValidateGetInternalformati64v(const Context *context,
791                                    angle::EntryPoint entryPoint,
792                                    GLenum target,
793                                    GLenum internalformat,
794                                    GLenum pname,
795                                    GLsizei bufSize,
796                                    const GLint64 *params)
797 {
798     return true;
799 }
800 
ValidateGetProgramResourceLocationIndex(const Context * context,angle::EntryPoint entryPoint,ShaderProgramID program,GLenum programInterface,const GLchar * name)801 bool ValidateGetProgramResourceLocationIndex(const Context *context,
802                                              angle::EntryPoint entryPoint,
803                                              ShaderProgramID program,
804                                              GLenum programInterface,
805                                              const GLchar *name)
806 {
807     return true;
808 }
809 
ValidateInvalidateBufferData(const Context * context,angle::EntryPoint entryPoint,BufferID buffer)810 bool ValidateInvalidateBufferData(const Context *context,
811                                   angle::EntryPoint entryPoint,
812                                   BufferID buffer)
813 {
814     return true;
815 }
816 
ValidateInvalidateBufferSubData(const Context * context,angle::EntryPoint entryPoint,BufferID buffer,GLintptr offset,GLsizeiptr length)817 bool ValidateInvalidateBufferSubData(const Context *context,
818                                      angle::EntryPoint entryPoint,
819                                      BufferID buffer,
820                                      GLintptr offset,
821                                      GLsizeiptr length)
822 {
823     return true;
824 }
825 
ValidateInvalidateTexImage(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLint level)826 bool ValidateInvalidateTexImage(const Context *context,
827                                 angle::EntryPoint entryPoint,
828                                 TextureID texture,
829                                 GLint level)
830 {
831     return true;
832 }
833 
ValidateInvalidateTexSubImage(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLsizei depth)834 bool ValidateInvalidateTexSubImage(const Context *context,
835                                    angle::EntryPoint entryPoint,
836                                    TextureID texture,
837                                    GLint level,
838                                    GLint xoffset,
839                                    GLint yoffset,
840                                    GLint zoffset,
841                                    GLsizei width,
842                                    GLsizei height,
843                                    GLsizei depth)
844 {
845     return true;
846 }
847 
ValidateMultiDrawArraysIndirect(const Context * context,angle::EntryPoint entryPoint,PrimitiveMode modePacked,const void * indirect,GLsizei drawcount,GLsizei stride)848 bool ValidateMultiDrawArraysIndirect(const Context *context,
849                                      angle::EntryPoint entryPoint,
850                                      PrimitiveMode modePacked,
851                                      const void *indirect,
852                                      GLsizei drawcount,
853                                      GLsizei stride)
854 {
855     return true;
856 }
857 
ValidateMultiDrawElementsIndirect(const Context * context,angle::EntryPoint entryPoint,PrimitiveMode modePacked,DrawElementsType typePacked,const void * indirect,GLsizei drawcount,GLsizei stride)858 bool ValidateMultiDrawElementsIndirect(const Context *context,
859                                        angle::EntryPoint entryPoint,
860                                        PrimitiveMode modePacked,
861                                        DrawElementsType typePacked,
862                                        const void *indirect,
863                                        GLsizei drawcount,
864                                        GLsizei stride)
865 {
866     return true;
867 }
868 
ValidateShaderStorageBlockBinding(const Context * context,angle::EntryPoint entryPoint,ShaderProgramID program,GLuint storageBlockIndex,GLuint storageBlockBinding)869 bool ValidateShaderStorageBlockBinding(const Context *context,
870                                        angle::EntryPoint entryPoint,
871                                        ShaderProgramID program,
872                                        GLuint storageBlockIndex,
873                                        GLuint storageBlockBinding)
874 {
875     return true;
876 }
877 
ValidateTextureView(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLenum target,GLuint origtexture,GLenum internalformat,GLuint minlevel,GLuint numlevels,GLuint minlayer,GLuint numlayers)878 bool ValidateTextureView(const Context *context,
879                          angle::EntryPoint entryPoint,
880                          TextureID texture,
881                          GLenum target,
882                          GLuint origtexture,
883                          GLenum internalformat,
884                          GLuint minlevel,
885                          GLuint numlevels,
886                          GLuint minlayer,
887                          GLuint numlayers)
888 {
889     return true;
890 }
891 
ValidateVertexAttribLFormat(const Context * context,angle::EntryPoint entryPoint,GLuint attribindex,GLint size,GLenum type,GLuint relativeoffset)892 bool ValidateVertexAttribLFormat(const Context *context,
893                                  angle::EntryPoint entryPoint,
894                                  GLuint attribindex,
895                                  GLint size,
896                                  GLenum type,
897                                  GLuint relativeoffset)
898 {
899     return true;
900 }
901 
ValidateBindBuffersBase(const Context * context,angle::EntryPoint entryPoint,GLenum target,GLuint first,GLsizei count,const BufferID * buffers)902 bool ValidateBindBuffersBase(const Context *context,
903                              angle::EntryPoint entryPoint,
904                              GLenum target,
905                              GLuint first,
906                              GLsizei count,
907                              const BufferID *buffers)
908 {
909     return true;
910 }
911 
ValidateBindBuffersRange(const Context * context,angle::EntryPoint entryPoint,GLenum target,GLuint first,GLsizei count,const BufferID * buffers,const GLintptr * offsets,const GLsizeiptr * sizes)912 bool ValidateBindBuffersRange(const Context *context,
913                               angle::EntryPoint entryPoint,
914                               GLenum target,
915                               GLuint first,
916                               GLsizei count,
917                               const BufferID *buffers,
918                               const GLintptr *offsets,
919                               const GLsizeiptr *sizes)
920 {
921     return true;
922 }
923 
ValidateBindImageTextures(const Context * context,angle::EntryPoint entryPoint,GLuint first,GLsizei count,const GLuint * textures)924 bool ValidateBindImageTextures(const Context *context,
925                                angle::EntryPoint entryPoint,
926                                GLuint first,
927                                GLsizei count,
928                                const GLuint *textures)
929 {
930     return true;
931 }
932 
ValidateBindSamplers(const Context * context,angle::EntryPoint entryPoint,GLuint first,GLsizei count,const GLuint * samplers)933 bool ValidateBindSamplers(const Context *context,
934                           angle::EntryPoint entryPoint,
935                           GLuint first,
936                           GLsizei count,
937                           const GLuint *samplers)
938 {
939     return true;
940 }
941 
ValidateBindTextures(const Context * context,angle::EntryPoint entryPoint,GLuint first,GLsizei count,const GLuint * textures)942 bool ValidateBindTextures(const Context *context,
943                           angle::EntryPoint entryPoint,
944                           GLuint first,
945                           GLsizei count,
946                           const GLuint *textures)
947 {
948     return true;
949 }
950 
ValidateBindVertexBuffers(const Context * context,angle::EntryPoint entryPoint,GLuint first,GLsizei count,const BufferID * buffers,const GLintptr * offsets,const GLsizei * strides)951 bool ValidateBindVertexBuffers(const Context *context,
952                                angle::EntryPoint entryPoint,
953                                GLuint first,
954                                GLsizei count,
955                                const BufferID *buffers,
956                                const GLintptr *offsets,
957                                const GLsizei *strides)
958 {
959     return true;
960 }
961 
ValidateBufferStorage(const Context * context,angle::EntryPoint entryPoint,BufferBinding targetPacked,GLsizeiptr size,const void * data,GLbitfield flags)962 bool ValidateBufferStorage(const Context *context,
963                            angle::EntryPoint entryPoint,
964                            BufferBinding targetPacked,
965                            GLsizeiptr size,
966                            const void *data,
967                            GLbitfield flags)
968 {
969     return true;
970 }
971 
ValidateClearTexImage(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLint level,GLenum format,GLenum type,const void * data)972 bool ValidateClearTexImage(const Context *context,
973                            angle::EntryPoint entryPoint,
974                            TextureID texture,
975                            GLint level,
976                            GLenum format,
977                            GLenum type,
978                            const void *data)
979 {
980     return true;
981 }
982 
ValidateClearTexSubImage(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLsizei depth,GLenum format,GLenum type,const void * data)983 bool ValidateClearTexSubImage(const Context *context,
984                               angle::EntryPoint entryPoint,
985                               TextureID texture,
986                               GLint level,
987                               GLint xoffset,
988                               GLint yoffset,
989                               GLint zoffset,
990                               GLsizei width,
991                               GLsizei height,
992                               GLsizei depth,
993                               GLenum format,
994                               GLenum type,
995                               const void *data)
996 {
997     return true;
998 }
999 
ValidateBindTextureUnit(const Context * context,angle::EntryPoint entryPoint,GLuint unit,TextureID texture)1000 bool ValidateBindTextureUnit(const Context *context,
1001                              angle::EntryPoint entryPoint,
1002                              GLuint unit,
1003                              TextureID texture)
1004 {
1005     return true;
1006 }
1007 
ValidateBlitNamedFramebuffer(const Context * context,angle::EntryPoint entryPoint,GLuint readFramebuffer,GLuint drawFramebuffer,GLint srcX0,GLint srcY0,GLint srcX1,GLint srcY1,GLint dstX0,GLint dstY0,GLint dstX1,GLint dstY1,GLbitfield mask,GLenum filter)1008 bool ValidateBlitNamedFramebuffer(const Context *context,
1009                                   angle::EntryPoint entryPoint,
1010                                   GLuint readFramebuffer,
1011                                   GLuint drawFramebuffer,
1012                                   GLint srcX0,
1013                                   GLint srcY0,
1014                                   GLint srcX1,
1015                                   GLint srcY1,
1016                                   GLint dstX0,
1017                                   GLint dstY0,
1018                                   GLint dstX1,
1019                                   GLint dstY1,
1020                                   GLbitfield mask,
1021                                   GLenum filter)
1022 {
1023     return true;
1024 }
1025 
ValidateCheckNamedFramebufferStatus(const Context * context,angle::EntryPoint entryPoint,FramebufferID framebuffer,GLenum target)1026 bool ValidateCheckNamedFramebufferStatus(const Context *context,
1027                                          angle::EntryPoint entryPoint,
1028                                          FramebufferID framebuffer,
1029                                          GLenum target)
1030 {
1031     return true;
1032 }
1033 
ValidateClearNamedBufferData(const Context * context,angle::EntryPoint entryPoint,BufferID buffer,GLenum internalformat,GLenum format,GLenum type,const void * data)1034 bool ValidateClearNamedBufferData(const Context *context,
1035                                   angle::EntryPoint entryPoint,
1036                                   BufferID buffer,
1037                                   GLenum internalformat,
1038                                   GLenum format,
1039                                   GLenum type,
1040                                   const void *data)
1041 {
1042     return true;
1043 }
1044 
ValidateClearNamedBufferSubData(const Context * context,angle::EntryPoint entryPoint,BufferID buffer,GLenum internalformat,GLintptr offset,GLsizeiptr size,GLenum format,GLenum type,const void * data)1045 bool ValidateClearNamedBufferSubData(const Context *context,
1046                                      angle::EntryPoint entryPoint,
1047                                      BufferID buffer,
1048                                      GLenum internalformat,
1049                                      GLintptr offset,
1050                                      GLsizeiptr size,
1051                                      GLenum format,
1052                                      GLenum type,
1053                                      const void *data)
1054 {
1055     return true;
1056 }
1057 
ValidateClearNamedFramebufferfi(const Context * context,angle::EntryPoint entryPoint,FramebufferID framebuffer,GLenum buffer,GLint drawbuffer,GLfloat depth,GLint stencil)1058 bool ValidateClearNamedFramebufferfi(const Context *context,
1059                                      angle::EntryPoint entryPoint,
1060                                      FramebufferID framebuffer,
1061                                      GLenum buffer,
1062                                      GLint drawbuffer,
1063                                      GLfloat depth,
1064                                      GLint stencil)
1065 {
1066     return true;
1067 }
1068 
ValidateClearNamedFramebufferfv(const Context * context,angle::EntryPoint entryPoint,FramebufferID framebuffer,GLenum buffer,GLint drawbuffer,const GLfloat * value)1069 bool ValidateClearNamedFramebufferfv(const Context *context,
1070                                      angle::EntryPoint entryPoint,
1071                                      FramebufferID framebuffer,
1072                                      GLenum buffer,
1073                                      GLint drawbuffer,
1074                                      const GLfloat *value)
1075 {
1076     return true;
1077 }
1078 
ValidateClearNamedFramebufferiv(const Context * context,angle::EntryPoint entryPoint,FramebufferID framebuffer,GLenum buffer,GLint drawbuffer,const GLint * value)1079 bool ValidateClearNamedFramebufferiv(const Context *context,
1080                                      angle::EntryPoint entryPoint,
1081                                      FramebufferID framebuffer,
1082                                      GLenum buffer,
1083                                      GLint drawbuffer,
1084                                      const GLint *value)
1085 {
1086     return true;
1087 }
1088 
ValidateClearNamedFramebufferuiv(const Context * context,angle::EntryPoint entryPoint,FramebufferID framebuffer,GLenum buffer,GLint drawbuffer,const GLuint * value)1089 bool ValidateClearNamedFramebufferuiv(const Context *context,
1090                                       angle::EntryPoint entryPoint,
1091                                       FramebufferID framebuffer,
1092                                       GLenum buffer,
1093                                       GLint drawbuffer,
1094                                       const GLuint *value)
1095 {
1096     return true;
1097 }
1098 
ValidateClipControl(const PrivateState & state,ErrorSet * errors,angle::EntryPoint entryPoint,ClipOrigin originPacked,ClipDepthMode depthPacked)1099 bool ValidateClipControl(const PrivateState &state,
1100                          ErrorSet *errors,
1101                          angle::EntryPoint entryPoint,
1102                          ClipOrigin originPacked,
1103                          ClipDepthMode depthPacked)
1104 {
1105     return true;
1106 }
1107 
ValidateCompressedTextureSubImage1D(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLint level,GLint xoffset,GLsizei width,GLenum format,GLsizei imageSize,const void * data)1108 bool ValidateCompressedTextureSubImage1D(const Context *context,
1109                                          angle::EntryPoint entryPoint,
1110                                          TextureID texture,
1111                                          GLint level,
1112                                          GLint xoffset,
1113                                          GLsizei width,
1114                                          GLenum format,
1115                                          GLsizei imageSize,
1116                                          const void *data)
1117 {
1118     return true;
1119 }
1120 
ValidateCompressedTextureSubImage2D(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLint level,GLint xoffset,GLint yoffset,GLsizei width,GLsizei height,GLenum format,GLsizei imageSize,const void * data)1121 bool ValidateCompressedTextureSubImage2D(const Context *context,
1122                                          angle::EntryPoint entryPoint,
1123                                          TextureID texture,
1124                                          GLint level,
1125                                          GLint xoffset,
1126                                          GLint yoffset,
1127                                          GLsizei width,
1128                                          GLsizei height,
1129                                          GLenum format,
1130                                          GLsizei imageSize,
1131                                          const void *data)
1132 {
1133     return true;
1134 }
1135 
ValidateCompressedTextureSubImage3D(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLsizei depth,GLenum format,GLsizei imageSize,const void * data)1136 bool ValidateCompressedTextureSubImage3D(const Context *context,
1137                                          angle::EntryPoint entryPoint,
1138                                          TextureID texture,
1139                                          GLint level,
1140                                          GLint xoffset,
1141                                          GLint yoffset,
1142                                          GLint zoffset,
1143                                          GLsizei width,
1144                                          GLsizei height,
1145                                          GLsizei depth,
1146                                          GLenum format,
1147                                          GLsizei imageSize,
1148                                          const void *data)
1149 {
1150     return true;
1151 }
1152 
ValidateCopyNamedBufferSubData(const Context * context,angle::EntryPoint entryPoint,GLuint readBuffer,GLuint writeBuffer,GLintptr readOffset,GLintptr writeOffset,GLsizeiptr size)1153 bool ValidateCopyNamedBufferSubData(const Context *context,
1154                                     angle::EntryPoint entryPoint,
1155                                     GLuint readBuffer,
1156                                     GLuint writeBuffer,
1157                                     GLintptr readOffset,
1158                                     GLintptr writeOffset,
1159                                     GLsizeiptr size)
1160 {
1161     return true;
1162 }
1163 
ValidateCopyTextureSubImage1D(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLint level,GLint xoffset,GLint x,GLint y,GLsizei width)1164 bool ValidateCopyTextureSubImage1D(const Context *context,
1165                                    angle::EntryPoint entryPoint,
1166                                    TextureID texture,
1167                                    GLint level,
1168                                    GLint xoffset,
1169                                    GLint x,
1170                                    GLint y,
1171                                    GLsizei width)
1172 {
1173     return true;
1174 }
1175 
ValidateCopyTextureSubImage2D(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLint level,GLint xoffset,GLint yoffset,GLint x,GLint y,GLsizei width,GLsizei height)1176 bool ValidateCopyTextureSubImage2D(const Context *context,
1177                                    angle::EntryPoint entryPoint,
1178                                    TextureID texture,
1179                                    GLint level,
1180                                    GLint xoffset,
1181                                    GLint yoffset,
1182                                    GLint x,
1183                                    GLint y,
1184                                    GLsizei width,
1185                                    GLsizei height)
1186 {
1187     return true;
1188 }
1189 
ValidateCopyTextureSubImage3D(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLint x,GLint y,GLsizei width,GLsizei height)1190 bool ValidateCopyTextureSubImage3D(const Context *context,
1191                                    angle::EntryPoint entryPoint,
1192                                    TextureID texture,
1193                                    GLint level,
1194                                    GLint xoffset,
1195                                    GLint yoffset,
1196                                    GLint zoffset,
1197                                    GLint x,
1198                                    GLint y,
1199                                    GLsizei width,
1200                                    GLsizei height)
1201 {
1202     return true;
1203 }
1204 
ValidateCreateBuffers(const Context * context,angle::EntryPoint entryPoint,GLsizei n,const BufferID * buffers)1205 bool ValidateCreateBuffers(const Context *context,
1206                            angle::EntryPoint entryPoint,
1207                            GLsizei n,
1208                            const BufferID *buffers)
1209 {
1210     return true;
1211 }
1212 
ValidateCreateFramebuffers(const Context * context,angle::EntryPoint entryPoint,GLsizei n,const GLuint * framebuffers)1213 bool ValidateCreateFramebuffers(const Context *context,
1214                                 angle::EntryPoint entryPoint,
1215                                 GLsizei n,
1216                                 const GLuint *framebuffers)
1217 {
1218     return true;
1219 }
1220 
ValidateCreateProgramPipelines(const Context * context,angle::EntryPoint entryPoint,GLsizei n,const GLuint * pipelines)1221 bool ValidateCreateProgramPipelines(const Context *context,
1222                                     angle::EntryPoint entryPoint,
1223                                     GLsizei n,
1224                                     const GLuint *pipelines)
1225 {
1226     return true;
1227 }
1228 
ValidateCreateQueries(const Context * context,angle::EntryPoint entryPoint,GLenum target,GLsizei n,const GLuint * ids)1229 bool ValidateCreateQueries(const Context *context,
1230                            angle::EntryPoint entryPoint,
1231                            GLenum target,
1232                            GLsizei n,
1233                            const GLuint *ids)
1234 {
1235     return true;
1236 }
1237 
ValidateCreateRenderbuffers(const Context * context,angle::EntryPoint entryPoint,GLsizei n,const RenderbufferID * renderbuffers)1238 bool ValidateCreateRenderbuffers(const Context *context,
1239                                  angle::EntryPoint entryPoint,
1240                                  GLsizei n,
1241                                  const RenderbufferID *renderbuffers)
1242 {
1243     return true;
1244 }
1245 
ValidateCreateSamplers(const Context * context,angle::EntryPoint entryPoint,GLsizei n,const GLuint * samplers)1246 bool ValidateCreateSamplers(const Context *context,
1247                             angle::EntryPoint entryPoint,
1248                             GLsizei n,
1249                             const GLuint *samplers)
1250 {
1251     return true;
1252 }
1253 
ValidateCreateTextures(const Context * context,angle::EntryPoint entryPoint,GLenum target,GLsizei n,const GLuint * textures)1254 bool ValidateCreateTextures(const Context *context,
1255                             angle::EntryPoint entryPoint,
1256                             GLenum target,
1257                             GLsizei n,
1258                             const GLuint *textures)
1259 {
1260     return true;
1261 }
1262 
ValidateCreateTransformFeedbacks(const Context * context,angle::EntryPoint entryPoint,GLsizei n,const GLuint * ids)1263 bool ValidateCreateTransformFeedbacks(const Context *context,
1264                                       angle::EntryPoint entryPoint,
1265                                       GLsizei n,
1266                                       const GLuint *ids)
1267 {
1268     return true;
1269 }
1270 
ValidateCreateVertexArrays(const Context * context,angle::EntryPoint entryPoint,GLsizei n,const VertexArrayID * arrays)1271 bool ValidateCreateVertexArrays(const Context *context,
1272                                 angle::EntryPoint entryPoint,
1273                                 GLsizei n,
1274                                 const VertexArrayID *arrays)
1275 {
1276     return true;
1277 }
1278 
ValidateDisableVertexArrayAttrib(const Context * context,angle::EntryPoint entryPoint,VertexArrayID vaobj,GLuint index)1279 bool ValidateDisableVertexArrayAttrib(const Context *context,
1280                                       angle::EntryPoint entryPoint,
1281                                       VertexArrayID vaobj,
1282                                       GLuint index)
1283 {
1284     return true;
1285 }
1286 
ValidateEnableVertexArrayAttrib(const Context * context,angle::EntryPoint entryPoint,VertexArrayID vaobj,GLuint index)1287 bool ValidateEnableVertexArrayAttrib(const Context *context,
1288                                      angle::EntryPoint entryPoint,
1289                                      VertexArrayID vaobj,
1290                                      GLuint index)
1291 {
1292     return true;
1293 }
1294 
ValidateFlushMappedNamedBufferRange(const Context * context,angle::EntryPoint entryPoint,BufferID buffer,GLintptr offset,GLsizeiptr length)1295 bool ValidateFlushMappedNamedBufferRange(const Context *context,
1296                                          angle::EntryPoint entryPoint,
1297                                          BufferID buffer,
1298                                          GLintptr offset,
1299                                          GLsizeiptr length)
1300 {
1301     return true;
1302 }
1303 
ValidateGenerateTextureMipmap(const Context * context,angle::EntryPoint entryPoint,TextureID texture)1304 bool ValidateGenerateTextureMipmap(const Context *context,
1305                                    angle::EntryPoint entryPoint,
1306                                    TextureID texture)
1307 {
1308     return true;
1309 }
1310 
ValidateGetCompressedTextureImage(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLint level,GLsizei bufSize,const void * pixels)1311 bool ValidateGetCompressedTextureImage(const Context *context,
1312                                        angle::EntryPoint entryPoint,
1313                                        TextureID texture,
1314                                        GLint level,
1315                                        GLsizei bufSize,
1316                                        const void *pixels)
1317 {
1318     return true;
1319 }
1320 
ValidateGetCompressedTextureSubImage(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLsizei depth,GLsizei bufSize,const void * pixels)1321 bool ValidateGetCompressedTextureSubImage(const Context *context,
1322                                           angle::EntryPoint entryPoint,
1323                                           TextureID texture,
1324                                           GLint level,
1325                                           GLint xoffset,
1326                                           GLint yoffset,
1327                                           GLint zoffset,
1328                                           GLsizei width,
1329                                           GLsizei height,
1330                                           GLsizei depth,
1331                                           GLsizei bufSize,
1332                                           const void *pixels)
1333 {
1334     return true;
1335 }
1336 
ValidateGetNamedBufferParameteri64v(const Context * context,angle::EntryPoint entryPoint,BufferID buffer,GLenum pname,const GLint64 * params)1337 bool ValidateGetNamedBufferParameteri64v(const Context *context,
1338                                          angle::EntryPoint entryPoint,
1339                                          BufferID buffer,
1340                                          GLenum pname,
1341                                          const GLint64 *params)
1342 {
1343     return true;
1344 }
1345 
ValidateGetNamedBufferParameteriv(const Context * context,angle::EntryPoint entryPoint,BufferID buffer,GLenum pname,const GLint * params)1346 bool ValidateGetNamedBufferParameteriv(const Context *context,
1347                                        angle::EntryPoint entryPoint,
1348                                        BufferID buffer,
1349                                        GLenum pname,
1350                                        const GLint *params)
1351 {
1352     return true;
1353 }
1354 
ValidateGetNamedBufferPointerv(const Context * context,angle::EntryPoint entryPoint,BufferID buffer,GLenum pname,void * const * params)1355 bool ValidateGetNamedBufferPointerv(const Context *context,
1356                                     angle::EntryPoint entryPoint,
1357                                     BufferID buffer,
1358                                     GLenum pname,
1359                                     void *const *params)
1360 {
1361     return true;
1362 }
1363 
ValidateGetNamedBufferSubData(const Context * context,angle::EntryPoint entryPoint,BufferID buffer,GLintptr offset,GLsizeiptr size,const void * data)1364 bool ValidateGetNamedBufferSubData(const Context *context,
1365                                    angle::EntryPoint entryPoint,
1366                                    BufferID buffer,
1367                                    GLintptr offset,
1368                                    GLsizeiptr size,
1369                                    const void *data)
1370 {
1371     return true;
1372 }
1373 
ValidateGetNamedFramebufferAttachmentParameteriv(const Context * context,angle::EntryPoint entryPoint,FramebufferID framebuffer,GLenum attachment,GLenum pname,const GLint * params)1374 bool ValidateGetNamedFramebufferAttachmentParameteriv(const Context *context,
1375                                                       angle::EntryPoint entryPoint,
1376                                                       FramebufferID framebuffer,
1377                                                       GLenum attachment,
1378                                                       GLenum pname,
1379                                                       const GLint *params)
1380 {
1381     return true;
1382 }
1383 
ValidateGetNamedFramebufferParameteriv(const Context * context,angle::EntryPoint entryPoint,FramebufferID framebuffer,GLenum pname,const GLint * param)1384 bool ValidateGetNamedFramebufferParameteriv(const Context *context,
1385                                             angle::EntryPoint entryPoint,
1386                                             FramebufferID framebuffer,
1387                                             GLenum pname,
1388                                             const GLint *param)
1389 {
1390     return true;
1391 }
1392 
ValidateGetNamedRenderbufferParameteriv(const Context * context,angle::EntryPoint entryPoint,RenderbufferID renderbuffer,GLenum pname,const GLint * params)1393 bool ValidateGetNamedRenderbufferParameteriv(const Context *context,
1394                                              angle::EntryPoint entryPoint,
1395                                              RenderbufferID renderbuffer,
1396                                              GLenum pname,
1397                                              const GLint *params)
1398 {
1399     return true;
1400 }
1401 
ValidateGetQueryBufferObjecti64v(const Context * context,angle::EntryPoint entryPoint,GLuint id,BufferID buffer,GLenum pname,GLintptr offset)1402 bool ValidateGetQueryBufferObjecti64v(const Context *context,
1403                                       angle::EntryPoint entryPoint,
1404                                       GLuint id,
1405                                       BufferID buffer,
1406                                       GLenum pname,
1407                                       GLintptr offset)
1408 {
1409     return true;
1410 }
1411 
ValidateGetQueryBufferObjectiv(const Context * context,angle::EntryPoint entryPoint,GLuint id,BufferID buffer,GLenum pname,GLintptr offset)1412 bool ValidateGetQueryBufferObjectiv(const Context *context,
1413                                     angle::EntryPoint entryPoint,
1414                                     GLuint id,
1415                                     BufferID buffer,
1416                                     GLenum pname,
1417                                     GLintptr offset)
1418 {
1419     return true;
1420 }
1421 
ValidateGetQueryBufferObjectui64v(const Context * context,angle::EntryPoint entryPoint,GLuint id,BufferID buffer,GLenum pname,GLintptr offset)1422 bool ValidateGetQueryBufferObjectui64v(const Context *context,
1423                                        angle::EntryPoint entryPoint,
1424                                        GLuint id,
1425                                        BufferID buffer,
1426                                        GLenum pname,
1427                                        GLintptr offset)
1428 {
1429     return true;
1430 }
1431 
ValidateGetQueryBufferObjectuiv(const Context * context,angle::EntryPoint entryPoint,GLuint id,BufferID buffer,GLenum pname,GLintptr offset)1432 bool ValidateGetQueryBufferObjectuiv(const Context *context,
1433                                      angle::EntryPoint entryPoint,
1434                                      GLuint id,
1435                                      BufferID buffer,
1436                                      GLenum pname,
1437                                      GLintptr offset)
1438 {
1439     return true;
1440 }
1441 
ValidateGetTextureImage(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLint level,GLenum format,GLenum type,GLsizei bufSize,const void * pixels)1442 bool ValidateGetTextureImage(const Context *context,
1443                              angle::EntryPoint entryPoint,
1444                              TextureID texture,
1445                              GLint level,
1446                              GLenum format,
1447                              GLenum type,
1448                              GLsizei bufSize,
1449                              const void *pixels)
1450 {
1451     return true;
1452 }
1453 
ValidateGetTextureLevelParameterfv(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLint level,GLenum pname,const GLfloat * params)1454 bool ValidateGetTextureLevelParameterfv(const Context *context,
1455                                         angle::EntryPoint entryPoint,
1456                                         TextureID texture,
1457                                         GLint level,
1458                                         GLenum pname,
1459                                         const GLfloat *params)
1460 {
1461     return true;
1462 }
1463 
ValidateGetTextureLevelParameteriv(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLint level,GLenum pname,const GLint * params)1464 bool ValidateGetTextureLevelParameteriv(const Context *context,
1465                                         angle::EntryPoint entryPoint,
1466                                         TextureID texture,
1467                                         GLint level,
1468                                         GLenum pname,
1469                                         const GLint *params)
1470 {
1471     return true;
1472 }
1473 
ValidateGetTextureParameterIiv(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLenum pname,const GLint * params)1474 bool ValidateGetTextureParameterIiv(const Context *context,
1475                                     angle::EntryPoint entryPoint,
1476                                     TextureID texture,
1477                                     GLenum pname,
1478                                     const GLint *params)
1479 {
1480     return true;
1481 }
1482 
ValidateGetTextureParameterIuiv(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLenum pname,const GLuint * params)1483 bool ValidateGetTextureParameterIuiv(const Context *context,
1484                                      angle::EntryPoint entryPoint,
1485                                      TextureID texture,
1486                                      GLenum pname,
1487                                      const GLuint *params)
1488 {
1489     return true;
1490 }
1491 
ValidateGetTextureParameterfv(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLenum pname,const GLfloat * params)1492 bool ValidateGetTextureParameterfv(const Context *context,
1493                                    angle::EntryPoint entryPoint,
1494                                    TextureID texture,
1495                                    GLenum pname,
1496                                    const GLfloat *params)
1497 {
1498     return true;
1499 }
1500 
ValidateGetTextureParameteriv(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLenum pname,const GLint * params)1501 bool ValidateGetTextureParameteriv(const Context *context,
1502                                    angle::EntryPoint entryPoint,
1503                                    TextureID texture,
1504                                    GLenum pname,
1505                                    const GLint *params)
1506 {
1507     return true;
1508 }
1509 
ValidateGetTextureSubImage(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLsizei depth,GLenum format,GLenum type,GLsizei bufSize,const void * pixels)1510 bool ValidateGetTextureSubImage(const Context *context,
1511                                 angle::EntryPoint entryPoint,
1512                                 TextureID texture,
1513                                 GLint level,
1514                                 GLint xoffset,
1515                                 GLint yoffset,
1516                                 GLint zoffset,
1517                                 GLsizei width,
1518                                 GLsizei height,
1519                                 GLsizei depth,
1520                                 GLenum format,
1521                                 GLenum type,
1522                                 GLsizei bufSize,
1523                                 const void *pixels)
1524 {
1525     return true;
1526 }
1527 
ValidateGetTransformFeedbacki64_v(const Context * context,angle::EntryPoint entryPoint,GLuint xfb,GLenum pname,GLuint index,const GLint64 * param)1528 bool ValidateGetTransformFeedbacki64_v(const Context *context,
1529                                        angle::EntryPoint entryPoint,
1530                                        GLuint xfb,
1531                                        GLenum pname,
1532                                        GLuint index,
1533                                        const GLint64 *param)
1534 {
1535     return true;
1536 }
1537 
ValidateGetTransformFeedbacki_v(const Context * context,angle::EntryPoint entryPoint,GLuint xfb,GLenum pname,GLuint index,const GLint * param)1538 bool ValidateGetTransformFeedbacki_v(const Context *context,
1539                                      angle::EntryPoint entryPoint,
1540                                      GLuint xfb,
1541                                      GLenum pname,
1542                                      GLuint index,
1543                                      const GLint *param)
1544 {
1545     return true;
1546 }
1547 
ValidateGetTransformFeedbackiv(const Context * context,angle::EntryPoint entryPoint,GLuint xfb,GLenum pname,const GLint * param)1548 bool ValidateGetTransformFeedbackiv(const Context *context,
1549                                     angle::EntryPoint entryPoint,
1550                                     GLuint xfb,
1551                                     GLenum pname,
1552                                     const GLint *param)
1553 {
1554     return true;
1555 }
1556 
ValidateGetVertexArrayIndexed64iv(const Context * context,angle::EntryPoint entryPoint,VertexArrayID vaobj,GLuint index,GLenum pname,const GLint64 * param)1557 bool ValidateGetVertexArrayIndexed64iv(const Context *context,
1558                                        angle::EntryPoint entryPoint,
1559                                        VertexArrayID vaobj,
1560                                        GLuint index,
1561                                        GLenum pname,
1562                                        const GLint64 *param)
1563 {
1564     return true;
1565 }
1566 
ValidateGetVertexArrayIndexediv(const Context * context,angle::EntryPoint entryPoint,VertexArrayID vaobj,GLuint index,GLenum pname,const GLint * param)1567 bool ValidateGetVertexArrayIndexediv(const Context *context,
1568                                      angle::EntryPoint entryPoint,
1569                                      VertexArrayID vaobj,
1570                                      GLuint index,
1571                                      GLenum pname,
1572                                      const GLint *param)
1573 {
1574     return true;
1575 }
1576 
ValidateGetVertexArrayiv(const Context * context,angle::EntryPoint entryPoint,VertexArrayID vaobj,GLenum pname,const GLint * param)1577 bool ValidateGetVertexArrayiv(const Context *context,
1578                               angle::EntryPoint entryPoint,
1579                               VertexArrayID vaobj,
1580                               GLenum pname,
1581                               const GLint *param)
1582 {
1583     return true;
1584 }
1585 
ValidateGetnColorTable(const Context * context,angle::EntryPoint entryPoint,GLenum target,GLenum format,GLenum type,GLsizei bufSize,const void * table)1586 bool ValidateGetnColorTable(const Context *context,
1587                             angle::EntryPoint entryPoint,
1588                             GLenum target,
1589                             GLenum format,
1590                             GLenum type,
1591                             GLsizei bufSize,
1592                             const void *table)
1593 {
1594     return true;
1595 }
1596 
ValidateGetnCompressedTexImage(const Context * context,angle::EntryPoint entryPoint,GLenum target,GLint lod,GLsizei bufSize,const void * pixels)1597 bool ValidateGetnCompressedTexImage(const Context *context,
1598                                     angle::EntryPoint entryPoint,
1599                                     GLenum target,
1600                                     GLint lod,
1601                                     GLsizei bufSize,
1602                                     const void *pixels)
1603 {
1604     return true;
1605 }
1606 
ValidateGetnConvolutionFilter(const Context * context,angle::EntryPoint entryPoint,GLenum target,GLenum format,GLenum type,GLsizei bufSize,const void * image)1607 bool ValidateGetnConvolutionFilter(const Context *context,
1608                                    angle::EntryPoint entryPoint,
1609                                    GLenum target,
1610                                    GLenum format,
1611                                    GLenum type,
1612                                    GLsizei bufSize,
1613                                    const void *image)
1614 {
1615     return true;
1616 }
1617 
ValidateGetnHistogram(const Context * context,angle::EntryPoint entryPoint,GLenum target,GLboolean reset,GLenum format,GLenum type,GLsizei bufSize,const void * values)1618 bool ValidateGetnHistogram(const Context *context,
1619                            angle::EntryPoint entryPoint,
1620                            GLenum target,
1621                            GLboolean reset,
1622                            GLenum format,
1623                            GLenum type,
1624                            GLsizei bufSize,
1625                            const void *values)
1626 {
1627     return true;
1628 }
1629 
ValidateGetnMapdv(const Context * context,angle::EntryPoint entryPoint,GLenum target,GLenum query,GLsizei bufSize,const GLdouble * v)1630 bool ValidateGetnMapdv(const Context *context,
1631                        angle::EntryPoint entryPoint,
1632                        GLenum target,
1633                        GLenum query,
1634                        GLsizei bufSize,
1635                        const GLdouble *v)
1636 {
1637     return true;
1638 }
1639 
ValidateGetnMapfv(const Context * context,angle::EntryPoint entryPoint,GLenum target,GLenum query,GLsizei bufSize,const GLfloat * v)1640 bool ValidateGetnMapfv(const Context *context,
1641                        angle::EntryPoint entryPoint,
1642                        GLenum target,
1643                        GLenum query,
1644                        GLsizei bufSize,
1645                        const GLfloat *v)
1646 {
1647     return true;
1648 }
1649 
ValidateGetnMapiv(const Context * context,angle::EntryPoint entryPoint,GLenum target,GLenum query,GLsizei bufSize,const GLint * v)1650 bool ValidateGetnMapiv(const Context *context,
1651                        angle::EntryPoint entryPoint,
1652                        GLenum target,
1653                        GLenum query,
1654                        GLsizei bufSize,
1655                        const GLint *v)
1656 {
1657     return true;
1658 }
1659 
ValidateGetnMinmax(const Context * context,angle::EntryPoint entryPoint,GLenum target,GLboolean reset,GLenum format,GLenum type,GLsizei bufSize,const void * values)1660 bool ValidateGetnMinmax(const Context *context,
1661                         angle::EntryPoint entryPoint,
1662                         GLenum target,
1663                         GLboolean reset,
1664                         GLenum format,
1665                         GLenum type,
1666                         GLsizei bufSize,
1667                         const void *values)
1668 {
1669     return true;
1670 }
1671 
ValidateGetnPixelMapfv(const Context * context,angle::EntryPoint entryPoint,GLenum map,GLsizei bufSize,const GLfloat * values)1672 bool ValidateGetnPixelMapfv(const Context *context,
1673                             angle::EntryPoint entryPoint,
1674                             GLenum map,
1675                             GLsizei bufSize,
1676                             const GLfloat *values)
1677 {
1678     return true;
1679 }
1680 
ValidateGetnPixelMapuiv(const Context * context,angle::EntryPoint entryPoint,GLenum map,GLsizei bufSize,const GLuint * values)1681 bool ValidateGetnPixelMapuiv(const Context *context,
1682                              angle::EntryPoint entryPoint,
1683                              GLenum map,
1684                              GLsizei bufSize,
1685                              const GLuint *values)
1686 {
1687     return true;
1688 }
1689 
ValidateGetnPixelMapusv(const Context * context,angle::EntryPoint entryPoint,GLenum map,GLsizei bufSize,const GLushort * values)1690 bool ValidateGetnPixelMapusv(const Context *context,
1691                              angle::EntryPoint entryPoint,
1692                              GLenum map,
1693                              GLsizei bufSize,
1694                              const GLushort *values)
1695 {
1696     return true;
1697 }
1698 
ValidateGetnPolygonStipple(const Context * context,angle::EntryPoint entryPoint,GLsizei bufSize,const GLubyte * pattern)1699 bool ValidateGetnPolygonStipple(const Context *context,
1700                                 angle::EntryPoint entryPoint,
1701                                 GLsizei bufSize,
1702                                 const GLubyte *pattern)
1703 {
1704     return true;
1705 }
1706 
ValidateGetnSeparableFilter(const Context * context,angle::EntryPoint entryPoint,GLenum target,GLenum format,GLenum type,GLsizei rowBufSize,const void * row,GLsizei columnBufSize,const void * column,const void * span)1707 bool ValidateGetnSeparableFilter(const Context *context,
1708                                  angle::EntryPoint entryPoint,
1709                                  GLenum target,
1710                                  GLenum format,
1711                                  GLenum type,
1712                                  GLsizei rowBufSize,
1713                                  const void *row,
1714                                  GLsizei columnBufSize,
1715                                  const void *column,
1716                                  const void *span)
1717 {
1718     return true;
1719 }
1720 
ValidateGetnTexImage(const Context * context,angle::EntryPoint entryPoint,GLenum target,GLint level,GLenum format,GLenum type,GLsizei bufSize,const void * pixels)1721 bool ValidateGetnTexImage(const Context *context,
1722                           angle::EntryPoint entryPoint,
1723                           GLenum target,
1724                           GLint level,
1725                           GLenum format,
1726                           GLenum type,
1727                           GLsizei bufSize,
1728                           const void *pixels)
1729 {
1730     return true;
1731 }
1732 
ValidateGetnUniformdv(const Context * context,angle::EntryPoint entryPoint,ShaderProgramID program,UniformLocation location,GLsizei bufSize,const GLdouble * params)1733 bool ValidateGetnUniformdv(const Context *context,
1734                            angle::EntryPoint entryPoint,
1735                            ShaderProgramID program,
1736                            UniformLocation location,
1737                            GLsizei bufSize,
1738                            const GLdouble *params)
1739 {
1740     return true;
1741 }
1742 
ValidateInvalidateNamedFramebufferData(const Context * context,angle::EntryPoint entryPoint,FramebufferID framebuffer,GLsizei numAttachments,const GLenum * attachments)1743 bool ValidateInvalidateNamedFramebufferData(const Context *context,
1744                                             angle::EntryPoint entryPoint,
1745                                             FramebufferID framebuffer,
1746                                             GLsizei numAttachments,
1747                                             const GLenum *attachments)
1748 {
1749     return true;
1750 }
1751 
ValidateInvalidateNamedFramebufferSubData(const Context * context,angle::EntryPoint entryPoint,FramebufferID framebuffer,GLsizei numAttachments,const GLenum * attachments,GLint x,GLint y,GLsizei width,GLsizei height)1752 bool ValidateInvalidateNamedFramebufferSubData(const Context *context,
1753                                                angle::EntryPoint entryPoint,
1754                                                FramebufferID framebuffer,
1755                                                GLsizei numAttachments,
1756                                                const GLenum *attachments,
1757                                                GLint x,
1758                                                GLint y,
1759                                                GLsizei width,
1760                                                GLsizei height)
1761 {
1762     return true;
1763 }
1764 
ValidateMapNamedBuffer(const Context * context,angle::EntryPoint entryPoint,BufferID buffer,GLenum access)1765 bool ValidateMapNamedBuffer(const Context *context,
1766                             angle::EntryPoint entryPoint,
1767                             BufferID buffer,
1768                             GLenum access)
1769 {
1770     return true;
1771 }
1772 
ValidateMapNamedBufferRange(const Context * context,angle::EntryPoint entryPoint,BufferID buffer,GLintptr offset,GLsizeiptr length,GLbitfield access)1773 bool ValidateMapNamedBufferRange(const Context *context,
1774                                  angle::EntryPoint entryPoint,
1775                                  BufferID buffer,
1776                                  GLintptr offset,
1777                                  GLsizeiptr length,
1778                                  GLbitfield access)
1779 {
1780     return true;
1781 }
1782 
ValidateNamedBufferData(const Context * context,angle::EntryPoint entryPoint,BufferID buffer,GLsizeiptr size,const void * data,GLenum usage)1783 bool ValidateNamedBufferData(const Context *context,
1784                              angle::EntryPoint entryPoint,
1785                              BufferID buffer,
1786                              GLsizeiptr size,
1787                              const void *data,
1788                              GLenum usage)
1789 {
1790     return true;
1791 }
1792 
ValidateNamedBufferStorage(const Context * context,angle::EntryPoint entryPoint,BufferID buffer,GLsizeiptr size,const void * data,GLbitfield flags)1793 bool ValidateNamedBufferStorage(const Context *context,
1794                                 angle::EntryPoint entryPoint,
1795                                 BufferID buffer,
1796                                 GLsizeiptr size,
1797                                 const void *data,
1798                                 GLbitfield flags)
1799 {
1800     return true;
1801 }
1802 
ValidateNamedBufferSubData(const Context * context,angle::EntryPoint entryPoint,BufferID buffer,GLintptr offset,GLsizeiptr size,const void * data)1803 bool ValidateNamedBufferSubData(const Context *context,
1804                                 angle::EntryPoint entryPoint,
1805                                 BufferID buffer,
1806                                 GLintptr offset,
1807                                 GLsizeiptr size,
1808                                 const void *data)
1809 {
1810     return true;
1811 }
1812 
ValidateNamedFramebufferDrawBuffer(const Context * context,angle::EntryPoint entryPoint,FramebufferID framebuffer,GLenum buf)1813 bool ValidateNamedFramebufferDrawBuffer(const Context *context,
1814                                         angle::EntryPoint entryPoint,
1815                                         FramebufferID framebuffer,
1816                                         GLenum buf)
1817 {
1818     return true;
1819 }
1820 
ValidateNamedFramebufferDrawBuffers(const Context * context,angle::EntryPoint entryPoint,FramebufferID framebuffer,GLsizei n,const GLenum * bufs)1821 bool ValidateNamedFramebufferDrawBuffers(const Context *context,
1822                                          angle::EntryPoint entryPoint,
1823                                          FramebufferID framebuffer,
1824                                          GLsizei n,
1825                                          const GLenum *bufs)
1826 {
1827     return true;
1828 }
1829 
ValidateNamedFramebufferParameteri(const Context * context,angle::EntryPoint entryPoint,FramebufferID framebuffer,GLenum pname,GLint param)1830 bool ValidateNamedFramebufferParameteri(const Context *context,
1831                                         angle::EntryPoint entryPoint,
1832                                         FramebufferID framebuffer,
1833                                         GLenum pname,
1834                                         GLint param)
1835 {
1836     return true;
1837 }
1838 
ValidateNamedFramebufferReadBuffer(const Context * context,angle::EntryPoint entryPoint,FramebufferID framebuffer,GLenum src)1839 bool ValidateNamedFramebufferReadBuffer(const Context *context,
1840                                         angle::EntryPoint entryPoint,
1841                                         FramebufferID framebuffer,
1842                                         GLenum src)
1843 {
1844     return true;
1845 }
1846 
ValidateNamedFramebufferRenderbuffer(const Context * context,angle::EntryPoint entryPoint,FramebufferID framebuffer,GLenum attachment,GLenum renderbuffertarget,RenderbufferID renderbuffer)1847 bool ValidateNamedFramebufferRenderbuffer(const Context *context,
1848                                           angle::EntryPoint entryPoint,
1849                                           FramebufferID framebuffer,
1850                                           GLenum attachment,
1851                                           GLenum renderbuffertarget,
1852                                           RenderbufferID renderbuffer)
1853 {
1854     return true;
1855 }
1856 
ValidateNamedFramebufferTexture(const Context * context,angle::EntryPoint entryPoint,FramebufferID framebuffer,GLenum attachment,TextureID texture,GLint level)1857 bool ValidateNamedFramebufferTexture(const Context *context,
1858                                      angle::EntryPoint entryPoint,
1859                                      FramebufferID framebuffer,
1860                                      GLenum attachment,
1861                                      TextureID texture,
1862                                      GLint level)
1863 {
1864     return true;
1865 }
1866 
ValidateNamedFramebufferTextureLayer(const Context * context,angle::EntryPoint entryPoint,FramebufferID framebuffer,GLenum attachment,TextureID texture,GLint level,GLint layer)1867 bool ValidateNamedFramebufferTextureLayer(const Context *context,
1868                                           angle::EntryPoint entryPoint,
1869                                           FramebufferID framebuffer,
1870                                           GLenum attachment,
1871                                           TextureID texture,
1872                                           GLint level,
1873                                           GLint layer)
1874 {
1875     return true;
1876 }
1877 
ValidateNamedRenderbufferStorage(const Context * context,angle::EntryPoint entryPoint,RenderbufferID renderbuffer,GLenum internalformat,GLsizei width,GLsizei height)1878 bool ValidateNamedRenderbufferStorage(const Context *context,
1879                                       angle::EntryPoint entryPoint,
1880                                       RenderbufferID renderbuffer,
1881                                       GLenum internalformat,
1882                                       GLsizei width,
1883                                       GLsizei height)
1884 {
1885     return true;
1886 }
1887 
ValidateNamedRenderbufferStorageMultisample(const Context * context,angle::EntryPoint entryPoint,RenderbufferID renderbuffer,GLsizei samples,GLenum internalformat,GLsizei width,GLsizei height)1888 bool ValidateNamedRenderbufferStorageMultisample(const Context *context,
1889                                                  angle::EntryPoint entryPoint,
1890                                                  RenderbufferID renderbuffer,
1891                                                  GLsizei samples,
1892                                                  GLenum internalformat,
1893                                                  GLsizei width,
1894                                                  GLsizei height)
1895 {
1896     return true;
1897 }
1898 
ValidateTextureBarrier(const Context * context,angle::EntryPoint entryPoint)1899 bool ValidateTextureBarrier(const Context *context, angle::EntryPoint entryPoint)
1900 {
1901     return true;
1902 }
1903 
ValidateTextureBuffer(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLenum internalformat,BufferID buffer)1904 bool ValidateTextureBuffer(const Context *context,
1905                            angle::EntryPoint entryPoint,
1906                            TextureID texture,
1907                            GLenum internalformat,
1908                            BufferID buffer)
1909 {
1910     return true;
1911 }
1912 
ValidateTextureBufferRange(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLenum internalformat,BufferID buffer,GLintptr offset,GLsizeiptr size)1913 bool ValidateTextureBufferRange(const Context *context,
1914                                 angle::EntryPoint entryPoint,
1915                                 TextureID texture,
1916                                 GLenum internalformat,
1917                                 BufferID buffer,
1918                                 GLintptr offset,
1919                                 GLsizeiptr size)
1920 {
1921     return true;
1922 }
1923 
ValidateTextureParameterIiv(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLenum pname,const GLint * params)1924 bool ValidateTextureParameterIiv(const Context *context,
1925                                  angle::EntryPoint entryPoint,
1926                                  TextureID texture,
1927                                  GLenum pname,
1928                                  const GLint *params)
1929 {
1930     return true;
1931 }
1932 
ValidateTextureParameterIuiv(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLenum pname,const GLuint * params)1933 bool ValidateTextureParameterIuiv(const Context *context,
1934                                   angle::EntryPoint entryPoint,
1935                                   TextureID texture,
1936                                   GLenum pname,
1937                                   const GLuint *params)
1938 {
1939     return true;
1940 }
1941 
ValidateTextureParameterf(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLenum pname,GLfloat param)1942 bool ValidateTextureParameterf(const Context *context,
1943                                angle::EntryPoint entryPoint,
1944                                TextureID texture,
1945                                GLenum pname,
1946                                GLfloat param)
1947 {
1948     return true;
1949 }
1950 
ValidateTextureParameterfv(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLenum pname,const GLfloat * param)1951 bool ValidateTextureParameterfv(const Context *context,
1952                                 angle::EntryPoint entryPoint,
1953                                 TextureID texture,
1954                                 GLenum pname,
1955                                 const GLfloat *param)
1956 {
1957     return true;
1958 }
1959 
ValidateTextureParameteri(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLenum pname,GLint param)1960 bool ValidateTextureParameteri(const Context *context,
1961                                angle::EntryPoint entryPoint,
1962                                TextureID texture,
1963                                GLenum pname,
1964                                GLint param)
1965 {
1966     return true;
1967 }
1968 
ValidateTextureParameteriv(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLenum pname,const GLint * param)1969 bool ValidateTextureParameteriv(const Context *context,
1970                                 angle::EntryPoint entryPoint,
1971                                 TextureID texture,
1972                                 GLenum pname,
1973                                 const GLint *param)
1974 {
1975     return true;
1976 }
1977 
ValidateTextureStorage1D(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLsizei levels,GLenum internalformat,GLsizei width)1978 bool ValidateTextureStorage1D(const Context *context,
1979                               angle::EntryPoint entryPoint,
1980                               TextureID texture,
1981                               GLsizei levels,
1982                               GLenum internalformat,
1983                               GLsizei width)
1984 {
1985     return true;
1986 }
1987 
ValidateTextureStorage2D(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLsizei levels,GLenum internalformat,GLsizei width,GLsizei height)1988 bool ValidateTextureStorage2D(const Context *context,
1989                               angle::EntryPoint entryPoint,
1990                               TextureID texture,
1991                               GLsizei levels,
1992                               GLenum internalformat,
1993                               GLsizei width,
1994                               GLsizei height)
1995 {
1996     return true;
1997 }
1998 
ValidateTextureStorage2DMultisample(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLsizei samples,GLenum internalformat,GLsizei width,GLsizei height,GLboolean fixedsamplelocations)1999 bool ValidateTextureStorage2DMultisample(const Context *context,
2000                                          angle::EntryPoint entryPoint,
2001                                          TextureID texture,
2002                                          GLsizei samples,
2003                                          GLenum internalformat,
2004                                          GLsizei width,
2005                                          GLsizei height,
2006                                          GLboolean fixedsamplelocations)
2007 {
2008     return true;
2009 }
2010 
ValidateTextureStorage3D(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLsizei levels,GLenum internalformat,GLsizei width,GLsizei height,GLsizei depth)2011 bool ValidateTextureStorage3D(const Context *context,
2012                               angle::EntryPoint entryPoint,
2013                               TextureID texture,
2014                               GLsizei levels,
2015                               GLenum internalformat,
2016                               GLsizei width,
2017                               GLsizei height,
2018                               GLsizei depth)
2019 {
2020     return true;
2021 }
2022 
ValidateTextureStorage3DMultisample(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLsizei samples,GLenum internalformat,GLsizei width,GLsizei height,GLsizei depth,GLboolean fixedsamplelocations)2023 bool ValidateTextureStorage3DMultisample(const Context *context,
2024                                          angle::EntryPoint entryPoint,
2025                                          TextureID texture,
2026                                          GLsizei samples,
2027                                          GLenum internalformat,
2028                                          GLsizei width,
2029                                          GLsizei height,
2030                                          GLsizei depth,
2031                                          GLboolean fixedsamplelocations)
2032 {
2033     return true;
2034 }
2035 
ValidateTextureSubImage1D(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLint level,GLint xoffset,GLsizei width,GLenum format,GLenum type,const void * pixels)2036 bool ValidateTextureSubImage1D(const Context *context,
2037                                angle::EntryPoint entryPoint,
2038                                TextureID texture,
2039                                GLint level,
2040                                GLint xoffset,
2041                                GLsizei width,
2042                                GLenum format,
2043                                GLenum type,
2044                                const void *pixels)
2045 {
2046     return true;
2047 }
2048 
ValidateTextureSubImage2D(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLint level,GLint xoffset,GLint yoffset,GLsizei width,GLsizei height,GLenum format,GLenum type,const void * pixels)2049 bool ValidateTextureSubImage2D(const Context *context,
2050                                angle::EntryPoint entryPoint,
2051                                TextureID texture,
2052                                GLint level,
2053                                GLint xoffset,
2054                                GLint yoffset,
2055                                GLsizei width,
2056                                GLsizei height,
2057                                GLenum format,
2058                                GLenum type,
2059                                const void *pixels)
2060 {
2061     return true;
2062 }
2063 
ValidateTextureSubImage3D(const Context * context,angle::EntryPoint entryPoint,TextureID texture,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLsizei depth,GLenum format,GLenum type,const void * pixels)2064 bool ValidateTextureSubImage3D(const Context *context,
2065                                angle::EntryPoint entryPoint,
2066                                TextureID texture,
2067                                GLint level,
2068                                GLint xoffset,
2069                                GLint yoffset,
2070                                GLint zoffset,
2071                                GLsizei width,
2072                                GLsizei height,
2073                                GLsizei depth,
2074                                GLenum format,
2075                                GLenum type,
2076                                const void *pixels)
2077 {
2078     return true;
2079 }
2080 
ValidateTransformFeedbackBufferBase(const Context * context,angle::EntryPoint entryPoint,GLuint xfb,GLuint index,BufferID buffer)2081 bool ValidateTransformFeedbackBufferBase(const Context *context,
2082                                          angle::EntryPoint entryPoint,
2083                                          GLuint xfb,
2084                                          GLuint index,
2085                                          BufferID buffer)
2086 {
2087     return true;
2088 }
2089 
ValidateTransformFeedbackBufferRange(const Context * context,angle::EntryPoint entryPoint,GLuint xfb,GLuint index,BufferID buffer,GLintptr offset,GLsizeiptr size)2090 bool ValidateTransformFeedbackBufferRange(const Context *context,
2091                                           angle::EntryPoint entryPoint,
2092                                           GLuint xfb,
2093                                           GLuint index,
2094                                           BufferID buffer,
2095                                           GLintptr offset,
2096                                           GLsizeiptr size)
2097 {
2098     return true;
2099 }
2100 
ValidateUnmapNamedBuffer(const Context * context,angle::EntryPoint entryPoint,BufferID buffer)2101 bool ValidateUnmapNamedBuffer(const Context *context, angle::EntryPoint entryPoint, BufferID buffer)
2102 {
2103     return true;
2104 }
2105 
ValidateVertexArrayAttribBinding(const Context * context,angle::EntryPoint entryPoint,VertexArrayID vaobj,GLuint attribindex,GLuint bindingindex)2106 bool ValidateVertexArrayAttribBinding(const Context *context,
2107                                       angle::EntryPoint entryPoint,
2108                                       VertexArrayID vaobj,
2109                                       GLuint attribindex,
2110                                       GLuint bindingindex)
2111 {
2112     return true;
2113 }
2114 
ValidateVertexArrayAttribFormat(const Context * context,angle::EntryPoint entryPoint,VertexArrayID vaobj,GLuint attribindex,GLint size,GLenum type,GLboolean normalized,GLuint relativeoffset)2115 bool ValidateVertexArrayAttribFormat(const Context *context,
2116                                      angle::EntryPoint entryPoint,
2117                                      VertexArrayID vaobj,
2118                                      GLuint attribindex,
2119                                      GLint size,
2120                                      GLenum type,
2121                                      GLboolean normalized,
2122                                      GLuint relativeoffset)
2123 {
2124     return true;
2125 }
2126 
ValidateVertexArrayAttribIFormat(const Context * context,angle::EntryPoint entryPoint,VertexArrayID vaobj,GLuint attribindex,GLint size,GLenum type,GLuint relativeoffset)2127 bool ValidateVertexArrayAttribIFormat(const Context *context,
2128                                       angle::EntryPoint entryPoint,
2129                                       VertexArrayID vaobj,
2130                                       GLuint attribindex,
2131                                       GLint size,
2132                                       GLenum type,
2133                                       GLuint relativeoffset)
2134 {
2135     return true;
2136 }
2137 
ValidateVertexArrayAttribLFormat(const Context * context,angle::EntryPoint entryPoint,VertexArrayID vaobj,GLuint attribindex,GLint size,GLenum type,GLuint relativeoffset)2138 bool ValidateVertexArrayAttribLFormat(const Context *context,
2139                                       angle::EntryPoint entryPoint,
2140                                       VertexArrayID vaobj,
2141                                       GLuint attribindex,
2142                                       GLint size,
2143                                       GLenum type,
2144                                       GLuint relativeoffset)
2145 {
2146     return true;
2147 }
2148 
ValidateVertexArrayBindingDivisor(const Context * context,angle::EntryPoint entryPoint,VertexArrayID vaobj,GLuint bindingindex,GLuint divisor)2149 bool ValidateVertexArrayBindingDivisor(const Context *context,
2150                                        angle::EntryPoint entryPoint,
2151                                        VertexArrayID vaobj,
2152                                        GLuint bindingindex,
2153                                        GLuint divisor)
2154 {
2155     return true;
2156 }
2157 
ValidateVertexArrayElementBuffer(const Context * context,angle::EntryPoint entryPoint,VertexArrayID vaobj,BufferID buffer)2158 bool ValidateVertexArrayElementBuffer(const Context *context,
2159                                       angle::EntryPoint entryPoint,
2160                                       VertexArrayID vaobj,
2161                                       BufferID buffer)
2162 {
2163     return true;
2164 }
2165 
ValidateVertexArrayVertexBuffer(const Context * context,angle::EntryPoint entryPoint,VertexArrayID vaobj,GLuint bindingindex,BufferID buffer,GLintptr offset,GLsizei stride)2166 bool ValidateVertexArrayVertexBuffer(const Context *context,
2167                                      angle::EntryPoint entryPoint,
2168                                      VertexArrayID vaobj,
2169                                      GLuint bindingindex,
2170                                      BufferID buffer,
2171                                      GLintptr offset,
2172                                      GLsizei stride)
2173 {
2174     return true;
2175 }
2176 
ValidateVertexArrayVertexBuffers(const Context * context,angle::EntryPoint entryPoint,VertexArrayID vaobj,GLuint first,GLsizei count,const BufferID * buffers,const GLintptr * offsets,const GLsizei * strides)2177 bool ValidateVertexArrayVertexBuffers(const Context *context,
2178                                       angle::EntryPoint entryPoint,
2179                                       VertexArrayID vaobj,
2180                                       GLuint first,
2181                                       GLsizei count,
2182                                       const BufferID *buffers,
2183                                       const GLintptr *offsets,
2184                                       const GLsizei *strides)
2185 {
2186     return true;
2187 }
2188 
ValidateMultiDrawArraysIndirectCount(const Context * context,angle::EntryPoint entryPoint,GLenum mode,const void * indirect,GLintptr drawcount,GLsizei maxdrawcount,GLsizei stride)2189 bool ValidateMultiDrawArraysIndirectCount(const Context *context,
2190                                           angle::EntryPoint entryPoint,
2191                                           GLenum mode,
2192                                           const void *indirect,
2193                                           GLintptr drawcount,
2194                                           GLsizei maxdrawcount,
2195                                           GLsizei stride)
2196 {
2197     return true;
2198 }
2199 
ValidateMultiDrawElementsIndirectCount(const Context * context,angle::EntryPoint entryPoint,GLenum mode,GLenum type,const void * indirect,GLintptr drawcount,GLsizei maxdrawcount,GLsizei stride)2200 bool ValidateMultiDrawElementsIndirectCount(const Context *context,
2201                                             angle::EntryPoint entryPoint,
2202                                             GLenum mode,
2203                                             GLenum type,
2204                                             const void *indirect,
2205                                             GLintptr drawcount,
2206                                             GLsizei maxdrawcount,
2207                                             GLsizei stride)
2208 {
2209     return true;
2210 }
2211 
ValidatePolygonOffsetClamp(const PrivateState & state,ErrorSet * errors,angle::EntryPoint entryPoint,GLfloat factor,GLfloat units,GLfloat clamp)2212 bool ValidatePolygonOffsetClamp(const PrivateState &state,
2213                                 ErrorSet *errors,
2214                                 angle::EntryPoint entryPoint,
2215                                 GLfloat factor,
2216                                 GLfloat units,
2217                                 GLfloat clamp)
2218 {
2219     return true;
2220 }
2221 
ValidateSpecializeShader(const Context * context,angle::EntryPoint entryPoint,GLuint shader,const GLchar * pEntryPoint,GLuint numSpecializationConstants,const GLuint * pConstantIndex,const GLuint * pConstantValue)2222 bool ValidateSpecializeShader(const Context *context,
2223                               angle::EntryPoint entryPoint,
2224                               GLuint shader,
2225                               const GLchar *pEntryPoint,
2226                               GLuint numSpecializationConstants,
2227                               const GLuint *pConstantIndex,
2228                               const GLuint *pConstantValue)
2229 {
2230     return true;
2231 }
2232 
2233 }  // namespace gl
2234