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