~ppsspp/ppsspp/ppsspp_1.3.0

« back to all changes in this revision

Viewing changes to ext/vulkan/spirv.py

  • Committer: Sérgio Benjamim
  • Date: 2017-01-02 00:12:05 UTC
  • Revision ID: sergio_br2@yahoo.com.br-20170102001205-cxbta9za203nmjwm
1.3.0 source (from ppsspp_1.3.0-r160.p5.l1762.a165.t83~56~ubuntu16.04.1.tar.xz).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright (c) 2014-2016 The Khronos Group Inc.
 
2
 
3
# Permission is hereby granted, free of charge, to any person obtaining a copy
 
4
# of this software and/or associated documentation files (the "Materials"),
 
5
# to deal in the Materials without restriction, including without limitation
 
6
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
 
7
# and/or sell copies of the Materials, and to permit persons to whom the
 
8
# Materials are furnished to do so, subject to the following conditions:
 
9
 
10
# The above copyright notice and this permission notice shall be included in
 
11
# all copies or substantial portions of the Materials.
 
12
 
13
# MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS KHRONOS
 
14
# STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS SPECIFICATIONS AND
 
15
# HEADER INFORMATION ARE LOCATED AT https://www.khronos.org/registry/ 
 
16
 
17
# THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
 
18
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 
19
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
 
20
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 
21
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 
22
# FROM,OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE USE OR OTHER DEALINGS
 
23
# IN THE MATERIALS.
 
24
 
 
25
# This header is automatically generated by the same tool that creates
 
26
# the Binary Section of the SPIR-V specification.
 
27
 
 
28
# Enumeration tokens for SPIR-V, in various styles:
 
29
#   C, C++, C++11, JSON, Lua, Python
 
30
 
31
# - C will have tokens with a "Spv" prefix, e.g.: SpvSourceLanguageGLSL
 
32
# - C++ will have tokens in the "spv" name space, e.g.: spv::SourceLanguageGLSL
 
33
# - C++11 will use enum classes in the spv namespace, e.g.: spv::SourceLanguage::GLSL
 
34
# - Lua will use tables, e.g.: spv.SourceLanguage.GLSL
 
35
# - Python will use dictionaries, e.g.: spv['SourceLanguage']['GLSL']
 
36
 
37
# Some tokens act like mask values, which can be OR'd together,
 
38
# while others are mutually exclusive.  The mask-like ones have
 
39
# "Mask" in their name, and a parallel enum that has the shift
 
40
# amount (1 << x) for each corresponding enumerant.
 
