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