Home | History | Annotate | Download | only in main
      1 /* DO NOT EDIT - This file generated automatically by gl_genexec.py script */
      2 
      3 /*
      4  * Copyright (C) 2012 Intel Corporation
      5  * All Rights Reserved.
      6  *
      7  * Permission is hereby granted, free of charge, to any person obtaining a
      8  * copy of this software and associated documentation files (the "Software"),
      9  * to deal in the Software without restriction, including without limitation
     10  * the rights to use, copy, modify, merge, publish, distribute, sub license,
     11  * and/or sell copies of the Software, and to permit persons to whom the
     12  * Software is furnished to do so, subject to the following conditions:
     13  *
     14  * The above copyright notice and this permission notice (including the next
     15  * paragraph) shall be included in all copies or substantial portions of the
     16  * Software.
     17  *
     18  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
     19  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
     20  * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.  IN NO EVENT SHALL
     21  * Intel Corporation,
     22  * AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
     23  * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
     24  * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
     25  * SOFTWARE.
     26  */
     27 
     28 /**
     29  * \file api_exec.c
     30  * Initialize dispatch table.
     31  */
     32 
     33 
     34 #include "main/accum.h"
     35 #include "main/api_loopback.h"
     36 #include "main/api_exec.h"
     37 #include "main/arbprogram.h"
     38 #include "main/atifragshader.h"
     39 #include "main/attrib.h"
     40 #include "main/blend.h"
     41 #include "main/blit.h"
     42 #include "main/bufferobj.h"
     43 #include "main/arrayobj.h"
     44 #include "main/bbox.h"
     45 #include "main/buffers.h"
     46 #include "main/clear.h"
     47 #include "main/clip.h"
     48 #include "main/colortab.h"
     49 #include "main/compute.h"
     50 #include "main/condrender.h"
     51 #include "main/context.h"
     52 #include "main/convolve.h"
     53 #include "main/copyimage.h"
     54 #include "main/depth.h"
     55 #include "main/debug_output.h"
     56 #include "main/dlist.h"
     57 #include "main/drawpix.h"
     58 #include "main/drawtex.h"
     59 #include "main/rastpos.h"
     60 #include "main/enable.h"
     61 #include "main/errors.h"
     62 #include "main/es1_conversion.h"
     63 #include "main/eval.h"
     64 #include "main/get.h"
     65 #include "main/feedback.h"
     66 #include "main/fog.h"
     67 #include "main/fbobject.h"
     68 #include "main/framebuffer.h"
     69 #include "main/genmipmap.h"
     70 #include "main/hint.h"
     71 #include "main/histogram.h"
     72 #include "main/imports.h"
     73 #include "main/light.h"
     74 #include "main/lines.h"
     75 #include "main/matrix.h"
     76 #include "main/multisample.h"
     77 #include "main/objectlabel.h"
     78 #include "main/objectpurge.h"
     79 #include "main/performance_monitor.h"
     80 #include "main/pipelineobj.h"
     81 #include "main/pixel.h"
     82 #include "main/pixelstore.h"
     83 #include "main/points.h"
     84 #include "main/polygon.h"
     85 #include "main/program_resource.h"
     86 #include "main/querymatrix.h"
     87 #include "main/queryobj.h"
     88 #include "main/readpix.h"
     89 #include "main/samplerobj.h"
     90 #include "main/scissor.h"
     91 #include "main/stencil.h"
     92 #include "main/texenv.h"
     93 #include "main/texgetimage.h"
     94 #include "main/teximage.h"
     95 #include "main/texgen.h"
     96 #include "main/texobj.h"
     97 #include "main/texparam.h"
     98 #include "main/texstate.h"
     99 #include "main/texstorage.h"
    100 #include "main/barrier.h"
    101 #include "main/textureview.h"
    102 #include "main/transformfeedback.h"
    103 #include "main/mtypes.h"
    104 #include "main/varray.h"
    105 #include "main/viewport.h"
    106 #include "main/shaderapi.h"
    107 #include "main/shaderimage.h"
    108 #include "main/uniforms.h"
    109 #include "main/syncobj.h"
    110 #include "main/formatquery.h"
    111 #include "main/dispatch.h"
    112 #include "main/vdpau.h"
    113 #include "vbo/vbo.h"
    114 
    115 
    116 /**
    117  * Initialize a context's exec table with pointers to Mesa's supported
    118  * GL functions.
    119  *
    120  * This function depends on ctx->Version.
    121  *
    122  * \param ctx  GL context to which \c exec belongs.
    123  */
    124 void
    125 _mesa_initialize_exec_table(struct gl_context *ctx)
    126 {
    127    struct _glapi_table *exec;
    128 
    129    exec = ctx->Exec;
    130    assert(exec != NULL);
    131 
    132    assert(ctx->Version > 0);
    133 
    134    vbo_initialize_exec_dispatch(ctx, exec);
    135 
    136    if ((ctx->API == API_OPENGLES2 && ctx->Version >= 31)) {
    137       SET_DepthRangeArrayfvOES(exec, _mesa_DepthRangeArrayfvOES);
    138       SET_DepthRangeIndexedfOES(exec, _mesa_DepthRangeIndexedfOES);
    139       SET_PrimitiveBoundingBox(exec, _mesa_PrimitiveBoundingBox);
    140    }
    141    if (_mesa_is_desktop_gl(ctx)) {
    142       SET_AttachObjectARB(exec, _mesa_AttachObjectARB);
    143       SET_BeginConditionalRender(exec, _mesa_BeginConditionalRender);
    144       SET_BeginPerfMonitorAMD(exec, _mesa_BeginPerfMonitorAMD);
    145       SET_BeginQueryIndexed(exec, _mesa_BeginQueryIndexed);
    146       SET_BindBufferOffsetEXT(exec, _mesa_BindBufferOffsetEXT);
    147       SET_BindBuffersBase(exec, _mesa_BindBuffersBase);
    148       SET_BindBuffersRange(exec, _mesa_BindBuffersRange);
    149       SET_BindImageTextures(exec, _mesa_BindImageTextures);
    150       SET_BindSamplers(exec, _mesa_BindSamplers);
    151       SET_BindTextures(exec, _mesa_BindTextures);
    152       SET_BindVertexBuffers(exec, _mesa_BindVertexBuffers);
    153       SET_ClampColor(exec, _mesa_ClampColor);
    154       SET_ClearBufferData(exec, _mesa_ClearBufferData);
    155       SET_ClearBufferSubData(exec, _mesa_ClearBufferSubData);
    156       SET_ClearColorIiEXT(exec, _mesa_ClearColorIiEXT);
    157       SET_ClearColorIuiEXT(exec, _mesa_ClearColorIuiEXT);
    158       SET_ClearDepth(exec, _mesa_ClearDepth);
    159       SET_ClearTexImage(exec, _mesa_ClearTexImage);
    160       SET_ClearTexSubImage(exec, _mesa_ClearTexSubImage);
    161       SET_ClipControl(exec, _mesa_ClipControl);
    162       SET_CompressedTexImage1D(exec, _mesa_CompressedTexImage1D);
    163       SET_CompressedTexSubImage1D(exec, _mesa_CompressedTexSubImage1D);
    164       SET_CopyTexImage1D(exec, _mesa_CopyTexImage1D);
    165       SET_CopyTexSubImage1D(exec, _mesa_CopyTexSubImage1D);
    166       SET_CreateProgramObjectARB(exec, _mesa_CreateProgramObjectARB);
    167       SET_CreateShaderObjectARB(exec, _mesa_CreateShaderObjectARB);
    168       SET_DeleteObjectARB(exec, _mesa_DeleteObjectARB);
    169       SET_DeletePerfMonitorsAMD(exec, _mesa_DeletePerfMonitorsAMD);
    170       SET_DepthBoundsEXT(exec, _mesa_DepthBoundsEXT);
    171       SET_DepthRange(exec, _mesa_DepthRange);
    172       SET_DetachObjectARB(exec, _mesa_DetachObjectARB);
    173       SET_DispatchComputeGroupSizeARB(exec, _mesa_DispatchComputeGroupSizeARB);
    174       SET_DrawBuffer(exec, _mesa_DrawBuffer);
    175       SET_EndConditionalRender(exec, _mesa_EndConditionalRender);
    176       SET_EndPerfMonitorAMD(exec, _mesa_EndPerfMonitorAMD);
    177       SET_EndQueryIndexed(exec, _mesa_EndQueryIndexed);
    178       SET_FramebufferTexture1D(exec, _mesa_FramebufferTexture1D);
    179       SET_GenPerfMonitorsAMD(exec, _mesa_GenPerfMonitorsAMD);
    180       SET_GetActiveAtomicCounterBufferiv(exec, _mesa_GetActiveAtomicCounterBufferiv);
    181       SET_GetActiveUniformName(exec, _mesa_GetActiveUniformName);
    182       SET_GetAttachedObjectsARB(exec, _mesa_GetAttachedObjectsARB);
    183       SET_GetBufferSubData(exec, _mesa_GetBufferSubData);
    184       SET_GetCompressedTexImage(exec, _mesa_GetCompressedTexImage);
    185       SET_GetCompressedTextureSubImage(exec, _mesa_GetCompressedTextureSubImage);
    186       SET_GetDoublei_v(exec, _mesa_GetDoublei_v);
    187       SET_GetDoublev(exec, _mesa_GetDoublev);
    188       SET_GetHandleARB(exec, _mesa_GetHandleARB);
    189       SET_GetInfoLogARB(exec, _mesa_GetInfoLogARB);
    190       SET_GetObjectParameterfvARB(exec, _mesa_GetObjectParameterfvARB);
    191       SET_GetObjectParameterivAPPLE(exec, _mesa_GetObjectParameterivAPPLE);
    192       SET_GetObjectParameterivARB(exec, _mesa_GetObjectParameterivARB);
    193       SET_GetPerfMonitorCounterDataAMD(exec, _mesa_GetPerfMonitorCounterDataAMD);
    194       SET_GetPerfMonitorCounterInfoAMD(exec, _mesa_GetPerfMonitorCounterInfoAMD);
    195       SET_GetPerfMonitorCounterStringAMD(exec, _mesa_GetPerfMonitorCounterStringAMD);
    196       SET_GetPerfMonitorCountersAMD(exec, _mesa_GetPerfMonitorCountersAMD);
    197       SET_GetPerfMonitorGroupStringAMD(exec, _mesa_GetPerfMonitorGroupStringAMD);
    198       SET_GetPerfMonitorGroupsAMD(exec, _mesa_GetPerfMonitorGroupsAMD);
    199       SET_GetQueryIndexediv(exec, _mesa_GetQueryIndexediv);
    200       SET_GetQueryObjecti64v(exec, _mesa_GetQueryObjecti64v);
    201       SET_GetQueryObjectiv(exec, _mesa_GetQueryObjectiv);
    202       SET_GetQueryObjectui64v(exec, _mesa_GetQueryObjectui64v);
    203       SET_GetTexImage(exec, _mesa_GetTexImage);
    204       SET_GetTextureSubImage(exec, _mesa_GetTextureSubImage);
    205       SET_GetVertexAttribdv(exec, _mesa_GetVertexAttribdv);
    206       SET_GetnCompressedTexImageARB(exec, _mesa_GetnCompressedTexImageARB);
    207       SET_GetnPolygonStippleARB(exec, _mesa_GetnPolygonStippleARB);
    208       SET_GetnTexImageARB(exec, _mesa_GetnTexImageARB);
    209       SET_GetnUniformdvARB(exec, _mesa_GetnUniformdvARB);
    210       SET_InvalidateBufferData(exec, _mesa_InvalidateBufferData);
    211       SET_InvalidateBufferSubData(exec, _mesa_InvalidateBufferSubData);
    212       SET_InvalidateTexImage(exec, _mesa_InvalidateTexImage);
    213       SET_InvalidateTexSubImage(exec, _mesa_InvalidateTexSubImage);
    214       SET_MultiModeDrawArraysIBM(exec, _mesa_MultiModeDrawArraysIBM);
    215       SET_MultiModeDrawElementsIBM(exec, _mesa_MultiModeDrawElementsIBM);
    216       SET_ObjectPurgeableAPPLE(exec, _mesa_ObjectPurgeableAPPLE);
    217       SET_ObjectUnpurgeableAPPLE(exec, _mesa_ObjectUnpurgeableAPPLE);
    218       SET_PatchParameterfv(exec, _mesa_PatchParameterfv);
    219       SET_PixelStoref(exec, _mesa_PixelStoref);
    220       SET_PointParameteri(exec, _mesa_PointParameteri);
    221       SET_PointParameteriv(exec, _mesa_PointParameteriv);
    222       SET_PolygonMode(exec, _mesa_PolygonMode);
    223       SET_PrimitiveRestartIndex(exec, _mesa_PrimitiveRestartIndex);
    224       SET_ProgramUniform1d(exec, _mesa_ProgramUniform1d);
    225       SET_ProgramUniform1dv(exec, _mesa_ProgramUniform1dv);
    226       SET_ProgramUniform2d(exec, _mesa_ProgramUniform2d);
    227       SET_ProgramUniform2dv(exec, _mesa_ProgramUniform2dv);
    228       SET_ProgramUniform3d(exec, _mesa_ProgramUniform3d);
    229       SET_ProgramUniform3dv(exec, _mesa_ProgramUniform3dv);
    230       SET_ProgramUniform4d(exec, _mesa_ProgramUniform4d);
    231       SET_ProgramUniform4dv(exec, _mesa_ProgramUniform4dv);
    232       SET_ProgramUniformMatrix2dv(exec, _mesa_ProgramUniformMatrix2dv);
    233       SET_ProgramUniformMatrix2x3dv(exec, _mesa_ProgramUniformMatrix2x3dv);
    234       SET_ProgramUniformMatrix2x4dv(exec, _mesa_ProgramUniformMatrix2x4dv);
    235       SET_ProgramUniformMatrix3dv(exec, _mesa_ProgramUniformMatrix3dv);
    236       SET_ProgramUniformMatrix3x2dv(exec, _mesa_ProgramUniformMatrix3x2dv);
    237       SET_ProgramUniformMatrix3x4dv(exec, _mesa_ProgramUniformMatrix3x4dv);
    238       SET_ProgramUniformMatrix4dv(exec, _mesa_ProgramUniformMatrix4dv);
    239       SET_ProgramUniformMatrix4x2dv(exec, _mesa_ProgramUniformMatrix4x2dv);
    240       SET_ProgramUniformMatrix4x3dv(exec, _mesa_ProgramUniformMatrix4x3dv);
    241       SET_ProvokingVertex(exec, _mesa_ProvokingVertex);
    242       SET_QueryCounter(exec, _mesa_QueryCounter);
    243       SET_SelectPerfMonitorCountersAMD(exec, _mesa_SelectPerfMonitorCountersAMD);
    244       SET_ShaderStorageBlockBinding(exec, _mesa_ShaderStorageBlockBinding);
    245       SET_StringMarkerGREMEDY(exec, _mesa_StringMarkerGREMEDY);
    246       SET_TexImage1D(exec, _mesa_TexImage1D);
    247       SET_TexImage2DMultisample(exec, _mesa_TexImage2DMultisample);
    248       SET_TexImage3DMultisample(exec, _mesa_TexImage3DMultisample);
    249       SET_TexStorage1D(exec, _mesa_TexStorage1D);
    250       SET_TexSubImage1D(exec, _mesa_TexSubImage1D);
    251       SET_TextureBarrierNV(exec, _mesa_TextureBarrierNV);
    252       SET_TextureStorage1DEXT(exec, _mesa_TextureStorage1DEXT);
    253       SET_TextureStorage2DEXT(exec, _mesa_TextureStorage2DEXT);
    254       SET_TextureStorage3DEXT(exec, _mesa_TextureStorage3DEXT);
    255       SET_TextureView(exec, _mesa_TextureView);
    256       SET_VDPAUFiniNV(exec, _mesa_VDPAUFiniNV);
    257       SET_VDPAUGetSurfaceivNV(exec, _mesa_VDPAUGetSurfaceivNV);
    258       SET_VDPAUInitNV(exec, _mesa_VDPAUInitNV);
    259       SET_VDPAUIsSurfaceNV(exec, _mesa_VDPAUIsSurfaceNV);
    260       SET_VDPAUMapSurfacesNV(exec, _mesa_VDPAUMapSurfacesNV);
    261       SET_VDPAURegisterOutputSurfaceNV(exec, _mesa_VDPAURegisterOutputSurfaceNV);
    262       SET_VDPAURegisterVideoSurfaceNV(exec, _mesa_VDPAURegisterVideoSurfaceNV);
    263       SET_VDPAUSurfaceAccessNV(exec, _mesa_VDPAUSurfaceAccessNV);
    264       SET_VDPAUUnmapSurfacesNV(exec, _mesa_VDPAUUnmapSurfacesNV);
    265       SET_VDPAUUnregisterSurfaceNV(exec, _mesa_VDPAUUnregisterSurfaceNV);
    266       SET_VertexAttrib1d(exec, _mesa_VertexAttrib1d);
    267       SET_VertexAttrib1dv(exec, _mesa_VertexAttrib1dv);
    268       SET_VertexAttrib1s(exec, _mesa_VertexAttrib1s);
    269       SET_VertexAttrib1sv(exec, _mesa_VertexAttrib1sv);
    270       SET_VertexAttrib2d(exec, _mesa_VertexAttrib2d);
    271       SET_VertexAttrib2dv(exec, _mesa_VertexAttrib2dv);
    272       SET_VertexAttrib2s(exec, _mesa_VertexAttrib2s);
    273       SET_VertexAttrib2sv(exec, _mesa_VertexAttrib2sv);
    274       SET_VertexAttrib3d(exec, _mesa_VertexAttrib3d);
    275       SET_VertexAttrib3dv(exec, _mesa_VertexAttrib3dv);
    276       SET_VertexAttrib3s(exec, _mesa_VertexAttrib3s);
    277       SET_VertexAttrib3sv(exec, _mesa_VertexAttrib3sv);
    278       SET_VertexAttrib4Nbv(exec, _mesa_VertexAttrib4Nbv);
    279       SET_VertexAttrib4Niv(exec, _mesa_VertexAttrib4Niv);
    280       SET_VertexAttrib4Nsv(exec, _mesa_VertexAttrib4Nsv);
    281       SET_VertexAttrib4Nub(exec, _mesa_VertexAttrib4Nub);
    282       SET_VertexAttrib4Nubv(exec, _mesa_VertexAttrib4Nubv);
    283       SET_VertexAttrib4Nuiv(exec, _mesa_VertexAttrib4Nuiv);
    284       SET_VertexAttrib4Nusv(exec, _mesa_VertexAttrib4Nusv);
    285       SET_VertexAttrib4bv(exec, _mesa_VertexAttrib4bv);
    286       SET_VertexAttrib4d(exec, _mesa_VertexAttrib4d);
    287       SET_VertexAttrib4dv(exec, _mesa_VertexAttrib4dv);
    288       SET_VertexAttrib4iv(exec, _mesa_VertexAttrib4iv);
    289       SET_VertexAttrib4s(exec, _mesa_VertexAttrib4s);
    290       SET_VertexAttrib4sv(exec, _mesa_VertexAttrib4sv);
    291       SET_VertexAttrib4ubv(exec, _mesa_VertexAttrib4ubv);
    292       SET_VertexAttrib4uiv(exec, _mesa_VertexAttrib4uiv);
    293       SET_VertexAttrib4usv(exec, _mesa_VertexAttrib4usv);
    294       SET_VertexAttribI1iv(exec, _mesa_VertexAttribI1iv);
    295       SET_VertexAttribI1uiv(exec, _mesa_VertexAttribI1uiv);
    296       SET_VertexAttribI4bv(exec, _mesa_VertexAttribI4bv);
    297       SET_VertexAttribI4sv(exec, _mesa_VertexAttribI4sv);
    298       SET_VertexAttribI4ubv(exec, _mesa_VertexAttribI4ubv);
    299       SET_VertexAttribI4usv(exec, _mesa_VertexAttribI4usv);
    300       SET_VertexAttribLFormat(exec, _mesa_VertexAttribLFormat);
    301    }
    302    if (_mesa_is_desktop_gl(ctx) || (ctx->API == API_OPENGLES2 && ctx->Version >= 30)) {
    303       SET_BeginQuery(exec, _mesa_BeginQuery);
    304       SET_BeginTransformFeedback(exec, _mesa_BeginTransformFeedback);
    305       SET_BindBufferBase(exec, _mesa_BindBufferBase);
    306       SET_BindBufferRange(exec, _mesa_BindBufferRange);
    307       SET_BindFragDataLocation(exec, _mesa_BindFragDataLocation);
    308       SET_BindFragDataLocationIndexed(exec, _mesa_BindFragDataLocationIndexed);
    309       SET_BindSampler(exec, _mesa_BindSampler);
    310       SET_BindTransformFeedback(exec, _mesa_BindTransformFeedback);
    311       SET_BlendEquationSeparateiARB(exec, _mesa_BlendEquationSeparateiARB);
    312       SET_BlendEquationiARB(exec, _mesa_BlendEquationiARB);
    313       SET_BlendFuncSeparateiARB(exec, _mesa_BlendFuncSeparateiARB);
    314       SET_BlendFunciARB(exec, _mesa_BlendFunciARB);
    315       SET_BlitFramebuffer(exec, _mesa_BlitFramebuffer);
    316       SET_ClearBufferfi(exec, _mesa_ClearBufferfi);
    317       SET_ClearBufferfv(exec, _mesa_ClearBufferfv);
    318       SET_ClearBufferiv(exec, _mesa_ClearBufferiv);
    319       SET_ClearBufferuiv(exec, _mesa_ClearBufferuiv);
    320       SET_ClientWaitSync(exec, _mesa_ClientWaitSync);
    321       SET_ColorMaski(exec, _mesa_ColorMaski);
    322       SET_CopyBufferSubData(exec, _mesa_CopyBufferSubData);
    323       SET_CopyImageSubData(exec, _mesa_CopyImageSubData);
    324       SET_DeleteQueries(exec, _mesa_DeleteQueries);
    325       SET_DeleteSamplers(exec, _mesa_DeleteSamplers);
    326       SET_DeleteSync(exec, _mesa_DeleteSync);
    327       SET_DeleteTransformFeedbacks(exec, _mesa_DeleteTransformFeedbacks);
    328       SET_Disablei(exec, _mesa_Disablei);
    329       SET_Enablei(exec, _mesa_Enablei);
    330       SET_EndQuery(exec, _mesa_EndQuery);
    331       SET_EndTransformFeedback(exec, _mesa_EndTransformFeedback);
    332       SET_FenceSync(exec, _mesa_FenceSync);
    333       SET_FramebufferTextureLayer(exec, _mesa_FramebufferTextureLayer);
    334       SET_GenQueries(exec, _mesa_GenQueries);
    335       SET_GenSamplers(exec, _mesa_GenSamplers);
    336       SET_GenTransformFeedbacks(exec, _mesa_GenTransformFeedbacks);
    337       SET_GetActiveUniformBlockName(exec, _mesa_GetActiveUniformBlockName);
    338       SET_GetActiveUniformBlockiv(exec, _mesa_GetActiveUniformBlockiv);
    339       SET_GetActiveUniformsiv(exec, _mesa_GetActiveUniformsiv);
    340       SET_GetBufferParameteri64v(exec, _mesa_GetBufferParameteri64v);
    341       SET_GetFragDataIndex(exec, _mesa_GetFragDataIndex);
    342       SET_GetFragDataLocation(exec, _mesa_GetFragDataLocation);
    343       SET_GetInteger64i_v(exec, _mesa_GetInteger64i_v);
    344       SET_GetInteger64v(exec, _mesa_GetInteger64v);
    345       SET_GetIntegeri_v(exec, _mesa_GetIntegeri_v);
    346       SET_GetInternalformati64v(exec, _mesa_GetInternalformati64v);
    347       SET_GetInternalformativ(exec, _mesa_GetInternalformativ);
    348       SET_GetQueryObjectuiv(exec, _mesa_GetQueryObjectuiv);
    349       SET_GetQueryiv(exec, _mesa_GetQueryiv);
    350       SET_GetSamplerParameterIiv(exec, _mesa_GetSamplerParameterIiv);
    351       SET_GetSamplerParameterIuiv(exec, _mesa_GetSamplerParameterIuiv);
    352       SET_GetSamplerParameterfv(exec, _mesa_GetSamplerParameterfv);
    353       SET_GetSamplerParameteriv(exec, _mesa_GetSamplerParameteriv);
    354       SET_GetStringi(exec, _mesa_GetStringi);
    355       SET_GetSynciv(exec, _mesa_GetSynciv);
    356       SET_GetTexParameterIiv(exec, _mesa_GetTexParameterIiv);
    357       SET_GetTexParameterIuiv(exec, _mesa_GetTexParameterIuiv);
    358       SET_GetTransformFeedbackVarying(exec, _mesa_GetTransformFeedbackVarying);
    359       SET_GetUniformBlockIndex(exec, _mesa_GetUniformBlockIndex);
    360       SET_GetUniformIndices(exec, _mesa_GetUniformIndices);
    361       SET_GetUniformuiv(exec, _mesa_GetUniformuiv);
    362       SET_GetVertexAttribIiv(exec, _mesa_GetVertexAttribIiv);
    363       SET_GetVertexAttribIuiv(exec, _mesa_GetVertexAttribIuiv);
    364       SET_InvalidateFramebuffer(exec, _mesa_InvalidateFramebuffer);
    365       SET_InvalidateSubFramebuffer(exec, _mesa_InvalidateSubFramebuffer);
    366       SET_IsEnabledi(exec, _mesa_IsEnabledi);
    367       SET_IsQuery(exec, _mesa_IsQuery);
    368       SET_IsSampler(exec, _mesa_IsSampler);
    369       SET_IsSync(exec, _mesa_IsSync);
    370       SET_IsTransformFeedback(exec, _mesa_IsTransformFeedback);
    371       SET_MinSampleShading(exec, _mesa_MinSampleShading);
    372       SET_PauseTransformFeedback(exec, _mesa_PauseTransformFeedback);
    373       SET_ProgramUniform1ui(exec, _mesa_ProgramUniform1ui);
    374       SET_ProgramUniform1uiv(exec, _mesa_ProgramUniform1uiv);
    375       SET_ProgramUniform2ui(exec, _mesa_ProgramUniform2ui);
    376       SET_ProgramUniform2uiv(exec, _mesa_ProgramUniform2uiv);
    377       SET_ProgramUniform3ui(exec, _mesa_ProgramUniform3ui);
    378       SET_ProgramUniform3uiv(exec, _mesa_ProgramUniform3uiv);
    379       SET_ProgramUniform4ui(exec, _mesa_ProgramUniform4ui);
    380       SET_ProgramUniform4uiv(exec, _mesa_ProgramUniform4uiv);
    381       SET_RenderbufferStorageMultisample(exec, _mesa_RenderbufferStorageMultisample);
    382       SET_ResumeTransformFeedback(exec, _mesa_ResumeTransformFeedback);
    383       SET_SamplerParameterIiv(exec, _mesa_SamplerParameterIiv);
    384       SET_SamplerParameterIuiv(exec, _mesa_SamplerParameterIuiv);
    385       SET_SamplerParameterf(exec, _mesa_SamplerParameterf);
    386       SET_SamplerParameterfv(exec, _mesa_SamplerParameterfv);
    387       SET_SamplerParameteri(exec, _mesa_SamplerParameteri);
    388       SET_SamplerParameteriv(exec, _mesa_SamplerParameteriv);
    389       SET_TexParameterIiv(exec, _mesa_TexParameterIiv);
    390       SET_TexParameterIuiv(exec, _mesa_TexParameterIuiv);
    391       SET_TexStorage2D(exec, _mesa_TexStorage2D);
    392       SET_TexStorage3D(exec, _mesa_TexStorage3D);
    393       SET_TransformFeedbackVaryings(exec, _mesa_TransformFeedbackVaryings);
    394       SET_Uniform1ui(exec, _mesa_Uniform1ui);
    395       SET_Uniform1uiv(exec, _mesa_Uniform1uiv);
    396       SET_Uniform2ui(exec, _mesa_Uniform2ui);
    397       SET_Uniform2uiv(exec, _mesa_Uniform2uiv);
    398       SET_Uniform3ui(exec, _mesa_Uniform3ui);
    399       SET_Uniform3uiv(exec, _mesa_Uniform3uiv);
    400       SET_Uniform4ui(exec, _mesa_Uniform4ui);
    401       SET_Uniform4uiv(exec, _mesa_Uniform4uiv);
    402       SET_UniformBlockBinding(exec, _mesa_UniformBlockBinding);
    403       SET_UniformMatrix2x3fv(exec, _mesa_UniformMatrix2x3fv);
    404       SET_UniformMatrix2x4fv(exec, _mesa_UniformMatrix2x4fv);
    405       SET_UniformMatrix3x2fv(exec, _mesa_UniformMatrix3x2fv);
    406       SET_UniformMatrix3x4fv(exec, _mesa_UniformMatrix3x4fv);
    407       SET_UniformMatrix4x2fv(exec, _mesa_UniformMatrix4x2fv);
    408       SET_UniformMatrix4x3fv(exec, _mesa_UniformMatrix4x3fv);
    409       SET_VertexAttribDivisor(exec, _mesa_VertexAttribDivisor);
    410       SET_VertexAttribIPointer(exec, _mesa_VertexAttribIPointer);
    411       SET_WaitSync(exec, _mesa_WaitSync);
    412       SET_WindowRectanglesEXT(exec, _mesa_WindowRectanglesEXT);
    413    }
    414    if (_mesa_is_desktop_gl(ctx) || (ctx->API == API_OPENGLES2 && ctx->Version >= 31)) {
    415       SET_BindImageTexture(exec, _mesa_BindImageTexture);
    416       SET_BindVertexBuffer(exec, _mesa_BindVertexBuffer);
    417       SET_BufferStorage(exec, _mesa_BufferStorage);
    418       SET_DispatchCompute(exec, _mesa_DispatchCompute);
    419       SET_DispatchComputeIndirect(exec, _mesa_DispatchComputeIndirect);
    420       SET_GetBooleani_v(exec, _mesa_GetBooleani_v);
    421       SET_GetFloati_v(exec, _mesa_GetFloati_v);
    422       SET_GetFramebufferParameteriv(exec, _mesa_GetFramebufferParameteriv);
    423       SET_GetMultisamplefv(exec, _mesa_GetMultisamplefv);
    424       SET_GetProgramInterfaceiv(exec, _mesa_GetProgramInterfaceiv);
    425       SET_GetProgramResourceIndex(exec, _mesa_GetProgramResourceIndex);
    426       SET_GetProgramResourceLocation(exec, _mesa_GetProgramResourceLocation);
    427       SET_GetProgramResourceLocationIndex(exec, _mesa_GetProgramResourceLocationIndex);
    428       SET_GetProgramResourceName(exec, _mesa_GetProgramResourceName);
    429       SET_GetProgramResourceiv(exec, _mesa_GetProgramResourceiv);
    430       SET_GetTexLevelParameterfv(exec, _mesa_GetTexLevelParameterfv);
    431       SET_GetTexLevelParameteriv(exec, _mesa_GetTexLevelParameteriv);
    432       SET_MemoryBarrier(exec, _mesa_MemoryBarrier);
    433       SET_MemoryBarrierByRegion(exec, _mesa_MemoryBarrierByRegion);
    434       SET_PatchParameteri(exec, _mesa_PatchParameteri);
    435       SET_SampleMaski(exec, _mesa_SampleMaski);
    436       SET_TexStorage2DMultisample(exec, _mesa_TexStorage2DMultisample);
    437       SET_TexStorage3DMultisample(exec, _mesa_TexStorage3DMultisample);
    438       SET_VertexAttribBinding(exec, _mesa_VertexAttribBinding);
    439       SET_VertexAttribFormat(exec, _mesa_VertexAttribFormat);
    440       SET_VertexAttribIFormat(exec, _mesa_VertexAttribIFormat);
    441       SET_VertexBindingDivisor(exec, _mesa_VertexBindingDivisor);
    442    }
    443    if (_mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES) {
    444       SET_LogicOp(exec, _mesa_LogicOp);
    445       SET_PointParameterf(exec, _mesa_PointParameterf);
    446       SET_PointParameterfv(exec, _mesa_PointParameterfv);
    447       SET_PointSize(exec, _mesa_PointSize);
    448    }
    449    if (_mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES || ctx->API == API_OPENGLES2) {
    450       SET_ActiveTexture(exec, _mesa_ActiveTexture);
    451       SET_BindBuffer(exec, _mesa_BindBuffer);
    452       SET_BindFramebuffer(exec, _mesa_BindFramebuffer);
    453       SET_BindRenderbuffer(exec, _mesa_BindRenderbuffer);
    454       SET_BindTexture(exec, _mesa_BindTexture);
    455       SET_BlendEquation(exec, _mesa_BlendEquation);
    456       SET_BlendEquationSeparate(exec, _mesa_BlendEquationSeparate);
    457       SET_BlendFunc(exec, _mesa_BlendFunc);
    458       SET_BlendFuncSeparate(exec, _mesa_BlendFuncSeparate);
    459       SET_BufferData(exec, _mesa_BufferData);
    460       SET_BufferSubData(exec, _mesa_BufferSubData);
    461       SET_CheckFramebufferStatus(exec, _mesa_CheckFramebufferStatus);
    462       SET_Clear(exec, _mesa_Clear);
    463       SET_ClearColor(exec, _mesa_ClearColor);
    464       SET_ClearDepthf(exec, _mesa_ClearDepthf);
    465       SET_ClearStencil(exec, _mesa_ClearStencil);
    466       SET_ColorMask(exec, _mesa_ColorMask);
    467       SET_CompressedTexImage2D(exec, _mesa_CompressedTexImage2D);
    468       SET_CompressedTexSubImage2D(exec, _mesa_CompressedTexSubImage2D);
    469       SET_CopyTexImage2D(exec, _mesa_CopyTexImage2D);
    470       SET_CopyTexSubImage2D(exec, _mesa_CopyTexSubImage2D);
    471       SET_CullFace(exec, _mesa_CullFace);
    472       SET_DebugMessageCallback(exec, _mesa_DebugMessageCallback);
    473       SET_DebugMessageControl(exec, _mesa_DebugMessageControl);
    474       SET_DebugMessageInsert(exec, _mesa_DebugMessageInsert);
    475       SET_DeleteBuffers(exec, _mesa_DeleteBuffers);
    476       SET_DeleteFramebuffers(exec, _mesa_DeleteFramebuffers);
    477       SET_DeleteRenderbuffers(exec, _mesa_DeleteRenderbuffers);
    478       SET_DeleteTextures(exec, _mesa_DeleteTextures);
    479       SET_DepthFunc(exec, _mesa_DepthFunc);
    480       SET_DepthMask(exec, _mesa_DepthMask);
    481       SET_DepthRangef(exec, _mesa_DepthRangef);
    482       SET_Disable(exec, _mesa_Disable);
    483       SET_EGLImageTargetRenderbufferStorageOES(exec, _mesa_EGLImageTargetRenderbufferStorageOES);
    484       SET_EGLImageTargetTexture2DOES(exec, _mesa_EGLImageTargetTexture2DOES);
    485       SET_Enable(exec, _mesa_Enable);
    486       SET_Finish(exec, _mesa_Finish);
    487       SET_Flush(exec, _mesa_Flush);
    488       SET_FlushMappedBufferRange(exec, _mesa_FlushMappedBufferRange);
    489       SET_FramebufferRenderbuffer(exec, _mesa_FramebufferRenderbuffer);
    490       SET_FramebufferTexture2D(exec, _mesa_FramebufferTexture2D);
    491       SET_FrontFace(exec, _mesa_FrontFace);
    492       SET_GenBuffers(exec, _mesa_GenBuffers);
    493       SET_GenFramebuffers(exec, _mesa_GenFramebuffers);
    494       SET_GenRenderbuffers(exec, _mesa_GenRenderbuffers);
    495       SET_GenTextures(exec, _mesa_GenTextures);
    496       SET_GenerateMipmap(exec, _mesa_GenerateMipmap);
    497       SET_GetBooleanv(exec, _mesa_GetBooleanv);
    498       SET_GetBufferParameteriv(exec, _mesa_GetBufferParameteriv);
    499       SET_GetBufferPointerv(exec, _mesa_GetBufferPointerv);
    500       SET_GetDebugMessageLog(exec, _mesa_GetDebugMessageLog);
    501       SET_GetError(exec, _mesa_GetError);
    502       SET_GetFloatv(exec, _mesa_GetFloatv);
    503       SET_GetFramebufferAttachmentParameteriv(exec, _mesa_GetFramebufferAttachmentParameteriv);
    504       SET_GetIntegerv(exec, _mesa_GetIntegerv);
    505       SET_GetObjectLabel(exec, _mesa_GetObjectLabel);
    506       SET_GetObjectPtrLabel(exec, _mesa_GetObjectPtrLabel);
    507       SET_GetPointerv(exec, _mesa_GetPointerv);
    508       SET_GetRenderbufferParameteriv(exec, _mesa_GetRenderbufferParameteriv);
    509       SET_GetString(exec, _mesa_GetString);
    510       SET_GetTexParameterfv(exec, _mesa_GetTexParameterfv);
    511       SET_GetTexParameteriv(exec, _mesa_GetTexParameteriv);
    512       SET_Hint(exec, _mesa_Hint);
    513       SET_IsBuffer(exec, _mesa_IsBuffer);
    514       SET_IsEnabled(exec, _mesa_IsEnabled);
    515       SET_IsFramebuffer(exec, _mesa_IsFramebuffer);
    516       SET_IsRenderbuffer(exec, _mesa_IsRenderbuffer);
    517       SET_IsTexture(exec, _mesa_IsTexture);
    518       SET_LineWidth(exec, _mesa_LineWidth);
    519       SET_MapBuffer(exec, _mesa_MapBuffer);
    520       SET_MapBufferRange(exec, _mesa_MapBufferRange);
    521       SET_MultiDrawArrays(exec, _mesa_MultiDrawArrays);
    522       SET_ObjectLabel(exec, _mesa_ObjectLabel);
    523       SET_ObjectPtrLabel(exec, _mesa_ObjectPtrLabel);
    524       SET_PixelStorei(exec, _mesa_PixelStorei);
    525       SET_PolygonOffset(exec, _mesa_PolygonOffset);
    526       SET_PolygonOffsetClampEXT(exec, _mesa_PolygonOffsetClampEXT);
    527       SET_PopDebugGroup(exec, _mesa_PopDebugGroup);
    528       SET_PushDebugGroup(exec, _mesa_PushDebugGroup);
    529       SET_ReadPixels(exec, _mesa_ReadPixels);
    530       SET_RenderbufferStorage(exec, _mesa_RenderbufferStorage);
    531       SET_SampleCoverage(exec, _mesa_SampleCoverage);
    532       SET_Scissor(exec, _mesa_Scissor);
    533       SET_StencilFunc(exec, _mesa_StencilFunc);
    534       SET_StencilMask(exec, _mesa_StencilMask);
    535       SET_StencilOp(exec, _mesa_StencilOp);
    536       SET_TexImage2D(exec, _mesa_TexImage2D);
    537       SET_TexParameterf(exec, _mesa_TexParameterf);
    538       SET_TexParameterfv(exec, _mesa_TexParameterfv);
    539       SET_TexParameteri(exec, _mesa_TexParameteri);
    540       SET_TexParameteriv(exec, _mesa_TexParameteriv);
    541       SET_TexSubImage2D(exec, _mesa_TexSubImage2D);
    542       SET_UnmapBuffer(exec, _mesa_UnmapBuffer);
    543       SET_Viewport(exec, _mesa_Viewport);
    544    }
    545    if (_mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES2) {
    546       SET_ActiveShaderProgram(exec, _mesa_ActiveShaderProgram);
    547       SET_AttachShader(exec, _mesa_AttachShader);
    548       SET_BeginPerfQueryINTEL(exec, _mesa_BeginPerfQueryINTEL);
    549       SET_BindAttribLocation(exec, _mesa_BindAttribLocation);
    550       SET_BindProgramPipeline(exec, _mesa_BindProgramPipeline);
    551       SET_BindVertexArray(exec, _mesa_BindVertexArray);
    552       SET_BlendBarrier(exec, _mesa_BlendBarrier);
    553       SET_BlendColor(exec, _mesa_BlendColor);
    554       SET_CompileShader(exec, _mesa_CompileShader);
    555       SET_CompressedTexImage3D(exec, _mesa_CompressedTexImage3D);
    556       SET_CompressedTexSubImage3D(exec, _mesa_CompressedTexSubImage3D);
    557       SET_CopyTexSubImage3D(exec, _mesa_CopyTexSubImage3D);
    558       SET_CreatePerfQueryINTEL(exec, _mesa_CreatePerfQueryINTEL);
    559       SET_CreateProgram(exec, _mesa_CreateProgram);
    560       SET_CreateShader(exec, _mesa_CreateShader);
    561       SET_CreateShaderProgramv(exec, _mesa_CreateShaderProgramv);
    562       SET_DeletePerfQueryINTEL(exec, _mesa_DeletePerfQueryINTEL);
    563       SET_DeleteProgram(exec, _mesa_DeleteProgram);
    564       SET_DeleteProgramPipelines(exec, _mesa_DeleteProgramPipelines);
    565       SET_DeleteShader(exec, _mesa_DeleteShader);
    566       SET_DeleteVertexArrays(exec, _mesa_DeleteVertexArrays);
    567       SET_DetachShader(exec, _mesa_DetachShader);
    568       SET_DisableVertexAttribArray(exec, _mesa_DisableVertexAttribArray);
    569       SET_DrawBuffers(exec, _mesa_DrawBuffers);
    570       SET_EnableVertexAttribArray(exec, _mesa_EnableVertexAttribArray);
    571       SET_EndPerfQueryINTEL(exec, _mesa_EndPerfQueryINTEL);
    572       SET_FramebufferTexture3D(exec, _mesa_FramebufferTexture3D);
    573       SET_GenProgramPipelines(exec, _mesa_GenProgramPipelines);
    574       SET_GenVertexArrays(exec, _mesa_GenVertexArrays);
    575       SET_GetActiveAttrib(exec, _mesa_GetActiveAttrib);
    576       SET_GetActiveUniform(exec, _mesa_GetActiveUniform);
    577       SET_GetAttachedShaders(exec, _mesa_GetAttachedShaders);
    578       SET_GetAttribLocation(exec, _mesa_GetAttribLocation);
    579       SET_GetFirstPerfQueryIdINTEL(exec, _mesa_GetFirstPerfQueryIdINTEL);
    580       SET_GetGraphicsResetStatusARB(exec, _mesa_GetGraphicsResetStatusARB);
    581       SET_GetNextPerfQueryIdINTEL(exec, _mesa_GetNextPerfQueryIdINTEL);
    582       SET_GetPerfCounterInfoINTEL(exec, _mesa_GetPerfCounterInfoINTEL);
    583       SET_GetPerfQueryDataINTEL(exec, _mesa_GetPerfQueryDataINTEL);
    584       SET_GetPerfQueryIdByNameINTEL(exec, _mesa_GetPerfQueryIdByNameINTEL);
    585       SET_GetPerfQueryInfoINTEL(exec, _mesa_GetPerfQueryInfoINTEL);
    586       SET_GetProgramBinary(exec, _mesa_GetProgramBinary);
    587       SET_GetProgramInfoLog(exec, _mesa_GetProgramInfoLog);
    588       SET_GetProgramPipelineInfoLog(exec, _mesa_GetProgramPipelineInfoLog);
    589       SET_GetProgramPipelineiv(exec, _mesa_GetProgramPipelineiv);
    590       SET_GetProgramiv(exec, _mesa_GetProgramiv);
    591       SET_GetShaderInfoLog(exec, _mesa_GetShaderInfoLog);
    592       SET_GetShaderPrecisionFormat(exec, _mesa_GetShaderPrecisionFormat);
    593       SET_GetShaderSource(exec, _mesa_GetShaderSource);
    594       SET_GetShaderiv(exec, _mesa_GetShaderiv);
    595       SET_GetUniformLocation(exec, _mesa_GetUniformLocation);
    596       SET_GetUniformfv(exec, _mesa_GetUniformfv);
    597       SET_GetUniformiv(exec, _mesa_GetUniformiv);
    598       SET_GetVertexAttribPointerv(exec, _mesa_GetVertexAttribPointerv);
    599       SET_GetVertexAttribfv(exec, _mesa_GetVertexAttribfv);
    600       SET_GetVertexAttribiv(exec, _mesa_GetVertexAttribiv);
    601       SET_GetnUniformfvARB(exec, _mesa_GetnUniformfvARB);
    602       SET_GetnUniformivARB(exec, _mesa_GetnUniformivARB);
    603       SET_GetnUniformuivARB(exec, _mesa_GetnUniformuivARB);
    604       SET_IsProgram(exec, _mesa_IsProgram);
    605       SET_IsProgramPipeline(exec, _mesa_IsProgramPipeline);
    606       SET_IsShader(exec, _mesa_IsShader);
    607       SET_IsVertexArray(exec, _mesa_IsVertexArray);
    608       SET_LinkProgram(exec, _mesa_LinkProgram);
    609       SET_ProgramBinary(exec, _mesa_ProgramBinary);
    610       SET_ProgramParameteri(exec, _mesa_ProgramParameteri);
    611       SET_ProgramUniform1f(exec, _mesa_ProgramUniform1f);
    612       SET_ProgramUniform1fv(exec, _mesa_ProgramUniform1fv);
    613       SET_ProgramUniform1i(exec, _mesa_ProgramUniform1i);
    614       SET_ProgramUniform1iv(exec, _mesa_ProgramUniform1iv);
    615       SET_ProgramUniform2f(exec, _mesa_ProgramUniform2f);
    616       SET_ProgramUniform2fv(exec, _mesa_ProgramUniform2fv);
    617       SET_ProgramUniform2i(exec, _mesa_ProgramUniform2i);
    618       SET_ProgramUniform2iv(exec, _mesa_ProgramUniform2iv);
    619       SET_ProgramUniform3f(exec, _mesa_ProgramUniform3f);
    620       SET_ProgramUniform3fv(exec, _mesa_ProgramUniform3fv);
    621       SET_ProgramUniform3i(exec, _mesa_ProgramUniform3i);
    622       SET_ProgramUniform3iv(exec, _mesa_ProgramUniform3iv);
    623       SET_ProgramUniform4f(exec, _mesa_ProgramUniform4f);
    624       SET_ProgramUniform4fv(exec, _mesa_ProgramUniform4fv);
    625       SET_ProgramUniform4i(exec, _mesa_ProgramUniform4i);
    626       SET_ProgramUniform4iv(exec, _mesa_ProgramUniform4iv);
    627       SET_ProgramUniformMatrix2fv(exec, _mesa_ProgramUniformMatrix2fv);
    628       SET_ProgramUniformMatrix2x3fv(exec, _mesa_ProgramUniformMatrix2x3fv);
    629       SET_ProgramUniformMatrix2x4fv(exec, _mesa_ProgramUniformMatrix2x4fv);
    630       SET_ProgramUniformMatrix3fv(exec, _mesa_ProgramUniformMatrix3fv);
    631       SET_ProgramUniformMatrix3x2fv(exec, _mesa_ProgramUniformMatrix3x2fv);
    632       SET_ProgramUniformMatrix3x4fv(exec, _mesa_ProgramUniformMatrix3x4fv);
    633       SET_ProgramUniformMatrix4fv(exec, _mesa_ProgramUniformMatrix4fv);
    634       SET_ProgramUniformMatrix4x2fv(exec, _mesa_ProgramUniformMatrix4x2fv);
    635       SET_ProgramUniformMatrix4x3fv(exec, _mesa_ProgramUniformMatrix4x3fv);
    636       SET_ReadBuffer(exec, _mesa_ReadBuffer);
    637       SET_ReadnPixelsARB(exec, _mesa_ReadnPixelsARB);
    638       SET_ReleaseShaderCompiler(exec, _mesa_ReleaseShaderCompiler);
    639       SET_ShaderBinary(exec, _mesa_ShaderBinary);
    640       SET_ShaderSource(exec, _mesa_ShaderSource);
    641       SET_StencilFuncSeparate(exec, _mesa_StencilFuncSeparate);
    642       SET_StencilMaskSeparate(exec, _mesa_StencilMaskSeparate);
    643       SET_StencilOpSeparate(exec, _mesa_StencilOpSeparate);
    644       SET_TexImage3D(exec, _mesa_TexImage3D);
    645       SET_TexSubImage3D(exec, _mesa_TexSubImage3D);
    646       SET_Uniform1f(exec, _mesa_Uniform1f);
    647       SET_Uniform1fv(exec, _mesa_Uniform1fv);
    648       SET_Uniform1i(exec, _mesa_Uniform1i);
    649       SET_Uniform1iv(exec, _mesa_Uniform1iv);
    650       SET_Uniform2f(exec, _mesa_Uniform2f);
    651       SET_Uniform2fv(exec, _mesa_Uniform2fv);
    652       SET_Uniform2i(exec, _mesa_Uniform2i);
    653       SET_Uniform2iv(exec, _mesa_Uniform2iv);
    654       SET_Uniform3f(exec, _mesa_Uniform3f);
    655       SET_Uniform3fv(exec, _mesa_Uniform3fv);
    656       SET_Uniform3i(exec, _mesa_Uniform3i);
    657       SET_Uniform3iv(exec, _mesa_Uniform3iv);
    658       SET_Uniform4f(exec, _mesa_Uniform4f);
    659       SET_Uniform4fv(exec, _mesa_Uniform4fv);
    660       SET_Uniform4i(exec, _mesa_Uniform4i);
    661       SET_Uniform4iv(exec, _mesa_Uniform4iv);
    662       SET_UniformMatrix2fv(exec, _mesa_UniformMatrix2fv);
    663       SET_UniformMatrix3fv(exec, _mesa_UniformMatrix3fv);
    664       SET_UniformMatrix4fv(exec, _mesa_UniformMatrix4fv);
    665       SET_UseProgram(exec, _mesa_UseProgram);
    666       SET_UseProgramStages(exec, _mesa_UseProgramStages);
    667       SET_ValidateProgram(exec, _mesa_ValidateProgram);
    668       SET_ValidateProgramPipeline(exec, _mesa_ValidateProgramPipeline);
    669       SET_VertexAttribPointer(exec, _mesa_VertexAttribPointer);
    670    }
    671    if (ctx->API == API_OPENGLES) {
    672       SET_AlphaFuncx(exec, _mesa_AlphaFuncx);
    673       SET_ClearColorx(exec, _mesa_ClearColorx);
    674       SET_ClearDepthx(exec, _mesa_ClearDepthx);
    675       SET_ClipPlanef(exec, _mesa_ClipPlanef);
    676       SET_ClipPlanex(exec, _mesa_ClipPlanex);
    677       SET_Color4x(exec, _mesa_Color4x);
    678       SET_DepthRangex(exec, _mesa_DepthRangex);
    679       SET_DrawTexfOES(exec, _mesa_DrawTexfOES);
    680       SET_DrawTexfvOES(exec, _mesa_DrawTexfvOES);
    681       SET_DrawTexiOES(exec, _mesa_DrawTexiOES);
    682       SET_DrawTexivOES(exec, _mesa_DrawTexivOES);
    683       SET_DrawTexsOES(exec, _mesa_DrawTexsOES);
    684       SET_DrawTexsvOES(exec, _mesa_DrawTexsvOES);
    685       SET_DrawTexxOES(exec, _mesa_DrawTexxOES);
    686       SET_DrawTexxvOES(exec, _mesa_DrawTexxvOES);
    687       SET_Fogx(exec, _mesa_Fogx);
    688       SET_Fogxv(exec, _mesa_Fogxv);
    689       SET_Frustumf(exec, _mesa_Frustumf);
    690       SET_Frustumx(exec, _mesa_Frustumx);
    691       SET_GetClipPlanef(exec, _mesa_GetClipPlanef);
    692       SET_GetClipPlanex(exec, _mesa_GetClipPlanex);
    693       SET_GetFixedv(exec, _mesa_GetFixedv);
    694       SET_GetLightxv(exec, _mesa_GetLightxv);
    695       SET_GetMaterialxv(exec, _mesa_GetMaterialxv);
    696       SET_GetTexEnvxv(exec, _mesa_GetTexEnvxv);
    697       SET_GetTexGenxvOES(exec, _mesa_GetTexGenxvOES);
    698       SET_GetTexParameterxv(exec, _mesa_GetTexParameterxv);
    699       SET_LightModelx(exec, _mesa_LightModelx);
    700       SET_LightModelxv(exec, _mesa_LightModelxv);
    701       SET_Lightx(exec, _mesa_Lightx);
    702       SET_Lightxv(exec, _mesa_Lightxv);
    703       SET_LineWidthx(exec, _mesa_LineWidthx);
    704       SET_LoadMatrixx(exec, _mesa_LoadMatrixx);
    705       SET_Materialx(exec, _mesa_Materialx);
    706       SET_Materialxv(exec, _mesa_Materialxv);
    707       SET_MultMatrixx(exec, _mesa_MultMatrixx);
    708       SET_MultiTexCoord4x(exec, _mesa_MultiTexCoord4x);
    709       SET_Normal3x(exec, _mesa_Normal3x);
    710       SET_Orthof(exec, _mesa_Orthof);
    711       SET_Orthox(exec, _mesa_Orthox);
    712       SET_PointParameterx(exec, _mesa_PointParameterx);
    713       SET_PointParameterxv(exec, _mesa_PointParameterxv);
    714       SET_PointSizePointerOES(exec, _mesa_PointSizePointerOES);
    715       SET_PointSizex(exec, _mesa_PointSizex);
    716       SET_PolygonOffsetx(exec, _mesa_PolygonOffsetx);
    717       SET_QueryMatrixxOES(exec, _mesa_QueryMatrixxOES);
    718       SET_Rotatex(exec, _mesa_Rotatex);
    719       SET_SampleCoveragex(exec, _mesa_SampleCoveragex);
    720       SET_Scalex(exec, _mesa_Scalex);
    721       SET_TexEnvx(exec, _mesa_TexEnvx);
    722       SET_TexEnvxv(exec, _mesa_TexEnvxv);
    723       SET_TexGenxOES(exec, _mesa_TexGenxOES);
    724       SET_TexGenxvOES(exec, _mesa_TexGenxvOES);
    725       SET_TexParameterx(exec, _mesa_TexParameterx);
    726       SET_TexParameterxv(exec, _mesa_TexParameterxv);
    727       SET_Translatex(exec, _mesa_Translatex);
    728    }
    729    if (ctx->API == API_OPENGLES || ctx->API == API_OPENGLES2) {
    730       SET_DiscardFramebufferEXT(exec, _mesa_DiscardFramebufferEXT);
    731    }
    732    if (ctx->API == API_OPENGL_COMPAT) {
    733       SET_Accum(exec, _mesa_Accum);
    734       SET_ActiveStencilFaceEXT(exec, _mesa_ActiveStencilFaceEXT);
    735       SET_AlphaFragmentOp1ATI(exec, _mesa_AlphaFragmentOp1ATI);
    736       SET_AlphaFragmentOp2ATI(exec, _mesa_AlphaFragmentOp2ATI);
    737       SET_AlphaFragmentOp3ATI(exec, _mesa_AlphaFragmentOp3ATI);
    738       SET_AreTexturesResident(exec, _mesa_AreTexturesResident);
    739       SET_BeginFragmentShaderATI(exec, _mesa_BeginFragmentShaderATI);
    740       SET_BindFragmentShaderATI(exec, _mesa_BindFragmentShaderATI);
    741       SET_BindFramebufferEXT(exec, _mesa_BindFramebufferEXT);
    742       SET_BindProgramARB(exec, _mesa_BindProgramARB);
    743       SET_BindRenderbufferEXT(exec, _mesa_BindRenderbufferEXT);
    744       SET_BindVertexArrayAPPLE(exec, _mesa_BindVertexArrayAPPLE);
    745       SET_Bitmap(exec, _mesa_Bitmap);
    746       SET_CallList(exec, _mesa_CallList);
    747       SET_CallLists(exec, _mesa_CallLists);
    748       SET_ClearAccum(exec, _mesa_ClearAccum);
    749       SET_ClearIndex(exec, _mesa_ClearIndex);
    750       SET_ClipPlane(exec, _mesa_ClipPlane);
    751       SET_Color3b(exec, _mesa_Color3b);
    752       SET_Color3bv(exec, _mesa_Color3bv);
    753       SET_Color3d(exec, _mesa_Color3d);
    754       SET_Color3dv(exec, _mesa_Color3dv);
    755       SET_Color3i(exec, _mesa_Color3i);
    756       SET_Color3iv(exec, _mesa_Color3iv);
    757       SET_Color3s(exec, _mesa_Color3s);
    758       SET_Color3sv(exec, _mesa_Color3sv);
    759       SET_Color3ub(exec, _mesa_Color3ub);
    760       SET_Color3ubv(exec, _mesa_Color3ubv);
    761       SET_Color3ui(exec, _mesa_Color3ui);
    762       SET_Color3uiv(exec, _mesa_Color3uiv);
    763       SET_Color3us(exec, _mesa_Color3us);
    764       SET_Color3usv(exec, _mesa_Color3usv);
    765       SET_Color4b(exec, _mesa_Color4b);
    766       SET_Color4bv(exec, _mesa_Color4bv);
    767       SET_Color4d(exec, _mesa_Color4d);
    768       SET_Color4dv(exec, _mesa_Color4dv);
    769       SET_Color4i(exec, _mesa_Color4i);
    770       SET_Color4iv(exec, _mesa_Color4iv);
    771       SET_Color4s(exec, _mesa_Color4s);
    772       SET_Color4sv(exec, _mesa_Color4sv);
    773       SET_Color4ubv(exec, _mesa_Color4ubv);
    774       SET_Color4ui(exec, _mesa_Color4ui);
    775       SET_Color4uiv(exec, _mesa_Color4uiv);
    776       SET_Color4us(exec, _mesa_Color4us);
    777       SET_Color4usv(exec, _mesa_Color4usv);
    778       SET_ColorFragmentOp1ATI(exec, _mesa_ColorFragmentOp1ATI);
    779       SET_ColorFragmentOp2ATI(exec, _mesa_ColorFragmentOp2ATI);
    780       SET_ColorFragmentOp3ATI(exec, _mesa_ColorFragmentOp3ATI);
    781       SET_ColorMaterial(exec, _mesa_ColorMaterial);
    782       SET_ColorPointerEXT(exec, _mesa_ColorPointerEXT);
    783       SET_ColorSubTable(exec, _mesa_ColorSubTable);
    784       SET_ColorTable(exec, _mesa_ColorTable);
    785       SET_ColorTableParameterfv(exec, _mesa_ColorTableParameterfv);
    786       SET_ColorTableParameteriv(exec, _mesa_ColorTableParameteriv);
    787       SET_ConvolutionFilter1D(exec, _mesa_ConvolutionFilter1D);
    788       SET_ConvolutionFilter2D(exec, _mesa_ConvolutionFilter2D);
    789       SET_ConvolutionParameterf(exec, _mesa_ConvolutionParameterf);
    790       SET_ConvolutionParameterfv(exec, _mesa_ConvolutionParameterfv);
    791       SET_ConvolutionParameteri(exec, _mesa_ConvolutionParameteri);
    792       SET_ConvolutionParameteriv(exec, _mesa_ConvolutionParameteriv);
    793       SET_CopyColorSubTable(exec, _mesa_CopyColorSubTable);
    794       SET_CopyColorTable(exec, _mesa_CopyColorTable);
    795       SET_CopyConvolutionFilter1D(exec, _mesa_CopyConvolutionFilter1D);
    796       SET_CopyConvolutionFilter2D(exec, _mesa_CopyConvolutionFilter2D);
    797       SET_CopyPixels(exec, _mesa_CopyPixels);
    798       SET_DeleteFragmentShaderATI(exec, _mesa_DeleteFragmentShaderATI);
    799       SET_DeleteLists(exec, _mesa_DeleteLists);
    800       SET_DeleteProgramsARB(exec, _mesa_DeleteProgramsARB);
    801       SET_DrawPixels(exec, _mesa_DrawPixels);
    802       SET_EdgeFlagPointer(exec, _mesa_EdgeFlagPointer);
    803       SET_EdgeFlagPointerEXT(exec, _mesa_EdgeFlagPointerEXT);
    804       SET_EdgeFlagv(exec, _mesa_EdgeFlagv);
    805       SET_EndFragmentShaderATI(exec, _mesa_EndFragmentShaderATI);
    806       SET_EndList(exec, _mesa_EndList);
    807       SET_EvalCoord1d(exec, _mesa_EvalCoord1d);
    808       SET_EvalCoord1dv(exec, _mesa_EvalCoord1dv);
    809       SET_EvalCoord1fv(exec, _mesa_EvalCoord1fv);
    810       SET_EvalCoord2d(exec, _mesa_EvalCoord2d);
    811       SET_EvalCoord2dv(exec, _mesa_EvalCoord2dv);
    812       SET_EvalCoord2fv(exec, _mesa_EvalCoord2fv);
    813       SET_FeedbackBuffer(exec, _mesa_FeedbackBuffer);
    814       SET_FogCoordPointer(exec, _mesa_FogCoordPointer);
    815       SET_FogCoordd(exec, _mesa_FogCoordd);
    816       SET_FogCoorddv(exec, _mesa_FogCoorddv);
    817       SET_Fogi(exec, _mesa_Fogi);
    818       SET_Fogiv(exec, _mesa_Fogiv);
    819       SET_Frustum(exec, _mesa_Frustum);
    820       SET_GenFragmentShadersATI(exec, _mesa_GenFragmentShadersATI);
    821       SET_GenLists(exec, _mesa_GenLists);
    822       SET_GenProgramsARB(exec, _mesa_GenProgramsARB);
    823       SET_GenVertexArraysAPPLE(exec, _mesa_GenVertexArraysAPPLE);
    824       SET_GetClipPlane(exec, _mesa_GetClipPlane);
    825       SET_GetColorTable(exec, _mesa_GetColorTable);
    826       SET_GetColorTableParameterfv(exec, _mesa_GetColorTableParameterfv);
    827       SET_GetColorTableParameteriv(exec, _mesa_GetColorTableParameteriv);
    828       SET_GetConvolutionFilter(exec, _mesa_GetConvolutionFilter);
    829       SET_GetConvolutionParameterfv(exec, _mesa_GetConvolutionParameterfv);
    830       SET_GetConvolutionParameteriv(exec, _mesa_GetConvolutionParameteriv);
    831       SET_GetHistogram(exec, _mesa_GetHistogram);
    832       SET_GetHistogramParameterfv(exec, _mesa_GetHistogramParameterfv);
    833       SET_GetHistogramParameteriv(exec, _mesa_GetHistogramParameteriv);
    834       SET_GetLightiv(exec, _mesa_GetLightiv);
    835       SET_GetMapdv(exec, _mesa_GetMapdv);
    836       SET_GetMapfv(exec, _mesa_GetMapfv);
    837       SET_GetMapiv(exec, _mesa_GetMapiv);
    838       SET_GetMaterialiv(exec, _mesa_GetMaterialiv);
    839       SET_GetMinmax(exec, _mesa_GetMinmax);
    840       SET_GetMinmaxParameterfv(exec, _mesa_GetMinmaxParameterfv);
    841       SET_GetMinmaxParameteriv(exec, _mesa_GetMinmaxParameteriv);
    842       SET_GetPixelMapfv(exec, _mesa_GetPixelMapfv);
    843       SET_GetPixelMapuiv(exec, _mesa_GetPixelMapuiv);
    844       SET_GetPixelMapusv(exec, _mesa_GetPixelMapusv);
    845       SET_GetPolygonStipple(exec, _mesa_GetPolygonStipple);
    846       SET_GetProgramEnvParameterdvARB(exec, _mesa_GetProgramEnvParameterdvARB);
    847       SET_GetProgramEnvParameterfvARB(exec, _mesa_GetProgramEnvParameterfvARB);
    848       SET_GetProgramLocalParameterdvARB(exec, _mesa_GetProgramLocalParameterdvARB);
    849       SET_GetProgramLocalParameterfvARB(exec, _mesa_GetProgramLocalParameterfvARB);
    850       SET_GetProgramStringARB(exec, _mesa_GetProgramStringARB);
    851       SET_GetProgramivARB(exec, _mesa_GetProgramivARB);
    852       SET_GetSeparableFilter(exec, _mesa_GetSeparableFilter);
    853       SET_GetTexGendv(exec, _mesa_GetTexGendv);
    854       SET_GetnColorTableARB(exec, _mesa_GetnColorTableARB);
    855       SET_GetnConvolutionFilterARB(exec, _mesa_GetnConvolutionFilterARB);
    856       SET_GetnHistogramARB(exec, _mesa_GetnHistogramARB);
    857       SET_GetnMapdvARB(exec, _mesa_GetnMapdvARB);
    858       SET_GetnMapfvARB(exec, _mesa_GetnMapfvARB);
    859       SET_GetnMapivARB(exec, _mesa_GetnMapivARB);
    860       SET_GetnMinmaxARB(exec, _mesa_GetnMinmaxARB);
    861       SET_GetnPixelMapfvARB(exec, _mesa_GetnPixelMapfvARB);
    862       SET_GetnPixelMapuivARB(exec, _mesa_GetnPixelMapuivARB);
    863       SET_GetnPixelMapusvARB(exec, _mesa_GetnPixelMapusvARB);
    864       SET_GetnSeparableFilterARB(exec, _mesa_GetnSeparableFilterARB);
    865       SET_Histogram(exec, _mesa_Histogram);
    866       SET_IndexMask(exec, _mesa_IndexMask);
    867       SET_IndexPointer(exec, _mesa_IndexPointer);
    868       SET_IndexPointerEXT(exec, _mesa_IndexPointerEXT);
    869       SET_Indexd(exec, _mesa_Indexd);
    870       SET_Indexdv(exec, _mesa_Indexdv);
    871       SET_Indexi(exec, _mesa_Indexi);
    872       SET_Indexiv(exec, _mesa_Indexiv);
    873       SET_Indexs(exec, _mesa_Indexs);
    874       SET_Indexsv(exec, _mesa_Indexsv);
    875       SET_Indexub(exec, _mesa_Indexub);
    876       SET_Indexubv(exec, _mesa_Indexubv);
    877       SET_InitNames(exec, _mesa_InitNames);
    878       SET_InterleavedArrays(exec, _mesa_InterleavedArrays);
    879       SET_IsList(exec, _mesa_IsList);
    880       SET_IsProgramARB(exec, _mesa_IsProgramARB);
    881       SET_LightModeli(exec, _mesa_LightModeli);
    882       SET_LightModeliv(exec, _mesa_LightModeliv);
    883       SET_Lighti(exec, _mesa_Lighti);
    884       SET_Lightiv(exec, _mesa_Lightiv);
    885       SET_LineStipple(exec, _mesa_LineStipple);
    886       SET_ListBase(exec, _mesa_ListBase);
    887       SET_LoadMatrixd(exec, _mesa_LoadMatrixd);
    888       SET_LoadName(exec, _mesa_LoadName);
    889       SET_LoadTransposeMatrixd(exec, _mesa_LoadTransposeMatrixd);
    890       SET_LoadTransposeMatrixf(exec, _mesa_LoadTransposeMatrixf);
    891       SET_LockArraysEXT(exec, _mesa_LockArraysEXT);
    892       SET_Map1d(exec, _mesa_Map1d);
    893       SET_Map1f(exec, _mesa_Map1f);
    894       SET_Map2d(exec, _mesa_Map2d);
    895       SET_Map2f(exec, _mesa_Map2f);
    896       SET_MapGrid1d(exec, _mesa_MapGrid1d);
    897       SET_MapGrid1f(exec, _mesa_MapGrid1f);
    898       SET_MapGrid2d(exec, _mesa_MapGrid2d);
    899       SET_MapGrid2f(exec, _mesa_MapGrid2f);
    900       SET_Materiali(exec, _mesa_Materiali);
    901       SET_Materialiv(exec, _mesa_Materialiv);
    902       SET_Minmax(exec, _mesa_Minmax);
    903       SET_MultMatrixd(exec, _mesa_MultMatrixd);
    904       SET_MultTransposeMatrixd(exec, _mesa_MultTransposeMatrixd);
    905       SET_MultTransposeMatrixf(exec, _mesa_MultTransposeMatrixf);
    906       SET_MultiTexCoord1d(exec, _mesa_MultiTexCoord1d);
    907       SET_MultiTexCoord1dv(exec, _mesa_MultiTexCoord1dv);
    908       SET_MultiTexCoord1i(exec, _mesa_MultiTexCoord1i);
    909       SET_MultiTexCoord1iv(exec, _mesa_MultiTexCoord1iv);
    910       SET_MultiTexCoord1s(exec, _mesa_MultiTexCoord1s);
    911       SET_MultiTexCoord1sv(exec, _mesa_MultiTexCoord1sv);
    912       SET_MultiTexCoord2d(exec, _mesa_MultiTexCoord2d);
    913       SET_MultiTexCoord2dv(exec, _mesa_MultiTexCoord2dv);
    914       SET_MultiTexCoord2i(exec, _mesa_MultiTexCoord2i);
    915       SET_MultiTexCoord2iv(exec, _mesa_MultiTexCoord2iv);
    916       SET_MultiTexCoord2s(exec, _mesa_MultiTexCoord2s);
    917       SET_MultiTexCoord2sv(exec, _mesa_MultiTexCoord2sv);
    918       SET_MultiTexCoord3d(exec, _mesa_MultiTexCoord3d);
    919       SET_MultiTexCoord3dv(exec, _mesa_MultiTexCoord3dv);
    920       SET_MultiTexCoord3i(exec, _mesa_MultiTexCoord3i);
    921       SET_MultiTexCoord3iv(exec, _mesa_MultiTexCoord3iv);
    922       SET_MultiTexCoord3s(exec, _mesa_MultiTexCoord3s);
    923       SET_MultiTexCoord3sv(exec, _mesa_MultiTexCoord3sv);
    924       SET_MultiTexCoord4d(exec, _mesa_MultiTexCoord4d);
    925       SET_MultiTexCoord4dv(exec, _mesa_MultiTexCoord4dv);
    926       SET_MultiTexCoord4i(exec, _mesa_MultiTexCoord4i);
    927       SET_MultiTexCoord4iv(exec, _mesa_MultiTexCoord4iv);
    928       SET_MultiTexCoord4s(exec, _mesa_MultiTexCoord4s);
    929       SET_MultiTexCoord4sv(exec, _mesa_MultiTexCoord4sv);
    930       SET_NewList(exec, _mesa_NewList);
    931       SET_Normal3b(exec, _mesa_Normal3b);
    932       SET_Normal3bv(exec, _mesa_Normal3bv);
    933       SET_Normal3d(exec, _mesa_Normal3d);
    934       SET_Normal3dv(exec, _mesa_Normal3dv);
    935       SET_Normal3i(exec, _mesa_Normal3i);
    936       SET_Normal3iv(exec, _mesa_Normal3iv);
    937       SET_Normal3s(exec, _mesa_Normal3s);
    938       SET_Normal3sv(exec, _mesa_Normal3sv);
    939       SET_NormalPointerEXT(exec, _mesa_NormalPointerEXT);
    940       SET_Ortho(exec, _mesa_Ortho);
    941       SET_PassTexCoordATI(exec, _mesa_PassTexCoordATI);
    942       SET_PassThrough(exec, _mesa_PassThrough);
    943       SET_PixelMapfv(exec, _mesa_PixelMapfv);
    944       SET_PixelMapuiv(exec, _mesa_PixelMapuiv);
    945       SET_PixelMapusv(exec, _mesa_PixelMapusv);
    946       SET_PixelTransferf(exec, _mesa_PixelTransferf);
    947       SET_PixelTransferi(exec, _mesa_PixelTransferi);
    948       SET_PixelZoom(exec, _mesa_PixelZoom);
    949       SET_PolygonOffsetEXT(exec, _mesa_PolygonOffsetEXT);
    950       SET_PolygonStipple(exec, _mesa_PolygonStipple);
    951       SET_PopAttrib(exec, _mesa_PopAttrib);
    952       SET_PopClientAttrib(exec, _mesa_PopClientAttrib);
    953       SET_PopName(exec, _mesa_PopName);
    954       SET_PrioritizeTextures(exec, _mesa_PrioritizeTextures);
    955       SET_ProgramEnvParameter4dARB(exec, _mesa_ProgramEnvParameter4dARB);
    956       SET_ProgramEnvParameter4dvARB(exec, _mesa_ProgramEnvParameter4dvARB);
    957       SET_ProgramEnvParameter4fARB(exec, _mesa_ProgramEnvParameter4fARB);
    958       SET_ProgramEnvParameter4fvARB(exec, _mesa_ProgramEnvParameter4fvARB);
    959       SET_ProgramEnvParameters4fvEXT(exec, _mesa_ProgramEnvParameters4fvEXT);
    960       SET_ProgramLocalParameter4dARB(exec, _mesa_ProgramLocalParameter4dARB);
    961       SET_ProgramLocalParameter4dvARB(exec, _mesa_ProgramLocalParameter4dvARB);
    962       SET_ProgramLocalParameter4fARB(exec, _mesa_ProgramLocalParameter4fARB);
    963       SET_ProgramLocalParameter4fvARB(exec, _mesa_ProgramLocalParameter4fvARB);
    964       SET_ProgramLocalParameters4fvEXT(exec, _mesa_ProgramLocalParameters4fvEXT);
    965       SET_ProgramStringARB(exec, _mesa_ProgramStringARB);
    966       SET_PushAttrib(exec, _mesa_PushAttrib);
    967       SET_PushClientAttrib(exec, _mesa_PushClientAttrib);
    968       SET_PushName(exec, _mesa_PushName);
    969       SET_RasterPos2d(exec, _mesa_RasterPos2d);
    970       SET_RasterPos2dv(exec, _mesa_RasterPos2dv);
    971       SET_RasterPos2f(exec, _mesa_RasterPos2f);
    972       SET_RasterPos2fv(exec, _mesa_RasterPos2fv);
    973       SET_RasterPos2i(exec, _mesa_RasterPos2i);
    974       SET_RasterPos2iv(exec, _mesa_RasterPos2iv);
    975       SET_RasterPos2s(exec, _mesa_RasterPos2s);
    976       SET_RasterPos2sv(exec, _mesa_RasterPos2sv);
    977       SET_RasterPos3d(exec, _mesa_RasterPos3d);
    978       SET_RasterPos3dv(exec, _mesa_RasterPos3dv);
    979       SET_RasterPos3f(exec, _mesa_RasterPos3f);
    980       SET_RasterPos3fv(exec, _mesa_RasterPos3fv);
    981       SET_RasterPos3i(exec, _mesa_RasterPos3i);
    982       SET_RasterPos3iv(exec, _mesa_RasterPos3iv);
    983       SET_RasterPos3s(exec, _mesa_RasterPos3s);
    984       SET_RasterPos3sv(exec, _mesa_RasterPos3sv);
    985       SET_RasterPos4d(exec, _mesa_RasterPos4d);
    986       SET_RasterPos4dv(exec, _mesa_RasterPos4dv);
    987       SET_RasterPos4f(exec, _mesa_RasterPos4f);
    988       SET_RasterPos4fv(exec, _mesa_RasterPos4fv);
    989       SET_RasterPos4i(exec, _mesa_RasterPos4i);
    990       SET_RasterPos4iv(exec, _mesa_RasterPos4iv);
    991       SET_RasterPos4s(exec, _mesa_RasterPos4s);
    992       SET_RasterPos4sv(exec, _mesa_RasterPos4sv);
    993       SET_Rectd(exec, _mesa_Rectd);
    994       SET_Rectdv(exec, _mesa_Rectdv);
    995       SET_Rectfv(exec, _mesa_Rectfv);
    996       SET_Recti(exec, _mesa_Recti);
    997       SET_Rectiv(exec, _mesa_Rectiv);
    998       SET_Rects(exec, _mesa_Rects);
    999       SET_Rectsv(exec, _mesa_Rectsv);
   1000       SET_RenderMode(exec, _mesa_RenderMode);
   1001       SET_ResetHistogram(exec, _mesa_ResetHistogram);
   1002       SET_ResetMinmax(exec, _mesa_ResetMinmax);
   1003       SET_Rotated(exec, _mesa_Rotated);
   1004       SET_SampleMapATI(exec, _mesa_SampleMapATI);
   1005       SET_Scaled(exec, _mesa_Scaled);
   1006       SET_SecondaryColor3b(exec, _mesa_SecondaryColor3b);
   1007       SET_SecondaryColor3bv(exec, _mesa_SecondaryColor3bv);
   1008       SET_SecondaryColor3d(exec, _mesa_SecondaryColor3d);
   1009       SET_SecondaryColor3dv(exec, _mesa_SecondaryColor3dv);
   1010       SET_SecondaryColor3i(exec, _mesa_SecondaryColor3i);
   1011       SET_SecondaryColor3iv(exec, _mesa_SecondaryColor3iv);
   1012       SET_SecondaryColor3s(exec, _mesa_SecondaryColor3s);
   1013       SET_SecondaryColor3sv(exec, _mesa_SecondaryColor3sv);
   1014       SET_SecondaryColor3ub(exec, _mesa_SecondaryColor3ub);
   1015       SET_SecondaryColor3ubv(exec, _mesa_SecondaryColor3ubv);
   1016       SET_SecondaryColor3ui(exec, _mesa_SecondaryColor3ui);
   1017       SET_SecondaryColor3uiv(exec, _mesa_SecondaryColor3uiv);
   1018       SET_SecondaryColor3us(exec, _mesa_SecondaryColor3us);
   1019       SET_SecondaryColor3usv(exec, _mesa_SecondaryColor3usv);
   1020       SET_SecondaryColorPointer(exec, _mesa_SecondaryColorPointer);
   1021       SET_SelectBuffer(exec, _mesa_SelectBuffer);
   1022       SET_SeparableFilter2D(exec, _mesa_SeparableFilter2D);
   1023       SET_SetFragmentShaderConstantATI(exec, _mesa_SetFragmentShaderConstantATI);
   1024       SET_StencilFuncSeparateATI(exec, _mesa_StencilFuncSeparateATI);
   1025       SET_TexCoord1d(exec, _mesa_TexCoord1d);
   1026       SET_TexCoord1dv(exec, _mesa_TexCoord1dv);
   1027       SET_TexCoord1i(exec, _mesa_TexCoord1i);
   1028       SET_TexCoord1iv(exec, _mesa_TexCoord1iv);
   1029       SET_TexCoord1s(exec, _mesa_TexCoord1s);
   1030       SET_TexCoord1sv(exec, _mesa_TexCoord1sv);
   1031       SET_TexCoord2d(exec, _mesa_TexCoord2d);
   1032       SET_TexCoord2dv(exec, _mesa_TexCoord2dv);
   1033       SET_TexCoord2i(exec, _mesa_TexCoord2i);
   1034       SET_TexCoord2iv(exec, _mesa_TexCoord2iv);
   1035       SET_TexCoord2s(exec, _mesa_TexCoord2s);
   1036       SET_TexCoord2sv(exec, _mesa_TexCoord2sv);
   1037       SET_TexCoord3d(exec, _mesa_TexCoord3d);
   1038       SET_TexCoord3dv(exec, _mesa_TexCoord3dv);
   1039       SET_TexCoord3i(exec, _mesa_TexCoord3i);
   1040       SET_TexCoord3iv(exec, _mesa_TexCoord3iv);
   1041       SET_TexCoord3s(exec, _mesa_TexCoord3s);
   1042       SET_TexCoord3sv(exec, _mesa_TexCoord3sv);
   1043       SET_TexCoord4d(exec, _mesa_TexCoord4d);
   1044       SET_TexCoord4dv(exec, _mesa_TexCoord4dv);
   1045       SET_TexCoord4i(exec, _mesa_TexCoord4i);
   1046       SET_TexCoord4iv(exec, _mesa_TexCoord4iv);
   1047       SET_TexCoord4s(exec, _mesa_TexCoord4s);
   1048       SET_TexCoord4sv(exec, _mesa_TexCoord4sv);
   1049       SET_TexCoordPointerEXT(exec, _mesa_TexCoordPointerEXT);
   1050       SET_TexGend(exec, _mesa_TexGend);
   1051       SET_TexGendv(exec, _mesa_TexGendv);
   1052       SET_Translated(exec, _mesa_Translated);
   1053       SET_UnlockArraysEXT(exec, _mesa_UnlockArraysEXT);
   1054       SET_Vertex2d(exec, _mesa_Vertex2d);
   1055       SET_Vertex2dv(exec, _mesa_Vertex2dv);
   1056       SET_Vertex2i(exec, _mesa_Vertex2i);
   1057       SET_Vertex2iv(exec, _mesa_Vertex2iv);
   1058       SET_Vertex2s(exec, _mesa_Vertex2s);
   1059       SET_Vertex2sv(exec, _mesa_Vertex2sv);
   1060       SET_Vertex3d(exec, _mesa_Vertex3d);
   1061       SET_Vertex3dv(exec, _mesa_Vertex3dv);
   1062       SET_Vertex3i(exec, _mesa_Vertex3i);
   1063       SET_Vertex3iv(exec, _mesa_Vertex3iv);
   1064       SET_Vertex3s(exec, _mesa_Vertex3s);
   1065       SET_Vertex3sv(exec, _mesa_Vertex3sv);
   1066       SET_Vertex4d(exec, _mesa_Vertex4d);
   1067       SET_Vertex4dv(exec, _mesa_Vertex4dv);
   1068       SET_Vertex4i(exec, _mesa_Vertex4i);
   1069       SET_Vertex4iv(exec, _mesa_Vertex4iv);
   1070       SET_Vertex4s(exec, _mesa_Vertex4s);
   1071       SET_Vertex4sv(exec, _mesa_Vertex4sv);
   1072       SET_VertexAttrib1dNV(exec, _mesa_VertexAttrib1dNV);
   1073       SET_VertexAttrib1dvNV(exec, _mesa_VertexAttrib1dvNV);
   1074       SET_VertexAttrib1sNV(exec, _mesa_VertexAttrib1sNV);
   1075       SET_VertexAttrib1svNV(exec, _mesa_VertexAttrib1svNV);
   1076       SET_VertexAttrib2dNV(exec, _mesa_VertexAttrib2dNV);
   1077       SET_VertexAttrib2dvNV(exec, _mesa_VertexAttrib2dvNV);
   1078       SET_VertexAttrib2sNV(exec, _mesa_VertexAttrib2sNV);
   1079       SET_VertexAttrib2svNV(exec, _mesa_VertexAttrib2svNV);
   1080       SET_VertexAttrib3dNV(exec, _mesa_VertexAttrib3dNV);
   1081       SET_VertexAttrib3dvNV(exec, _mesa_VertexAttrib3dvNV);
   1082       SET_VertexAttrib3sNV(exec, _mesa_VertexAttrib3sNV);
   1083       SET_VertexAttrib3svNV(exec, _mesa_VertexAttrib3svNV);
   1084       SET_VertexAttrib4dNV(exec, _mesa_VertexAttrib4dNV);
   1085       SET_VertexAttrib4dvNV(exec, _mesa_VertexAttrib4dvNV);
   1086       SET_VertexAttrib4sNV(exec, _mesa_VertexAttrib4sNV);
   1087       SET_VertexAttrib4svNV(exec, _mesa_VertexAttrib4svNV);
   1088       SET_VertexAttrib4ubNV(exec, _mesa_VertexAttrib4ubNV);
   1089       SET_VertexAttrib4ubvNV(exec, _mesa_VertexAttrib4ubvNV);
   1090       SET_VertexAttribs1dvNV(exec, _mesa_VertexAttribs1dvNV);
   1091       SET_VertexAttribs1fvNV(exec, _mesa_VertexAttribs1fvNV);
   1092       SET_VertexAttribs1svNV(exec, _mesa_VertexAttribs1svNV);
   1093       SET_VertexAttribs2dvNV(exec, _mesa_VertexAttribs2dvNV);
   1094       SET_VertexAttribs2fvNV(exec, _mesa_VertexAttribs2fvNV);
   1095       SET_VertexAttribs2svNV(exec, _mesa_VertexAttribs2svNV);
   1096       SET_VertexAttribs3dvNV(exec, _mesa_VertexAttribs3dvNV);
   1097       SET_VertexAttribs3fvNV(exec, _mesa_VertexAttribs3fvNV);
   1098       SET_VertexAttribs3svNV(exec, _mesa_VertexAttribs3svNV);
   1099       SET_VertexAttribs4dvNV(exec, _mesa_VertexAttribs4dvNV);
   1100       SET_VertexAttribs4fvNV(exec, _mesa_VertexAttribs4fvNV);
   1101       SET_VertexAttribs4svNV(exec, _mesa_VertexAttribs4svNV);
   1102       SET_VertexAttribs4ubvNV(exec, _mesa_VertexAttribs4ubvNV);
   1103       SET_VertexPointerEXT(exec, _mesa_VertexPointerEXT);
   1104       SET_WindowPos2d(exec, _mesa_WindowPos2d);
   1105       SET_WindowPos2dv(exec, _mesa_WindowPos2dv);
   1106       SET_WindowPos2f(exec, _mesa_WindowPos2f);
   1107       SET_WindowPos2fv(exec, _mesa_WindowPos2fv);
   1108       SET_WindowPos2i(exec, _mesa_WindowPos2i);
   1109       SET_WindowPos2iv(exec, _mesa_WindowPos2iv);
   1110       SET_WindowPos2s(exec, _mesa_WindowPos2s);
   1111       SET_WindowPos2sv(exec, _mesa_WindowPos2sv);
   1112       SET_WindowPos3d(exec, _mesa_WindowPos3d);
   1113       SET_WindowPos3dv(exec, _mesa_WindowPos3dv);
   1114       SET_WindowPos3f(exec, _mesa_WindowPos3f);
   1115       SET_WindowPos3fv(exec, _mesa_WindowPos3fv);
   1116       SET_WindowPos3i(exec, _mesa_WindowPos3i);
   1117       SET_WindowPos3iv(exec, _mesa_WindowPos3iv);
   1118       SET_WindowPos3s(exec, _mesa_WindowPos3s);
   1119       SET_WindowPos3sv(exec, _mesa_WindowPos3sv);
   1120       SET_WindowPos4dMESA(exec, _mesa_WindowPos4dMESA);
   1121       SET_WindowPos4dvMESA(exec, _mesa_WindowPos4dvMESA);
   1122       SET_WindowPos4fMESA(exec, _mesa_WindowPos4fMESA);
   1123       SET_WindowPos4fvMESA(exec, _mesa_WindowPos4fvMESA);
   1124       SET_WindowPos4iMESA(exec, _mesa_WindowPos4iMESA);
   1125       SET_WindowPos4ivMESA(exec, _mesa_WindowPos4ivMESA);
   1126       SET_WindowPos4sMESA(exec, _mesa_WindowPos4sMESA);
   1127       SET_WindowPos4svMESA(exec, _mesa_WindowPos4svMESA);
   1128    }
   1129    if (ctx->API == API_OPENGL_COMPAT || ctx->API == API_OPENGLES) {
   1130       SET_AlphaFunc(exec, _mesa_AlphaFunc);
   1131       SET_ClientActiveTexture(exec, _mesa_ClientActiveTexture);
   1132       SET_Color4ub(exec, _mesa_Color4ub);
   1133       SET_ColorPointer(exec, _mesa_ColorPointer);
   1134       SET_DisableClientState(exec, _mesa_DisableClientState);
   1135       SET_EnableClientState(exec, _mesa_EnableClientState);
   1136       SET_Fogf(exec, _mesa_Fogf);
   1137       SET_Fogfv(exec, _mesa_Fogfv);
   1138       SET_GetLightfv(exec, _mesa_GetLightfv);
   1139       SET_GetMaterialfv(exec, _mesa_GetMaterialfv);
   1140       SET_GetTexEnvfv(exec, _mesa_GetTexEnvfv);
   1141       SET_GetTexEnviv(exec, _mesa_GetTexEnviv);
   1142       SET_GetTexGenfv(exec, _mesa_GetTexGenfv);
   1143       SET_GetTexGeniv(exec, _mesa_GetTexGeniv);
   1144       SET_LightModelf(exec, _mesa_LightModelf);
   1145       SET_LightModelfv(exec, _mesa_LightModelfv);
   1146       SET_Lightf(exec, _mesa_Lightf);
   1147       SET_Lightfv(exec, _mesa_Lightfv);
   1148       SET_LoadIdentity(exec, _mesa_LoadIdentity);
   1149       SET_LoadMatrixf(exec, _mesa_LoadMatrixf);
   1150       SET_Materialf(exec, _mesa_Materialf);
   1151       SET_MatrixMode(exec, _mesa_MatrixMode);
   1152       SET_MultMatrixf(exec, _mesa_MultMatrixf);
   1153       SET_NormalPointer(exec, _mesa_NormalPointer);
   1154       SET_PopMatrix(exec, _mesa_PopMatrix);
   1155       SET_PushMatrix(exec, _mesa_PushMatrix);
   1156       SET_Rotatef(exec, _mesa_Rotatef);
   1157       SET_Scalef(exec, _mesa_Scalef);
   1158       SET_ShadeModel(exec, _mesa_ShadeModel);
   1159       SET_TexCoordPointer(exec, _mesa_TexCoordPointer);
   1160       SET_TexEnvf(exec, _mesa_TexEnvf);
   1161       SET_TexEnvfv(exec, _mesa_TexEnvfv);
   1162       SET_TexEnvi(exec, _mesa_TexEnvi);
   1163       SET_TexEnviv(exec, _mesa_TexEnviv);
   1164       SET_TexGenf(exec, _mesa_TexGenf);
   1165       SET_TexGenfv(exec, _mesa_TexGenfv);
   1166       SET_TexGeni(exec, _mesa_TexGeni);
   1167       SET_TexGeniv(exec, _mesa_TexGeniv);
   1168       SET_Translatef(exec, _mesa_Translatef);
   1169       SET_VertexPointer(exec, _mesa_VertexPointer);
   1170    }
   1171    if (ctx->API == API_OPENGL_COMPAT || ctx->API == API_OPENGL_CORE || (ctx->API == API_OPENGLES2 && ctx->Version >= 31)) {
   1172       SET_FramebufferParameteri(exec, _mesa_FramebufferParameteri);
   1173    }
   1174    if (ctx->API == API_OPENGL_CORE) {
   1175       SET_BindTextureUnit(exec, _mesa_BindTextureUnit);
   1176       SET_BlitNamedFramebuffer(exec, _mesa_BlitNamedFramebuffer);
   1177       SET_CheckNamedFramebufferStatus(exec, _mesa_CheckNamedFramebufferStatus);
   1178       SET_ClearNamedBufferData(exec, _mesa_ClearNamedBufferData);
   1179       SET_ClearNamedBufferSubData(exec, _mesa_ClearNamedBufferSubData);
   1180       SET_ClearNamedFramebufferfi(exec, _mesa_ClearNamedFramebufferfi);
   1181       SET_ClearNamedFramebufferfv(exec, _mesa_ClearNamedFramebufferfv);
   1182       SET_ClearNamedFramebufferiv(exec, _mesa_ClearNamedFramebufferiv);
   1183       SET_ClearNamedFramebufferuiv(exec, _mesa_ClearNamedFramebufferuiv);
   1184       SET_CompressedTextureSubImage1D(exec, _mesa_CompressedTextureSubImage1D);
   1185       SET_CompressedTextureSubImage2D(exec, _mesa_CompressedTextureSubImage2D);
   1186       SET_CompressedTextureSubImage3D(exec, _mesa_CompressedTextureSubImage3D);
   1187       SET_CopyNamedBufferSubData(exec, _mesa_CopyNamedBufferSubData);
   1188       SET_CopyTextureSubImage1D(exec, _mesa_CopyTextureSubImage1D);
   1189       SET_CopyTextureSubImage2D(exec, _mesa_CopyTextureSubImage2D);
   1190       SET_CopyTextureSubImage3D(exec, _mesa_CopyTextureSubImage3D);
   1191       SET_CreateBuffers(exec, _mesa_CreateBuffers);
   1192       SET_CreateFramebuffers(exec, _mesa_CreateFramebuffers);
   1193       SET_CreateProgramPipelines(exec, _mesa_CreateProgramPipelines);
   1194       SET_CreateQueries(exec, _mesa_CreateQueries);
   1195       SET_CreateRenderbuffers(exec, _mesa_CreateRenderbuffers);
   1196       SET_CreateSamplers(exec, _mesa_CreateSamplers);
   1197       SET_CreateTextures(exec, _mesa_CreateTextures);
   1198       SET_CreateTransformFeedbacks(exec, _mesa_CreateTransformFeedbacks);
   1199       SET_CreateVertexArrays(exec, _mesa_CreateVertexArrays);
   1200       SET_DepthRangeArrayv(exec, _mesa_DepthRangeArrayv);
   1201       SET_DepthRangeIndexed(exec, _mesa_DepthRangeIndexed);
   1202       SET_DisableVertexArrayAttrib(exec, _mesa_DisableVertexArrayAttrib);
   1203       SET_EnableVertexArrayAttrib(exec, _mesa_EnableVertexArrayAttrib);
   1204       SET_FlushMappedNamedBufferRange(exec, _mesa_FlushMappedNamedBufferRange);
   1205       SET_GenerateTextureMipmap(exec, _mesa_GenerateTextureMipmap);
   1206       SET_GetActiveSubroutineName(exec, _mesa_GetActiveSubroutineName);
   1207       SET_GetActiveSubroutineUniformName(exec, _mesa_GetActiveSubroutineUniformName);
   1208       SET_GetActiveSubroutineUniformiv(exec, _mesa_GetActiveSubroutineUniformiv);
   1209       SET_GetCompressedTextureImage(exec, _mesa_GetCompressedTextureImage);
   1210       SET_GetNamedBufferParameteri64v(exec, _mesa_GetNamedBufferParameteri64v);
   1211       SET_GetNamedBufferParameteriv(exec, _mesa_GetNamedBufferParameteriv);
   1212       SET_GetNamedBufferPointerv(exec, _mesa_GetNamedBufferPointerv);
   1213       SET_GetNamedBufferSubData(exec, _mesa_GetNamedBufferSubData);
   1214       SET_GetNamedFramebufferAttachmentParameteriv(exec, _mesa_GetNamedFramebufferAttachmentParameteriv);
   1215       SET_GetNamedFramebufferParameteriv(exec, _mesa_GetNamedFramebufferParameteriv);
   1216       SET_GetNamedRenderbufferParameteriv(exec, _mesa_GetNamedRenderbufferParameteriv);
   1217       SET_GetProgramStageiv(exec, _mesa_GetProgramStageiv);
   1218       SET_GetQueryBufferObjecti64v(exec, _mesa_GetQueryBufferObjecti64v);
   1219       SET_GetQueryBufferObjectiv(exec, _mesa_GetQueryBufferObjectiv);
   1220       SET_GetQueryBufferObjectui64v(exec, _mesa_GetQueryBufferObjectui64v);
   1221       SET_GetQueryBufferObjectuiv(exec, _mesa_GetQueryBufferObjectuiv);
   1222       SET_GetSubroutineIndex(exec, _mesa_GetSubroutineIndex);
   1223       SET_GetSubroutineUniformLocation(exec, _mesa_GetSubroutineUniformLocation);
   1224       SET_GetTextureImage(exec, _mesa_GetTextureImage);
   1225       SET_GetTextureLevelParameterfv(exec, _mesa_GetTextureLevelParameterfv);
   1226       SET_GetTextureLevelParameteriv(exec, _mesa_GetTextureLevelParameteriv);
   1227       SET_GetTextureParameterIiv(exec, _mesa_GetTextureParameterIiv);
   1228       SET_GetTextureParameterIuiv(exec, _mesa_GetTextureParameterIuiv);
   1229       SET_GetTextureParameterfv(exec, _mesa_GetTextureParameterfv);
   1230       SET_GetTextureParameteriv(exec, _mesa_GetTextureParameteriv);
   1231       SET_GetTransformFeedbacki64_v(exec, _mesa_GetTransformFeedbacki64_v);
   1232       SET_GetTransformFeedbacki_v(exec, _mesa_GetTransformFeedbacki_v);
   1233       SET_GetTransformFeedbackiv(exec, _mesa_GetTransformFeedbackiv);
   1234       SET_GetUniformSubroutineuiv(exec, _mesa_GetUniformSubroutineuiv);
   1235       SET_GetUniformdv(exec, _mesa_GetUniformdv);
   1236       SET_GetVertexArrayIndexed64iv(exec, _mesa_GetVertexArrayIndexed64iv);
   1237       SET_GetVertexArrayIndexediv(exec, _mesa_GetVertexArrayIndexediv);
   1238       SET_GetVertexArrayiv(exec, _mesa_GetVertexArrayiv);
   1239       SET_GetVertexAttribLdv(exec, _mesa_GetVertexAttribLdv);
   1240       SET_InvalidateNamedFramebufferData(exec, _mesa_InvalidateNamedFramebufferData);
   1241       SET_InvalidateNamedFramebufferSubData(exec, _mesa_InvalidateNamedFramebufferSubData);
   1242       SET_MapNamedBuffer(exec, _mesa_MapNamedBuffer);
   1243       SET_MapNamedBufferRange(exec, _mesa_MapNamedBufferRange);
   1244       SET_NamedBufferData(exec, _mesa_NamedBufferData);
   1245       SET_NamedBufferStorage(exec, _mesa_NamedBufferStorage);
   1246       SET_NamedBufferSubData(exec, _mesa_NamedBufferSubData);
   1247       SET_NamedFramebufferDrawBuffer(exec, _mesa_NamedFramebufferDrawBuffer);
   1248       SET_NamedFramebufferDrawBuffers(exec, _mesa_NamedFramebufferDrawBuffers);
   1249       SET_NamedFramebufferParameteri(exec, _mesa_NamedFramebufferParameteri);
   1250       SET_NamedFramebufferReadBuffer(exec, _mesa_NamedFramebufferReadBuffer);
   1251       SET_NamedFramebufferRenderbuffer(exec, _mesa_NamedFramebufferRenderbuffer);
   1252       SET_NamedFramebufferTexture(exec, _mesa_NamedFramebufferTexture);
   1253       SET_NamedFramebufferTextureLayer(exec, _mesa_NamedFramebufferTextureLayer);
   1254       SET_NamedRenderbufferStorage(exec, _mesa_NamedRenderbufferStorage);
   1255       SET_NamedRenderbufferStorageMultisample(exec, _mesa_NamedRenderbufferStorageMultisample);
   1256       SET_TextureBuffer(exec, _mesa_TextureBuffer);
   1257       SET_TextureBufferRange(exec, _mesa_TextureBufferRange);
   1258       SET_TextureParameterIiv(exec, _mesa_TextureParameterIiv);
   1259       SET_TextureParameterIuiv(exec, _mesa_TextureParameterIuiv);
   1260       SET_TextureParameterf(exec, _mesa_TextureParameterf);
   1261       SET_TextureParameterfv(exec, _mesa_TextureParameterfv);
   1262       SET_TextureParameteri(exec, _mesa_TextureParameteri);
   1263       SET_TextureParameteriv(exec, _mesa_TextureParameteriv);
   1264       SET_TextureStorage1D(exec, _mesa_TextureStorage1D);
   1265       SET_TextureStorage2D(exec, _mesa_TextureStorage2D);
   1266       SET_TextureStorage2DMultisample(exec, _mesa_TextureStorage2DMultisample);
   1267       SET_TextureStorage3D(exec, _mesa_TextureStorage3D);
   1268       SET_TextureStorage3DMultisample(exec, _mesa_TextureStorage3DMultisample);
   1269       SET_TextureSubImage1D(exec, _mesa_TextureSubImage1D);
   1270       SET_TextureSubImage2D(exec, _mesa_TextureSubImage2D);
   1271       SET_TextureSubImage3D(exec, _mesa_TextureSubImage3D);
   1272       SET_TransformFeedbackBufferBase(exec, _mesa_TransformFeedbackBufferBase);
   1273       SET_TransformFeedbackBufferRange(exec, _mesa_TransformFeedbackBufferRange);
   1274       SET_Uniform1d(exec, _mesa_Uniform1d);
   1275       SET_Uniform1dv(exec, _mesa_Uniform1dv);
   1276       SET_Uniform2d(exec, _mesa_Uniform2d);
   1277       SET_Uniform2dv(exec, _mesa_Uniform2dv);
   1278       SET_Uniform3d(exec, _mesa_Uniform3d);
   1279       SET_Uniform3dv(exec, _mesa_Uniform3dv);
   1280       SET_Uniform4d(exec, _mesa_Uniform4d);
   1281       SET_Uniform4dv(exec, _mesa_Uniform4dv);
   1282       SET_UniformMatrix2dv(exec, _mesa_UniformMatrix2dv);
   1283       SET_UniformMatrix2x3dv(exec, _mesa_UniformMatrix2x3dv);
   1284       SET_UniformMatrix2x4dv(exec, _mesa_UniformMatrix2x4dv);
   1285       SET_UniformMatrix3dv(exec, _mesa_UniformMatrix3dv);
   1286       SET_UniformMatrix3x2dv(exec, _mesa_UniformMatrix3x2dv);
   1287       SET_UniformMatrix3x4dv(exec, _mesa_UniformMatrix3x4dv);
   1288       SET_UniformMatrix4dv(exec, _mesa_UniformMatrix4dv);
   1289       SET_UniformMatrix4x2dv(exec, _mesa_UniformMatrix4x2dv);
   1290       SET_UniformMatrix4x3dv(exec, _mesa_UniformMatrix4x3dv);
   1291       SET_UniformSubroutinesuiv(exec, _mesa_UniformSubroutinesuiv);
   1292       SET_UnmapNamedBuffer(exec, _mesa_UnmapNamedBuffer);
   1293       SET_VertexArrayAttribBinding(exec, _mesa_VertexArrayAttribBinding);
   1294       SET_VertexArrayAttribFormat(exec, _mesa_VertexArrayAttribFormat);
   1295       SET_VertexArrayAttribIFormat(exec, _mesa_VertexArrayAttribIFormat);
   1296       SET_VertexArrayAttribLFormat(exec, _mesa_VertexArrayAttribLFormat);
   1297       SET_VertexArrayBindingDivisor(exec, _mesa_VertexArrayBindingDivisor);
   1298       SET_VertexArrayElementBuffer(exec, _mesa_VertexArrayElementBuffer);
   1299       SET_VertexArrayVertexBuffer(exec, _mesa_VertexArrayVertexBuffer);
   1300       SET_VertexArrayVertexBuffers(exec, _mesa_VertexArrayVertexBuffers);
   1301       SET_VertexAttribL1d(exec, _mesa_VertexAttribL1d);
   1302       SET_VertexAttribL1dv(exec, _mesa_VertexAttribL1dv);
   1303       SET_VertexAttribL2d(exec, _mesa_VertexAttribL2d);
   1304       SET_VertexAttribL2dv(exec, _mesa_VertexAttribL2dv);
   1305       SET_VertexAttribL3d(exec, _mesa_VertexAttribL3d);
   1306       SET_VertexAttribL3dv(exec, _mesa_VertexAttribL3dv);
   1307       SET_VertexAttribL4d(exec, _mesa_VertexAttribL4d);
   1308       SET_VertexAttribL4dv(exec, _mesa_VertexAttribL4dv);
   1309       SET_VertexAttribLPointer(exec, _mesa_VertexAttribLPointer);
   1310    }
   1311    if (ctx->API == API_OPENGL_CORE || (ctx->API == API_OPENGLES2 && ctx->Version >= 31)) {
   1312       SET_FramebufferTexture(exec, _mesa_FramebufferTexture);
   1313       SET_ScissorArrayv(exec, _mesa_ScissorArrayv);
   1314       SET_ScissorIndexed(exec, _mesa_ScissorIndexed);
   1315       SET_ScissorIndexedv(exec, _mesa_ScissorIndexedv);
   1316       SET_TexBuffer(exec, _mesa_TexBuffer);
   1317       SET_TexBufferRange(exec, _mesa_TexBufferRange);
   1318       SET_ViewportArrayv(exec, _mesa_ViewportArrayv);
   1319       SET_ViewportIndexedf(exec, _mesa_ViewportIndexedf);
   1320       SET_ViewportIndexedfv(exec, _mesa_ViewportIndexedfv);
   1321    }
   1322 
   1323 }
   1324 
   1325