• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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/externalobjects.h"
65 #include "main/get.h"
66 #include "main/glspirv.h"
67 #include "main/feedback.h"
68 #include "main/fog.h"
69 #include "main/fbobject.h"
70 #include "main/framebuffer.h"
71 #include "main/genmipmap.h"
72 #include "main/hint.h"
73 #include "main/histogram.h"
74 #include "main/imports.h"
75 #include "main/light.h"
76 #include "main/lines.h"
77 #include "main/matrix.h"
78 #include "main/multisample.h"
79 #include "main/objectlabel.h"
80 #include "main/objectpurge.h"
81 #include "main/performance_monitor.h"
82 #include "main/performance_query.h"
83 #include "main/pipelineobj.h"
84 #include "main/pixel.h"
85 #include "main/pixelstore.h"
86 #include "main/points.h"
87 #include "main/polygon.h"
88 #include "main/program_resource.h"
89 #include "main/querymatrix.h"
90 #include "main/queryobj.h"
91 #include "main/readpix.h"
92 #include "main/samplerobj.h"
93 #include "main/scissor.h"
94 #include "main/stencil.h"
95 #include "main/texenv.h"
96 #include "main/texgetimage.h"
97 #include "main/teximage.h"
98 #include "main/texgen.h"
99 #include "main/texobj.h"
100 #include "main/texparam.h"
101 #include "main/texstate.h"
102 #include "main/texstorage.h"
103 #include "main/barrier.h"
104 #include "main/texturebindless.h"
105 #include "main/textureview.h"
106 #include "main/transformfeedback.h"
107 #include "main/mtypes.h"
108 #include "main/varray.h"
109 #include "main/viewport.h"
110 #include "main/shaderapi.h"
111 #include "main/shaderimage.h"
112 #include "main/uniforms.h"
113 #include "main/syncobj.h"
114 #include "main/formatquery.h"
115 #include "main/dispatch.h"
116 #include "main/vdpau.h"
117 #include "vbo/vbo.h"
118 
119 
120 /**
121  * Initialize a context's exec table with pointers to Mesa's supported
122  * GL functions.
123  *
124  * This function depends on ctx->Version.
125  *
126  * \param ctx  GL context to which \c exec belongs.
127  */
128 void
_mesa_initialize_exec_table(struct gl_context * ctx)129 _mesa_initialize_exec_table(struct gl_context *ctx)
130 {
131    struct _glapi_table *exec;
132 
133    exec = ctx->Exec;
134    assert(exec != NULL);
135 
136    assert(ctx->Version > 0);
137 
138    vbo_initialize_exec_dispatch(ctx, exec);
139 
140    if (!_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx) || (ctx->API == API_OPENGLES2 && ctx->Version >= 30))) {
141       SET_BeginTransformFeedback(exec, _mesa_BeginTransformFeedback);
142       SET_BindBufferRange(exec, _mesa_BindBufferRange);
143       SET_BindFragDataLocation(exec, _mesa_BindFragDataLocation);
144       SET_BindFragDataLocationIndexed(exec, _mesa_BindFragDataLocationIndexed);
145       SET_BindSampler(exec, _mesa_BindSampler);
146       SET_BindTransformFeedback(exec, _mesa_BindTransformFeedback);
147       SET_BlendEquationSeparateiARB(exec, _mesa_BlendEquationSeparateiARB);
148       SET_BlendEquationiARB(exec, _mesa_BlendEquationiARB);
149       SET_BlendFuncSeparateiARB(exec, _mesa_BlendFuncSeparateiARB);
150       SET_BlendFunciARB(exec, _mesa_BlendFunciARB);
151       SET_BlitFramebuffer(exec, _mesa_BlitFramebuffer);
152       SET_ClearBufferfi(exec, _mesa_ClearBufferfi);
153       SET_ClearBufferfv(exec, _mesa_ClearBufferfv);
154       SET_ClearBufferiv(exec, _mesa_ClearBufferiv);
155       SET_ClearBufferuiv(exec, _mesa_ClearBufferuiv);
156       SET_ClientWaitSync(exec, _mesa_ClientWaitSync);
157       SET_CopyBufferSubData(exec, _mesa_CopyBufferSubData);
158       SET_CopyImageSubData(exec, _mesa_CopyImageSubData);
159       SET_DeleteSamplers(exec, _mesa_DeleteSamplers);
160       SET_DeleteSync(exec, _mesa_DeleteSync);
161       SET_EndTransformFeedback(exec, _mesa_EndTransformFeedback);
162       SET_FenceSync(exec, _mesa_FenceSync);
163       SET_FramebufferTextureLayer(exec, _mesa_FramebufferTextureLayer);
164       SET_GenSamplers(exec, _mesa_GenSamplers);
165       SET_InvalidateFramebuffer(exec, _mesa_InvalidateFramebuffer);
166       SET_InvalidateSubFramebuffer(exec, _mesa_InvalidateSubFramebuffer);
167       SET_MinSampleShading(exec, _mesa_MinSampleShading);
168       SET_PauseTransformFeedback(exec, _mesa_PauseTransformFeedback);
169       SET_ResumeTransformFeedback(exec, _mesa_ResumeTransformFeedback);
170       SET_TexStorage2D(exec, _mesa_TexStorage2D);
171       SET_TexStorage3D(exec, _mesa_TexStorage3D);
172       SET_TransformFeedbackVaryings(exec, _mesa_TransformFeedbackVaryings);
173       SET_UniformBlockBinding(exec, _mesa_UniformBlockBinding);
174       SET_VertexAttribDivisor(exec, _mesa_VertexAttribDivisor);
175       SET_VertexAttribIPointer(exec, _mesa_VertexAttribIPointer);
176       SET_WaitSync(exec, _mesa_WaitSync);
177    }
178    if (!_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx) || (ctx->API == API_OPENGLES2 && ctx->Version >= 31))) {
179       SET_BindImageTexture(exec, _mesa_BindImageTexture);
180       SET_BindVertexBuffer(exec, _mesa_BindVertexBuffer);
181       SET_BufferStorage(exec, _mesa_BufferStorage);
182       SET_DispatchCompute(exec, _mesa_DispatchCompute);
183       SET_DispatchComputeIndirect(exec, _mesa_DispatchComputeIndirect);
184       SET_MemoryBarrierByRegion(exec, _mesa_MemoryBarrierByRegion);
185       SET_PatchParameteri(exec, _mesa_PatchParameteri);
186       SET_SampleMaski(exec, _mesa_SampleMaski);
187       SET_VertexAttribBinding(exec, _mesa_VertexAttribBinding);
188       SET_VertexBindingDivisor(exec, _mesa_VertexBindingDivisor);
189    }
190    if (!_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx) || (ctx->API == API_OPENGLES2 && ctx->Version >= 32))) {
191       SET_BufferStorageMemEXT(exec, _mesa_BufferStorageMemEXT);
192       SET_NamedBufferStorageMemEXT(exec, _mesa_NamedBufferStorageMemEXT);
193    }
194    if (!_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES || ctx->API == API_OPENGLES2)) {
195       SET_ActiveTexture(exec, _mesa_ActiveTexture);
196       SET_BindBuffer(exec, _mesa_BindBuffer);
197       SET_BindTexture(exec, _mesa_BindTexture);
198       SET_BlendEquationSeparate(exec, _mesa_BlendEquationSeparate);
199       SET_BlendFunc(exec, _mesa_BlendFunc);
200       SET_BlendFuncSeparate(exec, _mesa_BlendFuncSeparate);
201       SET_BufferData(exec, _mesa_BufferData);
202       SET_BufferSubData(exec, _mesa_BufferSubData);
203       SET_CheckFramebufferStatus(exec, _mesa_CheckFramebufferStatus);
204       SET_Clear(exec, _mesa_Clear);
205       SET_CompressedTexImage2D(exec, _mesa_CompressedTexImage2D);
206       SET_CompressedTexSubImage2D(exec, _mesa_CompressedTexSubImage2D);
207       SET_CopyTexImage2D(exec, _mesa_CopyTexImage2D);
208       SET_CopyTexSubImage2D(exec, _mesa_CopyTexSubImage2D);
209       SET_CullFace(exec, _mesa_CullFace);
210       SET_DeleteBuffers(exec, _mesa_DeleteBuffers);
211       SET_DeleteTextures(exec, _mesa_DeleteTextures);
212       SET_DepthFunc(exec, _mesa_DepthFunc);
213       SET_FlushMappedBufferRange(exec, _mesa_FlushMappedBufferRange);
214       SET_FramebufferRenderbuffer(exec, _mesa_FramebufferRenderbuffer);
215       SET_FramebufferTexture2D(exec, _mesa_FramebufferTexture2D);
216       SET_FrontFace(exec, _mesa_FrontFace);
217       SET_GenBuffers(exec, _mesa_GenBuffers);
218       SET_GenRenderbuffers(exec, _mesa_GenRenderbuffers);
219       SET_GenTextures(exec, _mesa_GenTextures);
220       SET_GenerateMipmap(exec, _mesa_GenerateMipmap);
221       SET_LineWidth(exec, _mesa_LineWidth);
222       SET_MapBuffer(exec, _mesa_MapBuffer);
223       SET_MapBufferRange(exec, _mesa_MapBufferRange);
224       SET_PixelStorei(exec, _mesa_PixelStorei);
225       SET_ReadPixels(exec, _mesa_ReadPixels);
226       SET_Scissor(exec, _mesa_Scissor);
227       SET_StencilFunc(exec, _mesa_StencilFunc);
228       SET_StencilOp(exec, _mesa_StencilOp);
229       SET_TexImage2D(exec, _mesa_TexImage2D);
230       SET_TexSubImage2D(exec, _mesa_TexSubImage2D);
231       SET_UnmapBuffer(exec, _mesa_UnmapBuffer);
232       SET_Viewport(exec, _mesa_Viewport);
233    }
234    if (!_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES)) {
235       SET_LogicOp(exec, _mesa_LogicOp);
236       SET_PointSize(exec, _mesa_PointSize);
237    }
238    if (!_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES2)) {
239       SET_ActiveShaderProgram(exec, _mesa_ActiveShaderProgram);
240       SET_AttachShader(exec, _mesa_AttachShader);
241       SET_BindAttribLocation(exec, _mesa_BindAttribLocation);
242       SET_BindProgramPipeline(exec, _mesa_BindProgramPipeline);
243       SET_BindVertexArray(exec, _mesa_BindVertexArray);
244       SET_CompressedTexImage3D(exec, _mesa_CompressedTexImage3D);
245       SET_CompressedTexSubImage3D(exec, _mesa_CompressedTexSubImage3D);
246       SET_CopyTexSubImage3D(exec, _mesa_CopyTexSubImage3D);
247       SET_CreateShader(exec, _mesa_CreateShader);
248       SET_DeleteVertexArrays(exec, _mesa_DeleteVertexArrays);
249       SET_DetachShader(exec, _mesa_DetachShader);
250       SET_DisableVertexAttribArray(exec, _mesa_DisableVertexAttribArray);
251       SET_DrawBuffers(exec, _mesa_DrawBuffers);
252       SET_EnableVertexAttribArray(exec, _mesa_EnableVertexAttribArray);
253       SET_FramebufferTexture3D(exec, _mesa_FramebufferTexture3D);
254       SET_GenProgramPipelines(exec, _mesa_GenProgramPipelines);
255       SET_GenVertexArrays(exec, _mesa_GenVertexArrays);
256       SET_GetUniformLocation(exec, _mesa_GetUniformLocation);
257       SET_LinkProgram(exec, _mesa_LinkProgram);
258       SET_ProgramParameteri(exec, _mesa_ProgramParameteri);
259       SET_ReadBuffer(exec, _mesa_ReadBuffer);
260       SET_ReadnPixelsARB(exec, _mesa_ReadnPixelsARB);
261       SET_ShaderSource(exec, _mesa_ShaderSource);
262       SET_StencilFuncSeparate(exec, _mesa_StencilFuncSeparate);
263       SET_StencilMaskSeparate(exec, _mesa_StencilMaskSeparate);
264       SET_StencilOpSeparate(exec, _mesa_StencilOpSeparate);
265       SET_TexImage3D(exec, _mesa_TexImage3D);
266       SET_TexSubImage3D(exec, _mesa_TexSubImage3D);
267       SET_UseProgram(exec, _mesa_UseProgram);
268       SET_UseProgramStages(exec, _mesa_UseProgramStages);
269       SET_VertexAttribPointer(exec, _mesa_VertexAttribPointer);
270    }
271    if (!_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx))) {
272       SET_AttachObjectARB(exec, _mesa_AttachObjectARB);
273       SET_BeginConditionalRender(exec, _mesa_BeginConditionalRender);
274       SET_BindBufferOffsetEXT(exec, _mesa_BindBufferOffsetEXT);
275       SET_BindImageTextures(exec, _mesa_BindImageTextures);
276       SET_BindSamplers(exec, _mesa_BindSamplers);
277       SET_BindTextures(exec, _mesa_BindTextures);
278       SET_BindVertexBuffers(exec, _mesa_BindVertexBuffers);
279       SET_ClearBufferData(exec, _mesa_ClearBufferData);
280       SET_ClearBufferSubData(exec, _mesa_ClearBufferSubData);
281       SET_ClipControl(exec, _mesa_ClipControl);
282       SET_CompressedTexImage1D(exec, _mesa_CompressedTexImage1D);
283       SET_CompressedTexSubImage1D(exec, _mesa_CompressedTexSubImage1D);
284       SET_CopyTexImage1D(exec, _mesa_CopyTexImage1D);
285       SET_CopyTexSubImage1D(exec, _mesa_CopyTexSubImage1D);
286       SET_CreateShaderObjectARB(exec, _mesa_CreateShaderObjectARB);
287       SET_DetachObjectARB(exec, _mesa_DetachObjectARB);
288       SET_DispatchComputeGroupSizeARB(exec, _mesa_DispatchComputeGroupSizeARB);
289       SET_DrawBuffer(exec, _mesa_DrawBuffer);
290       SET_EndConditionalRender(exec, _mesa_EndConditionalRender);
291       SET_FramebufferTexture1D(exec, _mesa_FramebufferTexture1D);
292       SET_GetImageHandleARB(exec, _mesa_GetImageHandleARB);
293       SET_GetTextureHandleARB(exec, _mesa_GetTextureHandleARB);
294       SET_GetTextureSamplerHandleARB(exec, _mesa_GetTextureSamplerHandleARB);
295       SET_InvalidateBufferData(exec, _mesa_InvalidateBufferData);
296       SET_InvalidateBufferSubData(exec, _mesa_InvalidateBufferSubData);
297       SET_InvalidateTexImage(exec, _mesa_InvalidateTexImage);
298       SET_InvalidateTexSubImage(exec, _mesa_InvalidateTexSubImage);
299       SET_IsImageHandleResidentARB(exec, _mesa_IsImageHandleResidentARB);
300       SET_IsTextureHandleResidentARB(exec, _mesa_IsTextureHandleResidentARB);
301       SET_MakeImageHandleNonResidentARB(exec, _mesa_MakeImageHandleNonResidentARB);
302       SET_MakeImageHandleResidentARB(exec, _mesa_MakeImageHandleResidentARB);
303       SET_MakeTextureHandleNonResidentARB(exec, _mesa_MakeTextureHandleNonResidentARB);
304       SET_MakeTextureHandleResidentARB(exec, _mesa_MakeTextureHandleResidentARB);
305       SET_PixelStoref(exec, _mesa_PixelStoref);
306       SET_PolygonMode(exec, _mesa_PolygonMode);
307       SET_PrimitiveRestartIndex(exec, _mesa_PrimitiveRestartIndex);
308       SET_ShaderStorageBlockBinding(exec, _mesa_ShaderStorageBlockBinding);
309       SET_TexImage1D(exec, _mesa_TexImage1D);
310       SET_TexStorage1D(exec, _mesa_TexStorage1D);
311       SET_TexSubImage1D(exec, _mesa_TexSubImage1D);
312       SET_TextureView(exec, _mesa_TextureView);
313    }
314    if (!_mesa_is_no_error_enabled(ctx) && (ctx->API == API_OPENGLES)) {
315       SET_PointSizePointerOES(exec, _mesa_PointSizePointerOES);
316    }
317    if (!_mesa_is_no_error_enabled(ctx) && (ctx->API == API_OPENGL_COMPAT || ctx->API == API_OPENGLES)) {
318       SET_ColorPointer(exec, _mesa_ColorPointer);
319       SET_NormalPointer(exec, _mesa_NormalPointer);
320       SET_TexCoordPointer(exec, _mesa_TexCoordPointer);
321       SET_VertexPointer(exec, _mesa_VertexPointer);
322    }
323    if (!_mesa_is_no_error_enabled(ctx) && (ctx->API == API_OPENGL_COMPAT)) {
324       SET_EdgeFlagPointer(exec, _mesa_EdgeFlagPointer);
325       SET_FogCoordPointer(exec, _mesa_FogCoordPointer);
326       SET_IndexPointer(exec, _mesa_IndexPointer);
327       SET_SecondaryColorPointer(exec, _mesa_SecondaryColorPointer);
328    }
329    if (!_mesa_is_no_error_enabled(ctx) && (ctx->API == API_OPENGL_CORE || (ctx->API == API_OPENGLES2 && ctx->Version >= 31))) {
330       SET_FramebufferTexture(exec, _mesa_FramebufferTexture);
331       SET_ScissorArrayv(exec, _mesa_ScissorArrayv);
332       SET_ScissorIndexed(exec, _mesa_ScissorIndexed);
333       SET_ScissorIndexedv(exec, _mesa_ScissorIndexedv);
334       SET_ViewportArrayv(exec, _mesa_ViewportArrayv);
335       SET_ViewportIndexedf(exec, _mesa_ViewportIndexedf);
336       SET_ViewportIndexedfv(exec, _mesa_ViewportIndexedfv);
337    }
338    if (!_mesa_is_no_error_enabled(ctx) && (ctx->API == API_OPENGL_CORE)) {
339       SET_BindTextureUnit(exec, _mesa_BindTextureUnit);
340       SET_BlitNamedFramebuffer(exec, _mesa_BlitNamedFramebuffer);
341       SET_ClearNamedBufferData(exec, _mesa_ClearNamedBufferData);
342       SET_ClearNamedBufferSubData(exec, _mesa_ClearNamedBufferSubData);
343       SET_CompressedTextureSubImage1D(exec, _mesa_CompressedTextureSubImage1D);
344       SET_CompressedTextureSubImage2D(exec, _mesa_CompressedTextureSubImage2D);
345       SET_CompressedTextureSubImage3D(exec, _mesa_CompressedTextureSubImage3D);
346       SET_CopyNamedBufferSubData(exec, _mesa_CopyNamedBufferSubData);
347       SET_CopyTextureSubImage1D(exec, _mesa_CopyTextureSubImage1D);
348       SET_CopyTextureSubImage2D(exec, _mesa_CopyTextureSubImage2D);
349       SET_CopyTextureSubImage3D(exec, _mesa_CopyTextureSubImage3D);
350       SET_CreateBuffers(exec, _mesa_CreateBuffers);
351       SET_CreateProgramPipelines(exec, _mesa_CreateProgramPipelines);
352       SET_CreateRenderbuffers(exec, _mesa_CreateRenderbuffers);
353       SET_CreateSamplers(exec, _mesa_CreateSamplers);
354       SET_CreateTextures(exec, _mesa_CreateTextures);
355       SET_CreateVertexArrays(exec, _mesa_CreateVertexArrays);
356       SET_DepthRangeArrayv(exec, _mesa_DepthRangeArrayv);
357       SET_DepthRangeIndexed(exec, _mesa_DepthRangeIndexed);
358       SET_DisableVertexArrayAttrib(exec, _mesa_DisableVertexArrayAttrib);
359       SET_EnableVertexArrayAttrib(exec, _mesa_EnableVertexArrayAttrib);
360       SET_FlushMappedNamedBufferRange(exec, _mesa_FlushMappedNamedBufferRange);
361       SET_GenerateTextureMipmap(exec, _mesa_GenerateTextureMipmap);
362       SET_MapNamedBuffer(exec, _mesa_MapNamedBuffer);
363       SET_MapNamedBufferRange(exec, _mesa_MapNamedBufferRange);
364       SET_NamedBufferData(exec, _mesa_NamedBufferData);
365       SET_NamedBufferStorage(exec, _mesa_NamedBufferStorage);
366       SET_NamedBufferSubData(exec, _mesa_NamedBufferSubData);
367       SET_NamedFramebufferDrawBuffer(exec, _mesa_NamedFramebufferDrawBuffer);
368       SET_NamedFramebufferDrawBuffers(exec, _mesa_NamedFramebufferDrawBuffers);
369       SET_NamedFramebufferReadBuffer(exec, _mesa_NamedFramebufferReadBuffer);
370       SET_NamedFramebufferRenderbuffer(exec, _mesa_NamedFramebufferRenderbuffer);
371       SET_NamedFramebufferTexture(exec, _mesa_NamedFramebufferTexture);
372       SET_NamedFramebufferTextureLayer(exec, _mesa_NamedFramebufferTextureLayer);
373       SET_TextureStorage1D(exec, _mesa_TextureStorage1D);
374       SET_TextureStorage2D(exec, _mesa_TextureStorage2D);
375       SET_TextureStorage3D(exec, _mesa_TextureStorage3D);
376       SET_TextureSubImage1D(exec, _mesa_TextureSubImage1D);
377       SET_TextureSubImage2D(exec, _mesa_TextureSubImage2D);
378       SET_TextureSubImage3D(exec, _mesa_TextureSubImage3D);
379       SET_UnmapNamedBuffer(exec, _mesa_UnmapNamedBuffer);
380       SET_VertexArrayAttribBinding(exec, _mesa_VertexArrayAttribBinding);
381       SET_VertexArrayBindingDivisor(exec, _mesa_VertexArrayBindingDivisor);
382       SET_VertexArrayElementBuffer(exec, _mesa_VertexArrayElementBuffer);
383       SET_VertexArrayVertexBuffer(exec, _mesa_VertexArrayVertexBuffer);
384       SET_VertexArrayVertexBuffers(exec, _mesa_VertexArrayVertexBuffers);
385       SET_VertexAttribLPointer(exec, _mesa_VertexAttribLPointer);
386    }
387    if ((ctx->API == API_OPENGLES2 && ctx->Version >= 31)) {
388       SET_DepthRangeArrayfvOES(exec, _mesa_DepthRangeArrayfvOES);
389       SET_DepthRangeIndexedfOES(exec, _mesa_DepthRangeIndexedfOES);
390       SET_PrimitiveBoundingBox(exec, _mesa_PrimitiveBoundingBox);
391    }
392    if (_mesa_is_desktop_gl(ctx)) {
393       SET_BeginPerfMonitorAMD(exec, _mesa_BeginPerfMonitorAMD);
394       SET_BeginQueryIndexed(exec, _mesa_BeginQueryIndexed);
395       SET_BindBuffersBase(exec, _mesa_BindBuffersBase);
396       SET_BindBuffersRange(exec, _mesa_BindBuffersRange);
397       SET_BufferPageCommitmentARB(exec, _mesa_BufferPageCommitmentARB);
398       SET_ClampColor(exec, _mesa_ClampColor);
399       SET_ClearColorIiEXT(exec, _mesa_ClearColorIiEXT);
400       SET_ClearColorIuiEXT(exec, _mesa_ClearColorIuiEXT);
401       SET_ClearDepth(exec, _mesa_ClearDepth);
402       SET_ClearTexImage(exec, _mesa_ClearTexImage);
403       SET_ClearTexSubImage(exec, _mesa_ClearTexSubImage);
404       SET_CreateProgramObjectARB(exec, _mesa_CreateProgramObjectARB);
405       SET_DeleteObjectARB(exec, _mesa_DeleteObjectARB);
406       SET_DeletePerfMonitorsAMD(exec, _mesa_DeletePerfMonitorsAMD);
407       SET_DepthBoundsEXT(exec, _mesa_DepthBoundsEXT);
408       SET_DepthRange(exec, _mesa_DepthRange);
409       SET_EndPerfMonitorAMD(exec, _mesa_EndPerfMonitorAMD);
410       SET_EndQueryIndexed(exec, _mesa_EndQueryIndexed);
411       SET_GenPerfMonitorsAMD(exec, _mesa_GenPerfMonitorsAMD);
412       SET_GetActiveAtomicCounterBufferiv(exec, _mesa_GetActiveAtomicCounterBufferiv);
413       SET_GetActiveUniformName(exec, _mesa_GetActiveUniformName);
414       SET_GetAttachedObjectsARB(exec, _mesa_GetAttachedObjectsARB);
415       SET_GetBufferSubData(exec, _mesa_GetBufferSubData);
416       SET_GetCompressedTexImage(exec, _mesa_GetCompressedTexImage);
417       SET_GetCompressedTextureSubImage(exec, _mesa_GetCompressedTextureSubImage);
418       SET_GetDoublei_v(exec, _mesa_GetDoublei_v);
419       SET_GetDoublev(exec, _mesa_GetDoublev);
420       SET_GetHandleARB(exec, _mesa_GetHandleARB);
421       SET_GetInfoLogARB(exec, _mesa_GetInfoLogARB);
422       SET_GetObjectParameterfvARB(exec, _mesa_GetObjectParameterfvARB);
423       SET_GetObjectParameterivAPPLE(exec, _mesa_GetObjectParameterivAPPLE);
424       SET_GetObjectParameterivARB(exec, _mesa_GetObjectParameterivARB);
425       SET_GetPerfMonitorCounterDataAMD(exec, _mesa_GetPerfMonitorCounterDataAMD);
426       SET_GetPerfMonitorCounterInfoAMD(exec, _mesa_GetPerfMonitorCounterInfoAMD);
427       SET_GetPerfMonitorCounterStringAMD(exec, _mesa_GetPerfMonitorCounterStringAMD);
428       SET_GetPerfMonitorCountersAMD(exec, _mesa_GetPerfMonitorCountersAMD);
429       SET_GetPerfMonitorGroupStringAMD(exec, _mesa_GetPerfMonitorGroupStringAMD);
430       SET_GetPerfMonitorGroupsAMD(exec, _mesa_GetPerfMonitorGroupsAMD);
431       SET_GetQueryIndexediv(exec, _mesa_GetQueryIndexediv);
432       SET_GetTexImage(exec, _mesa_GetTexImage);
433       SET_GetTextureSubImage(exec, _mesa_GetTextureSubImage);
434       SET_GetVertexAttribdv(exec, _mesa_GetVertexAttribdv);
435       SET_GetnCompressedTexImageARB(exec, _mesa_GetnCompressedTexImageARB);
436       SET_GetnPolygonStippleARB(exec, _mesa_GetnPolygonStippleARB);
437       SET_GetnTexImageARB(exec, _mesa_GetnTexImageARB);
438       SET_GetnUniformdvARB(exec, _mesa_GetnUniformdvARB);
439       SET_MultiModeDrawArraysIBM(exec, _mesa_MultiModeDrawArraysIBM);
440       SET_MultiModeDrawElementsIBM(exec, _mesa_MultiModeDrawElementsIBM);
441       SET_NamedBufferPageCommitmentARB(exec, _mesa_NamedBufferPageCommitmentARB);
442       SET_ObjectPurgeableAPPLE(exec, _mesa_ObjectPurgeableAPPLE);
443       SET_ObjectUnpurgeableAPPLE(exec, _mesa_ObjectUnpurgeableAPPLE);
444       SET_PatchParameterfv(exec, _mesa_PatchParameterfv);
445       SET_PointParameteri(exec, _mesa_PointParameteri);
446       SET_PointParameteriv(exec, _mesa_PointParameteriv);
447       SET_ProgramUniform1d(exec, _mesa_ProgramUniform1d);
448       SET_ProgramUniform1dv(exec, _mesa_ProgramUniform1dv);
449       SET_ProgramUniform2d(exec, _mesa_ProgramUniform2d);
450       SET_ProgramUniform2dv(exec, _mesa_ProgramUniform2dv);
451       SET_ProgramUniform3d(exec, _mesa_ProgramUniform3d);
452       SET_ProgramUniform3dv(exec, _mesa_ProgramUniform3dv);
453       SET_ProgramUniform4d(exec, _mesa_ProgramUniform4d);
454       SET_ProgramUniform4dv(exec, _mesa_ProgramUniform4dv);
455       SET_ProgramUniformHandleui64ARB(exec, _mesa_ProgramUniformHandleui64ARB);
456       SET_ProgramUniformHandleui64vARB(exec, _mesa_ProgramUniformHandleui64vARB);
457       SET_ProgramUniformMatrix2dv(exec, _mesa_ProgramUniformMatrix2dv);
458       SET_ProgramUniformMatrix2x3dv(exec, _mesa_ProgramUniformMatrix2x3dv);
459       SET_ProgramUniformMatrix2x4dv(exec, _mesa_ProgramUniformMatrix2x4dv);
460       SET_ProgramUniformMatrix3dv(exec, _mesa_ProgramUniformMatrix3dv);
461       SET_ProgramUniformMatrix3x2dv(exec, _mesa_ProgramUniformMatrix3x2dv);
462       SET_ProgramUniformMatrix3x4dv(exec, _mesa_ProgramUniformMatrix3x4dv);
463       SET_ProgramUniformMatrix4dv(exec, _mesa_ProgramUniformMatrix4dv);
464       SET_ProgramUniformMatrix4x2dv(exec, _mesa_ProgramUniformMatrix4x2dv);
465       SET_ProgramUniformMatrix4x3dv(exec, _mesa_ProgramUniformMatrix4x3dv);
466       SET_ProvokingVertex(exec, _mesa_ProvokingVertex);
467       SET_SelectPerfMonitorCountersAMD(exec, _mesa_SelectPerfMonitorCountersAMD);
468       SET_SpecializeShaderARB(exec, _mesa_SpecializeShaderARB);
469       SET_StringMarkerGREMEDY(exec, _mesa_StringMarkerGREMEDY);
470       SET_TexImage2DMultisample(exec, _mesa_TexImage2DMultisample);
471       SET_TexImage3DMultisample(exec, _mesa_TexImage3DMultisample);
472       SET_TexStorageMem1DEXT(exec, _mesa_TexStorageMem1DEXT);
473       SET_TextureBarrierNV(exec, _mesa_TextureBarrierNV);
474       SET_TextureStorage1DEXT(exec, _mesa_TextureStorage1DEXT);
475       SET_TextureStorage2DEXT(exec, _mesa_TextureStorage2DEXT);
476       SET_TextureStorage3DEXT(exec, _mesa_TextureStorage3DEXT);
477       SET_TextureStorageMem1DEXT(exec, _mesa_TextureStorageMem1DEXT);
478       SET_UniformHandleui64ARB(exec, _mesa_UniformHandleui64ARB);
479       SET_UniformHandleui64vARB(exec, _mesa_UniformHandleui64vARB);
480       SET_VDPAUFiniNV(exec, _mesa_VDPAUFiniNV);
481       SET_VDPAUGetSurfaceivNV(exec, _mesa_VDPAUGetSurfaceivNV);
482       SET_VDPAUInitNV(exec, _mesa_VDPAUInitNV);
483       SET_VDPAUIsSurfaceNV(exec, _mesa_VDPAUIsSurfaceNV);
484       SET_VDPAUMapSurfacesNV(exec, _mesa_VDPAUMapSurfacesNV);
485       SET_VDPAURegisterOutputSurfaceNV(exec, _mesa_VDPAURegisterOutputSurfaceNV);
486       SET_VDPAURegisterVideoSurfaceNV(exec, _mesa_VDPAURegisterVideoSurfaceNV);
487       SET_VDPAUSurfaceAccessNV(exec, _mesa_VDPAUSurfaceAccessNV);
488       SET_VDPAUUnmapSurfacesNV(exec, _mesa_VDPAUUnmapSurfacesNV);
489       SET_VDPAUUnregisterSurfaceNV(exec, _mesa_VDPAUUnregisterSurfaceNV);
490       SET_VertexAttrib1d(exec, _mesa_VertexAttrib1d);
491       SET_VertexAttrib1dv(exec, _mesa_VertexAttrib1dv);
492       SET_VertexAttrib1s(exec, _mesa_VertexAttrib1s);
493       SET_VertexAttrib1sv(exec, _mesa_VertexAttrib1sv);
494       SET_VertexAttrib2d(exec, _mesa_VertexAttrib2d);
495       SET_VertexAttrib2dv(exec, _mesa_VertexAttrib2dv);
496       SET_VertexAttrib2s(exec, _mesa_VertexAttrib2s);
497       SET_VertexAttrib2sv(exec, _mesa_VertexAttrib2sv);
498       SET_VertexAttrib3d(exec, _mesa_VertexAttrib3d);
499       SET_VertexAttrib3dv(exec, _mesa_VertexAttrib3dv);
500       SET_VertexAttrib3s(exec, _mesa_VertexAttrib3s);
501       SET_VertexAttrib3sv(exec, _mesa_VertexAttrib3sv);
502       SET_VertexAttrib4Nbv(exec, _mesa_VertexAttrib4Nbv);
503       SET_VertexAttrib4Niv(exec, _mesa_VertexAttrib4Niv);
504       SET_VertexAttrib4Nsv(exec, _mesa_VertexAttrib4Nsv);
505       SET_VertexAttrib4Nub(exec, _mesa_VertexAttrib4Nub);
506       SET_VertexAttrib4Nubv(exec, _mesa_VertexAttrib4Nubv);
507       SET_VertexAttrib4Nuiv(exec, _mesa_VertexAttrib4Nuiv);
508       SET_VertexAttrib4Nusv(exec, _mesa_VertexAttrib4Nusv);
509       SET_VertexAttrib4bv(exec, _mesa_VertexAttrib4bv);
510       SET_VertexAttrib4d(exec, _mesa_VertexAttrib4d);
511       SET_VertexAttrib4dv(exec, _mesa_VertexAttrib4dv);
512       SET_VertexAttrib4iv(exec, _mesa_VertexAttrib4iv);
513       SET_VertexAttrib4s(exec, _mesa_VertexAttrib4s);
514       SET_VertexAttrib4sv(exec, _mesa_VertexAttrib4sv);
515       SET_VertexAttrib4ubv(exec, _mesa_VertexAttrib4ubv);
516       SET_VertexAttrib4uiv(exec, _mesa_VertexAttrib4uiv);
517       SET_VertexAttrib4usv(exec, _mesa_VertexAttrib4usv);
518       SET_VertexAttribI1iv(exec, _mesa_VertexAttribI1iv);
519       SET_VertexAttribI1uiv(exec, _mesa_VertexAttribI1uiv);
520       SET_VertexAttribI4bv(exec, _mesa_VertexAttribI4bv);
521       SET_VertexAttribI4sv(exec, _mesa_VertexAttribI4sv);
522       SET_VertexAttribI4ubv(exec, _mesa_VertexAttribI4ubv);
523       SET_VertexAttribI4usv(exec, _mesa_VertexAttribI4usv);
524       SET_VertexAttribLFormat(exec, _mesa_VertexAttribLFormat);
525    }
526    if (_mesa_is_desktop_gl(ctx) || (ctx->API == API_OPENGLES2 && ctx->Version >= 30)) {
527       SET_BindBufferBase(exec, _mesa_BindBufferBase);
528       SET_ColorMaski(exec, _mesa_ColorMaski);
529       SET_DeleteTransformFeedbacks(exec, _mesa_DeleteTransformFeedbacks);
530       SET_Disablei(exec, _mesa_Disablei);
531       SET_Enablei(exec, _mesa_Enablei);
532       SET_GenTransformFeedbacks(exec, _mesa_GenTransformFeedbacks);
533       SET_GetActiveUniformBlockName(exec, _mesa_GetActiveUniformBlockName);
534       SET_GetActiveUniformBlockiv(exec, _mesa_GetActiveUniformBlockiv);
535       SET_GetActiveUniformsiv(exec, _mesa_GetActiveUniformsiv);
536       SET_GetBufferParameteri64v(exec, _mesa_GetBufferParameteri64v);
537       SET_GetFragDataIndex(exec, _mesa_GetFragDataIndex);
538       SET_GetFragDataLocation(exec, _mesa_GetFragDataLocation);
539       SET_GetInteger64i_v(exec, _mesa_GetInteger64i_v);
540       SET_GetInteger64v(exec, _mesa_GetInteger64v);
541       SET_GetIntegeri_v(exec, _mesa_GetIntegeri_v);
542       SET_GetInternalformati64v(exec, _mesa_GetInternalformati64v);
543       SET_GetInternalformativ(exec, _mesa_GetInternalformativ);
544       SET_GetSamplerParameterIiv(exec, _mesa_GetSamplerParameterIiv);
545       SET_GetSamplerParameterIuiv(exec, _mesa_GetSamplerParameterIuiv);
546       SET_GetSamplerParameterfv(exec, _mesa_GetSamplerParameterfv);
547       SET_GetSamplerParameteriv(exec, _mesa_GetSamplerParameteriv);
548       SET_GetStringi(exec, _mesa_GetStringi);
549       SET_GetSynciv(exec, _mesa_GetSynciv);
550       SET_GetTexParameterIiv(exec, _mesa_GetTexParameterIiv);
551       SET_GetTexParameterIuiv(exec, _mesa_GetTexParameterIuiv);
552       SET_GetTransformFeedbackVarying(exec, _mesa_GetTransformFeedbackVarying);
553       SET_GetUniformBlockIndex(exec, _mesa_GetUniformBlockIndex);
554       SET_GetUniformIndices(exec, _mesa_GetUniformIndices);
555       SET_GetUniformuiv(exec, _mesa_GetUniformuiv);
556       SET_GetVertexAttribIiv(exec, _mesa_GetVertexAttribIiv);
557       SET_GetVertexAttribIuiv(exec, _mesa_GetVertexAttribIuiv);
558       SET_IsEnabledi(exec, _mesa_IsEnabledi);
559       SET_IsSampler(exec, _mesa_IsSampler);
560       SET_IsSync(exec, _mesa_IsSync);
561       SET_IsTransformFeedback(exec, _mesa_IsTransformFeedback);
562       SET_ProgramUniform1ui(exec, _mesa_ProgramUniform1ui);
563       SET_ProgramUniform1uiv(exec, _mesa_ProgramUniform1uiv);
564       SET_ProgramUniform2ui(exec, _mesa_ProgramUniform2ui);
565       SET_ProgramUniform2uiv(exec, _mesa_ProgramUniform2uiv);
566       SET_ProgramUniform3ui(exec, _mesa_ProgramUniform3ui);
567       SET_ProgramUniform3uiv(exec, _mesa_ProgramUniform3uiv);
568       SET_ProgramUniform4ui(exec, _mesa_ProgramUniform4ui);
569       SET_ProgramUniform4uiv(exec, _mesa_ProgramUniform4uiv);
570       SET_RenderbufferStorageMultisample(exec, _mesa_RenderbufferStorageMultisample);
571       SET_SamplerParameterIiv(exec, _mesa_SamplerParameterIiv);
572       SET_SamplerParameterIuiv(exec, _mesa_SamplerParameterIuiv);
573       SET_SamplerParameterf(exec, _mesa_SamplerParameterf);
574       SET_SamplerParameterfv(exec, _mesa_SamplerParameterfv);
575       SET_SamplerParameteri(exec, _mesa_SamplerParameteri);
576       SET_SamplerParameteriv(exec, _mesa_SamplerParameteriv);
577       SET_TexParameterIiv(exec, _mesa_TexParameterIiv);
578       SET_TexParameterIuiv(exec, _mesa_TexParameterIuiv);
579       SET_Uniform1ui(exec, _mesa_Uniform1ui);
580       SET_Uniform1uiv(exec, _mesa_Uniform1uiv);
581       SET_Uniform2ui(exec, _mesa_Uniform2ui);
582       SET_Uniform2uiv(exec, _mesa_Uniform2uiv);
583       SET_Uniform3ui(exec, _mesa_Uniform3ui);
584       SET_Uniform3uiv(exec, _mesa_Uniform3uiv);
585       SET_Uniform4ui(exec, _mesa_Uniform4ui);
586       SET_Uniform4uiv(exec, _mesa_Uniform4uiv);
587       SET_UniformMatrix2x3fv(exec, _mesa_UniformMatrix2x3fv);
588       SET_UniformMatrix2x4fv(exec, _mesa_UniformMatrix2x4fv);
589       SET_UniformMatrix3x2fv(exec, _mesa_UniformMatrix3x2fv);
590       SET_UniformMatrix3x4fv(exec, _mesa_UniformMatrix3x4fv);
591       SET_UniformMatrix4x2fv(exec, _mesa_UniformMatrix4x2fv);
592       SET_UniformMatrix4x3fv(exec, _mesa_UniformMatrix4x3fv);
593       SET_WindowRectanglesEXT(exec, _mesa_WindowRectanglesEXT);
594    }
595    if (_mesa_is_desktop_gl(ctx) || (ctx->API == API_OPENGLES2 && ctx->Version >= 31)) {
596       SET_GetBooleani_v(exec, _mesa_GetBooleani_v);
597       SET_GetFloati_v(exec, _mesa_GetFloati_v);
598       SET_GetFramebufferParameteriv(exec, _mesa_GetFramebufferParameteriv);
599       SET_GetMultisamplefv(exec, _mesa_GetMultisamplefv);
600       SET_GetProgramInterfaceiv(exec, _mesa_GetProgramInterfaceiv);
601       SET_GetProgramResourceIndex(exec, _mesa_GetProgramResourceIndex);
602       SET_GetProgramResourceLocation(exec, _mesa_GetProgramResourceLocation);
603       SET_GetProgramResourceLocationIndex(exec, _mesa_GetProgramResourceLocationIndex);
604       SET_GetProgramResourceName(exec, _mesa_GetProgramResourceName);
605       SET_GetProgramResourceiv(exec, _mesa_GetProgramResourceiv);
606       SET_GetTexLevelParameterfv(exec, _mesa_GetTexLevelParameterfv);
607       SET_GetTexLevelParameteriv(exec, _mesa_GetTexLevelParameteriv);
608       SET_MemoryBarrier(exec, _mesa_MemoryBarrier);
609       SET_TexStorage2DMultisample(exec, _mesa_TexStorage2DMultisample);
610       SET_TexStorage3DMultisample(exec, _mesa_TexStorage3DMultisample);
611       SET_VertexAttribFormat(exec, _mesa_VertexAttribFormat);
612       SET_VertexAttribIFormat(exec, _mesa_VertexAttribIFormat);
613    }
614    if (_mesa_is_desktop_gl(ctx) || (ctx->API == API_OPENGLES2 && ctx->Version >= 32)) {
615       SET_CreateMemoryObjectsEXT(exec, _mesa_CreateMemoryObjectsEXT);
616       SET_DeleteMemoryObjectsEXT(exec, _mesa_DeleteMemoryObjectsEXT);
617       SET_DeleteSemaphoresEXT(exec, _mesa_DeleteSemaphoresEXT);
618       SET_GenSemaphoresEXT(exec, _mesa_GenSemaphoresEXT);
619       SET_GetMemoryObjectParameterivEXT(exec, _mesa_GetMemoryObjectParameterivEXT);
620       SET_GetSemaphoreParameterui64vEXT(exec, _mesa_GetSemaphoreParameterui64vEXT);
621       SET_GetUnsignedBytei_vEXT(exec, _mesa_GetUnsignedBytei_vEXT);
622       SET_GetUnsignedBytevEXT(exec, _mesa_GetUnsignedBytevEXT);
623       SET_ImportMemoryFdEXT(exec, _mesa_ImportMemoryFdEXT);
624       SET_ImportSemaphoreFdEXT(exec, _mesa_ImportSemaphoreFdEXT);
625       SET_IsMemoryObjectEXT(exec, _mesa_IsMemoryObjectEXT);
626       SET_IsSemaphoreEXT(exec, _mesa_IsSemaphoreEXT);
627       SET_MemoryObjectParameterivEXT(exec, _mesa_MemoryObjectParameterivEXT);
628       SET_SemaphoreParameterui64vEXT(exec, _mesa_SemaphoreParameterui64vEXT);
629       SET_SignalSemaphoreEXT(exec, _mesa_SignalSemaphoreEXT);
630       SET_TexStorageMem2DEXT(exec, _mesa_TexStorageMem2DEXT);
631       SET_TexStorageMem2DMultisampleEXT(exec, _mesa_TexStorageMem2DMultisampleEXT);
632       SET_TexStorageMem3DEXT(exec, _mesa_TexStorageMem3DEXT);
633       SET_TexStorageMem3DMultisampleEXT(exec, _mesa_TexStorageMem3DMultisampleEXT);
634       SET_TextureStorageMem2DEXT(exec, _mesa_TextureStorageMem2DEXT);
635       SET_TextureStorageMem2DMultisampleEXT(exec, _mesa_TextureStorageMem2DMultisampleEXT);
636       SET_TextureStorageMem3DEXT(exec, _mesa_TextureStorageMem3DEXT);
637       SET_TextureStorageMem3DMultisampleEXT(exec, _mesa_TextureStorageMem3DMultisampleEXT);
638       SET_WaitSemaphoreEXT(exec, _mesa_WaitSemaphoreEXT);
639    }
640    if (_mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES) {
641       SET_PointParameterf(exec, _mesa_PointParameterf);
642       SET_PointParameterfv(exec, _mesa_PointParameterfv);
643    }
644    if (_mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES || ctx->API == API_OPENGLES2) {
645       SET_BindFramebuffer(exec, _mesa_BindFramebuffer);
646       SET_BindRenderbuffer(exec, _mesa_BindRenderbuffer);
647       SET_BlendEquation(exec, _mesa_BlendEquation);
648       SET_ClearColor(exec, _mesa_ClearColor);
649       SET_ClearDepthf(exec, _mesa_ClearDepthf);
650       SET_ClearStencil(exec, _mesa_ClearStencil);
651       SET_ColorMask(exec, _mesa_ColorMask);
652       SET_DebugMessageCallback(exec, _mesa_DebugMessageCallback);
653       SET_DebugMessageControl(exec, _mesa_DebugMessageControl);
654       SET_DebugMessageInsert(exec, _mesa_DebugMessageInsert);
655       SET_DeleteFramebuffers(exec, _mesa_DeleteFramebuffers);
656       SET_DeleteRenderbuffers(exec, _mesa_DeleteRenderbuffers);
657       SET_DepthMask(exec, _mesa_DepthMask);
658       SET_DepthRangef(exec, _mesa_DepthRangef);
659       SET_Disable(exec, _mesa_Disable);
660       SET_EGLImageTargetRenderbufferStorageOES(exec, _mesa_EGLImageTargetRenderbufferStorageOES);
661       SET_EGLImageTargetTexture2DOES(exec, _mesa_EGLImageTargetTexture2DOES);
662       SET_Enable(exec, _mesa_Enable);
663       SET_Finish(exec, _mesa_Finish);
664       SET_Flush(exec, _mesa_Flush);
665       SET_GenFramebuffers(exec, _mesa_GenFramebuffers);
666       SET_GetBooleanv(exec, _mesa_GetBooleanv);
667       SET_GetBufferParameteriv(exec, _mesa_GetBufferParameteriv);
668       SET_GetBufferPointerv(exec, _mesa_GetBufferPointerv);
669       SET_GetDebugMessageLog(exec, _mesa_GetDebugMessageLog);
670       SET_GetError(exec, _mesa_GetError);
671       SET_GetFloatv(exec, _mesa_GetFloatv);
672       SET_GetFramebufferAttachmentParameteriv(exec, _mesa_GetFramebufferAttachmentParameteriv);
673       SET_GetIntegerv(exec, _mesa_GetIntegerv);
674       SET_GetObjectLabel(exec, _mesa_GetObjectLabel);
675       SET_GetObjectPtrLabel(exec, _mesa_GetObjectPtrLabel);
676       SET_GetPointerv(exec, _mesa_GetPointerv);
677       SET_GetRenderbufferParameteriv(exec, _mesa_GetRenderbufferParameteriv);
678       SET_GetString(exec, _mesa_GetString);
679       SET_GetTexParameterfv(exec, _mesa_GetTexParameterfv);
680       SET_GetTexParameteriv(exec, _mesa_GetTexParameteriv);
681       SET_Hint(exec, _mesa_Hint);
682       SET_IsBuffer(exec, _mesa_IsBuffer);
683       SET_IsEnabled(exec, _mesa_IsEnabled);
684       SET_IsFramebuffer(exec, _mesa_IsFramebuffer);
685       SET_IsRenderbuffer(exec, _mesa_IsRenderbuffer);
686       SET_IsTexture(exec, _mesa_IsTexture);
687       SET_ObjectLabel(exec, _mesa_ObjectLabel);
688       SET_ObjectPtrLabel(exec, _mesa_ObjectPtrLabel);
689       SET_PolygonOffset(exec, _mesa_PolygonOffset);
690       SET_PolygonOffsetClampEXT(exec, _mesa_PolygonOffsetClampEXT);
691       SET_PopDebugGroup(exec, _mesa_PopDebugGroup);
692       SET_PushDebugGroup(exec, _mesa_PushDebugGroup);
693       SET_RenderbufferStorage(exec, _mesa_RenderbufferStorage);
694       SET_SampleCoverage(exec, _mesa_SampleCoverage);
695       SET_StencilMask(exec, _mesa_StencilMask);
696       SET_TexParameterf(exec, _mesa_TexParameterf);
697       SET_TexParameterfv(exec, _mesa_TexParameterfv);
698       SET_TexParameteri(exec, _mesa_TexParameteri);
699       SET_TexParameteriv(exec, _mesa_TexParameteriv);
700    }
701    if (_mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES2) {
702       SET_BeginPerfQueryINTEL(exec, _mesa_BeginPerfQueryINTEL);
703       SET_BeginQuery(exec, _mesa_BeginQuery);
704       SET_BlendBarrier(exec, _mesa_BlendBarrier);
705       SET_BlendColor(exec, _mesa_BlendColor);
706       SET_CompileShader(exec, _mesa_CompileShader);
707       SET_CreatePerfQueryINTEL(exec, _mesa_CreatePerfQueryINTEL);
708       SET_CreateProgram(exec, _mesa_CreateProgram);
709       SET_CreateShaderProgramv(exec, _mesa_CreateShaderProgramv);
710       SET_DeletePerfQueryINTEL(exec, _mesa_DeletePerfQueryINTEL);
711       SET_DeleteProgram(exec, _mesa_DeleteProgram);
712       SET_DeleteProgramPipelines(exec, _mesa_DeleteProgramPipelines);
713       SET_DeleteQueries(exec, _mesa_DeleteQueries);
714       SET_DeleteShader(exec, _mesa_DeleteShader);
715       SET_EndPerfQueryINTEL(exec, _mesa_EndPerfQueryINTEL);
716       SET_EndQuery(exec, _mesa_EndQuery);
717       SET_GenQueries(exec, _mesa_GenQueries);
718       SET_GetActiveAttrib(exec, _mesa_GetActiveAttrib);
719       SET_GetActiveUniform(exec, _mesa_GetActiveUniform);
720       SET_GetAttachedShaders(exec, _mesa_GetAttachedShaders);
721       SET_GetAttribLocation(exec, _mesa_GetAttribLocation);
722       SET_GetFirstPerfQueryIdINTEL(exec, _mesa_GetFirstPerfQueryIdINTEL);
723       SET_GetGraphicsResetStatusARB(exec, _mesa_GetGraphicsResetStatusARB);
724       SET_GetNextPerfQueryIdINTEL(exec, _mesa_GetNextPerfQueryIdINTEL);
725       SET_GetPerfCounterInfoINTEL(exec, _mesa_GetPerfCounterInfoINTEL);
726       SET_GetPerfQueryDataINTEL(exec, _mesa_GetPerfQueryDataINTEL);
727       SET_GetPerfQueryIdByNameINTEL(exec, _mesa_GetPerfQueryIdByNameINTEL);
728       SET_GetPerfQueryInfoINTEL(exec, _mesa_GetPerfQueryInfoINTEL);
729       SET_GetProgramBinary(exec, _mesa_GetProgramBinary);
730       SET_GetProgramInfoLog(exec, _mesa_GetProgramInfoLog);
731       SET_GetProgramPipelineInfoLog(exec, _mesa_GetProgramPipelineInfoLog);
732       SET_GetProgramPipelineiv(exec, _mesa_GetProgramPipelineiv);
733       SET_GetProgramiv(exec, _mesa_GetProgramiv);
734       SET_GetQueryObjecti64v(exec, _mesa_GetQueryObjecti64v);
735       SET_GetQueryObjectiv(exec, _mesa_GetQueryObjectiv);
736       SET_GetQueryObjectui64v(exec, _mesa_GetQueryObjectui64v);
737       SET_GetQueryObjectuiv(exec, _mesa_GetQueryObjectuiv);
738       SET_GetQueryiv(exec, _mesa_GetQueryiv);
739       SET_GetShaderInfoLog(exec, _mesa_GetShaderInfoLog);
740       SET_GetShaderPrecisionFormat(exec, _mesa_GetShaderPrecisionFormat);
741       SET_GetShaderSource(exec, _mesa_GetShaderSource);
742       SET_GetShaderiv(exec, _mesa_GetShaderiv);
743       SET_GetUniformfv(exec, _mesa_GetUniformfv);
744       SET_GetUniformiv(exec, _mesa_GetUniformiv);
745       SET_GetVertexAttribPointerv(exec, _mesa_GetVertexAttribPointerv);
746       SET_GetVertexAttribfv(exec, _mesa_GetVertexAttribfv);
747       SET_GetVertexAttribiv(exec, _mesa_GetVertexAttribiv);
748       SET_GetnUniformfvARB(exec, _mesa_GetnUniformfvARB);
749       SET_GetnUniformivARB(exec, _mesa_GetnUniformivARB);
750       SET_GetnUniformuivARB(exec, _mesa_GetnUniformuivARB);
751       SET_IsProgram(exec, _mesa_IsProgram);
752       SET_IsProgramPipeline(exec, _mesa_IsProgramPipeline);
753       SET_IsQuery(exec, _mesa_IsQuery);
754       SET_IsShader(exec, _mesa_IsShader);
755       SET_IsVertexArray(exec, _mesa_IsVertexArray);
756       SET_ProgramBinary(exec, _mesa_ProgramBinary);
757       SET_ProgramUniform1f(exec, _mesa_ProgramUniform1f);
758       SET_ProgramUniform1fv(exec, _mesa_ProgramUniform1fv);
759       SET_ProgramUniform1i(exec, _mesa_ProgramUniform1i);
760       SET_ProgramUniform1iv(exec, _mesa_ProgramUniform1iv);
761       SET_ProgramUniform2f(exec, _mesa_ProgramUniform2f);
762       SET_ProgramUniform2fv(exec, _mesa_ProgramUniform2fv);
763       SET_ProgramUniform2i(exec, _mesa_ProgramUniform2i);
764       SET_ProgramUniform2iv(exec, _mesa_ProgramUniform2iv);
765       SET_ProgramUniform3f(exec, _mesa_ProgramUniform3f);
766       SET_ProgramUniform3fv(exec, _mesa_ProgramUniform3fv);
767       SET_ProgramUniform3i(exec, _mesa_ProgramUniform3i);
768       SET_ProgramUniform3iv(exec, _mesa_ProgramUniform3iv);
769       SET_ProgramUniform4f(exec, _mesa_ProgramUniform4f);
770       SET_ProgramUniform4fv(exec, _mesa_ProgramUniform4fv);
771       SET_ProgramUniform4i(exec, _mesa_ProgramUniform4i);
772       SET_ProgramUniform4iv(exec, _mesa_ProgramUniform4iv);
773       SET_ProgramUniformMatrix2fv(exec, _mesa_ProgramUniformMatrix2fv);
774       SET_ProgramUniformMatrix2x3fv(exec, _mesa_ProgramUniformMatrix2x3fv);
775       SET_ProgramUniformMatrix2x4fv(exec, _mesa_ProgramUniformMatrix2x4fv);
776       SET_ProgramUniformMatrix3fv(exec, _mesa_ProgramUniformMatrix3fv);
777       SET_ProgramUniformMatrix3x2fv(exec, _mesa_ProgramUniformMatrix3x2fv);
778       SET_ProgramUniformMatrix3x4fv(exec, _mesa_ProgramUniformMatrix3x4fv);
779       SET_ProgramUniformMatrix4fv(exec, _mesa_ProgramUniformMatrix4fv);
780       SET_ProgramUniformMatrix4x2fv(exec, _mesa_ProgramUniformMatrix4x2fv);
781       SET_ProgramUniformMatrix4x3fv(exec, _mesa_ProgramUniformMatrix4x3fv);
782       SET_QueryCounter(exec, _mesa_QueryCounter);
783       SET_ReleaseShaderCompiler(exec, _mesa_ReleaseShaderCompiler);
784       SET_ShaderBinary(exec, _mesa_ShaderBinary);
785       SET_Uniform1f(exec, _mesa_Uniform1f);
786       SET_Uniform1fv(exec, _mesa_Uniform1fv);
787       SET_Uniform1i(exec, _mesa_Uniform1i);
788       SET_Uniform1iv(exec, _mesa_Uniform1iv);
789       SET_Uniform2f(exec, _mesa_Uniform2f);
790       SET_Uniform2fv(exec, _mesa_Uniform2fv);
791       SET_Uniform2i(exec, _mesa_Uniform2i);
792       SET_Uniform2iv(exec, _mesa_Uniform2iv);
793       SET_Uniform3f(exec, _mesa_Uniform3f);
794       SET_Uniform3fv(exec, _mesa_Uniform3fv);
795       SET_Uniform3i(exec, _mesa_Uniform3i);
796       SET_Uniform3iv(exec, _mesa_Uniform3iv);
797       SET_Uniform4f(exec, _mesa_Uniform4f);
798       SET_Uniform4fv(exec, _mesa_Uniform4fv);
799       SET_Uniform4i(exec, _mesa_Uniform4i);
800       SET_Uniform4iv(exec, _mesa_Uniform4iv);
801       SET_UniformMatrix2fv(exec, _mesa_UniformMatrix2fv);
802       SET_UniformMatrix3fv(exec, _mesa_UniformMatrix3fv);
803       SET_UniformMatrix4fv(exec, _mesa_UniformMatrix4fv);
804       SET_ValidateProgram(exec, _mesa_ValidateProgram);
805       SET_ValidateProgramPipeline(exec, _mesa_ValidateProgramPipeline);
806    }
807    if (_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx) || (ctx->API == API_OPENGLES2 && ctx->Version >= 30))) {
808       SET_BeginTransformFeedback(exec, _mesa_BeginTransformFeedback_no_error);
809       SET_BindBufferRange(exec, _mesa_BindBufferRange_no_error);
810       SET_BindFragDataLocation(exec, _mesa_BindFragDataLocation_no_error);
811       SET_BindFragDataLocationIndexed(exec, _mesa_BindFragDataLocationIndexed_no_error);
812       SET_BindSampler(exec, _mesa_BindSampler_no_error);
813       SET_BindTransformFeedback(exec, _mesa_BindTransformFeedback_no_error);
814       SET_BlendEquationSeparateiARB(exec, _mesa_BlendEquationSeparateiARB_no_error);
815       SET_BlendEquationiARB(exec, _mesa_BlendEquationiARB_no_error);
816       SET_BlendFuncSeparateiARB(exec, _mesa_BlendFuncSeparateiARB_no_error);
817       SET_BlendFunciARB(exec, _mesa_BlendFunciARB_no_error);
818       SET_BlitFramebuffer(exec, _mesa_BlitFramebuffer_no_error);
819       SET_ClearBufferfi(exec, _mesa_ClearBufferfi_no_error);
820       SET_ClearBufferfv(exec, _mesa_ClearBufferfv_no_error);
821       SET_ClearBufferiv(exec, _mesa_ClearBufferiv_no_error);
822       SET_ClearBufferuiv(exec, _mesa_ClearBufferuiv_no_error);
823       SET_ClientWaitSync(exec, _mesa_ClientWaitSync_no_error);
824       SET_CopyBufferSubData(exec, _mesa_CopyBufferSubData_no_error);
825       SET_CopyImageSubData(exec, _mesa_CopyImageSubData_no_error);
826       SET_DeleteSamplers(exec, _mesa_DeleteSamplers_no_error);
827       SET_DeleteSync(exec, _mesa_DeleteSync_no_error);
828       SET_EndTransformFeedback(exec, _mesa_EndTransformFeedback_no_error);
829       SET_FenceSync(exec, _mesa_FenceSync_no_error);
830       SET_FramebufferTextureLayer(exec, _mesa_FramebufferTextureLayer_no_error);
831       SET_GenSamplers(exec, _mesa_GenSamplers_no_error);
832       SET_InvalidateFramebuffer(exec, _mesa_InvalidateFramebuffer_no_error);
833       SET_InvalidateSubFramebuffer(exec, _mesa_InvalidateSubFramebuffer_no_error);
834       SET_MinSampleShading(exec, _mesa_MinSampleShading_no_error);
835       SET_PauseTransformFeedback(exec, _mesa_PauseTransformFeedback_no_error);
836       SET_ResumeTransformFeedback(exec, _mesa_ResumeTransformFeedback_no_error);
837       SET_TexStorage2D(exec, _mesa_TexStorage2D_no_error);
838       SET_TexStorage3D(exec, _mesa_TexStorage3D_no_error);
839       SET_TransformFeedbackVaryings(exec, _mesa_TransformFeedbackVaryings_no_error);
840       SET_UniformBlockBinding(exec, _mesa_UniformBlockBinding_no_error);
841       SET_VertexAttribDivisor(exec, _mesa_VertexAttribDivisor_no_error);
842       SET_VertexAttribIPointer(exec, _mesa_VertexAttribIPointer_no_error);
843       SET_WaitSync(exec, _mesa_WaitSync_no_error);
844    }
845    if (_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx) || (ctx->API == API_OPENGLES2 && ctx->Version >= 31))) {
846       SET_BindImageTexture(exec, _mesa_BindImageTexture_no_error);
847       SET_BindVertexBuffer(exec, _mesa_BindVertexBuffer_no_error);
848       SET_BufferStorage(exec, _mesa_BufferStorage_no_error);
849       SET_DispatchCompute(exec, _mesa_DispatchCompute_no_error);
850       SET_DispatchComputeIndirect(exec, _mesa_DispatchComputeIndirect_no_error);
851       SET_MemoryBarrierByRegion(exec, _mesa_MemoryBarrierByRegion_no_error);
852       SET_PatchParameteri(exec, _mesa_PatchParameteri_no_error);
853       SET_SampleMaski(exec, _mesa_SampleMaski_no_error);
854       SET_VertexAttribBinding(exec, _mesa_VertexAttribBinding_no_error);
855       SET_VertexBindingDivisor(exec, _mesa_VertexBindingDivisor_no_error);
856    }
857    if (_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx) || (ctx->API == API_OPENGLES2 && ctx->Version >= 32))) {
858       SET_BufferStorageMemEXT(exec, _mesa_BufferStorageMemEXT_no_error);
859       SET_NamedBufferStorageMemEXT(exec, _mesa_NamedBufferStorageMemEXT_no_error);
860    }
861    if (_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES || ctx->API == API_OPENGLES2)) {
862       SET_ActiveTexture(exec, _mesa_ActiveTexture_no_error);
863       SET_BindBuffer(exec, _mesa_BindBuffer_no_error);
864       SET_BindTexture(exec, _mesa_BindTexture_no_error);
865       SET_BlendEquationSeparate(exec, _mesa_BlendEquationSeparate_no_error);
866       SET_BlendFunc(exec, _mesa_BlendFunc_no_error);
867       SET_BlendFuncSeparate(exec, _mesa_BlendFuncSeparate_no_error);
868       SET_BufferData(exec, _mesa_BufferData_no_error);
869       SET_BufferSubData(exec, _mesa_BufferSubData_no_error);
870       SET_CheckFramebufferStatus(exec, _mesa_CheckFramebufferStatus_no_error);
871       SET_Clear(exec, _mesa_Clear_no_error);
872       SET_CompressedTexImage2D(exec, _mesa_CompressedTexImage2D_no_error);
873       SET_CompressedTexSubImage2D(exec, _mesa_CompressedTexSubImage2D_no_error);
874       SET_CopyTexImage2D(exec, _mesa_CopyTexImage2D_no_error);
875       SET_CopyTexSubImage2D(exec, _mesa_CopyTexSubImage2D_no_error);
876       SET_CullFace(exec, _mesa_CullFace_no_error);
877       SET_DeleteBuffers(exec, _mesa_DeleteBuffers_no_error);
878       SET_DeleteTextures(exec, _mesa_DeleteTextures_no_error);
879       SET_DepthFunc(exec, _mesa_DepthFunc_no_error);
880       SET_FlushMappedBufferRange(exec, _mesa_FlushMappedBufferRange_no_error);
881       SET_FramebufferRenderbuffer(exec, _mesa_FramebufferRenderbuffer_no_error);
882       SET_FramebufferTexture2D(exec, _mesa_FramebufferTexture2D_no_error);
883       SET_FrontFace(exec, _mesa_FrontFace_no_error);
884       SET_GenBuffers(exec, _mesa_GenBuffers_no_error);
885       SET_GenRenderbuffers(exec, _mesa_GenRenderbuffers_no_error);
886       SET_GenTextures(exec, _mesa_GenTextures_no_error);
887       SET_GenerateMipmap(exec, _mesa_GenerateMipmap_no_error);
888       SET_LineWidth(exec, _mesa_LineWidth_no_error);
889       SET_MapBuffer(exec, _mesa_MapBuffer_no_error);
890       SET_MapBufferRange(exec, _mesa_MapBufferRange_no_error);
891       SET_PixelStorei(exec, _mesa_PixelStorei_no_error);
892       SET_ReadPixels(exec, _mesa_ReadPixels_no_error);
893       SET_Scissor(exec, _mesa_Scissor_no_error);
894       SET_StencilFunc(exec, _mesa_StencilFunc_no_error);
895       SET_StencilOp(exec, _mesa_StencilOp_no_error);
896       SET_TexImage2D(exec, _mesa_TexImage2D_no_error);
897       SET_TexSubImage2D(exec, _mesa_TexSubImage2D_no_error);
898       SET_UnmapBuffer(exec, _mesa_UnmapBuffer_no_error);
899       SET_Viewport(exec, _mesa_Viewport_no_error);
900    }
901    if (_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES)) {
902       SET_LogicOp(exec, _mesa_LogicOp_no_error);
903       SET_PointSize(exec, _mesa_PointSize_no_error);
904    }
905    if (_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES2)) {
906       SET_ActiveShaderProgram(exec, _mesa_ActiveShaderProgram_no_error);
907       SET_AttachShader(exec, _mesa_AttachShader_no_error);
908       SET_BindAttribLocation(exec, _mesa_BindAttribLocation_no_error);
909       SET_BindProgramPipeline(exec, _mesa_BindProgramPipeline_no_error);
910       SET_BindVertexArray(exec, _mesa_BindVertexArray_no_error);
911       SET_CompressedTexImage3D(exec, _mesa_CompressedTexImage3D_no_error);
912       SET_CompressedTexSubImage3D(exec, _mesa_CompressedTexSubImage3D_no_error);
913       SET_CopyTexSubImage3D(exec, _mesa_CopyTexSubImage3D_no_error);
914       SET_CreateShader(exec, _mesa_CreateShader_no_error);
915       SET_DeleteVertexArrays(exec, _mesa_DeleteVertexArrays_no_error);
916       SET_DetachShader(exec, _mesa_DetachShader_no_error);
917       SET_DisableVertexAttribArray(exec, _mesa_DisableVertexAttribArray_no_error);
918       SET_DrawBuffers(exec, _mesa_DrawBuffers_no_error);
919       SET_EnableVertexAttribArray(exec, _mesa_EnableVertexAttribArray_no_error);
920       SET_FramebufferTexture3D(exec, _mesa_FramebufferTexture3D_no_error);
921       SET_GenProgramPipelines(exec, _mesa_GenProgramPipelines_no_error);
922       SET_GenVertexArrays(exec, _mesa_GenVertexArrays_no_error);
923       SET_GetUniformLocation(exec, _mesa_GetUniformLocation_no_error);
924       SET_LinkProgram(exec, _mesa_LinkProgram_no_error);
925       SET_ProgramParameteri(exec, _mesa_ProgramParameteri_no_error);
926       SET_ReadBuffer(exec, _mesa_ReadBuffer_no_error);
927       SET_ReadnPixelsARB(exec, _mesa_ReadnPixelsARB_no_error);
928       SET_ShaderSource(exec, _mesa_ShaderSource_no_error);
929       SET_StencilFuncSeparate(exec, _mesa_StencilFuncSeparate_no_error);
930       SET_StencilMaskSeparate(exec, _mesa_StencilMaskSeparate_no_error);
931       SET_StencilOpSeparate(exec, _mesa_StencilOpSeparate_no_error);
932       SET_TexImage3D(exec, _mesa_TexImage3D_no_error);
933       SET_TexSubImage3D(exec, _mesa_TexSubImage3D_no_error);
934       SET_UseProgram(exec, _mesa_UseProgram_no_error);
935       SET_UseProgramStages(exec, _mesa_UseProgramStages_no_error);
936       SET_VertexAttribPointer(exec, _mesa_VertexAttribPointer_no_error);
937    }
938    if (_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx))) {
939       SET_AttachObjectARB(exec, _mesa_AttachObjectARB_no_error);
940       SET_BeginConditionalRender(exec, _mesa_BeginConditionalRender_no_error);
941       SET_BindBufferOffsetEXT(exec, _mesa_BindBufferOffsetEXT_no_error);
942       SET_BindImageTextures(exec, _mesa_BindImageTextures_no_error);
943       SET_BindSamplers(exec, _mesa_BindSamplers_no_error);
944       SET_BindTextures(exec, _mesa_BindTextures_no_error);
945       SET_BindVertexBuffers(exec, _mesa_BindVertexBuffers_no_error);
946       SET_ClearBufferData(exec, _mesa_ClearBufferData_no_error);
947       SET_ClearBufferSubData(exec, _mesa_ClearBufferSubData_no_error);
948       SET_ClipControl(exec, _mesa_ClipControl_no_error);
949       SET_CompressedTexImage1D(exec, _mesa_CompressedTexImage1D_no_error);
950       SET_CompressedTexSubImage1D(exec, _mesa_CompressedTexSubImage1D_no_error);
951       SET_CopyTexImage1D(exec, _mesa_CopyTexImage1D_no_error);
952       SET_CopyTexSubImage1D(exec, _mesa_CopyTexSubImage1D_no_error);
953       SET_CreateShaderObjectARB(exec, _mesa_CreateShaderObjectARB_no_error);
954       SET_DetachObjectARB(exec, _mesa_DetachObjectARB_no_error);
955       SET_DispatchComputeGroupSizeARB(exec, _mesa_DispatchComputeGroupSizeARB_no_error);
956       SET_DrawBuffer(exec, _mesa_DrawBuffer_no_error);
957       SET_EndConditionalRender(exec, _mesa_EndConditionalRender_no_error);
958       SET_FramebufferTexture1D(exec, _mesa_FramebufferTexture1D_no_error);
959       SET_GetImageHandleARB(exec, _mesa_GetImageHandleARB_no_error);
960       SET_GetTextureHandleARB(exec, _mesa_GetTextureHandleARB_no_error);
961       SET_GetTextureSamplerHandleARB(exec, _mesa_GetTextureSamplerHandleARB_no_error);
962       SET_InvalidateBufferData(exec, _mesa_InvalidateBufferData_no_error);
963       SET_InvalidateBufferSubData(exec, _mesa_InvalidateBufferSubData_no_error);
964       SET_InvalidateTexImage(exec, _mesa_InvalidateTexImage_no_error);
965       SET_InvalidateTexSubImage(exec, _mesa_InvalidateTexSubImage_no_error);
966       SET_IsImageHandleResidentARB(exec, _mesa_IsImageHandleResidentARB_no_error);
967       SET_IsTextureHandleResidentARB(exec, _mesa_IsTextureHandleResidentARB_no_error);
968       SET_MakeImageHandleNonResidentARB(exec, _mesa_MakeImageHandleNonResidentARB_no_error);
969       SET_MakeImageHandleResidentARB(exec, _mesa_MakeImageHandleResidentARB_no_error);
970       SET_MakeTextureHandleNonResidentARB(exec, _mesa_MakeTextureHandleNonResidentARB_no_error);
971       SET_MakeTextureHandleResidentARB(exec, _mesa_MakeTextureHandleResidentARB_no_error);
972       SET_PixelStoref(exec, _mesa_PixelStoref_no_error);
973       SET_PolygonMode(exec, _mesa_PolygonMode_no_error);
974       SET_PrimitiveRestartIndex(exec, _mesa_PrimitiveRestartIndex_no_error);
975       SET_ShaderStorageBlockBinding(exec, _mesa_ShaderStorageBlockBinding_no_error);
976       SET_TexImage1D(exec, _mesa_TexImage1D_no_error);
977       SET_TexStorage1D(exec, _mesa_TexStorage1D_no_error);
978       SET_TexSubImage1D(exec, _mesa_TexSubImage1D_no_error);
979       SET_TextureView(exec, _mesa_TextureView_no_error);
980    }
981    if (_mesa_is_no_error_enabled(ctx) && (ctx->API == API_OPENGLES)) {
982       SET_PointSizePointerOES(exec, _mesa_PointSizePointerOES_no_error);
983    }
984    if (_mesa_is_no_error_enabled(ctx) && (ctx->API == API_OPENGL_COMPAT || ctx->API == API_OPENGLES)) {
985       SET_ColorPointer(exec, _mesa_ColorPointer_no_error);
986       SET_NormalPointer(exec, _mesa_NormalPointer_no_error);
987       SET_TexCoordPointer(exec, _mesa_TexCoordPointer_no_error);
988       SET_VertexPointer(exec, _mesa_VertexPointer_no_error);
989    }
990    if (_mesa_is_no_error_enabled(ctx) && (ctx->API == API_OPENGL_COMPAT)) {
991       SET_EdgeFlagPointer(exec, _mesa_EdgeFlagPointer_no_error);
992       SET_FogCoordPointer(exec, _mesa_FogCoordPointer_no_error);
993       SET_IndexPointer(exec, _mesa_IndexPointer_no_error);
994       SET_SecondaryColorPointer(exec, _mesa_SecondaryColorPointer_no_error);
995    }
996    if (_mesa_is_no_error_enabled(ctx) && (ctx->API == API_OPENGL_CORE || (ctx->API == API_OPENGLES2 && ctx->Version >= 31))) {
997       SET_FramebufferTexture(exec, _mesa_FramebufferTexture_no_error);
998       SET_ScissorArrayv(exec, _mesa_ScissorArrayv_no_error);
999       SET_ScissorIndexed(exec, _mesa_ScissorIndexed_no_error);
1000       SET_ScissorIndexedv(exec, _mesa_ScissorIndexedv_no_error);
1001       SET_ViewportArrayv(exec, _mesa_ViewportArrayv_no_error);
1002       SET_ViewportIndexedf(exec, _mesa_ViewportIndexedf_no_error);
1003       SET_ViewportIndexedfv(exec, _mesa_ViewportIndexedfv_no_error);
1004    }
1005    if (_mesa_is_no_error_enabled(ctx) && (ctx->API == API_OPENGL_CORE)) {
1006       SET_BindTextureUnit(exec, _mesa_BindTextureUnit_no_error);
1007       SET_BlitNamedFramebuffer(exec, _mesa_BlitNamedFramebuffer_no_error);
1008       SET_ClearNamedBufferData(exec, _mesa_ClearNamedBufferData_no_error);
1009       SET_ClearNamedBufferSubData(exec, _mesa_ClearNamedBufferSubData_no_error);
1010       SET_CompressedTextureSubImage1D(exec, _mesa_CompressedTextureSubImage1D_no_error);
1011       SET_CompressedTextureSubImage2D(exec, _mesa_CompressedTextureSubImage2D_no_error);
1012       SET_CompressedTextureSubImage3D(exec, _mesa_CompressedTextureSubImage3D_no_error);
1013       SET_CopyNamedBufferSubData(exec, _mesa_CopyNamedBufferSubData_no_error);
1014       SET_CopyTextureSubImage1D(exec, _mesa_CopyTextureSubImage1D_no_error);
1015       SET_CopyTextureSubImage2D(exec, _mesa_CopyTextureSubImage2D_no_error);
1016       SET_CopyTextureSubImage3D(exec, _mesa_CopyTextureSubImage3D_no_error);
1017       SET_CreateBuffers(exec, _mesa_CreateBuffers_no_error);
1018       SET_CreateProgramPipelines(exec, _mesa_CreateProgramPipelines_no_error);
1019       SET_CreateRenderbuffers(exec, _mesa_CreateRenderbuffers_no_error);
1020       SET_CreateSamplers(exec, _mesa_CreateSamplers_no_error);
1021       SET_CreateTextures(exec, _mesa_CreateTextures_no_error);
1022       SET_CreateVertexArrays(exec, _mesa_CreateVertexArrays_no_error);
1023       SET_DepthRangeArrayv(exec, _mesa_DepthRangeArrayv_no_error);
1024       SET_DepthRangeIndexed(exec, _mesa_DepthRangeIndexed_no_error);
1025       SET_DisableVertexArrayAttrib(exec, _mesa_DisableVertexArrayAttrib_no_error);
1026       SET_EnableVertexArrayAttrib(exec, _mesa_EnableVertexArrayAttrib_no_error);
1027       SET_FlushMappedNamedBufferRange(exec, _mesa_FlushMappedNamedBufferRange_no_error);
1028       SET_GenerateTextureMipmap(exec, _mesa_GenerateTextureMipmap_no_error);
1029       SET_MapNamedBuffer(exec, _mesa_MapNamedBuffer_no_error);
1030       SET_MapNamedBufferRange(exec, _mesa_MapNamedBufferRange_no_error);
1031       SET_NamedBufferData(exec, _mesa_NamedBufferData_no_error);
1032       SET_NamedBufferStorage(exec, _mesa_NamedBufferStorage_no_error);
1033       SET_NamedBufferSubData(exec, _mesa_NamedBufferSubData_no_error);
1034       SET_NamedFramebufferDrawBuffer(exec, _mesa_NamedFramebufferDrawBuffer_no_error);
1035       SET_NamedFramebufferDrawBuffers(exec, _mesa_NamedFramebufferDrawBuffers_no_error);
1036       SET_NamedFramebufferReadBuffer(exec, _mesa_NamedFramebufferReadBuffer_no_error);
1037       SET_NamedFramebufferRenderbuffer(exec, _mesa_NamedFramebufferRenderbuffer_no_error);
1038       SET_NamedFramebufferTexture(exec, _mesa_NamedFramebufferTexture_no_error);
1039       SET_NamedFramebufferTextureLayer(exec, _mesa_NamedFramebufferTextureLayer_no_error);
1040       SET_TextureStorage1D(exec, _mesa_TextureStorage1D_no_error);
1041       SET_TextureStorage2D(exec, _mesa_TextureStorage2D_no_error);
1042       SET_TextureStorage3D(exec, _mesa_TextureStorage3D_no_error);
1043       SET_TextureSubImage1D(exec, _mesa_TextureSubImage1D_no_error);
1044       SET_TextureSubImage2D(exec, _mesa_TextureSubImage2D_no_error);
1045       SET_TextureSubImage3D(exec, _mesa_TextureSubImage3D_no_error);
1046       SET_UnmapNamedBuffer(exec, _mesa_UnmapNamedBuffer_no_error);
1047       SET_VertexArrayAttribBinding(exec, _mesa_VertexArrayAttribBinding_no_error);
1048       SET_VertexArrayBindingDivisor(exec, _mesa_VertexArrayBindingDivisor_no_error);
1049       SET_VertexArrayElementBuffer(exec, _mesa_VertexArrayElementBuffer_no_error);
1050       SET_VertexArrayVertexBuffer(exec, _mesa_VertexArrayVertexBuffer_no_error);
1051       SET_VertexArrayVertexBuffers(exec, _mesa_VertexArrayVertexBuffers_no_error);
1052       SET_VertexAttribLPointer(exec, _mesa_VertexAttribLPointer_no_error);
1053    }
1054    if (ctx->API == API_OPENGLES) {
1055       SET_AlphaFuncx(exec, _mesa_AlphaFuncx);
1056       SET_ClearColorx(exec, _mesa_ClearColorx);
1057       SET_ClearDepthx(exec, _mesa_ClearDepthx);
1058       SET_ClipPlanef(exec, _mesa_ClipPlanef);
1059       SET_ClipPlanex(exec, _mesa_ClipPlanex);
1060       SET_Color4x(exec, _mesa_Color4x);
1061       SET_DepthRangex(exec, _mesa_DepthRangex);
1062       SET_DrawTexfOES(exec, _mesa_DrawTexfOES);
1063       SET_DrawTexfvOES(exec, _mesa_DrawTexfvOES);
1064       SET_DrawTexiOES(exec, _mesa_DrawTexiOES);
1065       SET_DrawTexivOES(exec, _mesa_DrawTexivOES);
1066       SET_DrawTexsOES(exec, _mesa_DrawTexsOES);
1067       SET_DrawTexsvOES(exec, _mesa_DrawTexsvOES);
1068       SET_DrawTexxOES(exec, _mesa_DrawTexxOES);
1069       SET_DrawTexxvOES(exec, _mesa_DrawTexxvOES);
1070       SET_Fogx(exec, _mesa_Fogx);
1071       SET_Fogxv(exec, _mesa_Fogxv);
1072       SET_Frustumf(exec, _mesa_Frustumf);
1073       SET_Frustumx(exec, _mesa_Frustumx);
1074       SET_GetClipPlanef(exec, _mesa_GetClipPlanef);
1075       SET_GetClipPlanex(exec, _mesa_GetClipPlanex);
1076       SET_GetFixedv(exec, _mesa_GetFixedv);
1077       SET_GetLightxv(exec, _mesa_GetLightxv);
1078       SET_GetMaterialxv(exec, _mesa_GetMaterialxv);
1079       SET_GetTexEnvxv(exec, _mesa_GetTexEnvxv);
1080       SET_GetTexGenxvOES(exec, _mesa_GetTexGenxvOES);
1081       SET_GetTexParameterxv(exec, _mesa_GetTexParameterxv);
1082       SET_LightModelx(exec, _mesa_LightModelx);
1083       SET_LightModelxv(exec, _mesa_LightModelxv);
1084       SET_Lightx(exec, _mesa_Lightx);
1085       SET_Lightxv(exec, _mesa_Lightxv);
1086       SET_LineWidthx(exec, _mesa_LineWidthx);
1087       SET_LoadMatrixx(exec, _mesa_LoadMatrixx);
1088       SET_Materialx(exec, _mesa_Materialx);
1089       SET_Materialxv(exec, _mesa_Materialxv);
1090       SET_MultMatrixx(exec, _mesa_MultMatrixx);
1091       SET_MultiTexCoord4x(exec, _mesa_MultiTexCoord4x);
1092       SET_Normal3x(exec, _mesa_Normal3x);
1093       SET_Orthof(exec, _mesa_Orthof);
1094       SET_Orthox(exec, _mesa_Orthox);
1095       SET_PointParameterx(exec, _mesa_PointParameterx);
1096       SET_PointParameterxv(exec, _mesa_PointParameterxv);
1097       SET_PointSizex(exec, _mesa_PointSizex);
1098       SET_PolygonOffsetx(exec, _mesa_PolygonOffsetx);
1099       SET_QueryMatrixxOES(exec, _mesa_QueryMatrixxOES);
1100       SET_Rotatex(exec, _mesa_Rotatex);
1101       SET_SampleCoveragex(exec, _mesa_SampleCoveragex);
1102       SET_Scalex(exec, _mesa_Scalex);
1103       SET_TexEnvx(exec, _mesa_TexEnvx);
1104       SET_TexEnvxv(exec, _mesa_TexEnvxv);
1105       SET_TexGenxOES(exec, _mesa_TexGenxOES);
1106       SET_TexGenxvOES(exec, _mesa_TexGenxvOES);
1107       SET_TexParameterx(exec, _mesa_TexParameterx);
1108       SET_TexParameterxv(exec, _mesa_TexParameterxv);
1109       SET_Translatex(exec, _mesa_Translatex);
1110    }
1111    if (ctx->API == API_OPENGLES || ctx->API == API_OPENGLES2) {
1112       SET_DiscardFramebufferEXT(exec, _mesa_DiscardFramebufferEXT);
1113    }
1114    if (ctx->API == API_OPENGL_COMPAT) {
1115       SET_Accum(exec, _mesa_Accum);
1116       SET_ActiveStencilFaceEXT(exec, _mesa_ActiveStencilFaceEXT);
1117       SET_AlphaFragmentOp1ATI(exec, _mesa_AlphaFragmentOp1ATI);
1118       SET_AlphaFragmentOp2ATI(exec, _mesa_AlphaFragmentOp2ATI);
1119       SET_AlphaFragmentOp3ATI(exec, _mesa_AlphaFragmentOp3ATI);
1120       SET_AreTexturesResident(exec, _mesa_AreTexturesResident);
1121       SET_BeginFragmentShaderATI(exec, _mesa_BeginFragmentShaderATI);
1122       SET_BindFragmentShaderATI(exec, _mesa_BindFragmentShaderATI);
1123       SET_BindFramebufferEXT(exec, _mesa_BindFramebufferEXT);
1124       SET_BindProgramARB(exec, _mesa_BindProgramARB);
1125       SET_BindRenderbufferEXT(exec, _mesa_BindRenderbufferEXT);
1126       SET_Bitmap(exec, _mesa_Bitmap);
1127       SET_CallList(exec, _mesa_CallList);
1128       SET_CallLists(exec, _mesa_CallLists);
1129       SET_ClearAccum(exec, _mesa_ClearAccum);
1130       SET_ClearIndex(exec, _mesa_ClearIndex);
1131       SET_ClipPlane(exec, _mesa_ClipPlane);
1132       SET_Color3b(exec, _mesa_Color3b);
1133       SET_Color3bv(exec, _mesa_Color3bv);
1134       SET_Color3d(exec, _mesa_Color3d);
1135       SET_Color3dv(exec, _mesa_Color3dv);
1136       SET_Color3i(exec, _mesa_Color3i);
1137       SET_Color3iv(exec, _mesa_Color3iv);
1138       SET_Color3s(exec, _mesa_Color3s);
1139       SET_Color3sv(exec, _mesa_Color3sv);
1140       SET_Color3ub(exec, _mesa_Color3ub);
1141       SET_Color3ubv(exec, _mesa_Color3ubv);
1142       SET_Color3ui(exec, _mesa_Color3ui);
1143       SET_Color3uiv(exec, _mesa_Color3uiv);
1144       SET_Color3us(exec, _mesa_Color3us);
1145       SET_Color3usv(exec, _mesa_Color3usv);
1146       SET_Color4b(exec, _mesa_Color4b);
1147       SET_Color4bv(exec, _mesa_Color4bv);
1148       SET_Color4d(exec, _mesa_Color4d);
1149       SET_Color4dv(exec, _mesa_Color4dv);
1150       SET_Color4i(exec, _mesa_Color4i);
1151       SET_Color4iv(exec, _mesa_Color4iv);
1152       SET_Color4s(exec, _mesa_Color4s);
1153       SET_Color4sv(exec, _mesa_Color4sv);
1154       SET_Color4ubv(exec, _mesa_Color4ubv);
1155       SET_Color4ui(exec, _mesa_Color4ui);
1156       SET_Color4uiv(exec, _mesa_Color4uiv);
1157       SET_Color4us(exec, _mesa_Color4us);
1158       SET_Color4usv(exec, _mesa_Color4usv);
1159       SET_ColorFragmentOp1ATI(exec, _mesa_ColorFragmentOp1ATI);
1160       SET_ColorFragmentOp2ATI(exec, _mesa_ColorFragmentOp2ATI);
1161       SET_ColorFragmentOp3ATI(exec, _mesa_ColorFragmentOp3ATI);
1162       SET_ColorMaterial(exec, _mesa_ColorMaterial);
1163       SET_ColorPointerEXT(exec, _mesa_ColorPointerEXT);
1164       SET_ColorSubTable(exec, _mesa_ColorSubTable);
1165       SET_ColorTable(exec, _mesa_ColorTable);
1166       SET_ColorTableParameterfv(exec, _mesa_ColorTableParameterfv);
1167       SET_ColorTableParameteriv(exec, _mesa_ColorTableParameteriv);
1168       SET_ConvolutionFilter1D(exec, _mesa_ConvolutionFilter1D);
1169       SET_ConvolutionFilter2D(exec, _mesa_ConvolutionFilter2D);
1170       SET_ConvolutionParameterf(exec, _mesa_ConvolutionParameterf);
1171       SET_ConvolutionParameterfv(exec, _mesa_ConvolutionParameterfv);
1172       SET_ConvolutionParameteri(exec, _mesa_ConvolutionParameteri);
1173       SET_ConvolutionParameteriv(exec, _mesa_ConvolutionParameteriv);
1174       SET_CopyColorSubTable(exec, _mesa_CopyColorSubTable);
1175       SET_CopyColorTable(exec, _mesa_CopyColorTable);
1176       SET_CopyConvolutionFilter1D(exec, _mesa_CopyConvolutionFilter1D);
1177       SET_CopyConvolutionFilter2D(exec, _mesa_CopyConvolutionFilter2D);
1178       SET_CopyPixels(exec, _mesa_CopyPixels);
1179       SET_DeleteFragmentShaderATI(exec, _mesa_DeleteFragmentShaderATI);
1180       SET_DeleteLists(exec, _mesa_DeleteLists);
1181       SET_DeleteProgramsARB(exec, _mesa_DeleteProgramsARB);
1182       SET_DrawPixels(exec, _mesa_DrawPixels);
1183       SET_EdgeFlagPointerEXT(exec, _mesa_EdgeFlagPointerEXT);
1184       SET_EdgeFlagv(exec, _mesa_EdgeFlagv);
1185       SET_EndFragmentShaderATI(exec, _mesa_EndFragmentShaderATI);
1186       SET_EndList(exec, _mesa_EndList);
1187       SET_EvalCoord1d(exec, _mesa_EvalCoord1d);
1188       SET_EvalCoord1dv(exec, _mesa_EvalCoord1dv);
1189       SET_EvalCoord1fv(exec, _mesa_EvalCoord1fv);
1190       SET_EvalCoord2d(exec, _mesa_EvalCoord2d);
1191       SET_EvalCoord2dv(exec, _mesa_EvalCoord2dv);
1192       SET_EvalCoord2fv(exec, _mesa_EvalCoord2fv);
1193       SET_FeedbackBuffer(exec, _mesa_FeedbackBuffer);
1194       SET_FogCoordd(exec, _mesa_FogCoordd);
1195       SET_FogCoorddv(exec, _mesa_FogCoorddv);
1196       SET_Fogi(exec, _mesa_Fogi);
1197       SET_Fogiv(exec, _mesa_Fogiv);
1198       SET_Frustum(exec, _mesa_Frustum);
1199       SET_GenFragmentShadersATI(exec, _mesa_GenFragmentShadersATI);
1200       SET_GenLists(exec, _mesa_GenLists);
1201       SET_GenProgramsARB(exec, _mesa_GenProgramsARB);
1202       SET_GetClipPlane(exec, _mesa_GetClipPlane);
1203       SET_GetColorTable(exec, _mesa_GetColorTable);
1204       SET_GetColorTableParameterfv(exec, _mesa_GetColorTableParameterfv);
1205       SET_GetColorTableParameteriv(exec, _mesa_GetColorTableParameteriv);
1206       SET_GetConvolutionFilter(exec, _mesa_GetConvolutionFilter);
1207       SET_GetConvolutionParameterfv(exec, _mesa_GetConvolutionParameterfv);
1208       SET_GetConvolutionParameteriv(exec, _mesa_GetConvolutionParameteriv);
1209       SET_GetHistogram(exec, _mesa_GetHistogram);
1210       SET_GetHistogramParameterfv(exec, _mesa_GetHistogramParameterfv);
1211       SET_GetHistogramParameteriv(exec, _mesa_GetHistogramParameteriv);
1212       SET_GetLightiv(exec, _mesa_GetLightiv);
1213       SET_GetMapdv(exec, _mesa_GetMapdv);
1214       SET_GetMapfv(exec, _mesa_GetMapfv);
1215       SET_GetMapiv(exec, _mesa_GetMapiv);
1216       SET_GetMaterialiv(exec, _mesa_GetMaterialiv);
1217       SET_GetMinmax(exec, _mesa_GetMinmax);
1218       SET_GetMinmaxParameterfv(exec, _mesa_GetMinmaxParameterfv);
1219       SET_GetMinmaxParameteriv(exec, _mesa_GetMinmaxParameteriv);
1220       SET_GetPixelMapfv(exec, _mesa_GetPixelMapfv);
1221       SET_GetPixelMapuiv(exec, _mesa_GetPixelMapuiv);
1222       SET_GetPixelMapusv(exec, _mesa_GetPixelMapusv);
1223       SET_GetPolygonStipple(exec, _mesa_GetPolygonStipple);
1224       SET_GetProgramEnvParameterdvARB(exec, _mesa_GetProgramEnvParameterdvARB);
1225       SET_GetProgramEnvParameterfvARB(exec, _mesa_GetProgramEnvParameterfvARB);
1226       SET_GetProgramLocalParameterdvARB(exec, _mesa_GetProgramLocalParameterdvARB);
1227       SET_GetProgramLocalParameterfvARB(exec, _mesa_GetProgramLocalParameterfvARB);
1228       SET_GetProgramStringARB(exec, _mesa_GetProgramStringARB);
1229       SET_GetProgramivARB(exec, _mesa_GetProgramivARB);
1230       SET_GetSeparableFilter(exec, _mesa_GetSeparableFilter);
1231       SET_GetTexGendv(exec, _mesa_GetTexGendv);
1232       SET_GetnColorTableARB(exec, _mesa_GetnColorTableARB);
1233       SET_GetnConvolutionFilterARB(exec, _mesa_GetnConvolutionFilterARB);
1234       SET_GetnHistogramARB(exec, _mesa_GetnHistogramARB);
1235       SET_GetnMapdvARB(exec, _mesa_GetnMapdvARB);
1236       SET_GetnMapfvARB(exec, _mesa_GetnMapfvARB);
1237       SET_GetnMapivARB(exec, _mesa_GetnMapivARB);
1238       SET_GetnMinmaxARB(exec, _mesa_GetnMinmaxARB);
1239       SET_GetnPixelMapfvARB(exec, _mesa_GetnPixelMapfvARB);
1240       SET_GetnPixelMapuivARB(exec, _mesa_GetnPixelMapuivARB);
1241       SET_GetnPixelMapusvARB(exec, _mesa_GetnPixelMapusvARB);
1242       SET_GetnSeparableFilterARB(exec, _mesa_GetnSeparableFilterARB);
1243       SET_Histogram(exec, _mesa_Histogram);
1244       SET_IndexMask(exec, _mesa_IndexMask);
1245       SET_IndexPointerEXT(exec, _mesa_IndexPointerEXT);
1246       SET_Indexd(exec, _mesa_Indexd);
1247       SET_Indexdv(exec, _mesa_Indexdv);
1248       SET_Indexi(exec, _mesa_Indexi);
1249       SET_Indexiv(exec, _mesa_Indexiv);
1250       SET_Indexs(exec, _mesa_Indexs);
1251       SET_Indexsv(exec, _mesa_Indexsv);
1252       SET_Indexub(exec, _mesa_Indexub);
1253       SET_Indexubv(exec, _mesa_Indexubv);
1254       SET_InitNames(exec, _mesa_InitNames);
1255       SET_InterleavedArrays(exec, _mesa_InterleavedArrays);
1256       SET_IsList(exec, _mesa_IsList);
1257       SET_IsProgramARB(exec, _mesa_IsProgramARB);
1258       SET_LightModeli(exec, _mesa_LightModeli);
1259       SET_LightModeliv(exec, _mesa_LightModeliv);
1260       SET_Lighti(exec, _mesa_Lighti);
1261       SET_Lightiv(exec, _mesa_Lightiv);
1262       SET_LineStipple(exec, _mesa_LineStipple);
1263       SET_ListBase(exec, _mesa_ListBase);
1264       SET_LoadMatrixd(exec, _mesa_LoadMatrixd);
1265       SET_LoadName(exec, _mesa_LoadName);
1266       SET_LoadTransposeMatrixd(exec, _mesa_LoadTransposeMatrixd);
1267       SET_LoadTransposeMatrixf(exec, _mesa_LoadTransposeMatrixf);
1268       SET_LockArraysEXT(exec, _mesa_LockArraysEXT);
1269       SET_Map1d(exec, _mesa_Map1d);
1270       SET_Map1f(exec, _mesa_Map1f);
1271       SET_Map2d(exec, _mesa_Map2d);
1272       SET_Map2f(exec, _mesa_Map2f);
1273       SET_MapGrid1d(exec, _mesa_MapGrid1d);
1274       SET_MapGrid1f(exec, _mesa_MapGrid1f);
1275       SET_MapGrid2d(exec, _mesa_MapGrid2d);
1276       SET_MapGrid2f(exec, _mesa_MapGrid2f);
1277       SET_Materiali(exec, _mesa_Materiali);
1278       SET_Materialiv(exec, _mesa_Materialiv);
1279       SET_Minmax(exec, _mesa_Minmax);
1280       SET_MultMatrixd(exec, _mesa_MultMatrixd);
1281       SET_MultTransposeMatrixd(exec, _mesa_MultTransposeMatrixd);
1282       SET_MultTransposeMatrixf(exec, _mesa_MultTransposeMatrixf);
1283       SET_MultiTexCoord1d(exec, _mesa_MultiTexCoord1d);
1284       SET_MultiTexCoord1dv(exec, _mesa_MultiTexCoord1dv);
1285       SET_MultiTexCoord1i(exec, _mesa_MultiTexCoord1i);
1286       SET_MultiTexCoord1iv(exec, _mesa_MultiTexCoord1iv);
1287       SET_MultiTexCoord1s(exec, _mesa_MultiTexCoord1s);
1288       SET_MultiTexCoord1sv(exec, _mesa_MultiTexCoord1sv);
1289       SET_MultiTexCoord2d(exec, _mesa_MultiTexCoord2d);
1290       SET_MultiTexCoord2dv(exec, _mesa_MultiTexCoord2dv);
1291       SET_MultiTexCoord2i(exec, _mesa_MultiTexCoord2i);
1292       SET_MultiTexCoord2iv(exec, _mesa_MultiTexCoord2iv);
1293       SET_MultiTexCoord2s(exec, _mesa_MultiTexCoord2s);
1294       SET_MultiTexCoord2sv(exec, _mesa_MultiTexCoord2sv);
1295       SET_MultiTexCoord3d(exec, _mesa_MultiTexCoord3d);
1296       SET_MultiTexCoord3dv(exec, _mesa_MultiTexCoord3dv);
1297       SET_MultiTexCoord3i(exec, _mesa_MultiTexCoord3i);
1298       SET_MultiTexCoord3iv(exec, _mesa_MultiTexCoord3iv);
1299       SET_MultiTexCoord3s(exec, _mesa_MultiTexCoord3s);
1300       SET_MultiTexCoord3sv(exec, _mesa_MultiTexCoord3sv);
1301       SET_MultiTexCoord4d(exec, _mesa_MultiTexCoord4d);
1302       SET_MultiTexCoord4dv(exec, _mesa_MultiTexCoord4dv);
1303       SET_MultiTexCoord4i(exec, _mesa_MultiTexCoord4i);
1304       SET_MultiTexCoord4iv(exec, _mesa_MultiTexCoord4iv);
1305       SET_MultiTexCoord4s(exec, _mesa_MultiTexCoord4s);
1306       SET_MultiTexCoord4sv(exec, _mesa_MultiTexCoord4sv);
1307       SET_NewList(exec, _mesa_NewList);
1308       SET_Normal3b(exec, _mesa_Normal3b);
1309       SET_Normal3bv(exec, _mesa_Normal3bv);
1310       SET_Normal3d(exec, _mesa_Normal3d);
1311       SET_Normal3dv(exec, _mesa_Normal3dv);
1312       SET_Normal3i(exec, _mesa_Normal3i);
1313       SET_Normal3iv(exec, _mesa_Normal3iv);
1314       SET_Normal3s(exec, _mesa_Normal3s);
1315       SET_Normal3sv(exec, _mesa_Normal3sv);
1316       SET_NormalPointerEXT(exec, _mesa_NormalPointerEXT);
1317       SET_Ortho(exec, _mesa_Ortho);
1318       SET_PassTexCoordATI(exec, _mesa_PassTexCoordATI);
1319       SET_PassThrough(exec, _mesa_PassThrough);
1320       SET_PixelMapfv(exec, _mesa_PixelMapfv);
1321       SET_PixelMapuiv(exec, _mesa_PixelMapuiv);
1322       SET_PixelMapusv(exec, _mesa_PixelMapusv);
1323       SET_PixelTransferf(exec, _mesa_PixelTransferf);
1324       SET_PixelTransferi(exec, _mesa_PixelTransferi);
1325       SET_PixelZoom(exec, _mesa_PixelZoom);
1326       SET_PolygonOffsetEXT(exec, _mesa_PolygonOffsetEXT);
1327       SET_PolygonStipple(exec, _mesa_PolygonStipple);
1328       SET_PopAttrib(exec, _mesa_PopAttrib);
1329       SET_PopClientAttrib(exec, _mesa_PopClientAttrib);
1330       SET_PopName(exec, _mesa_PopName);
1331       SET_PrioritizeTextures(exec, _mesa_PrioritizeTextures);
1332       SET_ProgramEnvParameter4dARB(exec, _mesa_ProgramEnvParameter4dARB);
1333       SET_ProgramEnvParameter4dvARB(exec, _mesa_ProgramEnvParameter4dvARB);
1334       SET_ProgramEnvParameter4fARB(exec, _mesa_ProgramEnvParameter4fARB);
1335       SET_ProgramEnvParameter4fvARB(exec, _mesa_ProgramEnvParameter4fvARB);
1336       SET_ProgramEnvParameters4fvEXT(exec, _mesa_ProgramEnvParameters4fvEXT);
1337       SET_ProgramLocalParameter4dARB(exec, _mesa_ProgramLocalParameter4dARB);
1338       SET_ProgramLocalParameter4dvARB(exec, _mesa_ProgramLocalParameter4dvARB);
1339       SET_ProgramLocalParameter4fARB(exec, _mesa_ProgramLocalParameter4fARB);
1340       SET_ProgramLocalParameter4fvARB(exec, _mesa_ProgramLocalParameter4fvARB);
1341       SET_ProgramLocalParameters4fvEXT(exec, _mesa_ProgramLocalParameters4fvEXT);
1342       SET_ProgramStringARB(exec, _mesa_ProgramStringARB);
1343       SET_PushAttrib(exec, _mesa_PushAttrib);
1344       SET_PushClientAttrib(exec, _mesa_PushClientAttrib);
1345       SET_PushName(exec, _mesa_PushName);
1346       SET_RasterPos2d(exec, _mesa_RasterPos2d);
1347       SET_RasterPos2dv(exec, _mesa_RasterPos2dv);
1348       SET_RasterPos2f(exec, _mesa_RasterPos2f);
1349       SET_RasterPos2fv(exec, _mesa_RasterPos2fv);
1350       SET_RasterPos2i(exec, _mesa_RasterPos2i);
1351       SET_RasterPos2iv(exec, _mesa_RasterPos2iv);
1352       SET_RasterPos2s(exec, _mesa_RasterPos2s);
1353       SET_RasterPos2sv(exec, _mesa_RasterPos2sv);
1354       SET_RasterPos3d(exec, _mesa_RasterPos3d);
1355       SET_RasterPos3dv(exec, _mesa_RasterPos3dv);
1356       SET_RasterPos3f(exec, _mesa_RasterPos3f);
1357       SET_RasterPos3fv(exec, _mesa_RasterPos3fv);
1358       SET_RasterPos3i(exec, _mesa_RasterPos3i);
1359       SET_RasterPos3iv(exec, _mesa_RasterPos3iv);
1360       SET_RasterPos3s(exec, _mesa_RasterPos3s);
1361       SET_RasterPos3sv(exec, _mesa_RasterPos3sv);
1362       SET_RasterPos4d(exec, _mesa_RasterPos4d);
1363       SET_RasterPos4dv(exec, _mesa_RasterPos4dv);
1364       SET_RasterPos4f(exec, _mesa_RasterPos4f);
1365       SET_RasterPos4fv(exec, _mesa_RasterPos4fv);
1366       SET_RasterPos4i(exec, _mesa_RasterPos4i);
1367       SET_RasterPos4iv(exec, _mesa_RasterPos4iv);
1368       SET_RasterPos4s(exec, _mesa_RasterPos4s);
1369       SET_RasterPos4sv(exec, _mesa_RasterPos4sv);
1370       SET_Rectd(exec, _mesa_Rectd);
1371       SET_Rectdv(exec, _mesa_Rectdv);
1372       SET_Rectfv(exec, _mesa_Rectfv);
1373       SET_Recti(exec, _mesa_Recti);
1374       SET_Rectiv(exec, _mesa_Rectiv);
1375       SET_Rects(exec, _mesa_Rects);
1376       SET_Rectsv(exec, _mesa_Rectsv);
1377       SET_RenderMode(exec, _mesa_RenderMode);
1378       SET_ResetHistogram(exec, _mesa_ResetHistogram);
1379       SET_ResetMinmax(exec, _mesa_ResetMinmax);
1380       SET_Rotated(exec, _mesa_Rotated);
1381       SET_SampleMapATI(exec, _mesa_SampleMapATI);
1382       SET_Scaled(exec, _mesa_Scaled);
1383       SET_SecondaryColor3b(exec, _mesa_SecondaryColor3b);
1384       SET_SecondaryColor3bv(exec, _mesa_SecondaryColor3bv);
1385       SET_SecondaryColor3d(exec, _mesa_SecondaryColor3d);
1386       SET_SecondaryColor3dv(exec, _mesa_SecondaryColor3dv);
1387       SET_SecondaryColor3i(exec, _mesa_SecondaryColor3i);
1388       SET_SecondaryColor3iv(exec, _mesa_SecondaryColor3iv);
1389       SET_SecondaryColor3s(exec, _mesa_SecondaryColor3s);
1390       SET_SecondaryColor3sv(exec, _mesa_SecondaryColor3sv);
1391       SET_SecondaryColor3ub(exec, _mesa_SecondaryColor3ub);
1392       SET_SecondaryColor3ubv(exec, _mesa_SecondaryColor3ubv);
1393       SET_SecondaryColor3ui(exec, _mesa_SecondaryColor3ui);
1394       SET_SecondaryColor3uiv(exec, _mesa_SecondaryColor3uiv);
1395       SET_SecondaryColor3us(exec, _mesa_SecondaryColor3us);
1396       SET_SecondaryColor3usv(exec, _mesa_SecondaryColor3usv);
1397       SET_SelectBuffer(exec, _mesa_SelectBuffer);
1398       SET_SeparableFilter2D(exec, _mesa_SeparableFilter2D);
1399       SET_SetFragmentShaderConstantATI(exec, _mesa_SetFragmentShaderConstantATI);
1400       SET_StencilFuncSeparateATI(exec, _mesa_StencilFuncSeparateATI);
1401       SET_TexCoord1d(exec, _mesa_TexCoord1d);
1402       SET_TexCoord1dv(exec, _mesa_TexCoord1dv);
1403       SET_TexCoord1i(exec, _mesa_TexCoord1i);
1404       SET_TexCoord1iv(exec, _mesa_TexCoord1iv);
1405       SET_TexCoord1s(exec, _mesa_TexCoord1s);
1406       SET_TexCoord1sv(exec, _mesa_TexCoord1sv);
1407       SET_TexCoord2d(exec, _mesa_TexCoord2d);
1408       SET_TexCoord2dv(exec, _mesa_TexCoord2dv);
1409       SET_TexCoord2i(exec, _mesa_TexCoord2i);
1410       SET_TexCoord2iv(exec, _mesa_TexCoord2iv);
1411       SET_TexCoord2s(exec, _mesa_TexCoord2s);
1412       SET_TexCoord2sv(exec, _mesa_TexCoord2sv);
1413       SET_TexCoord3d(exec, _mesa_TexCoord3d);
1414       SET_TexCoord3dv(exec, _mesa_TexCoord3dv);
1415       SET_TexCoord3i(exec, _mesa_TexCoord3i);
1416       SET_TexCoord3iv(exec, _mesa_TexCoord3iv);
1417       SET_TexCoord3s(exec, _mesa_TexCoord3s);
1418       SET_TexCoord3sv(exec, _mesa_TexCoord3sv);
1419       SET_TexCoord4d(exec, _mesa_TexCoord4d);
1420       SET_TexCoord4dv(exec, _mesa_TexCoord4dv);
1421       SET_TexCoord4i(exec, _mesa_TexCoord4i);
1422       SET_TexCoord4iv(exec, _mesa_TexCoord4iv);
1423       SET_TexCoord4s(exec, _mesa_TexCoord4s);
1424       SET_TexCoord4sv(exec, _mesa_TexCoord4sv);
1425       SET_TexCoordPointerEXT(exec, _mesa_TexCoordPointerEXT);
1426       SET_TexGend(exec, _mesa_TexGend);
1427       SET_TexGendv(exec, _mesa_TexGendv);
1428       SET_Translated(exec, _mesa_Translated);
1429       SET_UnlockArraysEXT(exec, _mesa_UnlockArraysEXT);
1430       SET_Vertex2d(exec, _mesa_Vertex2d);
1431       SET_Vertex2dv(exec, _mesa_Vertex2dv);
1432       SET_Vertex2i(exec, _mesa_Vertex2i);
1433       SET_Vertex2iv(exec, _mesa_Vertex2iv);
1434       SET_Vertex2s(exec, _mesa_Vertex2s);
1435       SET_Vertex2sv(exec, _mesa_Vertex2sv);
1436       SET_Vertex3d(exec, _mesa_Vertex3d);
1437       SET_Vertex3dv(exec, _mesa_Vertex3dv);
1438       SET_Vertex3i(exec, _mesa_Vertex3i);
1439       SET_Vertex3iv(exec, _mesa_Vertex3iv);
1440       SET_Vertex3s(exec, _mesa_Vertex3s);
1441       SET_Vertex3sv(exec, _mesa_Vertex3sv);
1442       SET_Vertex4d(exec, _mesa_Vertex4d);
1443       SET_Vertex4dv(exec, _mesa_Vertex4dv);
1444       SET_Vertex4i(exec, _mesa_Vertex4i);
1445       SET_Vertex4iv(exec, _mesa_Vertex4iv);
1446       SET_Vertex4s(exec, _mesa_Vertex4s);
1447       SET_Vertex4sv(exec, _mesa_Vertex4sv);
1448       SET_VertexAttrib1dNV(exec, _mesa_VertexAttrib1dNV);
1449       SET_VertexAttrib1dvNV(exec, _mesa_VertexAttrib1dvNV);
1450       SET_VertexAttrib1sNV(exec, _mesa_VertexAttrib1sNV);
1451       SET_VertexAttrib1svNV(exec, _mesa_VertexAttrib1svNV);
1452       SET_VertexAttrib2dNV(exec, _mesa_VertexAttrib2dNV);
1453       SET_VertexAttrib2dvNV(exec, _mesa_VertexAttrib2dvNV);
1454       SET_VertexAttrib2sNV(exec, _mesa_VertexAttrib2sNV);
1455       SET_VertexAttrib2svNV(exec, _mesa_VertexAttrib2svNV);
1456       SET_VertexAttrib3dNV(exec, _mesa_VertexAttrib3dNV);
1457       SET_VertexAttrib3dvNV(exec, _mesa_VertexAttrib3dvNV);
1458       SET_VertexAttrib3sNV(exec, _mesa_VertexAttrib3sNV);
1459       SET_VertexAttrib3svNV(exec, _mesa_VertexAttrib3svNV);
1460       SET_VertexAttrib4dNV(exec, _mesa_VertexAttrib4dNV);
1461       SET_VertexAttrib4dvNV(exec, _mesa_VertexAttrib4dvNV);
1462       SET_VertexAttrib4sNV(exec, _mesa_VertexAttrib4sNV);
1463       SET_VertexAttrib4svNV(exec, _mesa_VertexAttrib4svNV);
1464       SET_VertexAttrib4ubNV(exec, _mesa_VertexAttrib4ubNV);
1465       SET_VertexAttrib4ubvNV(exec, _mesa_VertexAttrib4ubvNV);
1466       SET_VertexAttribs1dvNV(exec, _mesa_VertexAttribs1dvNV);
1467       SET_VertexAttribs1fvNV(exec, _mesa_VertexAttribs1fvNV);
1468       SET_VertexAttribs1svNV(exec, _mesa_VertexAttribs1svNV);
1469       SET_VertexAttribs2dvNV(exec, _mesa_VertexAttribs2dvNV);
1470       SET_VertexAttribs2fvNV(exec, _mesa_VertexAttribs2fvNV);
1471       SET_VertexAttribs2svNV(exec, _mesa_VertexAttribs2svNV);
1472       SET_VertexAttribs3dvNV(exec, _mesa_VertexAttribs3dvNV);
1473       SET_VertexAttribs3fvNV(exec, _mesa_VertexAttribs3fvNV);
1474       SET_VertexAttribs3svNV(exec, _mesa_VertexAttribs3svNV);
1475       SET_VertexAttribs4dvNV(exec, _mesa_VertexAttribs4dvNV);
1476       SET_VertexAttribs4fvNV(exec, _mesa_VertexAttribs4fvNV);
1477       SET_VertexAttribs4svNV(exec, _mesa_VertexAttribs4svNV);
1478       SET_VertexAttribs4ubvNV(exec, _mesa_VertexAttribs4ubvNV);
1479       SET_VertexPointerEXT(exec, _mesa_VertexPointerEXT);
1480       SET_WindowPos2d(exec, _mesa_WindowPos2d);
1481       SET_WindowPos2dv(exec, _mesa_WindowPos2dv);
1482       SET_WindowPos2f(exec, _mesa_WindowPos2f);
1483       SET_WindowPos2fv(exec, _mesa_WindowPos2fv);
1484       SET_WindowPos2i(exec, _mesa_WindowPos2i);
1485       SET_WindowPos2iv(exec, _mesa_WindowPos2iv);
1486       SET_WindowPos2s(exec, _mesa_WindowPos2s);
1487       SET_WindowPos2sv(exec, _mesa_WindowPos2sv);
1488       SET_WindowPos3d(exec, _mesa_WindowPos3d);
1489       SET_WindowPos3dv(exec, _mesa_WindowPos3dv);
1490       SET_WindowPos3f(exec, _mesa_WindowPos3f);
1491       SET_WindowPos3fv(exec, _mesa_WindowPos3fv);
1492       SET_WindowPos3i(exec, _mesa_WindowPos3i);
1493       SET_WindowPos3iv(exec, _mesa_WindowPos3iv);
1494       SET_WindowPos3s(exec, _mesa_WindowPos3s);
1495       SET_WindowPos3sv(exec, _mesa_WindowPos3sv);
1496       SET_WindowPos4dMESA(exec, _mesa_WindowPos4dMESA);
1497       SET_WindowPos4dvMESA(exec, _mesa_WindowPos4dvMESA);
1498       SET_WindowPos4fMESA(exec, _mesa_WindowPos4fMESA);
1499       SET_WindowPos4fvMESA(exec, _mesa_WindowPos4fvMESA);
1500       SET_WindowPos4iMESA(exec, _mesa_WindowPos4iMESA);
1501       SET_WindowPos4ivMESA(exec, _mesa_WindowPos4ivMESA);
1502       SET_WindowPos4sMESA(exec, _mesa_WindowPos4sMESA);
1503       SET_WindowPos4svMESA(exec, _mesa_WindowPos4svMESA);
1504    }
1505    if (ctx->API == API_OPENGL_COMPAT || ctx->API == API_OPENGLES) {
1506       SET_AlphaFunc(exec, _mesa_AlphaFunc);
1507       SET_ClientActiveTexture(exec, _mesa_ClientActiveTexture);
1508       SET_Color4ub(exec, _mesa_Color4ub);
1509       SET_DisableClientState(exec, _mesa_DisableClientState);
1510       SET_EnableClientState(exec, _mesa_EnableClientState);
1511       SET_Fogf(exec, _mesa_Fogf);
1512       SET_Fogfv(exec, _mesa_Fogfv);
1513       SET_GetLightfv(exec, _mesa_GetLightfv);
1514       SET_GetMaterialfv(exec, _mesa_GetMaterialfv);
1515       SET_GetTexEnvfv(exec, _mesa_GetTexEnvfv);
1516       SET_GetTexEnviv(exec, _mesa_GetTexEnviv);
1517       SET_GetTexGenfv(exec, _mesa_GetTexGenfv);
1518       SET_GetTexGeniv(exec, _mesa_GetTexGeniv);
1519       SET_LightModelf(exec, _mesa_LightModelf);
1520       SET_LightModelfv(exec, _mesa_LightModelfv);
1521       SET_Lightf(exec, _mesa_Lightf);
1522       SET_Lightfv(exec, _mesa_Lightfv);
1523       SET_LoadIdentity(exec, _mesa_LoadIdentity);
1524       SET_LoadMatrixf(exec, _mesa_LoadMatrixf);
1525       SET_Materialf(exec, _mesa_Materialf);
1526       SET_MatrixMode(exec, _mesa_MatrixMode);
1527       SET_MultMatrixf(exec, _mesa_MultMatrixf);
1528       SET_PopMatrix(exec, _mesa_PopMatrix);
1529       SET_PushMatrix(exec, _mesa_PushMatrix);
1530       SET_Rotatef(exec, _mesa_Rotatef);
1531       SET_Scalef(exec, _mesa_Scalef);
1532       SET_ShadeModel(exec, _mesa_ShadeModel);
1533       SET_TexEnvf(exec, _mesa_TexEnvf);
1534       SET_TexEnvfv(exec, _mesa_TexEnvfv);
1535       SET_TexEnvi(exec, _mesa_TexEnvi);
1536       SET_TexEnviv(exec, _mesa_TexEnviv);
1537       SET_TexGenf(exec, _mesa_TexGenf);
1538       SET_TexGenfv(exec, _mesa_TexGenfv);
1539       SET_TexGeni(exec, _mesa_TexGeni);
1540       SET_TexGeniv(exec, _mesa_TexGeniv);
1541       SET_Translatef(exec, _mesa_Translatef);
1542    }
1543    if (ctx->API == API_OPENGL_COMPAT || ctx->API == API_OPENGL_CORE || (ctx->API == API_OPENGLES2 && ctx->Version >= 31)) {
1544       SET_FramebufferParameteri(exec, _mesa_FramebufferParameteri);
1545       SET_TexBuffer(exec, _mesa_TexBuffer);
1546       SET_TexBufferRange(exec, _mesa_TexBufferRange);
1547    }
1548    if (ctx->API == API_OPENGL_CORE) {
1549       SET_CheckNamedFramebufferStatus(exec, _mesa_CheckNamedFramebufferStatus);
1550       SET_ClearNamedFramebufferfi(exec, _mesa_ClearNamedFramebufferfi);
1551       SET_ClearNamedFramebufferfv(exec, _mesa_ClearNamedFramebufferfv);
1552       SET_ClearNamedFramebufferiv(exec, _mesa_ClearNamedFramebufferiv);
1553       SET_ClearNamedFramebufferuiv(exec, _mesa_ClearNamedFramebufferuiv);
1554       SET_CreateFramebuffers(exec, _mesa_CreateFramebuffers);
1555       SET_CreateQueries(exec, _mesa_CreateQueries);
1556       SET_CreateTransformFeedbacks(exec, _mesa_CreateTransformFeedbacks);
1557       SET_GetActiveSubroutineName(exec, _mesa_GetActiveSubroutineName);
1558       SET_GetActiveSubroutineUniformName(exec, _mesa_GetActiveSubroutineUniformName);
1559       SET_GetActiveSubroutineUniformiv(exec, _mesa_GetActiveSubroutineUniformiv);
1560       SET_GetCompressedTextureImage(exec, _mesa_GetCompressedTextureImage);
1561       SET_GetNamedBufferParameteri64v(exec, _mesa_GetNamedBufferParameteri64v);
1562       SET_GetNamedBufferParameteriv(exec, _mesa_GetNamedBufferParameteriv);
1563       SET_GetNamedBufferPointerv(exec, _mesa_GetNamedBufferPointerv);
1564       SET_GetNamedBufferSubData(exec, _mesa_GetNamedBufferSubData);
1565       SET_GetNamedFramebufferAttachmentParameteriv(exec, _mesa_GetNamedFramebufferAttachmentParameteriv);
1566       SET_GetNamedFramebufferParameteriv(exec, _mesa_GetNamedFramebufferParameteriv);
1567       SET_GetNamedRenderbufferParameteriv(exec, _mesa_GetNamedRenderbufferParameteriv);
1568       SET_GetProgramStageiv(exec, _mesa_GetProgramStageiv);
1569       SET_GetQueryBufferObjecti64v(exec, _mesa_GetQueryBufferObjecti64v);
1570       SET_GetQueryBufferObjectiv(exec, _mesa_GetQueryBufferObjectiv);
1571       SET_GetQueryBufferObjectui64v(exec, _mesa_GetQueryBufferObjectui64v);
1572       SET_GetQueryBufferObjectuiv(exec, _mesa_GetQueryBufferObjectuiv);
1573       SET_GetSubroutineIndex(exec, _mesa_GetSubroutineIndex);
1574       SET_GetSubroutineUniformLocation(exec, _mesa_GetSubroutineUniformLocation);
1575       SET_GetTextureImage(exec, _mesa_GetTextureImage);
1576       SET_GetTextureLevelParameterfv(exec, _mesa_GetTextureLevelParameterfv);
1577       SET_GetTextureLevelParameteriv(exec, _mesa_GetTextureLevelParameteriv);
1578       SET_GetTextureParameterIiv(exec, _mesa_GetTextureParameterIiv);
1579       SET_GetTextureParameterIuiv(exec, _mesa_GetTextureParameterIuiv);
1580       SET_GetTextureParameterfv(exec, _mesa_GetTextureParameterfv);
1581       SET_GetTextureParameteriv(exec, _mesa_GetTextureParameteriv);
1582       SET_GetTransformFeedbacki64_v(exec, _mesa_GetTransformFeedbacki64_v);
1583       SET_GetTransformFeedbacki_v(exec, _mesa_GetTransformFeedbacki_v);
1584       SET_GetTransformFeedbackiv(exec, _mesa_GetTransformFeedbackiv);
1585       SET_GetUniformSubroutineuiv(exec, _mesa_GetUniformSubroutineuiv);
1586       SET_GetUniformdv(exec, _mesa_GetUniformdv);
1587       SET_GetUniformi64vARB(exec, _mesa_GetUniformi64vARB);
1588       SET_GetUniformui64vARB(exec, _mesa_GetUniformui64vARB);
1589       SET_GetVertexArrayIndexed64iv(exec, _mesa_GetVertexArrayIndexed64iv);
1590       SET_GetVertexArrayIndexediv(exec, _mesa_GetVertexArrayIndexediv);
1591       SET_GetVertexArrayiv(exec, _mesa_GetVertexArrayiv);
1592       SET_GetVertexAttribLdv(exec, _mesa_GetVertexAttribLdv);
1593       SET_GetVertexAttribLui64vARB(exec, _mesa_GetVertexAttribLui64vARB);
1594       SET_GetnUniformi64vARB(exec, _mesa_GetnUniformi64vARB);
1595       SET_GetnUniformui64vARB(exec, _mesa_GetnUniformui64vARB);
1596       SET_InvalidateNamedFramebufferData(exec, _mesa_InvalidateNamedFramebufferData);
1597       SET_InvalidateNamedFramebufferSubData(exec, _mesa_InvalidateNamedFramebufferSubData);
1598       SET_NamedFramebufferParameteri(exec, _mesa_NamedFramebufferParameteri);
1599       SET_NamedRenderbufferStorage(exec, _mesa_NamedRenderbufferStorage);
1600       SET_NamedRenderbufferStorageMultisample(exec, _mesa_NamedRenderbufferStorageMultisample);
1601       SET_ProgramUniform1i64ARB(exec, _mesa_ProgramUniform1i64ARB);
1602       SET_ProgramUniform1i64vARB(exec, _mesa_ProgramUniform1i64vARB);
1603       SET_ProgramUniform1ui64ARB(exec, _mesa_ProgramUniform1ui64ARB);
1604       SET_ProgramUniform1ui64vARB(exec, _mesa_ProgramUniform1ui64vARB);
1605       SET_ProgramUniform2i64ARB(exec, _mesa_ProgramUniform2i64ARB);
1606       SET_ProgramUniform2i64vARB(exec, _mesa_ProgramUniform2i64vARB);
1607       SET_ProgramUniform2ui64ARB(exec, _mesa_ProgramUniform2ui64ARB);
1608       SET_ProgramUniform2ui64vARB(exec, _mesa_ProgramUniform2ui64vARB);
1609       SET_ProgramUniform3i64ARB(exec, _mesa_ProgramUniform3i64ARB);
1610       SET_ProgramUniform3i64vARB(exec, _mesa_ProgramUniform3i64vARB);
1611       SET_ProgramUniform3ui64ARB(exec, _mesa_ProgramUniform3ui64ARB);
1612       SET_ProgramUniform3ui64vARB(exec, _mesa_ProgramUniform3ui64vARB);
1613       SET_ProgramUniform4i64ARB(exec, _mesa_ProgramUniform4i64ARB);
1614       SET_ProgramUniform4i64vARB(exec, _mesa_ProgramUniform4i64vARB);
1615       SET_ProgramUniform4ui64ARB(exec, _mesa_ProgramUniform4ui64ARB);
1616       SET_ProgramUniform4ui64vARB(exec, _mesa_ProgramUniform4ui64vARB);
1617       SET_TextureBuffer(exec, _mesa_TextureBuffer);
1618       SET_TextureBufferRange(exec, _mesa_TextureBufferRange);
1619       SET_TextureParameterIiv(exec, _mesa_TextureParameterIiv);
1620       SET_TextureParameterIuiv(exec, _mesa_TextureParameterIuiv);
1621       SET_TextureParameterf(exec, _mesa_TextureParameterf);
1622       SET_TextureParameterfv(exec, _mesa_TextureParameterfv);
1623       SET_TextureParameteri(exec, _mesa_TextureParameteri);
1624       SET_TextureParameteriv(exec, _mesa_TextureParameteriv);
1625       SET_TextureStorage2DMultisample(exec, _mesa_TextureStorage2DMultisample);
1626       SET_TextureStorage3DMultisample(exec, _mesa_TextureStorage3DMultisample);
1627       SET_TransformFeedbackBufferBase(exec, _mesa_TransformFeedbackBufferBase);
1628       SET_TransformFeedbackBufferRange(exec, _mesa_TransformFeedbackBufferRange);
1629       SET_Uniform1d(exec, _mesa_Uniform1d);
1630       SET_Uniform1dv(exec, _mesa_Uniform1dv);
1631       SET_Uniform1i64ARB(exec, _mesa_Uniform1i64ARB);
1632       SET_Uniform1i64vARB(exec, _mesa_Uniform1i64vARB);
1633       SET_Uniform1ui64ARB(exec, _mesa_Uniform1ui64ARB);
1634       SET_Uniform1ui64vARB(exec, _mesa_Uniform1ui64vARB);
1635       SET_Uniform2d(exec, _mesa_Uniform2d);
1636       SET_Uniform2dv(exec, _mesa_Uniform2dv);
1637       SET_Uniform2i64ARB(exec, _mesa_Uniform2i64ARB);
1638       SET_Uniform2i64vARB(exec, _mesa_Uniform2i64vARB);
1639       SET_Uniform2ui64ARB(exec, _mesa_Uniform2ui64ARB);
1640       SET_Uniform2ui64vARB(exec, _mesa_Uniform2ui64vARB);
1641       SET_Uniform3d(exec, _mesa_Uniform3d);
1642       SET_Uniform3dv(exec, _mesa_Uniform3dv);
1643       SET_Uniform3i64ARB(exec, _mesa_Uniform3i64ARB);
1644       SET_Uniform3i64vARB(exec, _mesa_Uniform3i64vARB);
1645       SET_Uniform3ui64ARB(exec, _mesa_Uniform3ui64ARB);
1646       SET_Uniform3ui64vARB(exec, _mesa_Uniform3ui64vARB);
1647       SET_Uniform4d(exec, _mesa_Uniform4d);
1648       SET_Uniform4dv(exec, _mesa_Uniform4dv);
1649       SET_Uniform4i64ARB(exec, _mesa_Uniform4i64ARB);
1650       SET_Uniform4i64vARB(exec, _mesa_Uniform4i64vARB);
1651       SET_Uniform4ui64ARB(exec, _mesa_Uniform4ui64ARB);
1652       SET_Uniform4ui64vARB(exec, _mesa_Uniform4ui64vARB);
1653       SET_UniformMatrix2dv(exec, _mesa_UniformMatrix2dv);
1654       SET_UniformMatrix2x3dv(exec, _mesa_UniformMatrix2x3dv);
1655       SET_UniformMatrix2x4dv(exec, _mesa_UniformMatrix2x4dv);
1656       SET_UniformMatrix3dv(exec, _mesa_UniformMatrix3dv);
1657       SET_UniformMatrix3x2dv(exec, _mesa_UniformMatrix3x2dv);
1658       SET_UniformMatrix3x4dv(exec, _mesa_UniformMatrix3x4dv);
1659       SET_UniformMatrix4dv(exec, _mesa_UniformMatrix4dv);
1660       SET_UniformMatrix4x2dv(exec, _mesa_UniformMatrix4x2dv);
1661       SET_UniformMatrix4x3dv(exec, _mesa_UniformMatrix4x3dv);
1662       SET_UniformSubroutinesuiv(exec, _mesa_UniformSubroutinesuiv);
1663       SET_VertexArrayAttribFormat(exec, _mesa_VertexArrayAttribFormat);
1664       SET_VertexArrayAttribIFormat(exec, _mesa_VertexArrayAttribIFormat);
1665       SET_VertexArrayAttribLFormat(exec, _mesa_VertexArrayAttribLFormat);
1666       SET_VertexAttribL1d(exec, _mesa_VertexAttribL1d);
1667       SET_VertexAttribL1dv(exec, _mesa_VertexAttribL1dv);
1668       SET_VertexAttribL2d(exec, _mesa_VertexAttribL2d);
1669       SET_VertexAttribL2dv(exec, _mesa_VertexAttribL2dv);
1670       SET_VertexAttribL3d(exec, _mesa_VertexAttribL3d);
1671       SET_VertexAttribL3dv(exec, _mesa_VertexAttribL3dv);
1672       SET_VertexAttribL4d(exec, _mesa_VertexAttribL4d);
1673       SET_VertexAttribL4dv(exec, _mesa_VertexAttribL4dv);
1674    }
1675 
1676 }
1677 
1678