tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

validationGL4.cpp (79063B)


      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 
     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 
     23 bool ValidateDrawTransformFeedback(const Context *context,
     24                                   angle::EntryPoint entryPoint,
     25                                   GLenum mode,
     26                                   TransformFeedbackID id)
     27 {
     28    return true;
     29 }
     30 
     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 
     40 bool ValidateEndQueryIndexed(const Context *context,
     41                             angle::EntryPoint entryPoint,
     42                             GLenum target,
     43                             GLuint index)
     44 {
     45    return true;
     46 }
     47 
     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 
     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 
     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 
     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 
     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 
    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 
    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 
    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 
    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 
    139 bool ValidatePatchParameterfv(const Context *context,
    140                              angle::EntryPoint entryPoint,
    141                              GLenum pname,
    142                              const GLfloat *values)
    143 {
    144    return true;
    145 }
    146 
    147 bool ValidateUniform1d(const Context *context,
    148                       angle::EntryPoint entryPoint,
    149                       UniformLocation location,
    150                       GLdouble x)
    151 {
    152    return true;
    153 }
    154 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    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 
    566 bool ValidateScissorIndexedv(const Context *context,
    567                             angle::EntryPoint entryPoint,
    568                             GLuint index,
    569                             const GLint *v)
    570 {
    571    return true;
    572 }
    573 
    574 bool ValidateVertexAttribL1d(const Context *context,
    575                             angle::EntryPoint entryPoint,
    576                             GLuint index,
    577                             GLdouble x)
    578 {
    579    return true;
    580 }
    581 
    582 bool ValidateVertexAttribL1dv(const Context *context,
    583                              angle::EntryPoint entryPoint,
    584                              GLuint index,
    585                              const GLdouble *v)
    586 {
    587    return true;
    588 }
    589 
    590 bool ValidateVertexAttribL2d(const Context *context,
    591                             angle::EntryPoint entryPoint,
    592                             GLuint index,
    593                             GLdouble x,
    594                             GLdouble y)
    595 {
    596    return true;
    597 }
    598 
    599 bool ValidateVertexAttribL2dv(const Context *context,
    600                              angle::EntryPoint entryPoint,
    601                              GLuint index,
    602                              const GLdouble *v)
    603 {
    604    return true;
    605 }
    606 
    607 bool ValidateVertexAttribL3d(const Context *context,
    608                             angle::EntryPoint entryPoint,
    609                             GLuint index,
    610                             GLdouble x,
    611                             GLdouble y,
    612                             GLdouble z)
    613 {
    614    return true;
    615 }
    616 
    617 bool ValidateVertexAttribL3dv(const Context *context,
    618                              angle::EntryPoint entryPoint,
    619                              GLuint index,
    620                              const GLdouble *v)
    621 {
    622    return true;
    623 }
    624 
    625 bool ValidateVertexAttribL4d(const Context *context,
    626                             angle::EntryPoint entryPoint,
    627                             GLuint index,
    628                             GLdouble x,
    629                             GLdouble y,
    630                             GLdouble z,
    631                             GLdouble w)
    632 {
    633    return true;
    634 }
    635 
    636 bool ValidateVertexAttribL4dv(const Context *context,
    637                              angle::EntryPoint entryPoint,
    638                              GLuint index,
    639                              const GLdouble *v)
    640 {
    641    return true;
    642 }
    643 
    644 bool ValidateVertexAttribLPointer(const Context *context,
    645                                  angle::EntryPoint entryPoint,
    646                                  GLuint index,
    647                                  GLint size,
    648                                  GLenum type,
    649                                  GLsizei stride,
    650                                  const void *pointer)
    651 {
    652    return true;
    653 }
    654 
    655 bool ValidateViewportArrayv(const Context *context,
    656                            angle::EntryPoint entryPoint,
    657                            GLuint first,
    658                            GLsizei count,
    659                            const GLfloat *v)
    660 {
    661    return true;
    662 }
    663 
    664 bool ValidateViewportIndexedf(const Context *context,
    665                              angle::EntryPoint entryPoint,
    666                              GLuint index,
    667                              GLfloat x,
    668                              GLfloat y,
    669                              GLfloat w,
    670                              GLfloat h)
    671 {
    672    return true;
    673 }
    674 
    675 bool ValidateViewportIndexedfv(const Context *context,
    676                               angle::EntryPoint entryPoint,
    677                               GLuint index,
    678                               const GLfloat *v)
    679 {
    680    return true;
    681 }
    682 
    683 bool ValidateDrawArraysInstancedBaseInstance(const Context *context,
    684                                             angle::EntryPoint entryPoint,
    685                                             PrimitiveMode mode,
    686                                             GLint first,
    687                                             GLsizei count,
    688                                             GLsizei instancecount,
    689                                             GLuint baseinstance)
    690 {
    691    return true;
    692 }
    693 
    694 bool ValidateDrawElementsInstancedBaseInstance(const Context *context,
    695                                               angle::EntryPoint entryPoint,
    696                                               PrimitiveMode mode,
    697                                               GLsizei count,
    698                                               DrawElementsType type,
    699                                               const void *indices,
    700                                               GLsizei instancecount,
    701                                               GLuint baseinstance)
    702 {
    703    return true;
    704 }
    705 
    706 bool ValidateDrawElementsInstancedBaseVertexBaseInstance(const Context *context,
    707                                                         angle::EntryPoint entryPoint,
    708                                                         PrimitiveMode mode,
    709                                                         GLsizei count,
    710                                                         DrawElementsType type,
    711                                                         const void *indices,
    712                                                         GLsizei instancecount,
    713                                                         GLint basevertex,
    714                                                         GLuint baseinstance)
    715 {
    716    return true;
    717 }
    718 
    719 bool ValidateDrawTransformFeedbackInstanced(const Context *context,
    720                                            angle::EntryPoint entryPoint,
    721                                            GLenum mode,
    722                                            TransformFeedbackID id,
    723                                            GLsizei instancecount)
    724 {
    725    return true;
    726 }
    727 
    728 bool ValidateDrawTransformFeedbackStreamInstanced(const Context *context,
    729                                                  angle::EntryPoint entryPoint,
    730                                                  GLenum mode,
    731                                                  TransformFeedbackID id,
    732                                                  GLuint stream,
    733                                                  GLsizei instancecount)
    734 {
    735    return true;
    736 }
    737 
    738 bool ValidateGetActiveAtomicCounterBufferiv(const Context *context,
    739                                            angle::EntryPoint entryPoint,
    740                                            ShaderProgramID program,
    741                                            GLuint bufferIndex,
    742                                            GLenum pname,
    743                                            const GLint *params)
    744 {
    745    return true;
    746 }
    747 
    748 bool ValidateTexStorage1D(const Context *context,
    749                          angle::EntryPoint entryPoint,
    750                          GLenum target,
    751                          GLsizei levels,
    752                          GLenum internalformat,
    753                          GLsizei width)
    754 {
    755    return true;
    756 }
    757 
    758 bool ValidateClearBufferData(const Context *context,
    759                             angle::EntryPoint entryPoint,
    760                             GLenum target,
    761                             GLenum internalformat,
    762                             GLenum format,
    763                             GLenum type,
    764                             const void *data)
    765 {
    766    return true;
    767 }
    768 
    769 bool ValidateClearBufferSubData(const Context *context,
    770                                angle::EntryPoint entryPoint,
    771                                GLenum target,
    772                                GLenum internalformat,
    773                                GLintptr offset,
    774                                GLsizeiptr size,
    775                                GLenum format,
    776                                GLenum type,
    777                                const void *data)
    778 {
    779    return true;
    780 }
    781 
    782 bool ValidateGetInternalformati64v(const Context *context,
    783                                   angle::EntryPoint entryPoint,
    784                                   GLenum target,
    785                                   GLenum internalformat,
    786                                   GLenum pname,
    787                                   GLsizei bufSize,
    788                                   const GLint64 *params)
    789 {
    790    return true;
    791 }
    792 
    793 bool ValidateGetProgramResourceLocationIndex(const Context *context,
    794                                             angle::EntryPoint entryPoint,
    795                                             ShaderProgramID program,
    796                                             GLenum programInterface,
    797                                             const GLchar *name)
    798 {
    799    return true;
    800 }
    801 
    802 bool ValidateInvalidateBufferData(const Context *context,
    803                                  angle::EntryPoint entryPoint,
    804                                  BufferID buffer)
    805 {
    806    return true;
    807 }
    808 
    809 bool ValidateInvalidateBufferSubData(const Context *context,
    810                                     angle::EntryPoint entryPoint,
    811                                     BufferID buffer,
    812                                     GLintptr offset,
    813                                     GLsizeiptr length)
    814 {
    815    return true;
    816 }
    817 
    818 bool ValidateInvalidateTexImage(const Context *context,
    819                                angle::EntryPoint entryPoint,
    820                                TextureID texture,
    821                                GLint level)
    822 {
    823    return true;
    824 }
    825 
    826 bool ValidateInvalidateTexSubImage(const Context *context,
    827                                   angle::EntryPoint entryPoint,
    828                                   TextureID texture,
    829                                   GLint level,
    830                                   GLint xoffset,
    831                                   GLint yoffset,
    832                                   GLint zoffset,
    833                                   GLsizei width,
    834                                   GLsizei height,
    835                                   GLsizei depth)
    836 {
    837    return true;
    838 }
    839 
    840 bool ValidateMultiDrawArraysIndirect(const Context *context,
    841                                     angle::EntryPoint entryPoint,
    842                                     PrimitiveMode modePacked,
    843                                     const void *indirect,
    844                                     GLsizei drawcount,
    845                                     GLsizei stride)
    846 {
    847    return true;
    848 }
    849 
    850 bool ValidateMultiDrawElementsIndirect(const Context *context,
    851                                       angle::EntryPoint entryPoint,
    852                                       PrimitiveMode modePacked,
    853                                       DrawElementsType typePacked,
    854                                       const void *indirect,
    855                                       GLsizei drawcount,
    856                                       GLsizei stride)
    857 {
    858    return true;
    859 }
    860 
    861 bool ValidateShaderStorageBlockBinding(const Context *context,
    862                                       angle::EntryPoint entryPoint,
    863                                       ShaderProgramID program,
    864                                       GLuint storageBlockIndex,
    865                                       GLuint storageBlockBinding)
    866 {
    867    return true;
    868 }
    869 
    870 bool ValidateTextureView(const Context *context,
    871                         angle::EntryPoint entryPoint,
    872                         TextureID texture,
    873                         GLenum target,
    874                         GLuint origtexture,
    875                         GLenum internalformat,
    876                         GLuint minlevel,
    877                         GLuint numlevels,
    878                         GLuint minlayer,
    879                         GLuint numlayers)
    880 {
    881    return true;
    882 }
    883 
    884 bool ValidateVertexAttribLFormat(const Context *context,
    885                                 angle::EntryPoint entryPoint,
    886                                 GLuint attribindex,
    887                                 GLint size,
    888                                 GLenum type,
    889                                 GLuint relativeoffset)
    890 {
    891    return true;
    892 }
    893 
    894 bool ValidateBindBuffersBase(const Context *context,
    895                             angle::EntryPoint entryPoint,
    896                             GLenum target,
    897                             GLuint first,
    898                             GLsizei count,
    899                             const BufferID *buffers)
    900 {
    901    return true;
    902 }
    903 
    904 bool ValidateBindBuffersRange(const Context *context,
    905                              angle::EntryPoint entryPoint,
    906                              GLenum target,
    907                              GLuint first,
    908                              GLsizei count,
    909                              const BufferID *buffers,
    910                              const GLintptr *offsets,
    911                              const GLsizeiptr *sizes)
    912 {
    913    return true;
    914 }
    915 
    916 bool ValidateBindImageTextures(const Context *context,
    917                               angle::EntryPoint entryPoint,
    918                               GLuint first,
    919                               GLsizei count,
    920                               const GLuint *textures)
    921 {
    922    return true;
    923 }
    924 
    925 bool ValidateBindSamplers(const Context *context,
    926                          angle::EntryPoint entryPoint,
    927                          GLuint first,
    928                          GLsizei count,
    929                          const GLuint *samplers)
    930 {
    931    return true;
    932 }
    933 
    934 bool ValidateBindTextures(const Context *context,
    935                          angle::EntryPoint entryPoint,
    936                          GLuint first,
    937                          GLsizei count,
    938                          const GLuint *textures)
    939 {
    940    return true;
    941 }
    942 
    943 bool ValidateBindVertexBuffers(const Context *context,
    944                               angle::EntryPoint entryPoint,
    945                               GLuint first,
    946                               GLsizei count,
    947                               const BufferID *buffers,
    948                               const GLintptr *offsets,
    949                               const GLsizei *strides)
    950 {
    951    return true;
    952 }
    953 
    954 bool ValidateBufferStorage(const Context *context,
    955                           angle::EntryPoint entryPoint,
    956                           BufferBinding targetPacked,
    957                           GLsizeiptr size,
    958                           const void *data,
    959                           GLbitfield flags)
    960 {
    961    return true;
    962 }
    963 
    964 bool ValidateClearTexImage(const Context *context,
    965                           angle::EntryPoint entryPoint,
    966                           TextureID texture,
    967                           GLint level,
    968                           GLenum format,
    969                           GLenum type,
    970                           const void *data)
    971 {
    972    return true;
    973 }
    974 
    975 bool ValidateClearTexSubImage(const Context *context,
    976                              angle::EntryPoint entryPoint,
    977                              TextureID texture,
    978                              GLint level,
    979                              GLint xoffset,
    980                              GLint yoffset,
    981                              GLint zoffset,
    982                              GLsizei width,
    983                              GLsizei height,
    984                              GLsizei depth,
    985                              GLenum format,
    986                              GLenum type,
    987                              const void *data)
    988 {
    989    return true;
    990 }
    991 
    992 bool ValidateBindTextureUnit(const Context *context,
    993                             angle::EntryPoint entryPoint,
    994                             GLuint unit,
    995                             TextureID texture)
    996 {
    997    return true;
    998 }
    999 
   1000 bool ValidateBlitNamedFramebuffer(const Context *context,
   1001                                  angle::EntryPoint entryPoint,
   1002                                  GLuint readFramebuffer,
   1003                                  GLuint drawFramebuffer,
   1004                                  GLint srcX0,
   1005                                  GLint srcY0,
   1006                                  GLint srcX1,
   1007                                  GLint srcY1,
   1008                                  GLint dstX0,
   1009                                  GLint dstY0,
   1010                                  GLint dstX1,
   1011                                  GLint dstY1,
   1012                                  GLbitfield mask,
   1013                                  GLenum filter)
   1014 {
   1015    return true;
   1016 }
   1017 
   1018 bool ValidateCheckNamedFramebufferStatus(const Context *context,
   1019                                         angle::EntryPoint entryPoint,
   1020                                         FramebufferID framebuffer,
   1021                                         GLenum target)
   1022 {
   1023    return true;
   1024 }
   1025 
   1026 bool ValidateClearNamedBufferData(const Context *context,
   1027                                  angle::EntryPoint entryPoint,
   1028                                  BufferID buffer,
   1029                                  GLenum internalformat,
   1030                                  GLenum format,
   1031                                  GLenum type,
   1032                                  const void *data)
   1033 {
   1034    return true;
   1035 }
   1036 
   1037 bool ValidateClearNamedBufferSubData(const Context *context,
   1038                                     angle::EntryPoint entryPoint,
   1039                                     BufferID buffer,
   1040                                     GLenum internalformat,
   1041                                     GLintptr offset,
   1042                                     GLsizeiptr size,
   1043                                     GLenum format,
   1044                                     GLenum type,
   1045                                     const void *data)
   1046 {
   1047    return true;
   1048 }
   1049 
   1050 bool ValidateClearNamedFramebufferfi(const Context *context,
   1051                                     angle::EntryPoint entryPoint,
   1052                                     FramebufferID framebuffer,
   1053                                     GLenum buffer,
   1054                                     GLint drawbuffer,
   1055                                     GLfloat depth,
   1056                                     GLint stencil)
   1057 {
   1058    return true;
   1059 }
   1060 
   1061 bool ValidateClearNamedFramebufferfv(const Context *context,
   1062                                     angle::EntryPoint entryPoint,
   1063                                     FramebufferID framebuffer,
   1064                                     GLenum buffer,
   1065                                     GLint drawbuffer,
   1066                                     const GLfloat *value)
   1067 {
   1068    return true;
   1069 }
   1070 
   1071 bool ValidateClearNamedFramebufferiv(const Context *context,
   1072                                     angle::EntryPoint entryPoint,
   1073                                     FramebufferID framebuffer,
   1074                                     GLenum buffer,
   1075                                     GLint drawbuffer,
   1076                                     const GLint *value)
   1077 {
   1078    return true;
   1079 }
   1080 
   1081 bool ValidateClearNamedFramebufferuiv(const Context *context,
   1082                                      angle::EntryPoint entryPoint,
   1083                                      FramebufferID framebuffer,
   1084                                      GLenum buffer,
   1085                                      GLint drawbuffer,
   1086                                      const GLuint *value)
   1087 {
   1088    return true;
   1089 }
   1090 
   1091 bool ValidateClipControl(const Context *context,
   1092                         angle::EntryPoint entryPoint,
   1093                         GLenum origin,
   1094                         GLenum depth)
   1095 {
   1096    return true;
   1097 }
   1098 
   1099 bool ValidateCompressedTextureSubImage1D(const Context *context,
   1100                                         angle::EntryPoint entryPoint,
   1101                                         TextureID texture,
   1102                                         GLint level,
   1103                                         GLint xoffset,
   1104                                         GLsizei width,
   1105                                         GLenum format,
   1106                                         GLsizei imageSize,
   1107                                         const void *data)
   1108 {
   1109    return true;
   1110 }
   1111 
   1112 bool ValidateCompressedTextureSubImage2D(const Context *context,
   1113                                         angle::EntryPoint entryPoint,
   1114                                         TextureID texture,
   1115                                         GLint level,
   1116                                         GLint xoffset,
   1117                                         GLint yoffset,
   1118                                         GLsizei width,
   1119                                         GLsizei height,
   1120                                         GLenum format,
   1121                                         GLsizei imageSize,
   1122                                         const void *data)
   1123 {
   1124    return true;
   1125 }
   1126 
   1127 bool ValidateCompressedTextureSubImage3D(const Context *context,
   1128                                         angle::EntryPoint entryPoint,
   1129                                         TextureID texture,
   1130                                         GLint level,
   1131                                         GLint xoffset,
   1132                                         GLint yoffset,
   1133                                         GLint zoffset,
   1134                                         GLsizei width,
   1135                                         GLsizei height,
   1136                                         GLsizei depth,
   1137                                         GLenum format,
   1138                                         GLsizei imageSize,
   1139                                         const void *data)
   1140 {
   1141    return true;
   1142 }
   1143 
   1144 bool ValidateCopyNamedBufferSubData(const Context *context,
   1145                                    angle::EntryPoint entryPoint,
   1146                                    GLuint readBuffer,
   1147                                    GLuint writeBuffer,
   1148                                    GLintptr readOffset,
   1149                                    GLintptr writeOffset,
   1150                                    GLsizeiptr size)
   1151 {
   1152    return true;
   1153 }
   1154 
   1155 bool ValidateCopyTextureSubImage1D(const Context *context,
   1156                                   angle::EntryPoint entryPoint,
   1157                                   TextureID texture,
   1158                                   GLint level,
   1159                                   GLint xoffset,
   1160                                   GLint x,
   1161                                   GLint y,
   1162                                   GLsizei width)
   1163 {
   1164    return true;
   1165 }
   1166 
   1167 bool ValidateCopyTextureSubImage2D(const Context *context,
   1168                                   angle::EntryPoint entryPoint,
   1169                                   TextureID texture,
   1170                                   GLint level,
   1171                                   GLint xoffset,
   1172                                   GLint yoffset,
   1173                                   GLint x,
   1174                                   GLint y,
   1175                                   GLsizei width,
   1176                                   GLsizei height)
   1177 {
   1178    return true;
   1179 }
   1180 
   1181 bool ValidateCopyTextureSubImage3D(const Context *context,
   1182                                   angle::EntryPoint entryPoint,
   1183                                   TextureID texture,
   1184                                   GLint level,
   1185                                   GLint xoffset,
   1186                                   GLint yoffset,
   1187                                   GLint zoffset,
   1188                                   GLint x,
   1189                                   GLint y,
   1190                                   GLsizei width,
   1191                                   GLsizei height)
   1192 {
   1193    return true;
   1194 }
   1195 
   1196 bool ValidateCreateBuffers(const Context *context,
   1197                           angle::EntryPoint entryPoint,
   1198                           GLsizei n,
   1199                           const BufferID *buffers)
   1200 {
   1201    return true;
   1202 }
   1203 
   1204 bool ValidateCreateFramebuffers(const Context *context,
   1205                                angle::EntryPoint entryPoint,
   1206                                GLsizei n,
   1207                                const GLuint *framebuffers)
   1208 {
   1209    return true;
   1210 }
   1211 
   1212 bool ValidateCreateProgramPipelines(const Context *context,
   1213                                    angle::EntryPoint entryPoint,
   1214                                    GLsizei n,
   1215                                    const GLuint *pipelines)
   1216 {
   1217    return true;
   1218 }
   1219 
   1220 bool ValidateCreateQueries(const Context *context,
   1221                           angle::EntryPoint entryPoint,
   1222                           GLenum target,
   1223                           GLsizei n,
   1224                           const GLuint *ids)
   1225 {
   1226    return true;
   1227 }
   1228 
   1229 bool ValidateCreateRenderbuffers(const Context *context,
   1230                                 angle::EntryPoint entryPoint,
   1231                                 GLsizei n,
   1232                                 const RenderbufferID *renderbuffers)
   1233 {
   1234    return true;
   1235 }
   1236 
   1237 bool ValidateCreateSamplers(const Context *context,
   1238                            angle::EntryPoint entryPoint,
   1239                            GLsizei n,
   1240                            const GLuint *samplers)
   1241 {
   1242    return true;
   1243 }
   1244 
   1245 bool ValidateCreateTextures(const Context *context,
   1246                            angle::EntryPoint entryPoint,
   1247                            GLenum target,
   1248                            GLsizei n,
   1249                            const GLuint *textures)
   1250 {
   1251    return true;
   1252 }
   1253 
   1254 bool ValidateCreateTransformFeedbacks(const Context *context,
   1255                                      angle::EntryPoint entryPoint,
   1256                                      GLsizei n,
   1257                                      const GLuint *ids)
   1258 {
   1259    return true;
   1260 }
   1261 
   1262 bool ValidateCreateVertexArrays(const Context *context,
   1263                                angle::EntryPoint entryPoint,
   1264                                GLsizei n,
   1265                                const VertexArrayID *arrays)
   1266 {
   1267    return true;
   1268 }
   1269 
   1270 bool ValidateDisableVertexArrayAttrib(const Context *context,
   1271                                      angle::EntryPoint entryPoint,
   1272                                      VertexArrayID vaobj,
   1273                                      GLuint index)
   1274 {
   1275    return true;
   1276 }
   1277 
   1278 bool ValidateEnableVertexArrayAttrib(const Context *context,
   1279                                     angle::EntryPoint entryPoint,
   1280                                     VertexArrayID vaobj,
   1281                                     GLuint index)
   1282 {
   1283    return true;
   1284 }
   1285 
   1286 bool ValidateFlushMappedNamedBufferRange(const Context *context,
   1287                                         angle::EntryPoint entryPoint,
   1288                                         BufferID buffer,
   1289                                         GLintptr offset,
   1290                                         GLsizeiptr length)
   1291 {
   1292    return true;
   1293 }
   1294 
   1295 bool ValidateGenerateTextureMipmap(const Context *context,
   1296                                   angle::EntryPoint entryPoint,
   1297                                   TextureID texture)
   1298 {
   1299    return true;
   1300 }
   1301 
   1302 bool ValidateGetCompressedTextureImage(const Context *context,
   1303                                       angle::EntryPoint entryPoint,
   1304                                       TextureID texture,
   1305                                       GLint level,
   1306                                       GLsizei bufSize,
   1307                                       const void *pixels)
   1308 {
   1309    return true;
   1310 }
   1311 
   1312 bool ValidateGetCompressedTextureSubImage(const Context *context,
   1313                                          angle::EntryPoint entryPoint,
   1314                                          TextureID texture,
   1315                                          GLint level,
   1316                                          GLint xoffset,
   1317                                          GLint yoffset,
   1318                                          GLint zoffset,
   1319                                          GLsizei width,
   1320                                          GLsizei height,
   1321                                          GLsizei depth,
   1322                                          GLsizei bufSize,
   1323                                          const void *pixels)
   1324 {
   1325    return true;
   1326 }
   1327 
   1328 bool ValidateGetNamedBufferParameteri64v(const Context *context,
   1329                                         angle::EntryPoint entryPoint,
   1330                                         BufferID buffer,
   1331                                         GLenum pname,
   1332                                         const GLint64 *params)
   1333 {
   1334    return true;
   1335 }
   1336 
   1337 bool ValidateGetNamedBufferParameteriv(const Context *context,
   1338                                       angle::EntryPoint entryPoint,
   1339                                       BufferID buffer,
   1340                                       GLenum pname,
   1341                                       const GLint *params)
   1342 {
   1343    return true;
   1344 }
   1345 
   1346 bool ValidateGetNamedBufferPointerv(const Context *context,
   1347                                    angle::EntryPoint entryPoint,
   1348                                    BufferID buffer,
   1349                                    GLenum pname,
   1350                                    void *const *params)
   1351 {
   1352    return true;
   1353 }
   1354 
   1355 bool ValidateGetNamedBufferSubData(const Context *context,
   1356                                   angle::EntryPoint entryPoint,
   1357                                   BufferID buffer,
   1358                                   GLintptr offset,
   1359                                   GLsizeiptr size,
   1360                                   const void *data)
   1361 {
   1362    return true;
   1363 }
   1364 
   1365 bool ValidateGetNamedFramebufferAttachmentParameteriv(const Context *context,
   1366                                                      angle::EntryPoint entryPoint,
   1367                                                      FramebufferID framebuffer,
   1368                                                      GLenum attachment,
   1369                                                      GLenum pname,
   1370                                                      const GLint *params)
   1371 {
   1372    return true;
   1373 }
   1374 
   1375 bool ValidateGetNamedFramebufferParameteriv(const Context *context,
   1376                                            angle::EntryPoint entryPoint,
   1377                                            FramebufferID framebuffer,
   1378                                            GLenum pname,
   1379                                            const GLint *param)
   1380 {
   1381    return true;
   1382 }
   1383 
   1384 bool ValidateGetNamedRenderbufferParameteriv(const Context *context,
   1385                                             angle::EntryPoint entryPoint,
   1386                                             RenderbufferID renderbuffer,
   1387                                             GLenum pname,
   1388                                             const GLint *params)
   1389 {
   1390    return true;
   1391 }
   1392 
   1393 bool ValidateGetQueryBufferObjecti64v(const Context *context,
   1394                                      angle::EntryPoint entryPoint,
   1395                                      GLuint id,
   1396                                      BufferID buffer,
   1397                                      GLenum pname,
   1398                                      GLintptr offset)
   1399 {
   1400    return true;
   1401 }
   1402 
   1403 bool ValidateGetQueryBufferObjectiv(const Context *context,
   1404                                    angle::EntryPoint entryPoint,
   1405                                    GLuint id,
   1406                                    BufferID buffer,
   1407                                    GLenum pname,
   1408                                    GLintptr offset)
   1409 {
   1410    return true;
   1411 }
   1412 
   1413 bool ValidateGetQueryBufferObjectui64v(const Context *context,
   1414                                       angle::EntryPoint entryPoint,
   1415                                       GLuint id,
   1416                                       BufferID buffer,
   1417                                       GLenum pname,
   1418                                       GLintptr offset)
   1419 {
   1420    return true;
   1421 }
   1422 
   1423 bool ValidateGetQueryBufferObjectuiv(const Context *context,
   1424                                     angle::EntryPoint entryPoint,
   1425                                     GLuint id,
   1426                                     BufferID buffer,
   1427                                     GLenum pname,
   1428                                     GLintptr offset)
   1429 {
   1430    return true;
   1431 }
   1432 
   1433 bool ValidateGetTextureImage(const Context *context,
   1434                             angle::EntryPoint entryPoint,
   1435                             TextureID texture,
   1436                             GLint level,
   1437                             GLenum format,
   1438                             GLenum type,
   1439                             GLsizei bufSize,
   1440                             const void *pixels)
   1441 {
   1442    return true;
   1443 }
   1444 
   1445 bool ValidateGetTextureLevelParameterfv(const Context *context,
   1446                                        angle::EntryPoint entryPoint,
   1447                                        TextureID texture,
   1448                                        GLint level,
   1449                                        GLenum pname,
   1450                                        const GLfloat *params)
   1451 {
   1452    return true;
   1453 }
   1454 
   1455 bool ValidateGetTextureLevelParameteriv(const Context *context,
   1456                                        angle::EntryPoint entryPoint,
   1457                                        TextureID texture,
   1458                                        GLint level,
   1459                                        GLenum pname,
   1460                                        const GLint *params)
   1461 {
   1462    return true;
   1463 }
   1464 
   1465 bool ValidateGetTextureParameterIiv(const Context *context,
   1466                                    angle::EntryPoint entryPoint,
   1467                                    TextureID texture,
   1468                                    GLenum pname,
   1469                                    const GLint *params)
   1470 {
   1471    return true;
   1472 }
   1473 
   1474 bool ValidateGetTextureParameterIuiv(const Context *context,
   1475                                     angle::EntryPoint entryPoint,
   1476                                     TextureID texture,
   1477                                     GLenum pname,
   1478                                     const GLuint *params)
   1479 {
   1480    return true;
   1481 }
   1482 
   1483 bool ValidateGetTextureParameterfv(const Context *context,
   1484                                   angle::EntryPoint entryPoint,
   1485                                   TextureID texture,
   1486                                   GLenum pname,
   1487                                   const GLfloat *params)
   1488 {
   1489    return true;
   1490 }
   1491 
   1492 bool ValidateGetTextureParameteriv(const Context *context,
   1493                                   angle::EntryPoint entryPoint,
   1494                                   TextureID texture,
   1495                                   GLenum pname,
   1496                                   const GLint *params)
   1497 {
   1498    return true;
   1499 }
   1500 
   1501 bool ValidateGetTextureSubImage(const Context *context,
   1502                                angle::EntryPoint entryPoint,
   1503                                TextureID texture,
   1504                                GLint level,
   1505                                GLint xoffset,
   1506                                GLint yoffset,
   1507                                GLint zoffset,
   1508                                GLsizei width,
   1509                                GLsizei height,
   1510                                GLsizei depth,
   1511                                GLenum format,
   1512                                GLenum type,
   1513                                GLsizei bufSize,
   1514                                const void *pixels)
   1515 {
   1516    return true;
   1517 }
   1518 
   1519 bool ValidateGetTransformFeedbacki64_v(const Context *context,
   1520                                       angle::EntryPoint entryPoint,
   1521                                       GLuint xfb,
   1522                                       GLenum pname,
   1523                                       GLuint index,
   1524                                       const GLint64 *param)
   1525 {
   1526    return true;
   1527 }
   1528 
   1529 bool ValidateGetTransformFeedbacki_v(const Context *context,
   1530                                     angle::EntryPoint entryPoint,
   1531                                     GLuint xfb,
   1532                                     GLenum pname,
   1533                                     GLuint index,
   1534                                     const GLint *param)
   1535 {
   1536    return true;
   1537 }
   1538 
   1539 bool ValidateGetTransformFeedbackiv(const Context *context,
   1540                                    angle::EntryPoint entryPoint,
   1541                                    GLuint xfb,
   1542                                    GLenum pname,
   1543                                    const GLint *param)
   1544 {
   1545    return true;
   1546 }
   1547 
   1548 bool ValidateGetVertexArrayIndexed64iv(const Context *context,
   1549                                       angle::EntryPoint entryPoint,
   1550                                       VertexArrayID vaobj,
   1551                                       GLuint index,
   1552                                       GLenum pname,
   1553                                       const GLint64 *param)
   1554 {
   1555    return true;
   1556 }
   1557 
   1558 bool ValidateGetVertexArrayIndexediv(const Context *context,
   1559                                     angle::EntryPoint entryPoint,
   1560                                     VertexArrayID vaobj,
   1561                                     GLuint index,
   1562                                     GLenum pname,
   1563                                     const GLint *param)
   1564 {
   1565    return true;
   1566 }
   1567 
   1568 bool ValidateGetVertexArrayiv(const Context *context,
   1569                              angle::EntryPoint entryPoint,
   1570                              VertexArrayID vaobj,
   1571                              GLenum pname,
   1572                              const GLint *param)
   1573 {
   1574    return true;
   1575 }
   1576 
   1577 bool ValidateGetnColorTable(const Context *context,
   1578                            angle::EntryPoint entryPoint,
   1579                            GLenum target,
   1580                            GLenum format,
   1581                            GLenum type,
   1582                            GLsizei bufSize,
   1583                            const void *table)
   1584 {
   1585    return true;
   1586 }
   1587 
   1588 bool ValidateGetnCompressedTexImage(const Context *context,
   1589                                    angle::EntryPoint entryPoint,
   1590                                    GLenum target,
   1591                                    GLint lod,
   1592                                    GLsizei bufSize,
   1593                                    const void *pixels)
   1594 {
   1595    return true;
   1596 }
   1597 
   1598 bool ValidateGetnConvolutionFilter(const Context *context,
   1599                                   angle::EntryPoint entryPoint,
   1600                                   GLenum target,
   1601                                   GLenum format,
   1602                                   GLenum type,
   1603                                   GLsizei bufSize,
   1604                                   const void *image)
   1605 {
   1606    return true;
   1607 }
   1608 
   1609 bool ValidateGetnHistogram(const Context *context,
   1610                           angle::EntryPoint entryPoint,
   1611                           GLenum target,
   1612                           GLboolean reset,
   1613                           GLenum format,
   1614                           GLenum type,
   1615                           GLsizei bufSize,
   1616                           const void *values)
   1617 {
   1618    return true;
   1619 }
   1620 
   1621 bool ValidateGetnMapdv(const Context *context,
   1622                       angle::EntryPoint entryPoint,
   1623                       GLenum target,
   1624                       GLenum query,
   1625                       GLsizei bufSize,
   1626                       const GLdouble *v)
   1627 {
   1628    return true;
   1629 }
   1630 
   1631 bool ValidateGetnMapfv(const Context *context,
   1632                       angle::EntryPoint entryPoint,
   1633                       GLenum target,
   1634                       GLenum query,
   1635                       GLsizei bufSize,
   1636                       const GLfloat *v)
   1637 {
   1638    return true;
   1639 }
   1640 
   1641 bool ValidateGetnMapiv(const Context *context,
   1642                       angle::EntryPoint entryPoint,
   1643                       GLenum target,
   1644                       GLenum query,
   1645                       GLsizei bufSize,
   1646                       const GLint *v)
   1647 {
   1648    return true;
   1649 }
   1650 
   1651 bool ValidateGetnMinmax(const Context *context,
   1652                        angle::EntryPoint entryPoint,
   1653                        GLenum target,
   1654                        GLboolean reset,
   1655                        GLenum format,
   1656                        GLenum type,
   1657                        GLsizei bufSize,
   1658                        const void *values)
   1659 {
   1660    return true;
   1661 }
   1662 
   1663 bool ValidateGetnPixelMapfv(const Context *context,
   1664                            angle::EntryPoint entryPoint,
   1665                            GLenum map,
   1666                            GLsizei bufSize,
   1667                            const GLfloat *values)
   1668 {
   1669    return true;
   1670 }
   1671 
   1672 bool ValidateGetnPixelMapuiv(const Context *context,
   1673                             angle::EntryPoint entryPoint,
   1674                             GLenum map,
   1675                             GLsizei bufSize,
   1676                             const GLuint *values)
   1677 {
   1678    return true;
   1679 }
   1680 
   1681 bool ValidateGetnPixelMapusv(const Context *context,
   1682                             angle::EntryPoint entryPoint,
   1683                             GLenum map,
   1684                             GLsizei bufSize,
   1685                             const GLushort *values)
   1686 {
   1687    return true;
   1688 }
   1689 
   1690 bool ValidateGetnPolygonStipple(const Context *context,
   1691                                angle::EntryPoint entryPoint,
   1692                                GLsizei bufSize,
   1693                                const GLubyte *pattern)
   1694 {
   1695    return true;
   1696 }
   1697 
   1698 bool ValidateGetnSeparableFilter(const Context *context,
   1699                                 angle::EntryPoint entryPoint,
   1700                                 GLenum target,
   1701                                 GLenum format,
   1702                                 GLenum type,
   1703                                 GLsizei rowBufSize,
   1704                                 const void *row,
   1705                                 GLsizei columnBufSize,
   1706                                 const void *column,
   1707                                 const void *span)
   1708 {
   1709    return true;
   1710 }
   1711 
   1712 bool ValidateGetnTexImage(const Context *context,
   1713                          angle::EntryPoint entryPoint,
   1714                          GLenum target,
   1715                          GLint level,
   1716                          GLenum format,
   1717                          GLenum type,
   1718                          GLsizei bufSize,
   1719                          const void *pixels)
   1720 {
   1721    return true;
   1722 }
   1723 
   1724 bool ValidateGetnUniformdv(const Context *context,
   1725                           angle::EntryPoint entryPoint,
   1726                           ShaderProgramID program,
   1727                           UniformLocation location,
   1728                           GLsizei bufSize,
   1729                           const GLdouble *params)
   1730 {
   1731    return true;
   1732 }
   1733 
   1734 bool ValidateInvalidateNamedFramebufferData(const Context *context,
   1735                                            angle::EntryPoint entryPoint,
   1736                                            FramebufferID framebuffer,
   1737                                            GLsizei numAttachments,
   1738                                            const GLenum *attachments)
   1739 {
   1740    return true;
   1741 }
   1742 
   1743 bool ValidateInvalidateNamedFramebufferSubData(const Context *context,
   1744                                               angle::EntryPoint entryPoint,
   1745                                               FramebufferID framebuffer,
   1746                                               GLsizei numAttachments,
   1747                                               const GLenum *attachments,
   1748                                               GLint x,
   1749                                               GLint y,
   1750                                               GLsizei width,
   1751                                               GLsizei height)
   1752 {
   1753    return true;
   1754 }
   1755 
   1756 bool ValidateMapNamedBuffer(const Context *context,
   1757                            angle::EntryPoint entryPoint,
   1758                            BufferID buffer,
   1759                            GLenum access)
   1760 {
   1761    return true;
   1762 }
   1763 
   1764 bool ValidateMapNamedBufferRange(const Context *context,
   1765                                 angle::EntryPoint entryPoint,
   1766                                 BufferID buffer,
   1767                                 GLintptr offset,
   1768                                 GLsizeiptr length,
   1769                                 GLbitfield access)
   1770 {
   1771    return true;
   1772 }
   1773 
   1774 bool ValidateNamedBufferData(const Context *context,
   1775                             angle::EntryPoint entryPoint,
   1776                             BufferID buffer,
   1777                             GLsizeiptr size,
   1778                             const void *data,
   1779                             GLenum usage)
   1780 {
   1781    return true;
   1782 }
   1783 
   1784 bool ValidateNamedBufferStorage(const Context *context,
   1785                                angle::EntryPoint entryPoint,
   1786                                BufferID buffer,
   1787                                GLsizeiptr size,
   1788                                const void *data,
   1789                                GLbitfield flags)
   1790 {
   1791    return true;
   1792 }
   1793 
   1794 bool ValidateNamedBufferSubData(const Context *context,
   1795                                angle::EntryPoint entryPoint,
   1796                                BufferID buffer,
   1797                                GLintptr offset,
   1798                                GLsizeiptr size,
   1799                                const void *data)
   1800 {
   1801    return true;
   1802 }
   1803 
   1804 bool ValidateNamedFramebufferDrawBuffer(const Context *context,
   1805                                        angle::EntryPoint entryPoint,
   1806                                        FramebufferID framebuffer,
   1807                                        GLenum buf)
   1808 {
   1809    return true;
   1810 }
   1811 
   1812 bool ValidateNamedFramebufferDrawBuffers(const Context *context,
   1813                                         angle::EntryPoint entryPoint,
   1814                                         FramebufferID framebuffer,
   1815                                         GLsizei n,
   1816                                         const GLenum *bufs)
   1817 {
   1818    return true;
   1819 }
   1820 
   1821 bool ValidateNamedFramebufferParameteri(const Context *context,
   1822                                        angle::EntryPoint entryPoint,
   1823                                        FramebufferID framebuffer,
   1824                                        GLenum pname,
   1825                                        GLint param)
   1826 {
   1827    return true;
   1828 }
   1829 
   1830 bool ValidateNamedFramebufferReadBuffer(const Context *context,
   1831                                        angle::EntryPoint entryPoint,
   1832                                        FramebufferID framebuffer,
   1833                                        GLenum src)
   1834 {
   1835    return true;
   1836 }
   1837 
   1838 bool ValidateNamedFramebufferRenderbuffer(const Context *context,
   1839                                          angle::EntryPoint entryPoint,
   1840                                          FramebufferID framebuffer,
   1841                                          GLenum attachment,
   1842                                          GLenum renderbuffertarget,
   1843                                          RenderbufferID renderbuffer)
   1844 {
   1845    return true;
   1846 }
   1847 
   1848 bool ValidateNamedFramebufferTexture(const Context *context,
   1849                                     angle::EntryPoint entryPoint,
   1850                                     FramebufferID framebuffer,
   1851                                     GLenum attachment,
   1852                                     TextureID texture,
   1853                                     GLint level)
   1854 {
   1855    return true;
   1856 }
   1857 
   1858 bool ValidateNamedFramebufferTextureLayer(const Context *context,
   1859                                          angle::EntryPoint entryPoint,
   1860                                          FramebufferID framebuffer,
   1861                                          GLenum attachment,
   1862                                          TextureID texture,
   1863                                          GLint level,
   1864                                          GLint layer)
   1865 {
   1866    return true;
   1867 }
   1868 
   1869 bool ValidateNamedRenderbufferStorage(const Context *context,
   1870                                      angle::EntryPoint entryPoint,
   1871                                      RenderbufferID renderbuffer,
   1872                                      GLenum internalformat,
   1873                                      GLsizei width,
   1874                                      GLsizei height)
   1875 {
   1876    return true;
   1877 }
   1878 
   1879 bool ValidateNamedRenderbufferStorageMultisample(const Context *context,
   1880                                                 angle::EntryPoint entryPoint,
   1881                                                 RenderbufferID renderbuffer,
   1882                                                 GLsizei samples,
   1883                                                 GLenum internalformat,
   1884                                                 GLsizei width,
   1885                                                 GLsizei height)
   1886 {
   1887    return true;
   1888 }
   1889 
   1890 bool ValidateTextureBarrier(const Context *context, angle::EntryPoint entryPoint)
   1891 {
   1892    return true;
   1893 }
   1894 
   1895 bool ValidateTextureBuffer(const Context *context,
   1896                           angle::EntryPoint entryPoint,
   1897                           TextureID texture,
   1898                           GLenum internalformat,
   1899                           BufferID buffer)
   1900 {
   1901    return true;
   1902 }
   1903 
   1904 bool ValidateTextureBufferRange(const Context *context,
   1905                                angle::EntryPoint entryPoint,
   1906                                TextureID texture,
   1907                                GLenum internalformat,
   1908                                BufferID buffer,
   1909                                GLintptr offset,
   1910                                GLsizeiptr size)
   1911 {
   1912    return true;
   1913 }
   1914 
   1915 bool ValidateTextureParameterIiv(const Context *context,
   1916                                 angle::EntryPoint entryPoint,
   1917                                 TextureID texture,
   1918                                 GLenum pname,
   1919                                 const GLint *params)
   1920 {
   1921    return true;
   1922 }
   1923 
   1924 bool ValidateTextureParameterIuiv(const Context *context,
   1925                                  angle::EntryPoint entryPoint,
   1926                                  TextureID texture,
   1927                                  GLenum pname,
   1928                                  const GLuint *params)
   1929 {
   1930    return true;
   1931 }
   1932 
   1933 bool ValidateTextureParameterf(const Context *context,
   1934                               angle::EntryPoint entryPoint,
   1935                               TextureID texture,
   1936                               GLenum pname,
   1937                               GLfloat param)
   1938 {
   1939    return true;
   1940 }
   1941 
   1942 bool ValidateTextureParameterfv(const Context *context,
   1943                                angle::EntryPoint entryPoint,
   1944                                TextureID texture,
   1945                                GLenum pname,
   1946                                const GLfloat *param)
   1947 {
   1948    return true;
   1949 }
   1950 
   1951 bool ValidateTextureParameteri(const Context *context,
   1952                               angle::EntryPoint entryPoint,
   1953                               TextureID texture,
   1954                               GLenum pname,
   1955                               GLint param)
   1956 {
   1957    return true;
   1958 }
   1959 
   1960 bool ValidateTextureParameteriv(const Context *context,
   1961                                angle::EntryPoint entryPoint,
   1962                                TextureID texture,
   1963                                GLenum pname,
   1964                                const GLint *param)
   1965 {
   1966    return true;
   1967 }
   1968 
   1969 bool ValidateTextureStorage1D(const Context *context,
   1970                              angle::EntryPoint entryPoint,
   1971                              TextureID texture,
   1972                              GLsizei levels,
   1973                              GLenum internalformat,
   1974                              GLsizei width)
   1975 {
   1976    return true;
   1977 }
   1978 
   1979 bool ValidateTextureStorage2D(const Context *context,
   1980                              angle::EntryPoint entryPoint,
   1981                              TextureID texture,
   1982                              GLsizei levels,
   1983                              GLenum internalformat,
   1984                              GLsizei width,
   1985                              GLsizei height)
   1986 {
   1987    return true;
   1988 }
   1989 
   1990 bool ValidateTextureStorage2DMultisample(const Context *context,
   1991                                         angle::EntryPoint entryPoint,
   1992                                         TextureID texture,
   1993                                         GLsizei samples,
   1994                                         GLenum internalformat,
   1995                                         GLsizei width,
   1996                                         GLsizei height,
   1997                                         GLboolean fixedsamplelocations)
   1998 {
   1999    return true;
   2000 }
   2001 
   2002 bool ValidateTextureStorage3D(const Context *context,
   2003                              angle::EntryPoint entryPoint,
   2004                              TextureID texture,
   2005                              GLsizei levels,
   2006                              GLenum internalformat,
   2007                              GLsizei width,
   2008                              GLsizei height,
   2009                              GLsizei depth)
   2010 {
   2011    return true;
   2012 }
   2013 
   2014 bool ValidateTextureStorage3DMultisample(const Context *context,
   2015                                         angle::EntryPoint entryPoint,
   2016                                         TextureID texture,
   2017                                         GLsizei samples,
   2018                                         GLenum internalformat,
   2019                                         GLsizei width,
   2020                                         GLsizei height,
   2021                                         GLsizei depth,
   2022                                         GLboolean fixedsamplelocations)
   2023 {
   2024    return true;
   2025 }
   2026 
   2027 bool ValidateTextureSubImage1D(const Context *context,
   2028                               angle::EntryPoint entryPoint,
   2029                               TextureID texture,
   2030                               GLint level,
   2031                               GLint xoffset,
   2032                               GLsizei width,
   2033                               GLenum format,
   2034                               GLenum type,
   2035                               const void *pixels)
   2036 {
   2037    return true;
   2038 }
   2039 
   2040 bool ValidateTextureSubImage2D(const Context *context,
   2041                               angle::EntryPoint entryPoint,
   2042                               TextureID texture,
   2043                               GLint level,
   2044                               GLint xoffset,
   2045                               GLint yoffset,
   2046                               GLsizei width,
   2047                               GLsizei height,
   2048                               GLenum format,
   2049                               GLenum type,
   2050                               const void *pixels)
   2051 {
   2052    return true;
   2053 }
   2054 
   2055 bool ValidateTextureSubImage3D(const Context *context,
   2056                               angle::EntryPoint entryPoint,
   2057                               TextureID texture,
   2058                               GLint level,
   2059                               GLint xoffset,
   2060                               GLint yoffset,
   2061                               GLint zoffset,
   2062                               GLsizei width,
   2063                               GLsizei height,
   2064                               GLsizei depth,
   2065                               GLenum format,
   2066                               GLenum type,
   2067                               const void *pixels)
   2068 {
   2069    return true;
   2070 }
   2071 
   2072 bool ValidateTransformFeedbackBufferBase(const Context *context,
   2073                                         angle::EntryPoint entryPoint,
   2074                                         GLuint xfb,
   2075                                         GLuint index,
   2076                                         BufferID buffer)
   2077 {
   2078    return true;
   2079 }
   2080 
   2081 bool ValidateTransformFeedbackBufferRange(const Context *context,
   2082                                          angle::EntryPoint entryPoint,
   2083                                          GLuint xfb,
   2084                                          GLuint index,
   2085                                          BufferID buffer,
   2086                                          GLintptr offset,
   2087                                          GLsizeiptr size)
   2088 {
   2089    return true;
   2090 }
   2091 
   2092 bool ValidateUnmapNamedBuffer(const Context *context, angle::EntryPoint entryPoint, BufferID buffer)
   2093 {
   2094    return true;
   2095 }
   2096 
   2097 bool ValidateVertexArrayAttribBinding(const Context *context,
   2098                                      angle::EntryPoint entryPoint,
   2099                                      VertexArrayID vaobj,
   2100                                      GLuint attribindex,
   2101                                      GLuint bindingindex)
   2102 {
   2103    return true;
   2104 }
   2105 
   2106 bool ValidateVertexArrayAttribFormat(const Context *context,
   2107                                     angle::EntryPoint entryPoint,
   2108                                     VertexArrayID vaobj,
   2109                                     GLuint attribindex,
   2110                                     GLint size,
   2111                                     GLenum type,
   2112                                     GLboolean normalized,
   2113                                     GLuint relativeoffset)
   2114 {
   2115    return true;
   2116 }
   2117 
   2118 bool ValidateVertexArrayAttribIFormat(const Context *context,
   2119                                      angle::EntryPoint entryPoint,
   2120                                      VertexArrayID vaobj,
   2121                                      GLuint attribindex,
   2122                                      GLint size,
   2123                                      GLenum type,
   2124                                      GLuint relativeoffset)
   2125 {
   2126    return true;
   2127 }
   2128 
   2129 bool ValidateVertexArrayAttribLFormat(const Context *context,
   2130                                      angle::EntryPoint entryPoint,
   2131                                      VertexArrayID vaobj,
   2132                                      GLuint attribindex,
   2133                                      GLint size,
   2134                                      GLenum type,
   2135                                      GLuint relativeoffset)
   2136 {
   2137    return true;
   2138 }
   2139 
   2140 bool ValidateVertexArrayBindingDivisor(const Context *context,
   2141                                       angle::EntryPoint entryPoint,
   2142                                       VertexArrayID vaobj,
   2143                                       GLuint bindingindex,
   2144                                       GLuint divisor)
   2145 {
   2146    return true;
   2147 }
   2148 
   2149 bool ValidateVertexArrayElementBuffer(const Context *context,
   2150                                      angle::EntryPoint entryPoint,
   2151                                      VertexArrayID vaobj,
   2152                                      BufferID buffer)
   2153 {
   2154    return true;
   2155 }
   2156 
   2157 bool ValidateVertexArrayVertexBuffer(const Context *context,
   2158                                     angle::EntryPoint entryPoint,
   2159                                     VertexArrayID vaobj,
   2160                                     GLuint bindingindex,
   2161                                     BufferID buffer,
   2162                                     GLintptr offset,
   2163                                     GLsizei stride)
   2164 {
   2165    return true;
   2166 }
   2167 
   2168 bool ValidateVertexArrayVertexBuffers(const Context *context,
   2169                                      angle::EntryPoint entryPoint,
   2170                                      VertexArrayID vaobj,
   2171                                      GLuint first,
   2172                                      GLsizei count,
   2173                                      const BufferID *buffers,
   2174                                      const GLintptr *offsets,
   2175                                      const GLsizei *strides)
   2176 {
   2177    return true;
   2178 }
   2179 
   2180 bool ValidateMultiDrawArraysIndirectCount(const Context *context,
   2181                                          angle::EntryPoint entryPoint,
   2182                                          GLenum mode,
   2183                                          const void *indirect,
   2184                                          GLintptr drawcount,
   2185                                          GLsizei maxdrawcount,
   2186                                          GLsizei stride)
   2187 {
   2188    return true;
   2189 }
   2190 
   2191 bool ValidateMultiDrawElementsIndirectCount(const Context *context,
   2192                                            angle::EntryPoint entryPoint,
   2193                                            GLenum mode,
   2194                                            GLenum type,
   2195                                            const void *indirect,
   2196                                            GLintptr drawcount,
   2197                                            GLsizei maxdrawcount,
   2198                                            GLsizei stride)
   2199 {
   2200    return true;
   2201 }
   2202 
   2203 bool ValidatePolygonOffsetClamp(const Context *context,
   2204                                angle::EntryPoint entryPoint,
   2205                                GLfloat factor,
   2206                                GLfloat units,
   2207                                GLfloat clamp)
   2208 {
   2209    return true;
   2210 }
   2211 
   2212 bool ValidateSpecializeShader(const Context *context,
   2213                              angle::EntryPoint entryPoint,
   2214                              GLuint shader,
   2215                              const GLchar *pEntryPoint,
   2216                              GLuint numSpecializationConstants,
   2217                              const GLuint *pConstantIndex,
   2218                              const GLuint *pConstantValue)
   2219 {
   2220    return true;
   2221 }
   2222 
   2223 }  // namespace gl