41
 
 
42
spv = {
 
43
    'MagicNumber' : 0x07230203,
 
44
    'Version' : 0x00010000,
 
45
    'Revision' : 3,
 
46
    'OpCodeMask' : 0xffff,
 
47
    'WordCountShift' : 16,
 
48
 
 
49
    'SourceLanguage' : {
 
50
        'Unknown' : 0,
 
51
        'ESSL' : 1,
 
52
        'GLSL' : 2,
 
53
        'OpenCL_C' : 3,
 
54
        'OpenCL_CPP' : 4,
 
55
    },
 
56
 
 
57
    'ExecutionModel' : {
 
58
        'Vertex' : 0,
 
59
        'TessellationControl' : 1,
 
60
        'TessellationEvaluation' : 2,
 
61
        'Geometry' : 3,
 
62
        'Fragment' : 4,
 
63
        'GLCompute' : 5,
 
64
        'Kernel' : 6,
 
65
    },
 
66
 
 
67
    'AddressingModel' : {
 
68
        'Logical' : 0,
 
69
        'Physical32' : 1,
 
70
        'Physical64' : 2,
 
71
    },
 
72
 
 
73
    'MemoryModel' : {
 
74
        'Simple' : 0,
 
75
        'GLSL450' : 1,
 
76
        'OpenCL' : 2,
 
77
    },
 
78
 
 
79
    'ExecutionMode' : {
 
80
        'Invocations' : 0,
 
81
        'SpacingEqual' : 1,
 
82
        'SpacingFractionalEven' : 2,
 
83
        'SpacingFractionalOdd' : 3,
 
84
        'VertexOrderCw' : 4,
 
85
        'VertexOrderCcw' : 5,
 
86
        'PixelCenterInteger' : 6,
 
87
        'OriginUpperLeft' : 7,
 
88
        'OriginLowerLeft' : 8,
 
89
        'EarlyFragmentTests' : 9,
 
90
        'PointMode' : 10,
 
91
        'Xfb' : 11,
 
92
        'DepthReplacing' : 12,
 
93
        'DepthGreater' : 14,
 
94
        'DepthLess' : 15,
 
95
        'DepthUnchanged' : 16,
 
96
        'LocalSize' : 17,
 
97
        'LocalSizeHint' : 18,
 
98
        'InputPoints' : 19,
 
99
        'InputLines' : 20,
 
100
        'InputLinesAdjacency' : 21,
 
101
        'Triangles' : 22,
 
102
        'InputTrianglesAdjacency' : 23,
 
103
        'Quads' : 24,
 
104
        'Isolines' : 25,
 
105
        'OutputVertices' : 26,
 
106
        'OutputPoints' : 27,
 
107
        'OutputLineStrip' : 28,
 
108
        'OutputTriangleStrip' : 29,
 
109
        'VecTypeHint' : 30,
 
110
        'ContractionOff' : 31,
 
111
    },
 
112
 
 
113
    'StorageClass' : {
 
114
        'UniformConstant' : 0,
 
115
        'Input' : 1,
 
116
        'Uniform' : 2,
 
117
        'Output' : 3,
 
118
        'Workgroup' : 4,
 
119
        'CrossWorkgroup' : 5,
 
120
        'Private' : 6,
 
121
        'Function' : 7,
 
122
        'Generic' : 8,
 
123
        'PushConstant' : 9,
 
124
        'AtomicCounter' : 10,
 
125
        'Image' : 11,
 
126
    },
 
127
 
 
128
    'Dim' : {
 
129
        'Dim1D' : 0,
 
130
        'Dim2D' : 1,
 
131
        'Dim3D' : 2,
 
132
        'Cube' : 3,
 
133
        'Rect' : 4,
 
134
        'Buffer' : 5,
 
135
        'SubpassData' : 6,
 
136
    },
 
137
 
 
138
    'SamplerAddressingMode' : {
 
139
        'None' : 0,
 
140
        'ClampToEdge' : 1,
 
141
        'Clamp' : 2,
 
142
        'Repeat' : 3,
 
143
        'RepeatMirrored' : 4,
 
144
    },
 
145
 
 
146
    'SamplerFilterMode' : {
 
147
        'Nearest' : 0,
 
148
        'Linear' : 1,
 
149
    },
 
150
 
 
151
    'ImageFormat' : {
 
152
        'Unknown' : 0,
 
153
        'Rgba32f' : 1,
 
154
        'Rgba16f' : 2,
 
155
        'R32f' : 3,
 
156
        'Rgba8' : 4,
 
157
        'Rgba8Snorm' : 5,
 
158
        'Rg32f' : 6,
 
159
        'Rg16f' : 7,
 
160
        'R11fG11fB10f' : 8,
 
161
        'R16f' : 9,
 
162
        'Rgba16' : 10,
 
163
        'Rgb10A2' : 11,
 
164
        'Rg16' : 12,
 
165
        'Rg8' : 13,
 
166
        'R16' : 14,
 
167
        'R8' : 15,
 
168
        'Rgba16Snorm' : 16,
 
169
        'Rg16Snorm' : 17,
 
170
        'Rg8Snorm' : 18,
 
171
        'R16Snorm' : 19,
 
172
        'R8Snorm' : 20,
 
173
        'Rgba32i' : 21,
 
174
        'Rgba16i' : 22,
 
175
        'Rgba8i' : 23,
 
176
        'R32i' : 24,
 
177
        'Rg32i' : 25,
 
178
        'Rg16i' : 26,
 
179
        'Rg8i' : 27,
 
180
        'R16i' : 28,
 
181
        'R8i' : 29,
 
182
        'Rgba32ui' : 30,
 
183
        'Rgba16ui' : 31,
 
184
        'Rgba8ui' : 32,
 
185
        'R32ui' : 33,
 
186
        'Rgb10a2ui' : 34,
 
187
        'Rg32ui' : 35,
 
188
        'Rg16ui' : 36,
 
189
        'Rg8ui' : 37,
 
190
        'R16ui' : 38,
 
191
        'R8ui' : 39,
 
192
    },
 
193
 
 
194
    'ImageChannelOrder' : {
 
195
        'R' : 0,
 
196
        'A' : 1,
 
197
        'RG' : 2,
 
198
        'RA' : 3,
 
199
        'RGB' : 4,
 
200
        'RGBA' : 5,
 
201
        'BGRA' : 6,
 
202
        'ARGB' : 7,
 
203
        'Intensity' : 8,
 
204
        'Luminance' : 9,
 
205
        'Rx' : 10,
 
206
        'RGx' : 11,
 
207
        'RGBx' : 12,
 
208
        'Depth' : 13,
 
209
        'DepthStencil' : 14,
 
210
        'sRGB' : 15,
 
211
        'sRGBx' : 16,
 
212
        'sRGBA' : 17,
 
213
        'sBGRA' : 18,
 
214
    },
 
215
 
 
216
    'ImageChannelDataType' : {
 
217
        'SnormInt8' : 0,
 
218
        'SnormInt16' : 1,
 
219
        'UnormInt8' : 2,
 
220
        'UnormInt16' : 3,
 
221
        'UnormShort565' : 4,
 
222
        'UnormShort555' : 5,
 
223
        'UnormInt101010' : 6,
 
224
        'SignedInt8' : 7,
 
225
        'SignedInt16' : 8,
 
226
        'SignedInt32' : 9,
 
227
        'UnsignedInt8' : 10,
 
228
        'UnsignedInt16' : 11,
 
229
        'UnsignedInt32' : 12,
 
230
        'HalfFloat' : 13,
 
231
        'Float' : 14,
 
232
        'UnormInt24' : 15,
 
233
        'UnormInt101010_2' : 16,
 
234
    },
 
235
 
 
236
    'ImageOperandsShift' : {
 
237
        'Bias' : 0,
 
238
        'Lod' : 1,
 
239
        'Grad' : 2,
 
240
        'ConstOffset' : 3,
 
241
        'Offset' : 4,
 
242
        'ConstOffsets' : 5,
 
243
        'Sample' : 6,
 
244
        'MinLod' : 7,
 
245
    },
 
246
 
 
247
    'ImageOperandsMask' : {
 
248
        'MaskNone' : 0,
 
249
        'Bias' : 0x00000001,
 
250
        'Lod' : 0x00000002,
 
251
        'Grad' : 0x00000004,
 
252
        'ConstOffset' : 0x00000008,
 
253
        'Offset' : 0x00000010,
 
254
        'ConstOffsets' : 0x00000020,
 
255
        'Sample' : 0x00000040,
 
256
        'MinLod' : 0x00000080,
 
257
    },
 
258
 
 
259
    'FPFastMathModeShift' : {
 
260
        'NotNaN' : 0,
 
261
        'NotInf' : 1,
 
262
        'NSZ' : 2,
 
263
        'AllowRecip' : 3,
 
264
        'Fast' : 4,
 
265
    },
 
266
 
 
267
    'FPFastMathModeMask' : {
 
268
        'MaskNone' : 0,
 
269
        'NotNaN' : 0x00000001,
 
270
        'NotInf' : 0x00000002,
 
271
        'NSZ' : 0x00000004,
 
272
        'AllowRecip' : 0x00000008,
 
273
        'Fast' : 0x00000010,
 
274
    },
 
275
 
 
276
    'FPRoundingMode' : {
 
277
        'RTE' : 0,
 
278
        'RTZ' : 1,
 
279
        'RTP' : 2,
 
280
        'RTN' : 3,
 
281
    },
 
282
 
 
283
    'LinkageType' : {
 
284
        'Export' : 0,
 
285
        'Import' : 1,
 
286
    },
 
287
 
 
288
    'AccessQualifier' : {
 
289
        'ReadOnly' : 0,
 
290
        'WriteOnly' : 1,
 
291
        'ReadWrite' : 2,
 
292
    },
 
293
 
 
294
    'FunctionParameterAttribute' : {
 
295
        'Zext' : 0,
 
296
        'Sext' : 1,
 
297
        'ByVal' : 2,
 
298
        'Sret' : 3,
 
299
        'NoAlias' : 4,
 
300
        'NoCapture' : 5,
 
301
        'NoWrite' : 6,
 
302
        'NoReadWrite' : 7,
 
303
    },
 
304
 
 
305
    'Decoration' : {
 
306
        'RelaxedPrecision' : 0,
 
307
        'SpecId' : 1,
 
308
        'Block' : 2,
 
309
        'BufferBlock' : 3,
 
310
        'RowMajor' : 4,
 
311
        'ColMajor' : 5,
 
312
        'ArrayStride' : 6,
 
313
        'MatrixStride' : 7,
 
314
        'GLSLShared' : 8,
 
315
        'GLSLPacked' : 9,
 
316
        'CPacked' : 10,
 
317
        'BuiltIn' : 11,
 
318
        'NoPerspective' : 13,
 
319
        'Flat' : 14,
 
320
        'Patch' : 15,
 
321
        'Centroid' : 16,
 
322
        'Sample' : 17,
 
323
        'Invariant' : 18,
 
324
        'Restrict' : 19,
 
325
        'Aliased' : 20,
 
326
        'Volatile' : 21,
 
327
        'Constant' : 22,
 
328
        'Coherent' : 23,
 
329
        'NonWritable' : 24,
 
330
        'NonReadable' : 25,
 
331
        'Uniform' : 26,
 
332
        'SaturatedConversion' : 28,
 
333
        'Stream' : 29,
 
334
        'Location' : 30,
 
335
        'Component' : 31,
 
336
        'Index' : 32,
 
337
        'Binding' : 33,
 
338
        'DescriptorSet' : 34,
 
339
        'Offset' : 35,
 
340
        'XfbBuffer' : 36,
 
341
        'XfbStride' : 37,
 
342
        'FuncParamAttr' : 38,
 
343
        'FPRoundingMode' : 39,
 
344
        'FPFastMathMode' : 40,
 
345
        'LinkageAttributes' : 41,
 
346
        'NoContraction' : 42,
 
347
        'InputAttachmentIndex' : 43,
 
348
        'Alignment' : 44,
 
349
    },
 
350
 
 
351
    'BuiltIn' : {
 
352
        'Position' : 0,
 
353
        'PointSize' : 1,
 
354
        'ClipDistance' : 3,
 
355
        'CullDistance' : 4,
 
356
        'VertexId' : 5,
 
357
        'InstanceId' : 6,
 
358
        'PrimitiveId' : 7,
 
359
        'InvocationId' : 8,
 
360
        'Layer' : 9,
 
361
        'ViewportIndex' : 10,
 
362
        'TessLevelOuter' : 11,
 
363
        'TessLevelInner' : 12,
 
364
        'TessCoord' : 13,
 
365
        'PatchVertices' : 14,
 
366
        'FragCoord' : 15,
 
367
        'PointCoord' : 16,
 
368
        'FrontFacing' : 17,
 
369
        'SampleId' : 18,
 
370
        'SamplePosition' : 19,
 
371
        'SampleMask' : 20,
 
372
        'FragDepth' : 22,
 
373
        'HelperInvocation' : 23,
 
374
        'NumWorkgroups' : 24,
 
375
        'WorkgroupSize' : 25,
 
376
        'WorkgroupId' : 26,
 
377
        'LocalInvocationId' : 27,
 
378
        'GlobalInvocationId' : 28,
 
379
        'LocalInvocationIndex' : 29,
 
380
        'WorkDim' : 30,
 
381
        'GlobalSize' : 31,
 
382
        'EnqueuedWorkgroupSize' : 32,
 
383
        'GlobalOffset' : 33,
 
384
        'GlobalLinearId' : 34,
 
385
        'SubgroupSize' : 36,
 
386
        'SubgroupMaxSize' : 37,
 
387
        'NumSubgroups' : 38,
 
388
        'NumEnqueuedSubgroups' : 39,
 
389
        'SubgroupId' : 40,
 
390
        'SubgroupLocalInvocationId' : 41,
 
391
        'VertexIndex' : 42,
 
392
        'InstanceIndex' : 43,
 
393
    },
 
394
 
 
395
    'SelectionControlShift' : {
 
396
        'Flatten' : 0,
 
397
        'DontFlatten' : 1,
 
398
    },
 
399
 
 
400
    'SelectionControlMask' : {
 
401
        'MaskNone' : 0,
 
402
        'Flatten' : 0x00000001,
 
403
        'DontFlatten' : 0x00000002,
 
404
    },
 
405
 
 
406
    'LoopControlShift' : {
 
407
        'Unroll' : 0,
 
408
        'DontUnroll' : 1,
 
409
    },
 
410
 
 
411
    'LoopControlMask' : {
 
412
        'MaskNone' : 0,
 
413
        'Unroll' : 0x00000001,
 
414
        'DontUnroll' : 0x00000002,
 
415
    },
 
416
 
 
417
    'FunctionControlShift' : {
 
418
        'Inline' : 0,
 
419
        'DontInline' : 1,
 
420
        'Pure' : 2,
 
421
        'Const' : 3,
 
422
    },
 
423
 
 
424
    'FunctionControlMask' : {
 
425
        'MaskNone' : 0,
 
426
        'Inline' : 0x00000001,
 
427
        'DontInline' : 0x00000002,
 
428
        'Pure' : 0x00000004,
 
429
        'Const' : 0x00000008,
 
430
    },
 
431
 
 
432
    'MemorySemanticsShift' : {
 
433
        'Acquire' : 1,
 
434
        'Release' : 2,
 
435
        'AcquireRelease' : 3,
 
436
        'SequentiallyConsistent' : 4,
 
437
        'UniformMemory' : 6,
 
438
        'SubgroupMemory' : 7,
 
439
        'WorkgroupMemory' : 8,
 
440
        'CrossWorkgroupMemory' : 9,
 
441
        'AtomicCounterMemory' : 10,
 
442
        'ImageMemory' : 11,
 
443
    },
 
444
 
 
445
    'MemorySemanticsMask' : {
 
446
        'MaskNone' : 0,
 
447
        'Acquire' : 0x00000002,
 
448
        'Release' : 0x00000004,
 
449
        'AcquireRelease' : 0x00000008,
 
450
        'SequentiallyConsistent' : 0x00000010,
 
451
        'UniformMemory' : 0x00000040,
 
452
        'SubgroupMemory' : 0x00000080,
 
453
        'WorkgroupMemory' : 0x00000100,
 
454
        'CrossWorkgroupMemory' : 0x00000200,
 
455
        'AtomicCounterMemory' : 0x00000400,
 
456
        'ImageMemory' : 0x00000800,
 
457
    },
 
458
 
 
459
    'MemoryAccessShift' : {
 
460
        'Volatile' : 0,
 
461
        'Aligned' : 1,
 
462
        'Nontemporal' : 2,
 
463
    },
 
464
 
 
465
    'MemoryAccessMask' : {
 
466
        'MaskNone' : 0,
 
467
        'Volatile' : 0x00000001,
 
468
        'Aligned' : 0x00000002,
 
469
        'Nontemporal' : 0x00000004,
 
470
    },
 
471
 
 
472
    'Scope' : {
 
473
        'CrossDevice' : 0,
 
474
        'Device' : 1,
 
475
        'Workgroup' : 2,
 
476
        'Subgroup' : 3,
 
477
        'Invocation' : 4,
 
478
    },
 
479
 
 
480
    'GroupOperation' : {
 
481
        'Reduce' : 0,
 
482
        'InclusiveScan' : 1,
 
483
        'ExclusiveScan' : 2,
 
484
    },
 
485
 
 
486
    'KernelEnqueueFlags' : {
 
487
        'NoWait' : 0,
 
488
        'WaitKernel' : 1,
 
489
        'WaitWorkGroup' : 2,
 
490
    },
 
491
 
 
492
    'KernelProfilingInfoShift' : {
 
493
        'CmdExecTime' : 0,
 
494
    },
 
495
 
 
496
    'KernelProfilingInfoMask' : {
 
497
        'MaskNone' : 0,
 
498
        'CmdExecTime' : 0x00000001,
 
499
    },
 
500
 
 
501
    'Capability' : {
 
502
        'Matrix' : 0,
 
503
        'Shader' : 1,
 
504
        'Geometry' : 2,
 
505
        'Tessellation' : 3,
 
506
        'Addresses' : 4,
 
507
        'Linkage' : 5,
 
508
        'Kernel' : 6,
 
509
        'Vector16' : 7,
 
510
        'Float16Buffer' : 8,
 
511
        'Float16' : 9,
 
512
        'Float64' : 10,
 
513
        'Int64' : 11,
 
514
        'Int64Atomics' : 12,
 
515
        'ImageBasic' : 13,
 
516
        'ImageReadWrite' : 14,
 
517
        'ImageMipmap' : 15,
 
518
        'Pipes' : 17,
 
519
        'Groups' : 18,
 
520
        'DeviceEnqueue' : 19,
 
521
        'LiteralSampler' : 20,
 
522
        'AtomicStorage' : 21,
 
523
        'Int16' : 22,
 
524
        'TessellationPointSize' : 23,
 
525
        'GeometryPointSize' : 24,
 
526
        'ImageGatherExtended' : 25,
 
527
        'StorageImageMultisample' : 27,
 
528
        'UniformBufferArrayDynamicIndexing' : 28,
 
529
        'SampledImageArrayDynamicIndexing' : 29,
 
530
        'StorageBufferArrayDynamicIndexing' : 30,
 
531
        'StorageImageArrayDynamicIndexing' : 31,
 
532
        'ClipDistance' : 32,
 
533
        'CullDistance' : 33,
 
534
        'ImageCubeArray' : 34,
 
535
        'SampleRateShading' : 35,
 
536
        'ImageRect' : 36,
 
537
        'SampledRect' : 37,
 
538
        'GenericPointer' : 38,
 
539
        'Int8' : 39,
 
540
        'InputAttachment' : 40,
 
541
        'SparseResidency' : 41,
 
542
        'MinLod' : 42,
 
543
        'Sampled1D' : 43,
 
544
        'Image1D' : 44,
 
545
        'SampledCubeArray' : 45,
 
546
        'SampledBuffer' : 46,
 
547
        'ImageBuffer' : 47,
 
548
        'ImageMSArray' : 48,
 
549
        'StorageImageExtendedFormats' : 49,
 
550
        'ImageQuery' : 50,
 
551
        'DerivativeControl' : 51,
 
552
        'InterpolationFunction' : 52,
 
553
        'TransformFeedback' : 53,
 
554
        'GeometryStreams' : 54,
 
555
        'StorageImageReadWithoutFormat' : 55,
 
556
        'StorageImageWriteWithoutFormat' : 56,
 
557
        'MultiViewport' : 57,
 
558
    },
 
559
 
 
560
    'Op' : {
 
561
        'OpNop' : 0,
 
562
        'OpUndef' : 1,
 
563
        'OpSourceContinued' : 2,
 
564
        'OpSource' : 3,
 
565
        'OpSourceExtension' : 4,
 
566
        'OpName' : 5,
 
567
        'OpMemberName' : 6,
 
568
        'OpString' : 7,
 
569
        'OpLine' : 8,
 
570
        'OpExtension' : 10,
 
571
        'OpExtInstImport' : 11,
 
572
        'OpExtInst' : 12,
 
573
        'OpMemoryModel' : 14,
 
574
        'OpEntryPoint' : 15,
 
575
        'OpExecutionMode' : 16,
 
576
        'OpCapability' : 17,
 
577
        'OpTypeVoid' : 19,
 
578
        'OpTypeBool' : 20,
 
579
        'OpTypeInt' : 21,
 
580
        'OpTypeFloat' : 22,
 
581
        'OpTypeVector' : 23,
 
582
        'OpTypeMatrix' : 24,
 
583
        'OpTypeImage' : 25,
 
584
        'OpTypeSampler' : 26,
 
585
        'OpTypeSampledImage' : 27,
 
586
        'OpTypeArray' : 28,
 
587
        'OpTypeRuntimeArray' : 29,
 
588
        'OpTypeStruct' : 30,
 
589
        'OpTypeOpaque' : 31,
 
590
        'OpTypePointer' : 32,
 
591
        'OpTypeFunction' : 33,
 
592
        'OpTypeEvent' : 34,
 
593
        'OpTypeDeviceEvent' : 35,
 
594
        'OpTypeReserveId' : 36,
 
595
        'OpTypeQueue' : 37,
 
596
        'OpTypePipe' : 38,
 
597
        'OpTypeForwardPointer' : 39,
 
598
        'OpConstantTrue' : 41,
 
599
        'OpConstantFalse' : 42,
 
600
        'OpConstant' : 43,
 
601
        'OpConstantComposite' : 44,
 
602
        'OpConstantSampler' : 45,
 
603
        'OpConstantNull' : 46,
 
604
        'OpSpecConstantTrue' : 48,
 
605
        'OpSpecConstantFalse' : 49,
 
606
        'OpSpecConstant' : 50,
 
607
        'OpSpecConstantComposite' : 51,
 
608
        'OpSpecConstantOp' : 52,
 
609
        'OpFunction' : 54,
 
610
        'OpFunctionParameter' : 55,
 
611
        'OpFunctionEnd' : 56,
 
612
        'OpFunctionCall' : 57,
 
613
        'OpVariable' : 59,
 
614
        'OpImageTexelPointer' : 60,
 
615
        'OpLoad' : 61,
 
616
        'OpStore' : 62,
 
617
        'OpCopyMemory' : 63,
 
618
        'OpCopyMemorySized' : 64,
 
619
        'OpAccessChain' : 65,
 
620
        'OpInBoundsAccessChain' : 66,
 
621
        'OpPtrAccessChain' : 67,
 
622
        'OpArrayLength' : 68,
 
623
        'OpGenericPtrMemSemantics' : 69,
 
624
        'OpInBoundsPtrAccessChain' : 70,
 
625
        'OpDecorate' : 71,
 
626
        'OpMemberDecorate' : 72,
 
627
        'OpDecorationGroup' : 73,
 
628
        'OpGroupDecorate' : 74,
 
629
        'OpGroupMemberDecorate' : 75,
 
630
        'OpVectorExtractDynamic' : 77,
 
631
        'OpVectorInsertDynamic' : 78,
 
632
        'OpVectorShuffle' : 79,
 
633
        'OpCompositeConstruct' : 80,
 
634
        'OpCompositeExtract' : 81,
 
635
        'OpCompositeInsert' : 82,
 
636
        'OpCopyObject' : 83,
 
637
        'OpTranspose' : 84,
 
638
        'OpSampledImage' : 86,
 
639
        'OpImageSampleImplicitLod' : 87,
 
640
        'OpImageSampleExplicitLod' : 88,
 
641
        'OpImageSampleDrefImplicitLod' : 89,
 
642
        'OpImageSampleDrefExplicitLod' : 90,
 
643
        'OpImageSampleProjImplicitLod' : 91,
 
644
        'OpImageSampleProjExplicitLod' : 92,
 
645
        'OpImageSampleProjDrefImplicitLod' : 93,
 
646
        'OpImageSampleProjDrefExplicitLod' : 94,
 
647
        'OpImageFetch' : 95,
 
648
        'OpImageGather' : 96,
 
649
        'OpImageDrefGather' : 97,
 
650
        'OpImageRead' : 98,
 
651
        'OpImageWrite' : 99,
 
652
        'OpImage' : 100,
 
653
        'OpImageQueryFormat' : 101,
 
654
        'OpImageQueryOrder' : 102,
 
655
        'OpImageQuerySizeLod' : 103,
 
656
        'OpImageQuerySize' : 104,
 
657
        'OpImageQueryLod' : 105,
 
658
        'OpImageQueryLevels' : 106,
 
659
        'OpImageQuerySamples' : 107,
 
660
        'OpConvertFToU' : 109,
 
661
        'OpConvertFToS' : 110,
 
662
        'OpConvertSToF' : 111,
 
663
        'OpConvertUToF' : 112,
 
664
        'OpUConvert' : 113,
 
665
        'OpSConvert' : 114,
 
666
        'OpFConvert' : 115,
 
667
        'OpQuantizeToF16' : 116,
 
668
        'OpConvertPtrToU' : 117,
 
669
        'OpSatConvertSToU' : 118,
 
670
        'OpSatConvertUToS' : 119,
 
671
        'OpConvertUToPtr' : 120,
 
672
        'OpPtrCastToGeneric' : 121,
 
673
        'OpGenericCastToPtr' : 122,
 
674
        'OpGenericCastToPtrExplicit' : 123,
 
675
        'OpBitcast' : 124,
 
676
        'OpSNegate' : 126,
 
677
        'OpFNegate' : 127,
 
678
        'OpIAdd' : 128,
 
679
        'OpFAdd' : 129,
 
680
        'OpISub' : 130,
 
681
        'OpFSub' : 131,
 
682
        'OpIMul' : 132,
 
683
        'OpFMul' : 133,
 
684
        'OpUDiv' : 134,
 
685
        'OpSDiv' : 135,
 
686
        'OpFDiv' : 136,
 
687
        'OpUMod' : 137,
 
688
        'OpSRem' : 138,
 
689
        'OpSMod' : 139,
 
690
        'OpFRem' : 140,
 
691
        'OpFMod' : 141,
 
692
        'OpVectorTimesScalar' : 142,
 
693
        'OpMatrixTimesScalar' : 143,
 
694
        'OpVectorTimesMatrix' : 144,
 
695
        'OpMatrixTimesVector' : 145,
 
696
        'OpMatrixTimesMatrix' : 146,
 
697
        'OpOuterProduct' : 147,
 
698
        'OpDot' : 148,
 
699
        'OpIAddCarry' : 149,
 
700
        'OpISubBorrow' : 150,
 
701
        'OpUMulExtended' : 151,
 
702
        'OpSMulExtended' : 152,
 
703
        'OpAny' : 154,
 
704
        'OpAll' : 155,
 
705
        'OpIsNan' : 156,
 
706
        'OpIsInf' : 157,
 
707
        'OpIsFinite' : 158,
 
708
        'OpIsNormal' : 159,
 
709
        'OpSignBitSet' : 160,
 
710
        'OpLessOrGreater' : 161,
 
711
        'OpOrdered' : 162,
 
712
        'OpUnordered' : 163,
 
713
        'OpLogicalEqual' : 164,
 
714
        'OpLogicalNotEqual' : 165,
 
715
        'OpLogicalOr' : 166,
 
716
        'OpLogicalAnd' : 167,
 
717
        'OpLogicalNot' : 168,
 
718
        'OpSelect' : 169,
 
719
        'OpIEqual' : 170,
 
720
        'OpINotEqual' : 171,
 
721
        'OpUGreaterThan' : 172,
 
722
        'OpSGreaterThan' : 173,
 
723
        'OpUGreaterThanEqual' : 174,
 
724
        'OpSGreaterThanEqual' : 175,
 
725
        'OpULessThan' : 176,
 
726
        'OpSLessThan' : 177,
 
727
        'OpULessThanEqual' : 178,
 
728
        'OpSLessThanEqual' : 179,
 
729
        'OpFOrdEqual' : 180,
 
730
        'OpFUnordEqual' : 181,
 
731
        'OpFOrdNotEqual' : 182,
 
732
        'OpFUnordNotEqual' : 183,
 
733
        'OpFOrdLessThan' : 184,
 
734
        'OpFUnordLessThan' : 185,
 
735
        'OpFOrdGreaterThan' : 186,
 
736
        'OpFUnordGreaterThan' : 187,
 
737
        'OpFOrdLessThanEqual' : 188,
 
738
        'OpFUnordLessThanEqual' : 189,
 
739
        'OpFOrdGreaterThanEqual' : 190,
 
740
        'OpFUnordGreaterThanEqual' : 191,
 
741
        'OpShiftRightLogical' : 194,
 
742
        'OpShiftRightArithmetic' : 195,
 
743
        'OpShiftLeftLogical' : 196,
 
744
        'OpBitwiseOr' : 197,
 
745
        'OpBitwiseXor' : 198,
 
746
        'OpBitwiseAnd' : 199,
 
747
        'OpNot' : 200,
 
748
        'OpBitFieldInsert' : 201,
 
749
        'OpBitFieldSExtract' : 202,
 
750
        'OpBitFieldUExtract' : 203,
 
751
        'OpBitReverse' : 204,
 
752
        'OpBitCount' : 205,
 
753
        'OpDPdx' : 207,
 
754
        'OpDPdy' : 208,
 
755
        'OpFwidth' : 209,
 
756
        'OpDPdxFine' : 210,
 
757
        'OpDPdyFine' : 211,
 
758
        'OpFwidthFine' : 212,
 
759
        'OpDPdxCoarse' : 213,
 
760
        'OpDPdyCoarse' : 214,
 
761
        'OpFwidthCoarse' : 215,
 
762
        'OpEmitVertex' : 218,
 
763
        'OpEndPrimitive' : 219,
 
764
        'OpEmitStreamVertex' : 220,
 
765
        'OpEndStreamPrimitive' : 221,
 
766
        'OpControlBarrier' : 224,
 
767
        'OpMemoryBarrier' : 225,
 
768
        'OpAtomicLoad' : 227,
 
769
        'OpAtomicStore' : 228,
 
770
        'OpAtomicExchange' : 229,
 
771
        'OpAtomicCompareExchange' : 230,
 
772
        'OpAtomicCompareExchangeWeak' : 231,
 
773
        'OpAtomicIIncrement' : 232,
 
774
        'OpAtomicIDecrement' : 233,
 
775
        'OpAtomicIAdd' : 234,
 
776
        'OpAtomicISub' : 235,
 
777
        'OpAtomicSMin' : 236,
 
778
        'OpAtomicUMin' : 237,
 
779
        'OpAtomicSMax' : 238,
 
780
        'OpAtomicUMax' : 239,
 
781
        'OpAtomicAnd' : 240,
 
782
        'OpAtomicOr' : 241,
 
783
        'OpAtomicXor' : 242,
 
784
        'OpPhi' : 245,
 
785
        'OpLoopMerge' : 246,
 
786
        'OpSelectionMerge' : 247,
 
787
        'OpLabel' : 248,
 
788
        'OpBranch' : 249,
 
789
        'OpBranchConditional' : 250,
 
790
        'OpSwitch' : 251,
 
791
        'OpKill' : 252,
 
792
        'OpReturn' : 253,
 
793
        'OpReturnValue' : 254,
 
794
        'OpUnreachable' : 255,
 
795
        'OpLifetimeStart' : 256,
 
796
        'OpLifetimeStop' : 257,
 
797
        'OpGroupAsyncCopy' : 259,
 
798
        'OpGroupWaitEvents' : 260,
 
799
        'OpGroupAll' : 261,
 
800
        'OpGroupAny' : 262,
 
801
        'OpGroupBroadcast' : 263,
 
802
        'OpGroupIAdd' : 264,
 
803
        'OpGroupFAdd' : 265,
 
804
        'OpGroupFMin' : 266,
 
805
        'OpGroupUMin' : 267,
 
806
        'OpGroupSMin' : 268,
 
807
        'OpGroupFMax' : 269,
 
808
        'OpGroupUMax' : 270,
 
809
        'OpGroupSMax' : 271,
 
810
        'OpReadPipe' : 274,
 
811
        'OpWritePipe' : 275,
 
812
        'OpReservedReadPipe' : 276,
 
813
        'OpReservedWritePipe' : 277,
 
814
        'OpReserveReadPipePackets' : 278,
 
815
        'OpReserveWritePipePackets' : 279,
 
816
        'OpCommitReadPipe' : 280,
 
817
        'OpCommitWritePipe' : 281,
 
818
        'OpIsValidReserveId' : 282,
 
819
        'OpGetNumPipePackets' : 283,
 
820
        'OpGetMaxPipePackets' : 284,
 
821
        'OpGroupReserveReadPipePackets' : 285,
 
822
        'OpGroupReserveWritePipePackets' : 286,
 
823
        'OpGroupCommitReadPipe' : 287,
 
824
        'OpGroupCommitWritePipe' : 288,
 
825
        'OpEnqueueMarker' : 291,
 
826
        'OpEnqueueKernel' : 292,
 
827
        'OpGetKernelNDrangeSubGroupCount' : 293,
 
828
        'OpGetKernelNDrangeMaxSubGroupSize' : 294,
 
829
        'OpGetKernelWorkGroupSize' : 295,
 
830
        'OpGetKernelPreferredWorkGroupSizeMultiple' : 296,
 
831
        'OpRetainEvent' : 297,
 
832
        'OpReleaseEvent' : 298,
 
833
        'OpCreateUserEvent' : 299,
 
834
        'OpIsValidEvent' : 300,
 
835
        'OpSetUserEventStatus' : 301,
 
836
        'OpCaptureEventProfilingInfo' : 302,
 
837
        'OpGetDefaultQueue' : 303,
 
838
        'OpBuildNDRange' : 304,
 
839
        'OpImageSparseSampleImplicitLod' : 305,
 
840
        'OpImageSparseSampleExplicitLod' : 306,
 
841
        'OpImageSparseSampleDrefImplicitLod' : 307,
 
842
        'OpImageSparseSampleDrefExplicitLod' : 308,
 
843
        'OpImageSparseSampleProjImplicitLod' : 309,
 
844
        'OpImageSparseSampleProjExplicitLod' : 310,
 
845
        'OpImageSparseSampleProjDrefImplicitLod' : 311,
 
846
        'OpImageSparseSampleProjDrefExplicitLod' : 312,
 
847
        'OpImageSparseFetch' : 313,
 
848
        'OpImageSparseGather' : 314,
 
849
        'OpImageSparseDrefGather' : 315,
 
850
        'OpImageSparseTexelsResident' : 316,
 
851
        'OpNoLine' : 317,
 
852
        'OpAtomicFlagTestAndSet' : 318,
 
853
        'OpAtomicFlagClear' : 319,
 
854
        'OpImageSparseRead' : 320,
 
855
    },
 
856
 
 
857
}
 
858