~ubuntu-branches/ubuntu/precise/mesa/precise-security

« back to all changes in this revision

Viewing changes to src/mesa/main/api_exec_es2_remap_helper.h

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers, Steve Beattie
  • Date: 2012-10-19 09:04:04 UTC
  • mfrom: (163.1.4 precise-proposed)
  • Revision ID: package-import@ubuntu.com-20121019090404-5zbjpsp6knv7zl3b
Tags: 8.0.4-0ubuntu0.2
[ Steve Beattie ]
* SECURITY UPDATE: samplers array overflow (LP: #1046933)
  - debian/patches/50-CVE-2012-2864.patch: ensure that more than
    MAX_SAMPLERS are not used
  - CVE-2012-2864

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* DO NOT EDIT - This file generated automatically by remap_helper.py (from Mesa) script */
2
 
 
3
 
/*
4
 
 * Copyright (C) 2009 Chia-I Wu <olv@0xlab.org>
5
 
 * All Rights Reserved.
6
 
 * 
7
 
 * Permission is hereby granted, free of charge, to any person obtaining a
8
 
 * copy of this software and associated documentation files (the "Software"),
9
 
 * to deal in the Software without restriction, including without limitation
10
 
 * the rights to use, copy, modify, merge, publish, distribute, sub license,
11
 
 * and/or sell copies of the Software, and to permit persons to whom the
12
 
 * Software is furnished to do so, subject to the following conditions:
13
 
 * 
14
 
 * The above copyright notice and this permission notice (including the next
15
 
 * paragraph) shall be included in all copies or substantial portions of the
16
 
 * Software.
17
 
 * 
18
 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
 
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
 
 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.  IN NO EVENT SHALL
21
 
 * Chia-I Wu,
22
 
 * AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
23
 
 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
24
 
 * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
25
 
 * SOFTWARE.
26
 
 */
27
 
 
28
 
#include "main/dispatch.h"
29
 
#include "main/remap.h"
30
 
 
31
 
/* this is internal to remap.c */
32
 
#ifndef need_MESA_remap_table
33
 
#error Only remap.c should include this file!
34
 
#endif /* need_MESA_remap_table */
35
 
 
36
 
 
37
 
static const char _mesa_function_pool[] =
38
 
   /* _mesa_function_pool[0]: GetTexParameteriv (offset 283) */
39
 
   "iip\0"
40
 
   "glGetTexParameteriv\0"
41
 
   "\0"
42
 
   /* _mesa_function_pool[25]: MapBufferOES (will be remapped) */
43
 
   "ii\0"
44
 
   "glMapBufferOES\0"
45
 
   "\0"
46
 
   /* _mesa_function_pool[44]: DeleteShader (will be remapped) */
47
 
   "i\0"
48
 
   "glDeleteShader\0"
49
 
   "\0"
50
 
   /* _mesa_function_pool[62]: VertexAttrib2f (will be remapped) */
51
 
   "iff\0"
52
 
   "glVertexAttrib2f\0"
53
 
   "\0"
54
 
   /* _mesa_function_pool[84]: Uniform2f (will be remapped) */
55
 
   "iff\0"
56
 
   "glUniform2f\0"
57
 
   "\0"
58
 
   /* _mesa_function_pool[101]: CompileShader (will be remapped) */
59
 
   "i\0"
60
 
   "glCompileShader\0"
61
 
   "\0"
62
 
   /* _mesa_function_pool[120]: GetProgramiv (will be remapped) */
63
 
   "iip\0"
64
 
   "glGetProgramiv\0"
65
 
   "\0"
66
 
   /* _mesa_function_pool[140]: LineWidth (offset 168) */
67
 
   "f\0"
68
 
   "glLineWidth\0"
69
 
   "\0"
70
 
   /* _mesa_function_pool[155]: GetBufferPointervOES (will be remapped) */
71
 
   "iip\0"
72
 
   "glGetBufferPointervOES\0"
73
 
   "\0"
74
 
   /* _mesa_function_pool[183]: Uniform2i (will be remapped) */
75
 
   "iii\0"
76
 
   "glUniform2i\0"
77
 
   "\0"
78
 
   /* _mesa_function_pool[200]: Finish (offset 216) */
79
 
   "\0"
80
 
   "glFinish\0"
81
 
   "\0"
82
 
   /* _mesa_function_pool[211]: ClearStencil (offset 207) */
83
 
   "i\0"
84
 
   "glClearStencil\0"
85
 
   "\0"
86
 
   /* _mesa_function_pool[229]: Uniform1fv (will be remapped) */
87
 
   "iip\0"
88
 
   "glUniform1fv\0"
89
 
   "\0"
90
 
   /* _mesa_function_pool[247]: GenBuffers (will be remapped) */
91
 
   "ip\0"
92
 
   "glGenBuffers\0"
93
 
   "\0"
94
 
   /* _mesa_function_pool[264]: GetProgramInfoLog (will be remapped) */
95
 
   "iipp\0"
96
 
   "glGetProgramInfoLog\0"
97
 
   "\0"
98
 
   /* _mesa_function_pool[290]: Uniform2fv (will be remapped) */
99
 
   "iip\0"
100
 
   "glUniform2fv\0"
101
 
   "\0"
102
 
   /* _mesa_function_pool[308]: EnableVertexAttribArray (will be remapped) */
103
 
   "i\0"
104
 
   "glEnableVertexAttribArray\0"
105
 
   "\0"
106
 
   /* _mesa_function_pool[337]: GetAttachedShaders (will be remapped) */
107
 
   "iipp\0"
108
 
   "glGetAttachedShaders\0"
109
 
   "\0"
110
 
   /* _mesa_function_pool[364]: TexImage3DOES (offset 371) */
111
 
   "iiiiiiiiip\0"
112
 
   "glTexImage3DOES\0"
113
 
   "\0"
114
 
   /* _mesa_function_pool[392]: VertexAttrib4fv (will be remapped) */
115
 
   "ip\0"
116
 
   "glVertexAttrib4fv\0"
117
 
   "\0"
118
 
   /* _mesa_function_pool[414]: IsEnabled (offset 286) */
119
 
   "i\0"
120
 
   "glIsEnabled\0"
121
 
   "\0"
122
 
   /* _mesa_function_pool[429]: LinkProgram (will be remapped) */
123
 
   "i\0"
124
 
   "glLinkProgram\0"
125
 
   "\0"
126
 
   /* _mesa_function_pool[446]: DeleteProgram (will be remapped) */
127
 
   "i\0"
128
 
   "glDeleteProgram\0"
129
 
   "\0"
130
 
   /* _mesa_function_pool[465]: CompressedTexSubImage3DOES (will be remapped) */
131
 
   "iiiiiiiiiip\0"
132
 
   "glCompressedTexSubImage3DOES\0"
133
 
   "\0"
134
 
   /* _mesa_function_pool[507]: Uniform1f (will be remapped) */
135
 
   "if\0"
136
 
   "glUniform1f\0"
137
 
   "\0"
138
 
   /* _mesa_function_pool[523]: DetachShader (will be remapped) */
139
 
   "ii\0"
140
 
   "glDetachShader\0"
141
 
   "\0"
142
 
   /* _mesa_function_pool[542]: Uniform1i (will be remapped) */
143
 
   "ii\0"
144
 
   "glUniform1i\0"
145
 
   "\0"
146
 
   /* _mesa_function_pool[558]: CopyTexSubImage2D (offset 326) */
147
 
   "iiiiiiii\0"
148
 
   "glCopyTexSubImage2D\0"
149
 
   "\0"
150
 
   /* _mesa_function_pool[588]: SampleCoverage (will be remapped) */
151
 
   "fi\0"
152
 
   "glSampleCoverage\0"
153
 
   "\0"
154
 
   /* _mesa_function_pool[609]: VertexAttrib4f (will be remapped) */
155
 
   "iffff\0"
156
 
   "glVertexAttrib4f\0"
157
 
   "\0"
158
 
   /* _mesa_function_pool[633]: DrawElements (offset 311) */
159
 
   "iiip\0"
160
 
   "glDrawElements\0"
161
 
   "\0"
162
 
   /* _mesa_function_pool[654]: GetShaderiv (will be remapped) */
163
 
   "iip\0"
164
 
   "glGetShaderiv\0"
165
 
   "\0"
166
 
   /* _mesa_function_pool[673]: BindFramebuffer (will be remapped) */
167
 
   "ii\0"
168
 
   "glBindFramebuffer\0"
169
 
   "\0"
170
 
   /* _mesa_function_pool[695]: Uniform4iv (will be remapped) */
171
 
   "iip\0"
172
 
   "glUniform4iv\0"
173
 
   "\0"
174
 
   /* _mesa_function_pool[713]: ReleaseShaderCompiler (will be remapped) */
175
 
   "\0"
176
 
   "glReleaseShaderCompiler\0"
177
 
   "\0"
178
 
   /* _mesa_function_pool[739]: BlendEquation (offset 337) */
179
 
   "i\0"
180
 
   "glBlendEquation\0"
181
 
   "\0"
182
 
   /* _mesa_function_pool[758]: StencilFuncSeparate (will be remapped) */
183
 
   "iiii\0"
184
 
   "glStencilFuncSeparate\0"
185
 
   "\0"
186
 
   /* _mesa_function_pool[786]: ShaderSource (will be remapped) */
187
 
   "iipp\0"
188
 
   "glShaderSource\0"
189
 
   "\0"
190
 
   /* _mesa_function_pool[807]: Uniform2iv (will be remapped) */
191
 
   "iip\0"
192
 
   "glUniform2iv\0"
193
 
   "\0"
194
 
   /* _mesa_function_pool[825]: BindRenderbuffer (will be remapped) */
195
 
   "ii\0"
196
 
   "glBindRenderbuffer\0"
197
 
   "\0"
198
 
   /* _mesa_function_pool[848]: UseProgram (will be remapped) */
199
 
   "i\0"
200
 
   "glUseProgram\0"
201
 
   "\0"
202
 
   /* _mesa_function_pool[864]: CreateShader (will be remapped) */
203
 
   "i\0"
204
 
   "glCreateShader\0"
205
 
   "\0"
206
 
   /* _mesa_function_pool[882]: GetVertexAttribfv (will be remapped) */
207
 
   "iip\0"
208
 
   "glGetVertexAttribfv\0"
209
 
   "\0"
210
 
   /* _mesa_function_pool[907]: DeleteFramebuffers (will be remapped) */
211
 
   "ip\0"
212
 
   "glDeleteFramebuffers\0"
213
 
   "\0"
214
 
   /* _mesa_function_pool[932]: BufferData (will be remapped) */
215
 
   "iipi\0"
216
 
   "glBufferData\0"
217
 
   "\0"
218
 
   /* _mesa_function_pool[951]: RenderbufferStorage (will be remapped) */
219
 
   "iiii\0"
220
 
   "glRenderbufferStorage\0"
221
 
   "\0"
222
 
   /* _mesa_function_pool[979]: BindTexture (offset 307) */
223
 
   "ii\0"
224
 
   "glBindTexture\0"
225
 
   "\0"
226
 
   /* _mesa_function_pool[997]: FramebufferRenderbuffer (will be remapped) */
227
 
   "iiii\0"
228
 
   "glFramebufferRenderbuffer\0"
229
 
   "\0"
230
 
   /* _mesa_function_pool[1029]: ClearColor (offset 206) */
231
 
   "ffff\0"
232
 
   "glClearColor\0"
233
 
   "\0"
234
 
   /* _mesa_function_pool[1048]: TexSubImage2D (offset 333) */
235
 
   "iiiiiiiip\0"
236
 
   "glTexSubImage2D\0"
237
 
   "\0"
238
 
   /* _mesa_function_pool[1075]: Uniform3i (will be remapped) */
239
 
   "iiii\0"
240
 
   "glUniform3i\0"
241
 
   "\0"
242
 
   /* _mesa_function_pool[1093]: Enable (offset 215) */
243
 
   "i\0"
244
 
   "glEnable\0"
245
 
   "\0"
246
 
   /* _mesa_function_pool[1105]: BlendColor (offset 336) */
247
 
   "ffff\0"
248
 
   "glBlendColor\0"
249
 
   "\0"
250
 
   /* _mesa_function_pool[1124]: UniformMatrix3fv (will be remapped) */
251
 
   "iiip\0"
252
 
   "glUniformMatrix3fv\0"
253
 
   "\0"
254
 
   /* _mesa_function_pool[1149]: GetVertexAttribiv (will be remapped) */
255
 
   "iip\0"
256
 
   "glGetVertexAttribiv\0"
257
 
   "\0"
258
 
   /* _mesa_function_pool[1174]: ShaderBinary (will be remapped) */
259
 
   "ipipi\0"
260
 
   "glShaderBinary\0"
261
 
   "\0"
262
 
   /* _mesa_function_pool[1196]: Uniform3f (will be remapped) */
263
 
   "ifff\0"
264
 
   "glUniform3f\0"
265
 
   "\0"
266
 
   /* _mesa_function_pool[1214]: IsBuffer (will be remapped) */
267
 
   "i\0"
268
 
   "glIsBuffer\0"
269
 
   "\0"
270
 
   /* _mesa_function_pool[1228]: GetUniformLocation (will be remapped) */
271
 
   "ip\0"
272
 
   "glGetUniformLocation\0"
273
 
   "\0"
274
 
   /* _mesa_function_pool[1253]: PixelStorei (offset 250) */
275
 
   "ii\0"
276
 
   "glPixelStorei\0"
277
 
   "\0"
278
 
   /* _mesa_function_pool[1271]: Viewport (offset 305) */
279
 
   "iiii\0"
280
 
   "glViewport\0"
281
 
   "\0"
282
 
   /* _mesa_function_pool[1288]: BlendFuncSeparate (will be remapped) */
283
 
   "iiii\0"
284
 
   "glBlendFuncSeparate\0"
285
 
   "\0"
286
 
   /* _mesa_function_pool[1314]: TexSubImage3DOES (offset 372) */
287
 
   "iiiiiiiiiip\0"
288
 
   "glTexSubImage3DOES\0"
289
 
   "\0"
290
 
   /* _mesa_function_pool[1346]: GetError (offset 261) */
291
 
   "\0"
292
 
   "glGetError\0"
293
 
   "\0"
294
 
   /* _mesa_function_pool[1359]: DrawArrays (offset 310) */
295
 
   "iii\0"
296
 
   "glDrawArrays\0"
297
 
   "\0"
298
 
   /* _mesa_function_pool[1377]: VertexAttrib3f (will be remapped) */
299
 
   "ifff\0"
300
 
   "glVertexAttrib3f\0"
301
 
   "\0"
302
 
   /* _mesa_function_pool[1400]: DeleteRenderbuffers (will be remapped) */
303
 
   "ip\0"
304
 
   "glDeleteRenderbuffers\0"
305
 
   "\0"
306
 
   /* _mesa_function_pool[1426]: CompressedTexSubImage2D (will be remapped) */
307
 
   "iiiiiiiip\0"
308
 
   "glCompressedTexSubImage2D\0"
309
 
   "\0"
310
 
   /* _mesa_function_pool[1463]: CopyTexSubImage3DOES (offset 373) */
311
 
   "iiiiiiiii\0"
312
 
   "glCopyTexSubImage3DOES\0"
313
 
   "\0"
314
 
   /* _mesa_function_pool[1497]: StencilMask (offset 209) */
315
 
   "i\0"
316
 
   "glStencilMask\0"
317
 
   "\0"
318
 
   /* _mesa_function_pool[1514]: EGLImageTargetTexture2DOES (will be remapped) */
319
 
   "ip\0"
320
 
   "glEGLImageTargetTexture2DOES\0"
321
 
   "\0"
322
 
   /* _mesa_function_pool[1547]: MultiDrawElementsEXT (will be remapped) */
323
 
   "ipipi\0"
324
 
   "glMultiDrawElementsEXT\0"
325
 
   "\0"
326
 
   /* _mesa_function_pool[1577]: StencilMaskSeparate (will be remapped) */
327
 
   "ii\0"
328
 
   "glStencilMaskSeparate\0"
329
 
   "\0"
330
 
   /* _mesa_function_pool[1603]: CheckFramebufferStatus (will be remapped) */
331
 
   "i\0"
332
 
   "glCheckFramebufferStatus\0"
333
 
   "\0"
334
 
   /* _mesa_function_pool[1631]: DepthMask (offset 211) */
335
 
   "i\0"
336
 
   "glDepthMask\0"
337
 
   "\0"
338
 
   /* _mesa_function_pool[1646]: IsShader (will be remapped) */
339
 
   "i\0"
340
 
   "glIsShader\0"
341
 
   "\0"
342
 
   /* _mesa_function_pool[1660]: StencilOp (offset 244) */
343
 
   "iii\0"
344
 
   "glStencilOp\0"
345
 
   "\0"
346
 
   /* _mesa_function_pool[1677]: GetShaderInfoLog (will be remapped) */
347
 
   "iipp\0"
348
 
   "glGetShaderInfoLog\0"
349
 
   "\0"
350
 
   /* _mesa_function_pool[1702]: EGLImageTargetRenderbufferStorageOES (will be remapped) */
351
 
   "ip\0"
352
 
   "glEGLImageTargetRenderbufferStorageOES\0"
353
 
   "\0"
354
 
   /* _mesa_function_pool[1745]: BindBuffer (will be remapped) */
355
 
   "ii\0"
356
 
   "glBindBuffer\0"
357
 
   "\0"
358
 
   /* _mesa_function_pool[1762]: Uniform1iv (will be remapped) */
359
 
   "iip\0"
360
 
   "glUniform1iv\0"
361
 
   "\0"
362
 
   /* _mesa_function_pool[1780]: GenFramebuffers (will be remapped) */
363
 
   "ip\0"
364
 
   "glGenFramebuffers\0"
365
 
   "\0"
366
 
   /* _mesa_function_pool[1802]: ClearDepthf (will be remapped) */
367
 
   "f\0"
368
 
   "glClearDepthf\0"
369
 
   "\0"
370
 
   /* _mesa_function_pool[1819]: FramebufferTexture2D (will be remapped) */
371
 
   "iiiii\0"
372
 
   "glFramebufferTexture2D\0"
373
 
   "\0"
374
 
   /* _mesa_function_pool[1849]: IsFramebuffer (will be remapped) */
375
 
   "i\0"
376
 
   "glIsFramebuffer\0"
377
 
   "\0"
378
 
   /* _mesa_function_pool[1868]: StencilFunc (offset 243) */
379
 
   "iii\0"
380
 
   "glStencilFunc\0"
381
 
   "\0"
382
 
   /* _mesa_function_pool[1887]: CullFace (offset 152) */
383
 
   "i\0"
384
 
   "glCullFace\0"
385
 
   "\0"
386
 
   /* _mesa_function_pool[1901]: CompressedTexImage3DOES (will be remapped) */
387
 
   "iiiiiiiip\0"
388
 
   "glCompressedTexImage3DOES\0"
389
 
   "\0"
390
 
   /* _mesa_function_pool[1938]: BlendEquationSeparate (will be remapped) */
391
 
   "ii\0"
392
 
   "glBlendEquationSeparate\0"
393
 
   "\0"
394
 
   /* _mesa_function_pool[1966]: Uniform4fv (will be remapped) */
395
 
   "iip\0"
396
 
   "glUniform4fv\0"
397
 
   "\0"
398
 
   /* _mesa_function_pool[1984]: ActiveTexture (offset 374) */
399
 
   "i\0"
400
 
   "glActiveTexture\0"
401
 
   "\0"
402
 
   /* _mesa_function_pool[2003]: IsProgram (will be remapped) */
403
 
   "i\0"
404
 
   "glIsProgram\0"
405
 
   "\0"
406
 
   /* _mesa_function_pool[2018]: VertexAttrib1f (will be remapped) */
407
 
   "if\0"
408
 
   "glVertexAttrib1f\0"
409
 
   "\0"
410
 
   /* _mesa_function_pool[2039]: Hint (offset 158) */
411
 
   "ii\0"
412
 
   "glHint\0"
413
 
   "\0"
414
 
   /* _mesa_function_pool[2050]: GenTextures (offset 328) */
415
 
   "ip\0"
416
 
   "glGenTextures\0"
417
 
   "\0"
418
 
   /* _mesa_function_pool[2068]: TexParameterfv (offset 179) */
419
 
   "iip\0"
420
 
   "glTexParameterfv\0"
421
 
   "\0"
422
 
   /* _mesa_function_pool[2090]: BindAttribLocation (will be remapped) */
423
 
   "iip\0"
424
 
   "glBindAttribLocation\0"
425
 
   "\0"
426
 
   /* _mesa_function_pool[2116]: GetProgramBinaryOES (will be remapped) */
427
 
   "iippp\0"
428
 
   "glGetProgramBinaryOES\0"
429
 
   "\0"
430
 
   /* _mesa_function_pool[2145]: VertexAttribPointer (will be remapped) */
431
 
   "iiiiip\0"
432
 
   "glVertexAttribPointer\0"
433
 
   "\0"
434
 
   /* _mesa_function_pool[2175]: GetAttribLocation (will be remapped) */
435
 
   "ip\0"
436
 
   "glGetAttribLocation\0"
437
 
   "\0"
438
 
   /* _mesa_function_pool[2199]: ReadPixels (offset 256) */
439
 
   "iiiiiip\0"
440
 
   "glReadPixels\0"
441
 
   "\0"
442
 
   /* _mesa_function_pool[2221]: GetFloatv (offset 262) */
443
 
   "ip\0"
444
 
   "glGetFloatv\0"
445
 
   "\0"
446
 
   /* _mesa_function_pool[2237]: BlendFunc (offset 241) */
447
 
   "ii\0"
448
 
   "glBlendFunc\0"
449
 
   "\0"
450
 
   /* _mesa_function_pool[2253]: Uniform4i (will be remapped) */
451
 
   "iiiii\0"
452
 
   "glUniform4i\0"
453
 
   "\0"
454
 
   /* _mesa_function_pool[2272]: FramebufferTexture3DOES (will be remapped) */
455
 
   "iiiiii\0"
456
 
   "glFramebufferTexture3DOES\0"
457
 
   "\0"
458
 
   /* _mesa_function_pool[2306]: Uniform4f (will be remapped) */
459
 
   "iffff\0"
460
 
   "glUniform4f\0"
461
 
   "\0"
462
 
   /* _mesa_function_pool[2325]: GetShaderPrecisionFormat (will be remapped) */
463
 
   "iipp\0"
464
 
   "glGetShaderPrecisionFormat\0"
465
 
   "\0"
466
 
   /* _mesa_function_pool[2358]: IsRenderbuffer (will be remapped) */
467
 
   "i\0"
468
 
   "glIsRenderbuffer\0"
469
 
   "\0"
470
 
   /* _mesa_function_pool[2378]: Flush (offset 217) */
471
 
   "\0"
472
 
   "glFlush\0"
473
 
   "\0"
474
 
   /* _mesa_function_pool[2388]: UnmapBufferOES (will be remapped) */
475
 
   "i\0"
476
 
   "glUnmapBufferOES\0"
477
 
   "\0"
478
 
   /* _mesa_function_pool[2408]: GetIntegerv (offset 263) */
479
 
   "ip\0"
480
 
   "glGetIntegerv\0"
481
 
   "\0"
482
 
   /* _mesa_function_pool[2426]: GetUniformfv (will be remapped) */
483
 
   "iip\0"
484
 
   "glGetUniformfv\0"
485
 
   "\0"
486
 
   /* _mesa_function_pool[2446]: Disable (offset 214) */
487
 
   "i\0"
488
 
   "glDisable\0"
489
 
   "\0"
490
 
   /* _mesa_function_pool[2459]: GetShaderSource (will be remapped) */
491
 
   "iipp\0"
492
 
   "glGetShaderSource\0"
493
 
   "\0"
494
 
   /* _mesa_function_pool[2483]: DrawBuffersNV (will be remapped) */
495
 
   "ip\0"
496
 
   "glDrawBuffersNV\0"
497
 
   "\0"
498
 
   /* _mesa_function_pool[2503]: Uniform3iv (will be remapped) */
499
 
   "iip\0"
500
 
   "glUniform3iv\0"
501
 
   "\0"
502
 
   /* _mesa_function_pool[2521]: GetBooleanv (offset 258) */
503
 
   "ip\0"
504
 
   "glGetBooleanv\0"
505
 
   "\0"
506
 
   /* _mesa_function_pool[2539]: TexParameteriv (offset 181) */
507
 
   "iip\0"
508
 
   "glTexParameteriv\0"
509
 
   "\0"
510
 
   /* _mesa_function_pool[2561]: DisableVertexAttribArray (will be remapped) */
511
 
   "i\0"
512
 
   "glDisableVertexAttribArray\0"
513
 
   "\0"
514
 
   /* _mesa_function_pool[2591]: GetActiveUniform (will be remapped) */
515
 
   "iiipppp\0"
516
 
   "glGetActiveUniform\0"
517
 
   "\0"
518
 
   /* _mesa_function_pool[2619]: DeleteBuffers (will be remapped) */
519
 
   "ip\0"
520
 
   "glDeleteBuffers\0"
521
 
   "\0"
522
 
   /* _mesa_function_pool[2639]: IsTexture (offset 330) */
523
 
   "i\0"
524
 
   "glIsTexture\0"
525
 
   "\0"
526
 
   /* _mesa_function_pool[2654]: TexParameterf (offset 178) */
527
 
   "iif\0"
528
 
   "glTexParameterf\0"
529
 
   "\0"
530
 
   /* _mesa_function_pool[2675]: TexParameteri (offset 180) */
531
 
   "iii\0"
532
 
   "glTexParameteri\0"
533
 
   "\0"
534
 
   /* _mesa_function_pool[2696]: BufferSubData (will be remapped) */
535
 
   "iiip\0"
536
 
   "glBufferSubData\0"
537
 
   "\0"
538
 
   /* _mesa_function_pool[2718]: VertexAttrib2fv (will be remapped) */
539
 
   "ip\0"
540
 
   "glVertexAttrib2fv\0"
541
 
   "\0"
542
 
   /* _mesa_function_pool[2740]: GetString (offset 275) */
543
 
   "i\0"
544
 
   "glGetString\0"
545
 
   "\0"
546
 
   /* _mesa_function_pool[2755]: TexImage2D (offset 183) */
547
 
   "iiiiiiiip\0"
548
 
   "glTexImage2D\0"
549
 
   "\0"
550
 
   /* _mesa_function_pool[2779]: UniformMatrix2fv (will be remapped) */
551
 
   "iiip\0"
552
 
   "glUniformMatrix2fv\0"
553
 
   "\0"
554
 
   /* _mesa_function_pool[2804]: GetTexParameterfv (offset 282) */
555
 
   "iip\0"
556
 
   "glGetTexParameterfv\0"
557
 
   "\0"
558
 
   /* _mesa_function_pool[2829]: VertexAttrib3fv (will be remapped) */
559
 
   "ip\0"
560
 
   "glVertexAttrib3fv\0"
561
 
   "\0"
562
 
   /* _mesa_function_pool[2851]: GetUniformiv (will be remapped) */
563
 
   "iip\0"
564
 
   "glGetUniformiv\0"
565
 
   "\0"
566
 
   /* _mesa_function_pool[2871]: FrontFace (offset 157) */
567
 
   "i\0"
568
 
   "glFrontFace\0"
569
 
   "\0"
570
 
   /* _mesa_function_pool[2886]: DeleteTextures (offset 327) */
571
 
   "ip\0"
572
 
   "glDeleteTextures\0"
573
 
   "\0"
574
 
   /* _mesa_function_pool[2907]: CreateProgram (will be remapped) */
575
 
   "\0"
576
 
   "glCreateProgram\0"
577
 
   "\0"
578
 
   /* _mesa_function_pool[2925]: DepthRangef (will be remapped) */
579
 
   "ff\0"
580
 
   "glDepthRangef\0"
581
 
   "\0"
582
 
   /* _mesa_function_pool[2943]: ColorMask (offset 210) */
583
 
   "iiii\0"
584
 
   "glColorMask\0"
585
 
   "\0"
586
 
   /* _mesa_function_pool[2961]: Uniform3fv (will be remapped) */
587
 
   "iip\0"
588
 
   "glUniform3fv\0"
589
 
   "\0"
590
 
   /* _mesa_function_pool[2979]: Clear (offset 203) */
591
 
   "i\0"
592
 
   "glClear\0"
593
 
   "\0"
594
 
   /* _mesa_function_pool[2990]: ValidateProgram (will be remapped) */
595
 
   "i\0"
596
 
   "glValidateProgram\0"
597
 
   "\0"
598
 
   /* _mesa_function_pool[3011]: Scissor (offset 176) */
599
 
   "iiii\0"
600
 
   "glScissor\0"
601
 
   "\0"
602
 
   /* _mesa_function_pool[3027]: GetRenderbufferParameteriv (will be remapped) */
603
 
   "iip\0"
604
 
   "glGetRenderbufferParameteriv\0"
605
 
   "\0"
606
 
   /* _mesa_function_pool[3061]: PolygonOffset (offset 319) */
607
 
   "ff\0"
608
 
   "glPolygonOffset\0"
609
 
   "\0"
610
 
   /* _mesa_function_pool[3081]: GetFramebufferAttachmentParameteriv (will be remapped) */
611
 
   "iiip\0"
612
 
   "glGetFramebufferAttachmentParameteriv\0"
613
 
   "\0"
614
 
   /* _mesa_function_pool[3125]: GetBufferParameteriv (will be remapped) */
615
 
   "iip\0"
616
 
   "glGetBufferParameteriv\0"
617
 
   "\0"
618
 
   /* _mesa_function_pool[3153]: GenRenderbuffers (will be remapped) */
619
 
   "ip\0"
620
 
   "glGenRenderbuffers\0"
621
 
   "\0"
622
 
   /* _mesa_function_pool[3176]: UniformMatrix4fv (will be remapped) */
623
 
   "iiip\0"
624
 
   "glUniformMatrix4fv\0"
625
 
   "\0"
626
 
   /* _mesa_function_pool[3201]: GetActiveAttrib (will be remapped) */
627
 
   "iiipppp\0"
628
 
   "glGetActiveAttrib\0"
629
 
   "\0"
630
 
   /* _mesa_function_pool[3228]: GenerateMipmap (will be remapped) */
631
 
   "i\0"
632
 
   "glGenerateMipmap\0"
633
 
   "\0"
634
 
   /* _mesa_function_pool[3248]: DepthFunc (offset 245) */
635
 
   "i\0"
636
 
   "glDepthFunc\0"
637
 
   "\0"
638
 
   /* _mesa_function_pool[3263]: ProgramBinaryOES (will be remapped) */
639
 
   "iipi\0"
640
 
   "glProgramBinaryOES\0"
641
 
   "\0"
642
 
   /* _mesa_function_pool[3288]: VertexAttrib1fv (will be remapped) */
643
 
   "ip\0"
644
 
   "glVertexAttrib1fv\0"
645
 
   "\0"
646
 
   /* _mesa_function_pool[3310]: CompressedTexImage2D (will be remapped) */
647
 
   "iiiiiiip\0"
648
 
   "glCompressedTexImage2D\0"
649
 
   "\0"
650
 
   /* _mesa_function_pool[3343]: CopyTexImage2D (offset 324) */
651
 
   "iiiiiiii\0"
652
 
   "glCopyTexImage2D\0"
653
 
   "\0"
654
 
   /* _mesa_function_pool[3370]: AttachShader (will be remapped) */
655
 
   "ii\0"
656
 
   "glAttachShader\0"
657
 
   "\0"
658
 
   /* _mesa_function_pool[3389]: MultiDrawArraysEXT (will be remapped) */
659
 
   "ippi\0"
660
 
   "glMultiDrawArraysEXT\0"
661
 
   "\0"
662
 
   /* _mesa_function_pool[3416]: StencilOpSeparate (will be remapped) */
663
 
   "iiii\0"
664
 
   "glStencilOpSeparate\0"
665
 
   "\0"
666
 
   /* _mesa_function_pool[3442]: GetVertexAttribPointerv (will be remapped) */
667
 
   "iip\0"
668
 
   "glGetVertexAttribPointerv\0"
669
 
   "\0"
670
 
   ;
671
 
 
672
 
/* these functions need to be remapped */
673
 
static const struct gl_function_pool_remap MESA_remap_table_functions[] = {
674
 
   {  3370, AttachShader_remap_index },
675
 
   {  2907, CreateProgram_remap_index },
676
 
   {   864, CreateShader_remap_index },
677
 
   {   446, DeleteProgram_remap_index },
678
 
   {    44, DeleteShader_remap_index },
679
 
   {   523, DetachShader_remap_index },
680
 
   {   337, GetAttachedShaders_remap_index },
681
 
   {   264, GetProgramInfoLog_remap_index },
682
 
   {   120, GetProgramiv_remap_index },
683
 
   {  1677, GetShaderInfoLog_remap_index },
684
 
   {   654, GetShaderiv_remap_index },
685
 
   {  2003, IsProgram_remap_index },
686
 
   {  1646, IsShader_remap_index },
687
 
   {   758, StencilFuncSeparate_remap_index },
688
 
   {  1577, StencilMaskSeparate_remap_index },
689
 
   {  3416, StencilOpSeparate_remap_index },
690
 
   {   588, SampleCoverage_remap_index },
691
 
   {  3310, CompressedTexImage2D_remap_index },
692
 
   {  1901, CompressedTexImage3DOES_remap_index },
693
 
   {  1426, CompressedTexSubImage2D_remap_index },
694
 
   {   465, CompressedTexSubImage3DOES_remap_index },
695
 
   {  2561, DisableVertexAttribArray_remap_index },
696
 
   {   308, EnableVertexAttribArray_remap_index },
697
 
   {   882, GetVertexAttribfv_remap_index },
698
 
   {  1149, GetVertexAttribiv_remap_index },
699
 
   {  2018, VertexAttrib1f_remap_index },
700
 
   {  3288, VertexAttrib1fv_remap_index },
701
 
   {    62, VertexAttrib2f_remap_index },
702
 
   {  2718, VertexAttrib2fv_remap_index },
703
 
   {  1377, VertexAttrib3f_remap_index },
704
 
   {  2829, VertexAttrib3fv_remap_index },
705
 
   {   609, VertexAttrib4f_remap_index },
706
 
   {   392, VertexAttrib4fv_remap_index },
707
 
   {  2145, VertexAttribPointer_remap_index },
708
 
   {  1745, BindBuffer_remap_index },
709
 
   {   932, BufferData_remap_index },
710
 
   {  2696, BufferSubData_remap_index },
711
 
   {  2619, DeleteBuffers_remap_index },
712
 
   {   247, GenBuffers_remap_index },
713
 
   {  3125, GetBufferParameteriv_remap_index },
714
 
   {   155, GetBufferPointervOES_remap_index },
715
 
   {  1214, IsBuffer_remap_index },
716
 
   {    25, MapBufferOES_remap_index },
717
 
   {  2388, UnmapBufferOES_remap_index },
718
 
   {   101, CompileShader_remap_index },
719
 
   {  2591, GetActiveUniform_remap_index },
720
 
   {  2459, GetShaderSource_remap_index },
721
 
   {  1228, GetUniformLocation_remap_index },
722
 
   {  2426, GetUniformfv_remap_index },
723
 
   {  2851, GetUniformiv_remap_index },
724
 
   {   429, LinkProgram_remap_index },
725
 
   {   786, ShaderSource_remap_index },
726
 
   {   507, Uniform1f_remap_index },
727
 
   {   229, Uniform1fv_remap_index },
728
 
   {   542, Uniform1i_remap_index },
729
 
   {  1762, Uniform1iv_remap_index },
730
 
   {    84, Uniform2f_remap_index },
731
 
   {   290, Uniform2fv_remap_index },
732
 
   {   183, Uniform2i_remap_index },
733
 
   {   807, Uniform2iv_remap_index },
734
 
   {  1196, Uniform3f_remap_index },
735
 
   {  2961, Uniform3fv_remap_index },
736
 
   {  1075, Uniform3i_remap_index },
737
 
   {  2503, Uniform3iv_remap_index },
738
 
   {  2306, Uniform4f_remap_index },
739
 
   {  1966, Uniform4fv_remap_index },
740
 
   {  2253, Uniform4i_remap_index },
741
 
   {   695, Uniform4iv_remap_index },
742
 
   {  2779, UniformMatrix2fv_remap_index },
743
 
   {  1124, UniformMatrix3fv_remap_index },
744
 
   {  3176, UniformMatrix4fv_remap_index },
745
 
   {   848, UseProgram_remap_index },
746
 
   {  2990, ValidateProgram_remap_index },
747
 
   {  2090, BindAttribLocation_remap_index },
748
 
   {  3201, GetActiveAttrib_remap_index },
749
 
   {  2175, GetAttribLocation_remap_index },
750
 
   {  2483, DrawBuffersNV_remap_index },
751
 
   {  1802, ClearDepthf_remap_index },
752
 
   {  2925, DepthRangef_remap_index },
753
 
   {  2325, GetShaderPrecisionFormat_remap_index },
754
 
   {   713, ReleaseShaderCompiler_remap_index },
755
 
   {  1174, ShaderBinary_remap_index },
756
 
   {  2116, GetProgramBinaryOES_remap_index },
757
 
   {  3263, ProgramBinaryOES_remap_index },
758
 
   {  3389, MultiDrawArraysEXT_remap_index },
759
 
   {  1547, MultiDrawElementsEXT_remap_index },
760
 
   {  1288, BlendFuncSeparate_remap_index },
761
 
   {  3442, GetVertexAttribPointerv_remap_index },
762
 
   {  1938, BlendEquationSeparate_remap_index },
763
 
   {   673, BindFramebuffer_remap_index },
764
 
   {   825, BindRenderbuffer_remap_index },
765
 
   {  1603, CheckFramebufferStatus_remap_index },
766
 
   {   907, DeleteFramebuffers_remap_index },
767
 
   {  1400, DeleteRenderbuffers_remap_index },
768
 
   {   997, FramebufferRenderbuffer_remap_index },
769
 
   {  1819, FramebufferTexture2D_remap_index },
770
 
   {  2272, FramebufferTexture3DOES_remap_index },
771
 
   {  1780, GenFramebuffers_remap_index },
772
 
   {  3153, GenRenderbuffers_remap_index },
773
 
   {  3228, GenerateMipmap_remap_index },
774
 
   {  3081, GetFramebufferAttachmentParameteriv_remap_index },
775
 
   {  3027, GetRenderbufferParameteriv_remap_index },
776
 
   {  1849, IsFramebuffer_remap_index },
777
 
   {  2358, IsRenderbuffer_remap_index },
778
 
   {   951, RenderbufferStorage_remap_index },
779
 
   {  1702, EGLImageTargetRenderbufferStorageOES_remap_index },
780
 
   {  1514, EGLImageTargetTexture2DOES_remap_index },
781
 
   {    -1, -1 }
782
 
};
783
 
 
784
 
/* these functions are in the ABI, but have alternative names */
785
 
static const struct gl_function_remap MESA_alt_functions[] = {
786
 
   {    -1, -1 }
787
 
};
788