api_exec.c revision c132e2b1db855b3c33d8b879c4a986011d631d43
1c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul/*
2c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul * Mesa 3-D graphics library
3c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul * Version:  7.1
4c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul *
5c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul * Copyright (C) 1999-2008  Brian Paul   All Rights Reserved.
6c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul *
7c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul * Permission is hereby granted, free of charge, to any person obtaining a
8c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul * copy of this software and associated documentation files (the "Software"),
9c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul * to deal in the Software without restriction, including without limitation
10c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul * the rights to use, copy, modify, merge, publish, distribute, sublicense,
11c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul * and/or sell copies of the Software, and to permit persons to whom the
12c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul * Software is furnished to do so, subject to the following conditions:
13c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul *
14c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul * The above copyright notice and this permission notice shall be included
15c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul * in all copies or substantial portions of the Software.
16c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul *
17c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
18c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
20c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
21c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
22c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul */
24c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
25c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
26c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul/**
27c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul * \file api_exec.c
28c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul * Initialize dispatch table with the immidiate mode functions.
29c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul */
30c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
31c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
32c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "glheader.h"
33c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "accum.h"
34c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "api_loopback.h"
35c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "api_exec.h"
36c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if FEATURE_ARB_vertex_program || FEATURE_ARB_fragment_program
37c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "shader/arbprogram.h"
38c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
39c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if FEATURE_ATI_fragment_shader
40c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "shader/atifragshader.h"
41c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
42c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "attrib.h"
43c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "blend.h"
44c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if FEATURE_ARB_vertex_buffer_object
45c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "bufferobj.h"
46c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
47c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "arrayobj.h"
48c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "buffers.h"
495ab1d0aceaffbf872d7f8ebea2a6655e25bf2390Brian Paul#include "clear.h"
50c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "clip.h"
51c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "colortab.h"
52c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "context.h"
53c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "convolve.h"
54c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "depth.h"
55c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "dlist.h"
56c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "drawpix.h"
57c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "enable.h"
58c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "eval.h"
59c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "get.h"
60c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "feedback.h"
61c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "fog.h"
62c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if FEATURE_EXT_framebuffer_object
63c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "fbobject.h"
64c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
65c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "ffvertex_prog.h"
66c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "framebuffer.h"
67c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "hint.h"
68c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "histogram.h"
69c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "imports.h"
70c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "light.h"
71c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "lines.h"
72c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "macros.h"
73c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "matrix.h"
74c132e2b1db855b3c33d8b879c4a986011d631d43Brian Paul#include "multisample.h"
75c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "pixel.h"
76c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "pixelstore.h"
77c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "points.h"
78c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "polygon.h"
79c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if FEATURE_ARB_occlusion_query || FEATURE_EXT_timer_query
80c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "queryobj.h"
81c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
82c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "rastpos.h"
83c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "readpix.h"
8455e341c4c2e5a6f3475a8a3e6389b904f99a6d1aBrian Paul#include "scissor.h"
85c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "state.h"
86c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "stencil.h"
87c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "teximage.h"
88c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "texobj.h"
89c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "texstate.h"
90c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "mtypes.h"
91c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "varray.h"
92c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if FEATURE_NV_vertex_program
93c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "shader/nvprogram.h"
94c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
95c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if FEATURE_NV_fragment_program
96c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "shader/nvprogram.h"
97c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "shader/program.h"
98c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "texenvprogram.h"
99c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
100c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if FEATURE_ARB_shader_objects
101c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "shaders.h"
102c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
103c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "debug.h"
104c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#include "glapi/dispatch.h"
105c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
106c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
107c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
108c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul/**
109c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul * Initialize a dispatch table with pointers to Mesa's immediate-mode
110c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul * commands.
111c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul *
112c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul * Pointers to glBegin()/glEnd() object commands and a few others
113c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul * are provided via the GLvertexformat interface.
114c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul *
115c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul * \param ctx  GL context to which \c exec belongs.
116c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul * \param exec dispatch table.
117c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul */
118c9e5671691289006e9b1152d6ce20200a83010c2Brian Paulvoid
119c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul_mesa_init_exec_table(struct _glapi_table *exec)
120c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul{
121c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if _HAVE_FULL_GL
122c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   _mesa_loopback_init_api_table( exec );
123c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
124c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
125c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* load the dispatch slots we understand */
126c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_AlphaFunc(exec, _mesa_AlphaFunc);
127c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_BlendFunc(exec, _mesa_BlendFunc);
128c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Clear(exec, _mesa_Clear);
129c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ClearColor(exec, _mesa_ClearColor);
130c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ClearStencil(exec, _mesa_ClearStencil);
131c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ColorMask(exec, _mesa_ColorMask);
132c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_CullFace(exec, _mesa_CullFace);
133c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Disable(exec, _mesa_Disable);
134c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_DrawBuffer(exec, _mesa_DrawBuffer);
135c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Enable(exec, _mesa_Enable);
136c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Finish(exec, _mesa_Finish);
137c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Flush(exec, _mesa_Flush);
138c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_FrontFace(exec, _mesa_FrontFace);
139c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Frustum(exec, _mesa_Frustum);
140c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetError(exec, _mesa_GetError);
141c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetFloatv(exec, _mesa_GetFloatv);
142c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetString(exec, _mesa_GetString);
143c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_InitNames(exec, _mesa_InitNames);
144c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_LineStipple(exec, _mesa_LineStipple);
145c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_LineWidth(exec, _mesa_LineWidth);
146c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_LoadIdentity(exec, _mesa_LoadIdentity);
147c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_LoadMatrixf(exec, _mesa_LoadMatrixf);
148c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_LoadName(exec, _mesa_LoadName);
149c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_LogicOp(exec, _mesa_LogicOp);
150c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_MatrixMode(exec, _mesa_MatrixMode);
151c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_MultMatrixf(exec, _mesa_MultMatrixf);
152c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Ortho(exec, _mesa_Ortho);
153c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_PixelStorei(exec, _mesa_PixelStorei);
154c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_PopMatrix(exec, _mesa_PopMatrix);
155c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_PopName(exec, _mesa_PopName);
156c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_PushMatrix(exec, _mesa_PushMatrix);
157c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_PushName(exec, _mesa_PushName);
158c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_RasterPos2f(exec, _mesa_RasterPos2f);
159c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_RasterPos2fv(exec, _mesa_RasterPos2fv);
160c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_RasterPos2i(exec, _mesa_RasterPos2i);
161c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_RasterPos2iv(exec, _mesa_RasterPos2iv);
162c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ReadBuffer(exec, _mesa_ReadBuffer);
163c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_RenderMode(exec, _mesa_RenderMode);
164c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Rotatef(exec, _mesa_Rotatef);
165c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Scalef(exec, _mesa_Scalef);
166c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Scissor(exec, _mesa_Scissor);
167c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_SelectBuffer(exec, _mesa_SelectBuffer);
168c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ShadeModel(exec, _mesa_ShadeModel);
169c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_StencilFunc(exec, _mesa_StencilFunc);
170c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_StencilMask(exec, _mesa_StencilMask);
171c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_StencilOp(exec, _mesa_StencilOp);
172c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_TexEnvfv(exec, _mesa_TexEnvfv);
173c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_TexEnvi(exec, _mesa_TexEnvi);
174c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_TexImage2D(exec, _mesa_TexImage2D);
175c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_TexParameteri(exec, _mesa_TexParameteri);
176c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Translatef(exec, _mesa_Translatef);
177c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Viewport(exec, _mesa_Viewport);
178c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if _HAVE_FULL_GL
179c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Accum(exec, _mesa_Accum);
180c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Bitmap(exec, _mesa_Bitmap);
181c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_CallList(exec, _mesa_CallList);
182c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_CallLists(exec, _mesa_CallLists);
183c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ClearAccum(exec, _mesa_ClearAccum);
184c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ClearDepth(exec, _mesa_ClearDepth);
185c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ClearIndex(exec, _mesa_ClearIndex);
186c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ClipPlane(exec, _mesa_ClipPlane);
187c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ColorMaterial(exec, _mesa_ColorMaterial);
188c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_CopyPixels(exec, _mesa_CopyPixels);
189c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_CullParameterfvEXT(exec, _mesa_CullParameterfvEXT);
190c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_CullParameterdvEXT(exec, _mesa_CullParameterdvEXT);
191c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_DeleteLists(exec, _mesa_DeleteLists);
192c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_DepthFunc(exec, _mesa_DepthFunc);
193c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_DepthMask(exec, _mesa_DepthMask);
194c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_DepthRange(exec, _mesa_DepthRange);
195c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_DrawPixels(exec, _mesa_DrawPixels);
196c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_EndList(exec, _mesa_EndList);
197c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_FeedbackBuffer(exec, _mesa_FeedbackBuffer);
198c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_FogCoordPointerEXT(exec, _mesa_FogCoordPointerEXT);
199c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Fogf(exec, _mesa_Fogf);
200c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Fogfv(exec, _mesa_Fogfv);
201c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Fogi(exec, _mesa_Fogi);
202c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Fogiv(exec, _mesa_Fogiv);
203c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GenLists(exec, _mesa_GenLists);
204c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetClipPlane(exec, _mesa_GetClipPlane);
205c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetBooleanv(exec, _mesa_GetBooleanv);
206c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetDoublev(exec, _mesa_GetDoublev);
207c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetIntegerv(exec, _mesa_GetIntegerv);
208c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetLightfv(exec, _mesa_GetLightfv);
209c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetLightiv(exec, _mesa_GetLightiv);
210c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetMapdv(exec, _mesa_GetMapdv);
211c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetMapfv(exec, _mesa_GetMapfv);
212c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetMapiv(exec, _mesa_GetMapiv);
213c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetMaterialfv(exec, _mesa_GetMaterialfv);
214c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetMaterialiv(exec, _mesa_GetMaterialiv);
215c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetPixelMapfv(exec, _mesa_GetPixelMapfv);
216c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetPixelMapuiv(exec, _mesa_GetPixelMapuiv);
217c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetPixelMapusv(exec, _mesa_GetPixelMapusv);
218c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetPolygonStipple(exec, _mesa_GetPolygonStipple);
219c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetTexEnvfv(exec, _mesa_GetTexEnvfv);
220c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetTexEnviv(exec, _mesa_GetTexEnviv);
221c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetTexLevelParameterfv(exec, _mesa_GetTexLevelParameterfv);
222c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetTexLevelParameteriv(exec, _mesa_GetTexLevelParameteriv);
223c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetTexParameterfv(exec, _mesa_GetTexParameterfv);
224c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetTexParameteriv(exec, _mesa_GetTexParameteriv);
225c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetTexGendv(exec, _mesa_GetTexGendv);
226c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetTexGenfv(exec, _mesa_GetTexGenfv);
227c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetTexGeniv(exec, _mesa_GetTexGeniv);
228c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetTexImage(exec, _mesa_GetTexImage);
229c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Hint(exec, _mesa_Hint);
230c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_IndexMask(exec, _mesa_IndexMask);
231c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_IsEnabled(exec, _mesa_IsEnabled);
232c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_IsList(exec, _mesa_IsList);
233c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_LightModelf(exec, _mesa_LightModelf);
234c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_LightModelfv(exec, _mesa_LightModelfv);
235c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_LightModeli(exec, _mesa_LightModeli);
236c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_LightModeliv(exec, _mesa_LightModeliv);
237c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Lightf(exec, _mesa_Lightf);
238c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Lightfv(exec, _mesa_Lightfv);
239c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Lighti(exec, _mesa_Lighti);
240c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Lightiv(exec, _mesa_Lightiv);
241c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ListBase(exec, _mesa_ListBase);
242c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_LoadMatrixd(exec, _mesa_LoadMatrixd);
243c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Map1d(exec, _mesa_Map1d);
244c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Map1f(exec, _mesa_Map1f);
245c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Map2d(exec, _mesa_Map2d);
246c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Map2f(exec, _mesa_Map2f);
247c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_MapGrid1d(exec, _mesa_MapGrid1d);
248c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_MapGrid1f(exec, _mesa_MapGrid1f);
249c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_MapGrid2d(exec, _mesa_MapGrid2d);
250c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_MapGrid2f(exec, _mesa_MapGrid2f);
251c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_MultMatrixd(exec, _mesa_MultMatrixd);
252c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_NewList(exec, _mesa_NewList);
253c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_PassThrough(exec, _mesa_PassThrough);
254c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_PixelMapfv(exec, _mesa_PixelMapfv);
255c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_PixelMapuiv(exec, _mesa_PixelMapuiv);
256c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_PixelMapusv(exec, _mesa_PixelMapusv);
257c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_PixelStoref(exec, _mesa_PixelStoref);
258c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_PixelTransferf(exec, _mesa_PixelTransferf);
259c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_PixelTransferi(exec, _mesa_PixelTransferi);
260c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_PixelZoom(exec, _mesa_PixelZoom);
261c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_PointSize(exec, _mesa_PointSize);
262c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_PolygonMode(exec, _mesa_PolygonMode);
263c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_PolygonOffset(exec, _mesa_PolygonOffset);
264c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_PolygonStipple(exec, _mesa_PolygonStipple);
265c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_PopAttrib(exec, _mesa_PopAttrib);
266c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_PushAttrib(exec, _mesa_PushAttrib);
267c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_RasterPos2d(exec, _mesa_RasterPos2d);
268c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_RasterPos2dv(exec, _mesa_RasterPos2dv);
269c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_RasterPos2s(exec, _mesa_RasterPos2s);
270c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_RasterPos2sv(exec, _mesa_RasterPos2sv);
271c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_RasterPos3d(exec, _mesa_RasterPos3d);
272c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_RasterPos3dv(exec, _mesa_RasterPos3dv);
273c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_RasterPos3f(exec, _mesa_RasterPos3f);
274c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_RasterPos3fv(exec, _mesa_RasterPos3fv);
275c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_RasterPos3i(exec, _mesa_RasterPos3i);
276c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_RasterPos3iv(exec, _mesa_RasterPos3iv);
277c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_RasterPos3s(exec, _mesa_RasterPos3s);
278c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_RasterPos3sv(exec, _mesa_RasterPos3sv);
279c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_RasterPos4d(exec, _mesa_RasterPos4d);
280c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_RasterPos4dv(exec, _mesa_RasterPos4dv);
281c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_RasterPos4f(exec, _mesa_RasterPos4f);
282c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_RasterPos4fv(exec, _mesa_RasterPos4fv);
283c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_RasterPos4i(exec, _mesa_RasterPos4i);
284c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_RasterPos4iv(exec, _mesa_RasterPos4iv);
285c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_RasterPos4s(exec, _mesa_RasterPos4s);
286c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_RasterPos4sv(exec, _mesa_RasterPos4sv);
287c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ReadPixels(exec, _mesa_ReadPixels);
288c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Rotated(exec, _mesa_Rotated);
289c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Scaled(exec, _mesa_Scaled);
290c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_SecondaryColorPointerEXT(exec, _mesa_SecondaryColorPointerEXT);
291c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_TexEnvf(exec, _mesa_TexEnvf);
292c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_TexEnviv(exec, _mesa_TexEnviv);
293c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_TexGend(exec, _mesa_TexGend);
294c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_TexGendv(exec, _mesa_TexGendv);
295c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_TexGenf(exec, _mesa_TexGenf);
296c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_TexGenfv(exec, _mesa_TexGenfv);
297c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_TexGeni(exec, _mesa_TexGeni);
298c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_TexGeniv(exec, _mesa_TexGeniv);
299c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_TexImage1D(exec, _mesa_TexImage1D);
300c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_TexParameterf(exec, _mesa_TexParameterf);
301c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_TexParameterfv(exec, _mesa_TexParameterfv);
302c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_TexParameteriv(exec, _mesa_TexParameteriv);
303c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Translated(exec, _mesa_Translated);
304c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
305c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
306c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* 1.1 */
307c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_BindTexture(exec, _mesa_BindTexture);
308c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_DeleteTextures(exec, _mesa_DeleteTextures);
309c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GenTextures(exec, _mesa_GenTextures);
310c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if _HAVE_FULL_GL
311c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_AreTexturesResident(exec, _mesa_AreTexturesResident);
312c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ColorPointer(exec, _mesa_ColorPointer);
313c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_CopyTexImage1D(exec, _mesa_CopyTexImage1D);
314c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_CopyTexImage2D(exec, _mesa_CopyTexImage2D);
315c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_CopyTexSubImage1D(exec, _mesa_CopyTexSubImage1D);
316c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_CopyTexSubImage2D(exec, _mesa_CopyTexSubImage2D);
317c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_DisableClientState(exec, _mesa_DisableClientState);
318c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_EdgeFlagPointer(exec, _mesa_EdgeFlagPointer);
319c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_EnableClientState(exec, _mesa_EnableClientState);
320c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetPointerv(exec, _mesa_GetPointerv);
321c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_IndexPointer(exec, _mesa_IndexPointer);
322c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_InterleavedArrays(exec, _mesa_InterleavedArrays);
323c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_IsTexture(exec, _mesa_IsTexture);
324c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_NormalPointer(exec, _mesa_NormalPointer);
325c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_PopClientAttrib(exec, _mesa_PopClientAttrib);
326c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_PrioritizeTextures(exec, _mesa_PrioritizeTextures);
327c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_PushClientAttrib(exec, _mesa_PushClientAttrib);
328c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_TexCoordPointer(exec, _mesa_TexCoordPointer);
329c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_TexSubImage1D(exec, _mesa_TexSubImage1D);
330c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_TexSubImage2D(exec, _mesa_TexSubImage2D);
331c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_VertexPointer(exec, _mesa_VertexPointer);
332c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
333c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
334c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* 1.2 */
335c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if _HAVE_FULL_GL
336c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_CopyTexSubImage3D(exec, _mesa_CopyTexSubImage3D);
337c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_TexImage3D(exec, _mesa_TexImage3D);
338c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_TexSubImage3D(exec, _mesa_TexSubImage3D);
339c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
340c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
341c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* OpenGL 1.2  GL_ARB_imaging */
342c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if _HAVE_FULL_GL
343c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_BlendColor(exec, _mesa_BlendColor);
344c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_BlendEquation(exec, _mesa_BlendEquation);
345c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_BlendEquationSeparateEXT(exec, _mesa_BlendEquationSeparateEXT);
346c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ColorSubTable(exec, _mesa_ColorSubTable);
347c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ColorTable(exec, _mesa_ColorTable);
348c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ColorTableParameterfv(exec, _mesa_ColorTableParameterfv);
349c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ColorTableParameteriv(exec, _mesa_ColorTableParameteriv);
350c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ConvolutionFilter1D(exec, _mesa_ConvolutionFilter1D);
351c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ConvolutionFilter2D(exec, _mesa_ConvolutionFilter2D);
352c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ConvolutionParameterf(exec, _mesa_ConvolutionParameterf);
353c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ConvolutionParameterfv(exec, _mesa_ConvolutionParameterfv);
354c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ConvolutionParameteri(exec, _mesa_ConvolutionParameteri);
355c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ConvolutionParameteriv(exec, _mesa_ConvolutionParameteriv);
356c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_CopyColorSubTable(exec, _mesa_CopyColorSubTable);
357c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_CopyColorTable(exec, _mesa_CopyColorTable);
358c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_CopyConvolutionFilter1D(exec, _mesa_CopyConvolutionFilter1D);
359c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_CopyConvolutionFilter2D(exec, _mesa_CopyConvolutionFilter2D);
360c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetColorTable(exec, _mesa_GetColorTable);
361c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetColorTableParameterfv(exec, _mesa_GetColorTableParameterfv);
362c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetColorTableParameteriv(exec, _mesa_GetColorTableParameteriv);
363c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetConvolutionFilter(exec, _mesa_GetConvolutionFilter);
364c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetConvolutionParameterfv(exec, _mesa_GetConvolutionParameterfv);
365c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetConvolutionParameteriv(exec, _mesa_GetConvolutionParameteriv);
366c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetHistogram(exec, _mesa_GetHistogram);
367c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetHistogramParameterfv(exec, _mesa_GetHistogramParameterfv);
368c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetHistogramParameteriv(exec, _mesa_GetHistogramParameteriv);
369c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetMinmax(exec, _mesa_GetMinmax);
370c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetMinmaxParameterfv(exec, _mesa_GetMinmaxParameterfv);
371c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetMinmaxParameteriv(exec, _mesa_GetMinmaxParameteriv);
372c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetSeparableFilter(exec, _mesa_GetSeparableFilter);
373c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Histogram(exec, _mesa_Histogram);
374c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Minmax(exec, _mesa_Minmax);
375c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ResetHistogram(exec, _mesa_ResetHistogram);
376c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ResetMinmax(exec, _mesa_ResetMinmax);
377c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_SeparableFilter2D(exec, _mesa_SeparableFilter2D);
378c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
379c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
380c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* OpenGL 2.0 */
381c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_StencilFuncSeparate(exec, _mesa_StencilFuncSeparate);
382c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_StencilMaskSeparate(exec, _mesa_StencilMaskSeparate);
383c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_StencilOpSeparate(exec, _mesa_StencilOpSeparate);
384c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if FEATURE_ARB_shader_objects
385c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_AttachShader(exec, _mesa_AttachShader);
386c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_CreateProgram(exec, _mesa_CreateProgram);
387c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_CreateShader(exec, _mesa_CreateShader);
388c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_DeleteProgram(exec, _mesa_DeleteProgram);
389c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_DeleteShader(exec, _mesa_DeleteShader);
390c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_DetachShader(exec, _mesa_DetachShader);
391c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetAttachedShaders(exec, _mesa_GetAttachedShaders);
392c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetProgramiv(exec, _mesa_GetProgramiv);
393c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetProgramInfoLog(exec, _mesa_GetProgramInfoLog);
394c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetShaderiv(exec, _mesa_GetShaderiv);
395c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetShaderInfoLog(exec, _mesa_GetShaderInfoLog);
396c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_IsProgram(exec, _mesa_IsProgram);
397c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_IsShader(exec, _mesa_IsShader);
398c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
399c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
400c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* OpenGL 2.1 */
401c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if FEATURE_ARB_shader_objects
402c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_UniformMatrix2x3fv(exec, _mesa_UniformMatrix2x3fv);
403c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_UniformMatrix3x2fv(exec, _mesa_UniformMatrix3x2fv);
404c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_UniformMatrix2x4fv(exec, _mesa_UniformMatrix2x4fv);
405c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_UniformMatrix4x2fv(exec, _mesa_UniformMatrix4x2fv);
406c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_UniformMatrix3x4fv(exec, _mesa_UniformMatrix3x4fv);
407c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_UniformMatrix4x3fv(exec, _mesa_UniformMatrix4x3fv);
408c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
409c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
410c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
411c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* 2. GL_EXT_blend_color */
412c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if 0
413c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul/*    SET_BlendColorEXT(exec, _mesa_BlendColorEXT); */
414c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
415c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
416c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* 3. GL_EXT_polygon_offset */
417c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if _HAVE_FULL_GL
418c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_PolygonOffsetEXT(exec, _mesa_PolygonOffsetEXT);
419c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
420c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
421c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* 6. GL_EXT_texture3d */
422c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if 0
423c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul/*    SET_CopyTexSubImage3DEXT(exec, _mesa_CopyTexSubImage3D); */
424c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul/*    SET_TexImage3DEXT(exec, _mesa_TexImage3DEXT); */
425c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul/*    SET_TexSubImage3DEXT(exec, _mesa_TexSubImage3D); */
426c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
427c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
428c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* 11. GL_EXT_histogram */
429c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if 0
430c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetHistogramEXT(exec, _mesa_GetHistogram);
431c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetHistogramParameterfvEXT(exec, _mesa_GetHistogramParameterfv);
432c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetHistogramParameterivEXT(exec, _mesa_GetHistogramParameteriv);
433c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetMinmaxEXT(exec, _mesa_GetMinmax);
434c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetMinmaxParameterfvEXT(exec, _mesa_GetMinmaxParameterfv);
435c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetMinmaxParameterivEXT(exec, _mesa_GetMinmaxParameteriv);
436c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
437c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
438c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* 14. SGI_color_table */
439c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if 0
440c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ColorTableSGI(exec, _mesa_ColorTable);
441c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ColorSubTableSGI(exec, _mesa_ColorSubTable);
442c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetColorTableSGI(exec, _mesa_GetColorTable);
443c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetColorTableParameterfvSGI(exec, _mesa_GetColorTableParameterfv);
444c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetColorTableParameterivSGI(exec, _mesa_GetColorTableParameteriv);
445c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
446c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
447c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* 30. GL_EXT_vertex_array */
448c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if _HAVE_FULL_GL
449c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ColorPointerEXT(exec, _mesa_ColorPointerEXT);
450c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_EdgeFlagPointerEXT(exec, _mesa_EdgeFlagPointerEXT);
451c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_IndexPointerEXT(exec, _mesa_IndexPointerEXT);
452c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_NormalPointerEXT(exec, _mesa_NormalPointerEXT);
453c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_TexCoordPointerEXT(exec, _mesa_TexCoordPointerEXT);
454c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_VertexPointerEXT(exec, _mesa_VertexPointerEXT);
455c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
456c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
457c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* 37. GL_EXT_blend_minmax */
458c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if 0
459c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_BlendEquationEXT(exec, _mesa_BlendEquationEXT);
460c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
461c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
462c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* 54. GL_EXT_point_parameters */
463c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if _HAVE_FULL_GL
464c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_PointParameterfEXT(exec, _mesa_PointParameterf);
465c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_PointParameterfvEXT(exec, _mesa_PointParameterfv);
466c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
467c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
468c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* 97. GL_EXT_compiled_vertex_array */
469c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if _HAVE_FULL_GL
470c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_LockArraysEXT(exec, _mesa_LockArraysEXT);
471c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_UnlockArraysEXT(exec, _mesa_UnlockArraysEXT);
472c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
473c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
474c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* 148. GL_EXT_multi_draw_arrays */
475c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if _HAVE_FULL_GL
476c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_MultiDrawArraysEXT(exec, _mesa_MultiDrawArraysEXT);
477c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_MultiDrawElementsEXT(exec, _mesa_MultiDrawElementsEXT);
478c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
479c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
480c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* 173. GL_INGR_blend_func_separate */
481c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if _HAVE_FULL_GL
482c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_BlendFuncSeparateEXT(exec, _mesa_BlendFuncSeparateEXT);
483c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
484c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
485c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* 196. GL_MESA_resize_buffers */
486c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if _HAVE_FULL_GL
487c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ResizeBuffersMESA(exec, _mesa_ResizeBuffersMESA);
488c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
489c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
490c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* 197. GL_MESA_window_pos */
491c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if _HAVE_FULL_GL
492c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_WindowPos2dMESA(exec, _mesa_WindowPos2dMESA);
493c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_WindowPos2dvMESA(exec, _mesa_WindowPos2dvMESA);
494c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_WindowPos2fMESA(exec, _mesa_WindowPos2fMESA);
495c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_WindowPos2fvMESA(exec, _mesa_WindowPos2fvMESA);
496c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_WindowPos2iMESA(exec, _mesa_WindowPos2iMESA);
497c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_WindowPos2ivMESA(exec, _mesa_WindowPos2ivMESA);
498c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_WindowPos2sMESA(exec, _mesa_WindowPos2sMESA);
499c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_WindowPos2svMESA(exec, _mesa_WindowPos2svMESA);
500c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_WindowPos3dMESA(exec, _mesa_WindowPos3dMESA);
501c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_WindowPos3dvMESA(exec, _mesa_WindowPos3dvMESA);
502c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_WindowPos3fMESA(exec, _mesa_WindowPos3fMESA);
503c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_WindowPos3fvMESA(exec, _mesa_WindowPos3fvMESA);
504c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_WindowPos3iMESA(exec, _mesa_WindowPos3iMESA);
505c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_WindowPos3ivMESA(exec, _mesa_WindowPos3ivMESA);
506c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_WindowPos3sMESA(exec, _mesa_WindowPos3sMESA);
507c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_WindowPos3svMESA(exec, _mesa_WindowPos3svMESA);
508c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_WindowPos4dMESA(exec, _mesa_WindowPos4dMESA);
509c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_WindowPos4dvMESA(exec, _mesa_WindowPos4dvMESA);
510c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_WindowPos4fMESA(exec, _mesa_WindowPos4fMESA);
511c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_WindowPos4fvMESA(exec, _mesa_WindowPos4fvMESA);
512c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_WindowPos4iMESA(exec, _mesa_WindowPos4iMESA);
513c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_WindowPos4ivMESA(exec, _mesa_WindowPos4ivMESA);
514c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_WindowPos4sMESA(exec, _mesa_WindowPos4sMESA);
515c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_WindowPos4svMESA(exec, _mesa_WindowPos4svMESA);
516c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
517c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
518c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* 200. GL_IBM_multimode_draw_arrays */
519c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if _HAVE_FULL_GL
520c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_MultiModeDrawArraysIBM(exec, _mesa_MultiModeDrawArraysIBM);
521c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_MultiModeDrawElementsIBM(exec, _mesa_MultiModeDrawElementsIBM);
522c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
523c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
524c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* 233. GL_NV_vertex_program */
525c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if FEATURE_NV_vertex_program
526c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_BindProgramNV(exec, _mesa_BindProgram);
527c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_DeleteProgramsNV(exec, _mesa_DeletePrograms);
528c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ExecuteProgramNV(exec, _mesa_ExecuteProgramNV);
529c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GenProgramsNV(exec, _mesa_GenPrograms);
530c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_AreProgramsResidentNV(exec, _mesa_AreProgramsResidentNV);
531c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_RequestResidentProgramsNV(exec, _mesa_RequestResidentProgramsNV);
532c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetProgramParameterfvNV(exec, _mesa_GetProgramParameterfvNV);
533c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetProgramParameterdvNV(exec, _mesa_GetProgramParameterdvNV);
534c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetProgramivNV(exec, _mesa_GetProgramivNV);
535c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetProgramStringNV(exec, _mesa_GetProgramStringNV);
536c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetTrackMatrixivNV(exec, _mesa_GetTrackMatrixivNV);
537c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetVertexAttribdvNV(exec, _mesa_GetVertexAttribdvNV);
538c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetVertexAttribfvNV(exec, _mesa_GetVertexAttribfvNV);
539c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetVertexAttribivNV(exec, _mesa_GetVertexAttribivNV);
540c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetVertexAttribPointervNV(exec, _mesa_GetVertexAttribPointervNV);
541c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_IsProgramNV(exec, _mesa_IsProgramARB);
542c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_LoadProgramNV(exec, _mesa_LoadProgramNV);
543c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ProgramEnvParameter4dARB(exec, _mesa_ProgramEnvParameter4dARB); /* alias to ProgramParameter4dNV */
544c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ProgramEnvParameter4dvARB(exec, _mesa_ProgramEnvParameter4dvARB);  /* alias to ProgramParameter4dvNV */
545c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ProgramEnvParameter4fARB(exec, _mesa_ProgramEnvParameter4fARB);  /* alias to ProgramParameter4fNV */
546c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ProgramEnvParameter4fvARB(exec, _mesa_ProgramEnvParameter4fvARB);  /* alias to ProgramParameter4fvNV */
547c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ProgramParameters4dvNV(exec, _mesa_ProgramParameters4dvNV);
548c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ProgramParameters4fvNV(exec, _mesa_ProgramParameters4fvNV);
549c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_TrackMatrixNV(exec, _mesa_TrackMatrixNV);
550c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_VertexAttribPointerNV(exec, _mesa_VertexAttribPointerNV);
551c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib*NV functions handled in api_loopback.c */
552c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
553c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
554c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* 273. GL_APPLE_vertex_array_object */
555c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_BindVertexArrayAPPLE(exec, _mesa_BindVertexArrayAPPLE);
556c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_DeleteVertexArraysAPPLE(exec, _mesa_DeleteVertexArraysAPPLE);
557c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GenVertexArraysAPPLE(exec, _mesa_GenVertexArraysAPPLE);
558c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_IsVertexArrayAPPLE(exec, _mesa_IsVertexArrayAPPLE);
559c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
560c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* 282. GL_NV_fragment_program */
561c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if FEATURE_NV_fragment_program
562c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ProgramNamedParameter4fNV(exec, _mesa_ProgramNamedParameter4fNV);
563c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ProgramNamedParameter4dNV(exec, _mesa_ProgramNamedParameter4dNV);
564c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ProgramNamedParameter4fvNV(exec, _mesa_ProgramNamedParameter4fvNV);
565c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ProgramNamedParameter4dvNV(exec, _mesa_ProgramNamedParameter4dvNV);
566c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetProgramNamedParameterfvNV(exec, _mesa_GetProgramNamedParameterfvNV);
567c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetProgramNamedParameterdvNV(exec, _mesa_GetProgramNamedParameterdvNV);
568c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ProgramLocalParameter4dARB(exec, _mesa_ProgramLocalParameter4dARB);
569c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ProgramLocalParameter4dvARB(exec, _mesa_ProgramLocalParameter4dvARB);
570c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ProgramLocalParameter4fARB(exec, _mesa_ProgramLocalParameter4fARB);
571c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ProgramLocalParameter4fvARB(exec, _mesa_ProgramLocalParameter4fvARB);
572c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetProgramLocalParameterdvARB(exec, _mesa_GetProgramLocalParameterdvARB);
573c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetProgramLocalParameterfvARB(exec, _mesa_GetProgramLocalParameterfvARB);
574c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
575c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
576c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* 262. GL_NV_point_sprite */
577c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if _HAVE_FULL_GL
578c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_PointParameteriNV(exec, _mesa_PointParameteri);
579c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_PointParameterivNV(exec, _mesa_PointParameteriv);
580c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
581c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
582c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* 268. GL_EXT_stencil_two_side */
583c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if _HAVE_FULL_GL
584c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ActiveStencilFaceEXT(exec, _mesa_ActiveStencilFaceEXT);
585c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
586c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
587c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* ???. GL_EXT_depth_bounds_test */
588c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_DepthBoundsEXT(exec, _mesa_DepthBoundsEXT);
589c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
590c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* ARB 1. GL_ARB_multitexture */
591c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if _HAVE_FULL_GL
592c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ActiveTextureARB(exec, _mesa_ActiveTextureARB);
593c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ClientActiveTextureARB(exec, _mesa_ClientActiveTextureARB);
594c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
595c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
596c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* ARB 3. GL_ARB_transpose_matrix */
597c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if _HAVE_FULL_GL
598c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_LoadTransposeMatrixdARB(exec, _mesa_LoadTransposeMatrixdARB);
599c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_LoadTransposeMatrixfARB(exec, _mesa_LoadTransposeMatrixfARB);
600c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_MultTransposeMatrixdARB(exec, _mesa_MultTransposeMatrixdARB);
601c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_MultTransposeMatrixfARB(exec, _mesa_MultTransposeMatrixfARB);
602c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
603c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
604c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* ARB 5. GL_ARB_multisample */
605c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if _HAVE_FULL_GL
606c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_SampleCoverageARB(exec, _mesa_SampleCoverageARB);
607c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
608c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
609c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* ARB 12. GL_ARB_texture_compression */
610c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if _HAVE_FULL_GL
611c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_CompressedTexImage3DARB(exec, _mesa_CompressedTexImage3DARB);
612c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_CompressedTexImage2DARB(exec, _mesa_CompressedTexImage2DARB);
613c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_CompressedTexImage1DARB(exec, _mesa_CompressedTexImage1DARB);
614c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_CompressedTexSubImage3DARB(exec, _mesa_CompressedTexSubImage3DARB);
615c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_CompressedTexSubImage2DARB(exec, _mesa_CompressedTexSubImage2DARB);
616c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_CompressedTexSubImage1DARB(exec, _mesa_CompressedTexSubImage1DARB);
617c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetCompressedTexImageARB(exec, _mesa_GetCompressedTexImageARB);
618c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
619c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
620c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* ARB 14. GL_ARB_point_parameters */
621c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* reuse EXT_point_parameters functions */
622c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
623c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* ARB 26. GL_ARB_vertex_program */
624c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* ARB 27. GL_ARB_fragment_program */
625c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if FEATURE_ARB_vertex_program || FEATURE_ARB_fragment_program
626c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib1sARB aliases glVertexAttrib1sNV */
627c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib1fARB aliases glVertexAttrib1fNV */
628c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib1dARB aliases glVertexAttrib1dNV */
629c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib2sARB aliases glVertexAttrib2sNV */
630c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib2fARB aliases glVertexAttrib2fNV */
631c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib2dARB aliases glVertexAttrib2dNV */
632c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib3sARB aliases glVertexAttrib3sNV */
633c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib3fARB aliases glVertexAttrib3fNV */
634c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib3dARB aliases glVertexAttrib3dNV */
635c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib4sARB aliases glVertexAttrib4sNV */
636c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib4fARB aliases glVertexAttrib4fNV */
637c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib4dARB aliases glVertexAttrib4dNV */
638c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib4NubARB aliases glVertexAttrib4NubNV */
639c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib1svARB aliases glVertexAttrib1svNV */
640c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib1fvARB aliases glVertexAttrib1fvNV */
641c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib1dvARB aliases glVertexAttrib1dvNV */
642c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib2svARB aliases glVertexAttrib2svNV */
643c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib2fvARB aliases glVertexAttrib2fvNV */
644c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib2dvARB aliases glVertexAttrib2dvNV */
645c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib3svARB aliases glVertexAttrib3svNV */
646c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib3fvARB aliases glVertexAttrib3fvNV */
647c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib3dvARB aliases glVertexAttrib3dvNV */
648c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib4svARB aliases glVertexAttrib4svNV */
649c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib4fvARB aliases glVertexAttrib4fvNV */
650c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib4dvARB aliases glVertexAttrib4dvNV */
651c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib4NubvARB aliases glVertexAttrib4NubvNV */
652c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib4bvARB handled in api_loopback.c */
653c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib4ivARB handled in api_loopback.c */
654c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib4ubvARB handled in api_loopback.c */
655c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib4usvARB handled in api_loopback.c */
656c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib4uivARB handled in api_loopback.c */
657c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib4NbvARB handled in api_loopback.c */
658c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib4NsvARB handled in api_loopback.c */
659c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib4NivARB handled in api_loopback.c */
660c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib4NusvARB handled in api_loopback.c */
661c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glVertexAttrib4NuivARB handled in api_loopback.c */
662c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_VertexAttribPointerARB(exec, _mesa_VertexAttribPointerARB);
663c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_EnableVertexAttribArrayARB(exec, _mesa_EnableVertexAttribArrayARB);
664c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_DisableVertexAttribArrayARB(exec, _mesa_DisableVertexAttribArrayARB);
665c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ProgramStringARB(exec, _mesa_ProgramStringARB);
666c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glBindProgramARB aliases glBindProgramNV */
667c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glDeleteProgramsARB aliases glDeleteProgramsNV */
668c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glGenProgramsARB aliases glGenProgramsNV */
669c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glIsProgramARB aliases glIsProgramNV */
670c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetVertexAttribdvARB(exec, _mesa_GetVertexAttribdvARB);
671c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetVertexAttribfvARB(exec, _mesa_GetVertexAttribfvARB);
672c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetVertexAttribivARB(exec, _mesa_GetVertexAttribivARB);
673c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* glGetVertexAttribPointervARB aliases glGetVertexAttribPointervNV */
674c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ProgramEnvParameter4dARB(exec, _mesa_ProgramEnvParameter4dARB);
675c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ProgramEnvParameter4dvARB(exec, _mesa_ProgramEnvParameter4dvARB);
676c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ProgramEnvParameter4fARB(exec, _mesa_ProgramEnvParameter4fARB);
677c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ProgramEnvParameter4fvARB(exec, _mesa_ProgramEnvParameter4fvARB);
678c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ProgramLocalParameter4dARB(exec, _mesa_ProgramLocalParameter4dARB);
679c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ProgramLocalParameter4dvARB(exec, _mesa_ProgramLocalParameter4dvARB);
680c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ProgramLocalParameter4fARB(exec, _mesa_ProgramLocalParameter4fARB);
681c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ProgramLocalParameter4fvARB(exec, _mesa_ProgramLocalParameter4fvARB);
682c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetProgramEnvParameterdvARB(exec, _mesa_GetProgramEnvParameterdvARB);
683c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetProgramEnvParameterfvARB(exec, _mesa_GetProgramEnvParameterfvARB);
684c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetProgramLocalParameterdvARB(exec, _mesa_GetProgramLocalParameterdvARB);
685c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetProgramLocalParameterfvARB(exec, _mesa_GetProgramLocalParameterfvARB);
686c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetProgramivARB(exec, _mesa_GetProgramivARB);
687c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetProgramStringARB(exec, _mesa_GetProgramStringARB);
688c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
689c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
690c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* ARB 28. GL_ARB_vertex_buffer_object */
691c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if FEATURE_ARB_vertex_buffer_object
692c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_BindBufferARB(exec, _mesa_BindBufferARB);
693c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_BufferDataARB(exec, _mesa_BufferDataARB);
694c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_BufferSubDataARB(exec, _mesa_BufferSubDataARB);
695c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_DeleteBuffersARB(exec, _mesa_DeleteBuffersARB);
696c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GenBuffersARB(exec, _mesa_GenBuffersARB);
697c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetBufferParameterivARB(exec, _mesa_GetBufferParameterivARB);
698c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetBufferPointervARB(exec, _mesa_GetBufferPointervARB);
699c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetBufferSubDataARB(exec, _mesa_GetBufferSubDataARB);
700c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_IsBufferARB(exec, _mesa_IsBufferARB);
701c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_MapBufferARB(exec, _mesa_MapBufferARB);
702c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_UnmapBufferARB(exec, _mesa_UnmapBufferARB);
703c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
704c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
705c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* ARB 29. GL_ARB_occlusion_query */
706c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if FEATURE_ARB_occlusion_query
707c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GenQueriesARB(exec, _mesa_GenQueriesARB);
708c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_DeleteQueriesARB(exec, _mesa_DeleteQueriesARB);
709c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_IsQueryARB(exec, _mesa_IsQueryARB);
710c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_BeginQueryARB(exec, _mesa_BeginQueryARB);
711c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_EndQueryARB(exec, _mesa_EndQueryARB);
712c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetQueryivARB(exec, _mesa_GetQueryivARB);
713c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetQueryObjectivARB(exec, _mesa_GetQueryObjectivARB);
714c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetQueryObjectuivARB(exec, _mesa_GetQueryObjectuivARB);
715c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
716c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
717c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* ARB 37. GL_ARB_draw_buffers */
718c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_DrawBuffersARB(exec, _mesa_DrawBuffersARB);
719c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
720c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if FEATURE_ARB_shader_objects
721c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_DeleteObjectARB(exec, _mesa_DeleteObjectARB);
722c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetHandleARB(exec, _mesa_GetHandleARB);
723c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_DetachObjectARB(exec, _mesa_DetachObjectARB);
724c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_CreateShaderObjectARB(exec, _mesa_CreateShaderObjectARB);
725c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ShaderSourceARB(exec, _mesa_ShaderSourceARB);
726c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_CompileShaderARB(exec, _mesa_CompileShaderARB);
727c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_CreateProgramObjectARB(exec, _mesa_CreateProgramObjectARB);
728c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_AttachObjectARB(exec, _mesa_AttachObjectARB);
729c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_LinkProgramARB(exec, _mesa_LinkProgramARB);
730c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_UseProgramObjectARB(exec, _mesa_UseProgramObjectARB);
731c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ValidateProgramARB(exec, _mesa_ValidateProgramARB);
732c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Uniform1fARB(exec, _mesa_Uniform1fARB);
733c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Uniform2fARB(exec, _mesa_Uniform2fARB);
734c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Uniform3fARB(exec, _mesa_Uniform3fARB);
735c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Uniform4fARB(exec, _mesa_Uniform4fARB);
736c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Uniform1iARB(exec, _mesa_Uniform1iARB);
737c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Uniform2iARB(exec, _mesa_Uniform2iARB);
738c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Uniform3iARB(exec, _mesa_Uniform3iARB);
739c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Uniform4iARB(exec, _mesa_Uniform4iARB);
740c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Uniform1fvARB(exec, _mesa_Uniform1fvARB);
741c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Uniform2fvARB(exec, _mesa_Uniform2fvARB);
742c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Uniform3fvARB(exec, _mesa_Uniform3fvARB);
743c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Uniform4fvARB(exec, _mesa_Uniform4fvARB);
744c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Uniform1ivARB(exec, _mesa_Uniform1ivARB);
745c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Uniform2ivARB(exec, _mesa_Uniform2ivARB);
746c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Uniform3ivARB(exec, _mesa_Uniform3ivARB);
747c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_Uniform4ivARB(exec, _mesa_Uniform4ivARB);
748c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_UniformMatrix2fvARB(exec, _mesa_UniformMatrix2fvARB);
749c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_UniformMatrix3fvARB(exec, _mesa_UniformMatrix3fvARB);
750c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_UniformMatrix4fvARB(exec, _mesa_UniformMatrix4fvARB);
751c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetObjectParameterfvARB(exec, _mesa_GetObjectParameterfvARB);
752c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetObjectParameterivARB(exec, _mesa_GetObjectParameterivARB);
753c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetInfoLogARB(exec, _mesa_GetInfoLogARB);
754c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetAttachedObjectsARB(exec, _mesa_GetAttachedObjectsARB);
755c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetUniformLocationARB(exec, _mesa_GetUniformLocationARB);
756c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetActiveUniformARB(exec, _mesa_GetActiveUniformARB);
757c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetUniformfvARB(exec, _mesa_GetUniformfvARB);
758c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetUniformivARB(exec, _mesa_GetUniformivARB);
759c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetShaderSourceARB(exec, _mesa_GetShaderSourceARB);
760c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif    /* FEATURE_ARB_shader_objects */
761c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
762c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if FEATURE_ARB_vertex_shader
763c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_BindAttribLocationARB(exec, _mesa_BindAttribLocationARB);
764c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetActiveAttribARB(exec, _mesa_GetActiveAttribARB);
765c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetAttribLocationARB(exec, _mesa_GetAttribLocationARB);
766c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif    /* FEATURE_ARB_vertex_shader */
767c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
768c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul  /* GL_ATI_fragment_shader */
769c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if FEATURE_ATI_fragment_shader
770c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GenFragmentShadersATI(exec, _mesa_GenFragmentShadersATI);
771c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_BindFragmentShaderATI(exec, _mesa_BindFragmentShaderATI);
772c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_DeleteFragmentShaderATI(exec, _mesa_DeleteFragmentShaderATI);
773c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_BeginFragmentShaderATI(exec, _mesa_BeginFragmentShaderATI);
774c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_EndFragmentShaderATI(exec, _mesa_EndFragmentShaderATI);
775c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_PassTexCoordATI(exec, _mesa_PassTexCoordATI);
776c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_SampleMapATI(exec, _mesa_SampleMapATI);
777c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ColorFragmentOp1ATI(exec, _mesa_ColorFragmentOp1ATI);
778c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ColorFragmentOp2ATI(exec, _mesa_ColorFragmentOp2ATI);
779c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ColorFragmentOp3ATI(exec, _mesa_ColorFragmentOp3ATI);
780c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_AlphaFragmentOp1ATI(exec, _mesa_AlphaFragmentOp1ATI);
781c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_AlphaFragmentOp2ATI(exec, _mesa_AlphaFragmentOp2ATI);
782c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_AlphaFragmentOp3ATI(exec, _mesa_AlphaFragmentOp3ATI);
783c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_SetFragmentShaderConstantATI(exec, _mesa_SetFragmentShaderConstantATI);
784c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
785c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
786c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if FEATURE_EXT_framebuffer_object
787c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_IsRenderbufferEXT(exec, _mesa_IsRenderbufferEXT);
788c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_BindRenderbufferEXT(exec, _mesa_BindRenderbufferEXT);
789c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_DeleteRenderbuffersEXT(exec, _mesa_DeleteRenderbuffersEXT);
790c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GenRenderbuffersEXT(exec, _mesa_GenRenderbuffersEXT);
791c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_RenderbufferStorageEXT(exec, _mesa_RenderbufferStorageEXT);
792c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetRenderbufferParameterivEXT(exec, _mesa_GetRenderbufferParameterivEXT);
793c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_IsFramebufferEXT(exec, _mesa_IsFramebufferEXT);
794c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_BindFramebufferEXT(exec, _mesa_BindFramebufferEXT);
795c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_DeleteFramebuffersEXT(exec, _mesa_DeleteFramebuffersEXT);
796c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GenFramebuffersEXT(exec, _mesa_GenFramebuffersEXT);
797c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_CheckFramebufferStatusEXT(exec, _mesa_CheckFramebufferStatusEXT);
798c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_FramebufferTexture1DEXT(exec, _mesa_FramebufferTexture1DEXT);
799c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_FramebufferTexture2DEXT(exec, _mesa_FramebufferTexture2DEXT);
800c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_FramebufferTexture3DEXT(exec, _mesa_FramebufferTexture3DEXT);
801c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_FramebufferRenderbufferEXT(exec, _mesa_FramebufferRenderbufferEXT);
802c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetFramebufferAttachmentParameterivEXT(exec, _mesa_GetFramebufferAttachmentParameterivEXT);
803c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GenerateMipmapEXT(exec, _mesa_GenerateMipmapEXT);
804c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
805c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
806c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if FEATURE_EXT_timer_query
807c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetQueryObjecti64vEXT(exec, _mesa_GetQueryObjecti64vEXT);
808c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_GetQueryObjectui64vEXT(exec, _mesa_GetQueryObjectui64vEXT);
809c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
810c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
811c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if FEATURE_EXT_framebuffer_blit
812c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_BlitFramebufferEXT(exec, _mesa_BlitFramebufferEXT);
813c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
814c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
815c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* GL_EXT_gpu_program_parameters */
816c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if FEATURE_ARB_vertex_program || FEATURE_ARB_fragment_program
817c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ProgramEnvParameters4fvEXT(exec, _mesa_ProgramEnvParameters4fvEXT);
818c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_ProgramLocalParameters4fvEXT(exec, _mesa_ProgramLocalParameters4fvEXT);
819c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
820c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
821c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* GL_MESA_texture_array / GL_EXT_texture_array */
822c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#if FEATURE_EXT_framebuffer_object
823c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_FramebufferTextureLayerEXT(exec, _mesa_FramebufferTextureLayerEXT);
824c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul#endif
825c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
826c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   /* GL_ATI_separate_stencil */
827c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul   SET_StencilFuncSeparateATI(exec, _mesa_StencilFuncSeparateATI);
828c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul}
829c9e5671691289006e9b1152d6ce20200a83010c2Brian Paul
830