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