-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgl4.2.txt
512 lines (512 loc) · 14.2 KB
/
gl4.2.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
MAX CLIP DISTANCES Z+ GetIntegerv 8
Maximum number of user clipping
planes 2.20
SUBPIXEL BITS Z+ GetIntegerv 4
Number of bits of subpixel precision
in screen xw and yw
3
MAX 3D TEXTURE SIZE Z+ GetIntegerv 2048
Maximum 3D texture image dimension
3.9.3
MAX TEXTURE SIZE Z+ GetIntegerv 16384
Maximum 2D/1D texture image dimension
3.9.3
MAX ARRAY TEXTURE LAYERS Z+ GetIntegerv 2048
Maximum number of layers for texture
arrays 3.9.3
MAX TEXTURE LOD BIAS R+ GetFloatv 2.0
Maximum absolute texture level of
detail bias 3.9.11
MAX CUBE MAP TEXTURE SIZE Z+ GetIntegerv 16384
Maximum cube map texture image
dimension 3.9.3
MAX RENDERBUFFER SIZE Z+ GetIntegerv 16384
Maximum width and height of renderbuffers
4.4.2
MAX VIEWPORT DIMS 2 Z+ GetFloatv see 2.14.1
Maximum viewport
dimensions 2.14.1
MAX VIEWPORTS Z+ GetIntegerv 16
Maximum number of active
viewports 2.14.1
VIEWPORT SUBPIXEL BITS Z+ GetIntegerv 0
No. of bits of subpixel
precision for viewport
bounds
2.14.1
VIEWPORT BOUNDS RANGE 2 R GetFloatv 1
Viewport bounds range
[min; max] 1 (at least
[??32768; 32767])
2.14.1
LAYER PROVOKING VERTEX Z4 GetIntegerv see 2.13.4
Vertex convention followed
by gl_Layer
2.13.4
VIEWPORT INDEX PROVOKING VERTEX Z4 GetIntegerv see 2.13.4
Vertex convention
followed by gl_-
ViewportIndex
2.13.4
POINT SIZE RANGE 2 R+ GetFloatv 1,1
Range (lo to hi) of point
sprite sizes 3.4
POINT SIZE GRANULARITY R+ GetFloatv –
Point sprite size granularity
3.4
ALIASED LINE WIDTH RANGE 2 R+ GetFloatv 1,1
Range (lo to hi) of aliased
line widths 3.5
SMOOTH LINE WIDTH RANGE 2 R+ GetFloatv 1,1
Range (lo to hi) of antialiased
line widths 3.5
SMOOTH LINE WIDTH GRANULARITY R+ GetFloatv –
Antialiased line width
granularity 3.5
MAX ELEMENTS INDICES Z+ GetIntegerv –
Recommended
max. number of
DrawRangeElements
indices
2.8
MAX ELEMENTS VERTICES Z+ GetIntegerv –
Recommended
max. number of
DrawRangeElements
vertices
2.8
COMPRESSED TEXTURE FORMATS 4 Z+ GetIntegerv -
Enumerated compressed
texture formats 3.9.5
NUM COMPRESSED TEXTURE FORMATS Z+ GetIntegerv 0
Number of compressed
texture formats 3.9.5
MAX TEXTURE BUFFER SIZE Z+ GetIntegerv 65536
No. of addressable texels
for buffer textures 3.9.7
MAX RECTANGLE TEXTURE SIZE Z+ GetIntegerv 16384
Max. width & height of
rectangular textures 3.9.3
PROGRAM BINARY FORMATS 0 Z GetIntegerv N/A
Enumerated program binary
formats 2.11.5
NUM PROGRAM BINARY FORMATS Z GetIntegerv 0
Number of program binary
formats 2.11.5
SHADER BINARY FORMATS 0 Z GetIntegerv -
Enumerated shader binary
formats 2.11.2
NUM SHADER BINARY FORMATS Z+ GetIntegerv 0
Number of shader binary
formats 2.11.2
SHADER COMPILER B GetBooleanv -
Shader compiler supported
2.11
MIN MAP BUFFER ALIGNMENT Z+ GetIntegerv 64
Min. byte alignment
of pointers returned by
Map*Buffer
2.9.3
EXTENSIONS 0 S GetStringi –
Supported individual extension
names 6.1.5
NUM EXTENSIONS Z+ GetIntegerv –
Number of individual extension
names 6.1.5
MAJOR VERSION Z+ GetIntegerv –
Major version number
supported 6.1.5
MINOR VERSION Z+ GetIntegerv –
Minor version number
supported 6.1.5
CONTEXT FLAGS Z+ GetIntegerv –
Context full/forwardcompatible
flag 6.1.5
RENDERER S GetString – Renderer string 6.1.5
SHADING LANGUAGE VERSION S GetString –
Shading Language version
supported 6.1.5
VENDOR S GetString – Vendor string 6.1.5
VERSION S GetString –
OpenGL version supported
6.1.5
MAX VERTEX ATTRIBS Z+ GetIntegerv 16
Number of active vertex
attributes 2.7
MAX VERTEX UNIFORM COMPONENTS Z+ GetIntegerv 1024
Number of components
for vertex shader uniform
variables
2.11.7
MAX VERTEX UNIFORM VECTORS Z+ GetIntegerv 256
Number of vectors for
vertex shader uniform
variables
2.11.7
MAX VERTEX UNIFORM BLOCKS Z+ GetIntegerv 12
Max number of vertex
uniform buffers per program
2.11.7
MAX VERTEX OUTPUT COMPONENTS Z+ GetIntegerv 64
Max number of components
of outputs written
by a vertex shader
2.11.11
MAX VERTEX TEXTURE IMAGE UNITS Z+ GetIntegerv 16
Number of texture image
units accessible by a vertex
shader
2.11.12
MAX VERTEX ATOMIC COUNTER BUFFERS Z+ GetIntegerv 0
Number of atomic
counter buffers accessed
by a vertex shader
2.11.7
MAX VERTEX ATOMIC COUNTERS Z+ GetIntegerv 0
Number of atomic counters
accessed by a vertex
shader
2.11.12
MAX TESS GEN LEVEL Z+ GetIntegerv 64
Max. level supported by
tess. primitive generator 2.12.2
MAX PATCH VERTICES Z+ GetIntegerv 32 Max. patch size 2.6.1
MAX TESS CONTROL UNIFORM COMPONENTS Z+ GetIntegerv 1024
No. of words for tess.
control shader (TCS)
uniforms
2.12.1
MAX TESS EVALUATION UNIFORM COMPONENTS Z+ GetIntegerv 1024
No. of words for tess.
evaluation shader (TES)
uniforms
2.12.3
MAX TESS CONTROL TEXTURE IMAGE UNITS Z+ GetIntegerv 16
No. of tex. image units
for TCS 2.11.12
MAX TESS EVALUATION TEXTURE IMAGE UNITS Z+ GetIntegerv 16
No. of tex. image units
for TES 2.11.12
MAX TESS CONTROL OUTPUT COMPONENTS Z+ GetIntegerv 128
No. components for TCS
per-vertex outputs 2.12.1
MAX TESS PATCH COMPONENTS Z+ GetIntegerv 120
No. components for TCS
per-patch outputs 2.12.1
MAX TESS CONTROL TOTAL OUTPUT COMPONENTS Z+ GetIntegerv 4096
No. components for TCS
per-patch outputs 2.12.1
MAX TESS EVALUATION OUTPUT COMPONENTS Z+ GetIntegerv 128
No. components for TES
per-vertex outputs 2.12.3
MAX TESS CONTROL INPUT COMPONENTS Z+ GetIntegerv 128
No. components for TCS
per-vertex inputs 2.12.1
MAX TESS EVALUATION INPUT COMPONENTS Z+ GetIntegerv 128
No. components for TES
per-vertex inputs 2.12.3
MAX TESS CONTROL UNIFORM BLOCKS Z+ GetIntegerv 12
No. of supported uniform
blocks for TCS 2.11.7
MAX TESS EVALUATION UNIFORM BLOCKS Z+ GetIntegerv 12
No. of supported uniform
blocks for TES 2.11.7
MAX TESS CONTROL ATOMIC COUNTER BUFFERS Z+ GetIntegerv 0
No. of atomic counter
(AC) buffers accessed by
a TCS
2.11.7
MAX TESS EVALUATION ATOMIC COUNTER BUFFERS Z+ GetIntegerv 0
No. of AC buffers accessed
by a TES 2.11.12
MAX TESS CONTROL ATOMIC COUNTERS Z+ GetIntegerv 0
No. of ACs accessed by
a TCS 2.11.7
MAX TESS EVALUATION ATOMIC COUNTERS Z+ GetIntegerv 0
No. of ACs accessed by
a TES 2.11.12
MAX GEOMETRY UNIFORM COMPONENTS Z+ GetIntegerv 512
Number of components
for geom. shader uniform
variables
2.13.3
MAX GEOMETRY UNIFORM BLOCKS Z+ GetIntegerv 12
Max number of geometry
uniform buffers per program
2.11.7
MAX GEOMETRY INPUT COMPONENTS Z+ GetIntegerv 64
Max number of components
of inputs read by a
geometry shader
2.13.4
MAX GEOMETRY OUTPUT COMPONENTS Z+ GetIntegerv 128
Max number of components
of outputs written
by a geometry shader
2.13.4
MAX GEOMETRY OUTPUT VERTICES Z+ GetIntegerv 256
Maximum number of
vertices that any geometry
shader can can
emit
2.13.4
MAX GEOMETRY TOTAL OUTPUT COMPONENTS Z+ GetIntegerv 1024
Maximum number of total
components (all vertices)
of active outputs
that a geometry shader
can emit
2.13.4
MAX GEOMETRY TEXTURE IMAGE UNITS Z+ GetIntegerv 16
Number of texture image
units accessible by a geometry
shader
2.13.4
MAX GEOMETRY SHADER INVOCATIONS Z+ GetIntegerv 32
Max supported geom.
shader invocation count 2.13.4
MAX VERTEX STREAMS Z+ GetInteger 4
Total number of vertex
streams 2.13.4
MAX GEOMETRY ATOMIC COUNTER BUFFERS Z+ GetIntegerv 0
Number of atomic
counter buffers accessed
by a geometry shader
2.11.7
MAX GEOMETRY ATOMIC COUNTERS Z+ GetIntegerv 0
Number of atomic counters
accessed by a geometry
shader
2.11.12
MAX FRAGMENT UNIFORM COMPONENTS Z+ GetIntegerv 1024
Number of components
for frag. shader uniform
variables
3.10.1
MAX FRAGMENT UNIFORM VECTORS Z+ GetIntegerv 256
Number of vectors for
frag. shader uniform
variables
3.10.1
MAX FRAGMENT UNIFORM BLOCKS Z+ GetIntegerv 12
Max number of fragment
uniform buffers per program
2.11.7
MAX FRAGMENT INPUT COMPONENTS Z+ GetIntegerv 128
Max number of components
of inputs read by a
fragment shader
3.10.2
MAX TEXTURE IMAGE UNITS Z+ GetIntegerv 16
Number of texture image
units accessible by a
fragment shader
2.11.12
MIN PROGRAM TEXTURE GATHER OFFSET Z+ GetIntegerv -8
Min. texel offset for
textureGather
3.9.11
MAX PROGRAM TEXTURE GATHER OFFSET Z+ GetIntegerv 7
Max. texel offset for
textureGather
3.9.11
MAX FRAGMENT ATOMIC COUNTER BUFFERS Z+ GetIntegerv 1
Number of atomic
counter buffers accessed
by a fragment shader
2.11.7
MAX FRAGMENT ATOMIC COUNTERS Z+ GetIntegerv 8
Number of atomic counters
accessed by a fragment
shader
2.11.12
MIN PROGRAM TEXEL OFFSET Z GetIntegerv -8
Minimum texel offset allowed in
lookup 2.11.12
MAX PROGRAM TEXEL OFFSET Z GetIntegerv 7
Maximum texel offset allowed in
lookup 2.11.12
MAX UNIFORM BUFFER BINDINGS Z+ GetIntegerv 60
Max number of uniform buffer binding
points on the context 2.11.7
MAX UNIFORM BLOCK SIZE Z+ GetIntegerv 16384
Max size in basic machine units of a
uniform block 2.11.7
UNIFORM BUFFER OFFSET ALIGNMENT Z+ GetIntegerv 1
Minimum required alignment for
uniform buffer sizes and offsets 2.11.7
MAX COMBINED UNIFORM BLOCKS Z+ GetIntegerv 60
Max number of uniform buffers per
program 2.11.7
MAX VARYING COMPONENTS Z+ GetIntegerv 60
Number of components for output
variables 2.11.11
MAX VARYING VECTORS Z+ GetIntegerv 15
Number of vectors for output variables
2.11.11
MAX COMBINED TEXTURE IMAGE UNITS Z+ GetIntegerv 80
Total number of texture units accessible
by the GL 2.11.12
MAX SUBROUTINES Z+ GetIntegerv 256
Maximum number of subroutines
per shader stage 2.11.8
MAX SUBROUTINE UNIFORM LOCATIONS Z+ GetIntegerv 1024
Maximum number of subroutine
uniform locations per stage 2.11.8
MAX ATOMIC COUNTER BUFFER BINDINGS Z+ GetIntegerv 1
Max. number of atomic counter
buffer bindings 2.9.9
MAX ATOMIC COUNTER BUFFER SIZE Z+ GetIntegerv 32
Maximum size in basic machine
units of an atomic counter buffer 2.11.7
MAX COMBINED ATOMIC COUNTER BUFFERS Z+ GetIntegerv 1
Max. number of atomic counter
buffers per program 2.11.7
MAX COMBINED ATOMIC COUNTERS Z+ GetIntegerv 8
Max. number of atomic counter uniforms
per program 2.11.12
MAX IMAGE UNITS Z+ GetIntegerv 8
Number of units for image
load/store/atom 3.9.20
MAX COMBINED IMAGE UNITS AND FRAGMENT OUTPUTS Z+ GetIntegerv 8
Limit on active image units + fragment
outputs 3.9.20
MAX IMAGE SAMPLES Z GetIntegerv 0
Max. allowed samples for a texture
level bound to an image unit 3.9.20
MAX VERTEX IMAGE UNIFORMS Z+ GetIntegerv 0
Number of image variables in vertex
shaders 2.11.12
MAX TESS CONTROL IMAGE UNIFORMS Z+ GetIntegerv 0
Number of image variables in tess.
control shaders 2.11.12
MAX TESS EVALUATION IMAGE UNIFORMS Z+ GetIntegerv 0
Number of image variables in tess.
eval. shaders 2.11.12
MAX GEOMETRY IMAGE UNIFORMS Z+ GetIntegerv 0
Number of image variables in geometry
shaders 2.11.12
MAX FRAGMENT IMAGE UNIFORMS Z+ GetIntegerv 8
Number of image variables in fragment
shaders 2.11.12
MAX COMBINED IMAGE UNIFORMS Z+ GetIntegerv 8
Number of image variables in all
shaders 2.11.12
MAX COMBINED VERTEX UNIFORM COMPONENTS Z+ GetIntegerv y
No. of words for vertex shader uniform
variables in all uniform blocks
(including default)
2.11.7
MAX COMBINED GEOMETRY UNIFORM COMPONENTS Z+ GetIntegerv y
No. of words for geometry shader
uniform variables in all uniform
blocks (including default)
2.11.7
MAX COMBINED TESS CONTROL UNIFORM COMPONENTS Z+ GetIntegerv y
No. of words for TCS uniform variables
in all uniform blocks (including
default)
2.12.1
MAX COMBINED TESS EVALUATION UNIFORM COMPONENTS Z+ GetIntegerv y
No. of words for TES uniform variables
in all uniform blocks (including
default)
2.12.3
MAX COMBINED FRAGMENT UNIFORM COMPONENTS Z+ GetIntegerv y
No. of words for fragment shader
uniform variables in all uniform
blocks (including default)
2.11.7
MAX SAMPLE MASK WORDS Z+ GetIntegerv 1
Maximum number of
sample mask words 4.1.3
MAX SAMPLES Z+ GetIntegerv 4
Max. number of samples
supported for all noninteger
formats
6.1.15
MAX COLOR TEXTURE SAMPLES Z+ GetIntegerv 1
Max. number of samples
supported for all color
formats in a multisample
texture
6.1.15
MAX DEPTH TEXTURE SAMPLES Z+ GetIntegerv 1
Max. number of samples
supported for all
depth/stencil formats in a
multisample texture
6.1.15
MAX INTEGER SAMPLES Z+ GetIntegerv 1
Max. number of samples
supported for all integer
format multisample
buffers
6.1.15
QUERY COUNTER BITS 3 Z+ GetQueryiv see 6.1.7
Asynchronous query
counter bits 6.1.7
MAX SERVER WAIT TIMEOUT Z+ GetInteger64v 0
Maximum WaitSync
timeout interval 5.3.1
MIN FRAGMENT INTERPOLATION OFFSET R GetFloatv -0.5
Furthest negative offset
for interpolate-
AtOffset
3.10.1
MAX FRAGMENT INTERPOLATION OFFSET R GetFloatv +0.5
Furthest positive offset
for interpolate-
AtOffset
3.10.1
FRAGMENT INTERPOLATION OFFSET BITS Z+ GetIntegerv 4
Subpixel bits for
interpolate-
AtOffset
3.10.1
SAMPLES 0 Z+ GetInternalformativ 1 Supported sample counts
1 See section 6.1.15 6.1.15
NUM SAMPLE COUNTS Z+ GetInternalformativ 1
Number of supported
sample counts 6.1.15
MAX TRANSFORM FEEDBACK INTERLEAVED COMPONENTS Z+ GetIntegerv 64
Max no. of components
to write to a single buffer
in interleaved mode
2.17
MAX TRANSFORM FEEDBACK SEPARATE ATTRIBS Z+ GetIntegerv 4
Max no. of separate attributes
or vayings that
can be captured in transform
feedback
2.17
MAX TRANSFORM FEEDBACK SEPARATE COMPONENTS Z+ GetIntegerv 4
Max no. of components
per attribute or output in
separate mode
2.17
MAX TRANSFORM FEEDBACK BUFFERS Z+ GetIntegerv 4
Max no. of buffer objs
to write with transform
feedback
2.17
MAX DRAW BUFFERS Z+ GetIntegerv 8
Maximum number of active draw
buffers 4.2.1
MAX DUAL SOURCE DRAW BUFFERS Z+ GetIntegerv 1
Maximum number of active draw
buffers when using dual-source
blending
4.1.7
DOUBLEBUFFER B GetBooleanv – True if front & back buffers exist 4.2.1
STEREO B GetBooleanv – True if left & right buffers exist 6
SAMPLE BUFFERS Z+ GetIntegerv 0 Number of multisample buffers 3.3.1
SAMPLES Z+ GetIntegerv 0 Coverage mask size 3.3.1
SAMPLE POSITION n 2 R[0;1] GetMultisamplefv – Explicit sample positions 3.3.1
MAX COLOR ATTACHMENTS Z+ GetIntegerv 8
Maximum number of FBO attachment
points for color buffers 4.4.2
IMPLEMENTATION COLOR READ TYPE Z+ GetIntegerv - Implementation preferred pixel type 4.3.1
IMPLEMENTATION COLOR READ FORMAT Z+ GetIntegerv -
Implementation preferred pixel format
4.3.1