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