e17c6c6d26371e8f4b5e94bf6c4abd7672ca438a
[platform/upstream/SPIRV-Headers.git] / include / spirv / unified1 / spirv.hpp11
1 // Copyright (c) 2014-2020 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, C#, D
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 // - C# will use enum classes in the Specification class located in the "Spv" namespace,
37 //     e.g.: Spv.Specification.SourceLanguage.GLSL
38 // - D will have tokens under the "spv" module, e.g: spv.SourceLanguage.GLSL
39 // 
40 // Some tokens act like mask values, which can be OR'd together,
41 // while others are mutually exclusive.  The mask-like ones have
42 // "Mask" in their name, and a parallel enum that has the shift
43 // amount (1 << x) for each corresponding enumerant.
44
45 #ifndef spirv_HPP
46 #define spirv_HPP
47
48 namespace spv {
49
50 typedef unsigned int Id;
51
52 #define SPV_VERSION 0x10500
53 #define SPV_REVISION 4
54
55 static const unsigned int MagicNumber = 0x07230203;
56 static const unsigned int Version = 0x00010500;
57 static const unsigned int Revision = 4;
58 static const unsigned int OpCodeMask = 0xffff;
59 static const unsigned int WordCountShift = 16;
60
61 enum class SourceLanguage : unsigned {
62     Unknown = 0,
63     ESSL = 1,
64     GLSL = 2,
65     OpenCL_C = 3,
66     OpenCL_CPP = 4,
67     HLSL = 5,
68     CPP_for_OpenCL = 6,
69     Max = 0x7fffffff,
70 };
71
72 enum class ExecutionModel : unsigned {
73     Vertex = 0,
74     TessellationControl = 1,
75     TessellationEvaluation = 2,
76     Geometry = 3,
77     Fragment = 4,
78     GLCompute = 5,
79     Kernel = 6,
80     TaskNV = 5267,
81     MeshNV = 5268,
82     RayGenerationKHR = 5313,
83     RayGenerationNV = 5313,
84     IntersectionKHR = 5314,
85     IntersectionNV = 5314,
86     AnyHitKHR = 5315,
87     AnyHitNV = 5315,
88     ClosestHitKHR = 5316,
89     ClosestHitNV = 5316,
90     MissKHR = 5317,
91     MissNV = 5317,
92     CallableKHR = 5318,
93     CallableNV = 5318,
94     Max = 0x7fffffff,
95 };
96
97 enum class AddressingModel : unsigned {
98     Logical = 0,
99     Physical32 = 1,
100     Physical64 = 2,
101     PhysicalStorageBuffer64 = 5348,
102     PhysicalStorageBuffer64EXT = 5348,
103     Max = 0x7fffffff,
104 };
105
106 enum class MemoryModel : unsigned {
107     Simple = 0,
108     GLSL450 = 1,
109     OpenCL = 2,
110     Vulkan = 3,
111     VulkanKHR = 3,
112     Max = 0x7fffffff,
113 };
114
115 enum class ExecutionMode : unsigned {
116     Invocations = 0,
117     SpacingEqual = 1,
118     SpacingFractionalEven = 2,
119     SpacingFractionalOdd = 3,
120     VertexOrderCw = 4,
121     VertexOrderCcw = 5,
122     PixelCenterInteger = 6,
123     OriginUpperLeft = 7,
124     OriginLowerLeft = 8,
125     EarlyFragmentTests = 9,
126     PointMode = 10,
127     Xfb = 11,
128     DepthReplacing = 12,
129     DepthGreater = 14,
130     DepthLess = 15,
131     DepthUnchanged = 16,
132     LocalSize = 17,
133     LocalSizeHint = 18,
134     InputPoints = 19,
135     InputLines = 20,
136     InputLinesAdjacency = 21,
137     Triangles = 22,
138     InputTrianglesAdjacency = 23,
139     Quads = 24,
140     Isolines = 25,
141     OutputVertices = 26,
142     OutputPoints = 27,
143     OutputLineStrip = 28,
144     OutputTriangleStrip = 29,
145     VecTypeHint = 30,
146     ContractionOff = 31,
147     Initializer = 33,
148     Finalizer = 34,
149     SubgroupSize = 35,
150     SubgroupsPerWorkgroup = 36,
151     SubgroupsPerWorkgroupId = 37,
152     LocalSizeId = 38,
153     LocalSizeHintId = 39,
154     SubgroupUniformControlFlowKHR = 4421,
155     PostDepthCoverage = 4446,
156     DenormPreserve = 4459,
157     DenormFlushToZero = 4460,
158     SignedZeroInfNanPreserve = 4461,
159     RoundingModeRTE = 4462,
160     RoundingModeRTZ = 4463,
161     StencilRefReplacingEXT = 5027,
162     OutputLinesNV = 5269,
163     OutputPrimitivesNV = 5270,
164     DerivativeGroupQuadsNV = 5289,
165     DerivativeGroupLinearNV = 5290,
166     OutputTrianglesNV = 5298,
167     PixelInterlockOrderedEXT = 5366,
168     PixelInterlockUnorderedEXT = 5367,
169     SampleInterlockOrderedEXT = 5368,
170     SampleInterlockUnorderedEXT = 5369,
171     ShadingRateInterlockOrderedEXT = 5370,
172     ShadingRateInterlockUnorderedEXT = 5371,
173     SharedLocalMemorySizeINTEL = 5618,
174     RoundingModeRTPINTEL = 5620,
175     RoundingModeRTNINTEL = 5621,
176     FloatingPointModeALTINTEL = 5622,
177     FloatingPointModeIEEEINTEL = 5623,
178     MaxWorkgroupSizeINTEL = 5893,
179     MaxWorkDimINTEL = 5894,
180     NoGlobalOffsetINTEL = 5895,
181     NumSIMDWorkitemsINTEL = 5896,
182     SchedulerTargetFmaxMhzINTEL = 5903,
183     Max = 0x7fffffff,
184 };
185
186 enum class StorageClass : unsigned {
187     UniformConstant = 0,
188     Input = 1,
189     Uniform = 2,
190     Output = 3,
191     Workgroup = 4,
192     CrossWorkgroup = 5,
193     Private = 6,
194     Function = 7,
195     Generic = 8,
196     PushConstant = 9,
197     AtomicCounter = 10,
198     Image = 11,
199     StorageBuffer = 12,
200     CallableDataKHR = 5328,
201     CallableDataNV = 5328,
202     IncomingCallableDataKHR = 5329,
203     IncomingCallableDataNV = 5329,
204     RayPayloadKHR = 5338,
205     RayPayloadNV = 5338,
206     HitAttributeKHR = 5339,
207     HitAttributeNV = 5339,
208     IncomingRayPayloadKHR = 5342,
209     IncomingRayPayloadNV = 5342,
210     ShaderRecordBufferKHR = 5343,
211     ShaderRecordBufferNV = 5343,
212     PhysicalStorageBuffer = 5349,
213     PhysicalStorageBufferEXT = 5349,
214     CodeSectionINTEL = 5605,
215     DeviceOnlyINTEL = 5936,
216     HostOnlyINTEL = 5937,
217     Max = 0x7fffffff,
218 };
219
220 enum class Dim : unsigned {
221     Dim1D = 0,
222     Dim2D = 1,
223     Dim3D = 2,
224     Cube = 3,
225     Rect = 4,
226     Buffer = 5,
227     SubpassData = 6,
228     Max = 0x7fffffff,
229 };
230
231 enum class SamplerAddressingMode : unsigned {
232     None = 0,
233     ClampToEdge = 1,
234     Clamp = 2,
235     Repeat = 3,
236     RepeatMirrored = 4,
237     Max = 0x7fffffff,
238 };
239
240 enum class SamplerFilterMode : unsigned {
241     Nearest = 0,
242     Linear = 1,
243     Max = 0x7fffffff,
244 };
245
246 enum class ImageFormat : unsigned {
247     Unknown = 0,
248     Rgba32f = 1,
249     Rgba16f = 2,
250     R32f = 3,
251     Rgba8 = 4,
252     Rgba8Snorm = 5,
253     Rg32f = 6,
254     Rg16f = 7,
255     R11fG11fB10f = 8,
256     R16f = 9,
257     Rgba16 = 10,
258     Rgb10A2 = 11,
259     Rg16 = 12,
260     Rg8 = 13,
261     R16 = 14,
262     R8 = 15,
263     Rgba16Snorm = 16,
264     Rg16Snorm = 17,
265     Rg8Snorm = 18,
266     R16Snorm = 19,
267     R8Snorm = 20,
268     Rgba32i = 21,
269     Rgba16i = 22,
270     Rgba8i = 23,
271     R32i = 24,
272     Rg32i = 25,
273     Rg16i = 26,
274     Rg8i = 27,
275     R16i = 28,
276     R8i = 29,
277     Rgba32ui = 30,
278     Rgba16ui = 31,
279     Rgba8ui = 32,
280     R32ui = 33,
281     Rgb10a2ui = 34,
282     Rg32ui = 35,
283     Rg16ui = 36,
284     Rg8ui = 37,
285     R16ui = 38,
286     R8ui = 39,
287     R64ui = 40,
288     R64i = 41,
289     Max = 0x7fffffff,
290 };
291
292 enum class ImageChannelOrder : unsigned {
293     R = 0,
294     A = 1,
295     RG = 2,
296     RA = 3,
297     RGB = 4,
298     RGBA = 5,
299     BGRA = 6,
300     ARGB = 7,
301     Intensity = 8,
302     Luminance = 9,
303     Rx = 10,
304     RGx = 11,
305     RGBx = 12,
306     Depth = 13,
307     DepthStencil = 14,
308     sRGB = 15,
309     sRGBx = 16,
310     sRGBA = 17,
311     sBGRA = 18,
312     ABGR = 19,
313     Max = 0x7fffffff,
314 };
315
316 enum class ImageChannelDataType : unsigned {
317     SnormInt8 = 0,
318     SnormInt16 = 1,
319     UnormInt8 = 2,
320     UnormInt16 = 3,
321     UnormShort565 = 4,
322     UnormShort555 = 5,
323     UnormInt101010 = 6,
324     SignedInt8 = 7,
325     SignedInt16 = 8,
326     SignedInt32 = 9,
327     UnsignedInt8 = 10,
328     UnsignedInt16 = 11,
329     UnsignedInt32 = 12,
330     HalfFloat = 13,
331     Float = 14,
332     UnormInt24 = 15,
333     UnormInt101010_2 = 16,
334     Max = 0x7fffffff,
335 };
336
337 enum class ImageOperandsShift : unsigned {
338     Bias = 0,
339     Lod = 1,
340     Grad = 2,
341     ConstOffset = 3,
342     Offset = 4,
343     ConstOffsets = 5,
344     Sample = 6,
345     MinLod = 7,
346     MakeTexelAvailable = 8,
347     MakeTexelAvailableKHR = 8,
348     MakeTexelVisible = 9,
349     MakeTexelVisibleKHR = 9,
350     NonPrivateTexel = 10,
351     NonPrivateTexelKHR = 10,
352     VolatileTexel = 11,
353     VolatileTexelKHR = 11,
354     SignExtend = 12,
355     ZeroExtend = 13,
356     Max = 0x7fffffff,
357 };
358
359 enum class ImageOperandsMask : unsigned {
360     MaskNone = 0,
361     Bias = 0x00000001,
362     Lod = 0x00000002,
363     Grad = 0x00000004,
364     ConstOffset = 0x00000008,
365     Offset = 0x00000010,
366     ConstOffsets = 0x00000020,
367     Sample = 0x00000040,
368     MinLod = 0x00000080,
369     MakeTexelAvailable = 0x00000100,
370     MakeTexelAvailableKHR = 0x00000100,
371     MakeTexelVisible = 0x00000200,
372     MakeTexelVisibleKHR = 0x00000200,
373     NonPrivateTexel = 0x00000400,
374     NonPrivateTexelKHR = 0x00000400,
375     VolatileTexel = 0x00000800,
376     VolatileTexelKHR = 0x00000800,
377     SignExtend = 0x00001000,
378     ZeroExtend = 0x00002000,
379 };
380
381 enum class FPFastMathModeShift : unsigned {
382     NotNaN = 0,
383     NotInf = 1,
384     NSZ = 2,
385     AllowRecip = 3,
386     Fast = 4,
387     AllowContractFastINTEL = 16,
388     AllowReassocINTEL = 17,
389     Max = 0x7fffffff,
390 };
391
392 enum class FPFastMathModeMask : unsigned {
393     MaskNone = 0,
394     NotNaN = 0x00000001,
395     NotInf = 0x00000002,
396     NSZ = 0x00000004,
397     AllowRecip = 0x00000008,
398     Fast = 0x00000010,
399     AllowContractFastINTEL = 0x00010000,
400     AllowReassocINTEL = 0x00020000,
401 };
402
403 enum class FPRoundingMode : unsigned {
404     RTE = 0,
405     RTZ = 1,
406     RTP = 2,
407     RTN = 3,
408     Max = 0x7fffffff,
409 };
410
411 enum class LinkageType : unsigned {
412     Export = 0,
413     Import = 1,
414     LinkOnceODR = 2,
415     Max = 0x7fffffff,
416 };
417
418 enum class AccessQualifier : unsigned {
419     ReadOnly = 0,
420     WriteOnly = 1,
421     ReadWrite = 2,
422     Max = 0x7fffffff,
423 };
424
425 enum class FunctionParameterAttribute : unsigned {
426     Zext = 0,
427     Sext = 1,
428     ByVal = 2,
429     Sret = 3,
430     NoAlias = 4,
431     NoCapture = 5,
432     NoWrite = 6,
433     NoReadWrite = 7,
434     Max = 0x7fffffff,
435 };
436
437 enum class Decoration : unsigned {
438     RelaxedPrecision = 0,
439     SpecId = 1,
440     Block = 2,
441     BufferBlock = 3,
442     RowMajor = 4,
443     ColMajor = 5,
444     ArrayStride = 6,
445     MatrixStride = 7,
446     GLSLShared = 8,
447     GLSLPacked = 9,
448     CPacked = 10,
449     BuiltIn = 11,
450     NoPerspective = 13,
451     Flat = 14,
452     Patch = 15,
453     Centroid = 16,
454     Sample = 17,
455     Invariant = 18,
456     Restrict = 19,
457     Aliased = 20,
458     Volatile = 21,
459     Constant = 22,
460     Coherent = 23,
461     NonWritable = 24,
462     NonReadable = 25,
463     Uniform = 26,
464     UniformId = 27,
465     SaturatedConversion = 28,
466     Stream = 29,
467     Location = 30,
468     Component = 31,
469     Index = 32,
470     Binding = 33,
471     DescriptorSet = 34,
472     Offset = 35,
473     XfbBuffer = 36,
474     XfbStride = 37,
475     FuncParamAttr = 38,
476     FPRoundingMode = 39,
477     FPFastMathMode = 40,
478     LinkageAttributes = 41,
479     NoContraction = 42,
480     InputAttachmentIndex = 43,
481     Alignment = 44,
482     MaxByteOffset = 45,
483     AlignmentId = 46,
484     MaxByteOffsetId = 47,
485     NoSignedWrap = 4469,
486     NoUnsignedWrap = 4470,
487     ExplicitInterpAMD = 4999,
488     OverrideCoverageNV = 5248,
489     PassthroughNV = 5250,
490     ViewportRelativeNV = 5252,
491     SecondaryViewportRelativeNV = 5256,
492     PerPrimitiveNV = 5271,
493     PerViewNV = 5272,
494     PerTaskNV = 5273,
495     PerVertexNV = 5285,
496     NonUniform = 5300,
497     NonUniformEXT = 5300,
498     RestrictPointer = 5355,
499     RestrictPointerEXT = 5355,
500     AliasedPointer = 5356,
501     AliasedPointerEXT = 5356,
502     SIMTCallINTEL = 5599,
503     ReferencedIndirectlyINTEL = 5602,
504     ClobberINTEL = 5607,
505     SideEffectsINTEL = 5608,
506     VectorComputeVariableINTEL = 5624,
507     FuncParamIOKindINTEL = 5625,
508     VectorComputeFunctionINTEL = 5626,
509     StackCallINTEL = 5627,
510     GlobalVariableOffsetINTEL = 5628,
511     CounterBuffer = 5634,
512     HlslCounterBufferGOOGLE = 5634,
513     HlslSemanticGOOGLE = 5635,
514     UserSemantic = 5635,
515     UserTypeGOOGLE = 5636,
516     FunctionRoundingModeINTEL = 5822,
517     FunctionDenormModeINTEL = 5823,
518     RegisterINTEL = 5825,
519     MemoryINTEL = 5826,
520     NumbanksINTEL = 5827,
521     BankwidthINTEL = 5828,
522     MaxPrivateCopiesINTEL = 5829,
523     SinglepumpINTEL = 5830,
524     DoublepumpINTEL = 5831,
525     MaxReplicatesINTEL = 5832,
526     SimpleDualPortINTEL = 5833,
527     MergeINTEL = 5834,
528     BankBitsINTEL = 5835,
529     ForcePow2DepthINTEL = 5836,
530     BurstCoalesceINTEL = 5899,
531     CacheSizeINTEL = 5900,
532     DontStaticallyCoalesceINTEL = 5901,
533     PrefetchINTEL = 5902,
534     StallEnableINTEL = 5905,
535     FuseLoopsInFunctionINTEL = 5907,
536     BufferLocationINTEL = 5921,
537     IOPipeStorageINTEL = 5944,
538     FunctionFloatingPointModeINTEL = 6080,
539     SingleElementVectorINTEL = 6085,
540     VectorComputeCallableFunctionINTEL = 6087,
541     Max = 0x7fffffff,
542 };
543
544 enum class BuiltIn : unsigned {
545     Position = 0,
546     PointSize = 1,
547     ClipDistance = 3,
548     CullDistance = 4,
549     VertexId = 5,
550     InstanceId = 6,
551     PrimitiveId = 7,
552     InvocationId = 8,
553     Layer = 9,
554     ViewportIndex = 10,
555     TessLevelOuter = 11,
556     TessLevelInner = 12,
557     TessCoord = 13,
558     PatchVertices = 14,
559     FragCoord = 15,
560     PointCoord = 16,
561     FrontFacing = 17,
562     SampleId = 18,
563     SamplePosition = 19,
564     SampleMask = 20,
565     FragDepth = 22,
566     HelperInvocation = 23,
567     NumWorkgroups = 24,
568     WorkgroupSize = 25,
569     WorkgroupId = 26,
570     LocalInvocationId = 27,
571     GlobalInvocationId = 28,
572     LocalInvocationIndex = 29,
573     WorkDim = 30,
574     GlobalSize = 31,
575     EnqueuedWorkgroupSize = 32,
576     GlobalOffset = 33,
577     GlobalLinearId = 34,
578     SubgroupSize = 36,
579     SubgroupMaxSize = 37,
580     NumSubgroups = 38,
581     NumEnqueuedSubgroups = 39,
582     SubgroupId = 40,
583     SubgroupLocalInvocationId = 41,
584     VertexIndex = 42,
585     InstanceIndex = 43,
586     SubgroupEqMask = 4416,
587     SubgroupEqMaskKHR = 4416,
588     SubgroupGeMask = 4417,
589     SubgroupGeMaskKHR = 4417,
590     SubgroupGtMask = 4418,
591     SubgroupGtMaskKHR = 4418,
592     SubgroupLeMask = 4419,
593     SubgroupLeMaskKHR = 4419,
594     SubgroupLtMask = 4420,
595     SubgroupLtMaskKHR = 4420,
596     BaseVertex = 4424,
597     BaseInstance = 4425,
598     DrawIndex = 4426,
599     PrimitiveShadingRateKHR = 4432,
600     DeviceIndex = 4438,
601     ViewIndex = 4440,
602     ShadingRateKHR = 4444,
603     BaryCoordNoPerspAMD = 4992,
604     BaryCoordNoPerspCentroidAMD = 4993,
605     BaryCoordNoPerspSampleAMD = 4994,
606     BaryCoordSmoothAMD = 4995,
607     BaryCoordSmoothCentroidAMD = 4996,
608     BaryCoordSmoothSampleAMD = 4997,
609     BaryCoordPullModelAMD = 4998,
610     FragStencilRefEXT = 5014,
611     ViewportMaskNV = 5253,
612     SecondaryPositionNV = 5257,
613     SecondaryViewportMaskNV = 5258,
614     PositionPerViewNV = 5261,
615     ViewportMaskPerViewNV = 5262,
616     FullyCoveredEXT = 5264,
617     TaskCountNV = 5274,
618     PrimitiveCountNV = 5275,
619     PrimitiveIndicesNV = 5276,
620     ClipDistancePerViewNV = 5277,
621     CullDistancePerViewNV = 5278,
622     LayerPerViewNV = 5279,
623     MeshViewCountNV = 5280,
624     MeshViewIndicesNV = 5281,
625     BaryCoordNV = 5286,
626     BaryCoordNoPerspNV = 5287,
627     FragSizeEXT = 5292,
628     FragmentSizeNV = 5292,
629     FragInvocationCountEXT = 5293,
630     InvocationsPerPixelNV = 5293,
631     LaunchIdKHR = 5319,
632     LaunchIdNV = 5319,
633     LaunchSizeKHR = 5320,
634     LaunchSizeNV = 5320,
635     WorldRayOriginKHR = 5321,
636     WorldRayOriginNV = 5321,
637     WorldRayDirectionKHR = 5322,
638     WorldRayDirectionNV = 5322,
639     ObjectRayOriginKHR = 5323,
640     ObjectRayOriginNV = 5323,
641     ObjectRayDirectionKHR = 5324,
642     ObjectRayDirectionNV = 5324,
643     RayTminKHR = 5325,
644     RayTminNV = 5325,
645     RayTmaxKHR = 5326,
646     RayTmaxNV = 5326,
647     InstanceCustomIndexKHR = 5327,
648     InstanceCustomIndexNV = 5327,
649     ObjectToWorldKHR = 5330,
650     ObjectToWorldNV = 5330,
651     WorldToObjectKHR = 5331,
652     WorldToObjectNV = 5331,
653     HitTNV = 5332,
654     HitKindKHR = 5333,
655     HitKindNV = 5333,
656     IncomingRayFlagsKHR = 5351,
657     IncomingRayFlagsNV = 5351,
658     RayGeometryIndexKHR = 5352,
659     WarpsPerSMNV = 5374,
660     SMCountNV = 5375,
661     WarpIDNV = 5376,
662     SMIDNV = 5377,
663     Max = 0x7fffffff,
664 };
665
666 enum class SelectionControlShift : unsigned {
667     Flatten = 0,
668     DontFlatten = 1,
669     Max = 0x7fffffff,
670 };
671
672 enum class SelectionControlMask : unsigned {
673     MaskNone = 0,
674     Flatten = 0x00000001,
675     DontFlatten = 0x00000002,
676 };
677
678 enum class LoopControlShift : unsigned {
679     Unroll = 0,
680     DontUnroll = 1,
681     DependencyInfinite = 2,
682     DependencyLength = 3,
683     MinIterations = 4,
684     MaxIterations = 5,
685     IterationMultiple = 6,
686     PeelCount = 7,
687     PartialCount = 8,
688     InitiationIntervalINTEL = 16,
689     MaxConcurrencyINTEL = 17,
690     DependencyArrayINTEL = 18,
691     PipelineEnableINTEL = 19,
692     LoopCoalesceINTEL = 20,
693     MaxInterleavingINTEL = 21,
694     SpeculatedIterationsINTEL = 22,
695     NoFusionINTEL = 23,
696     Max = 0x7fffffff,
697 };
698
699 enum class LoopControlMask : unsigned {
700     MaskNone = 0,
701     Unroll = 0x00000001,
702     DontUnroll = 0x00000002,
703     DependencyInfinite = 0x00000004,
704     DependencyLength = 0x00000008,
705     MinIterations = 0x00000010,
706     MaxIterations = 0x00000020,
707     IterationMultiple = 0x00000040,
708     PeelCount = 0x00000080,
709     PartialCount = 0x00000100,
710     InitiationIntervalINTEL = 0x00010000,
711     MaxConcurrencyINTEL = 0x00020000,
712     DependencyArrayINTEL = 0x00040000,
713     PipelineEnableINTEL = 0x00080000,
714     LoopCoalesceINTEL = 0x00100000,
715     MaxInterleavingINTEL = 0x00200000,
716     SpeculatedIterationsINTEL = 0x00400000,
717     NoFusionINTEL = 0x00800000,
718 };
719
720 enum class FunctionControlShift : unsigned {
721     Inline = 0,
722     DontInline = 1,
723     Pure = 2,
724     Const = 3,
725     Max = 0x7fffffff,
726 };
727
728 enum class FunctionControlMask : unsigned {
729     MaskNone = 0,
730     Inline = 0x00000001,
731     DontInline = 0x00000002,
732     Pure = 0x00000004,
733     Const = 0x00000008,
734 };
735
736 enum class MemorySemanticsShift : unsigned {
737     Acquire = 1,
738     Release = 2,
739     AcquireRelease = 3,
740     SequentiallyConsistent = 4,
741     UniformMemory = 6,
742     SubgroupMemory = 7,
743     WorkgroupMemory = 8,
744     CrossWorkgroupMemory = 9,
745     AtomicCounterMemory = 10,
746     ImageMemory = 11,
747     OutputMemory = 12,
748     OutputMemoryKHR = 12,
749     MakeAvailable = 13,
750     MakeAvailableKHR = 13,
751     MakeVisible = 14,
752     MakeVisibleKHR = 14,
753     Volatile = 15,
754     Max = 0x7fffffff,
755 };
756
757 enum class MemorySemanticsMask : unsigned {
758     MaskNone = 0,
759     Acquire = 0x00000002,
760     Release = 0x00000004,
761     AcquireRelease = 0x00000008,
762     SequentiallyConsistent = 0x00000010,
763     UniformMemory = 0x00000040,
764     SubgroupMemory = 0x00000080,
765     WorkgroupMemory = 0x00000100,
766     CrossWorkgroupMemory = 0x00000200,
767     AtomicCounterMemory = 0x00000400,
768     ImageMemory = 0x00000800,
769     OutputMemory = 0x00001000,
770     OutputMemoryKHR = 0x00001000,
771     MakeAvailable = 0x00002000,
772     MakeAvailableKHR = 0x00002000,
773     MakeVisible = 0x00004000,
774     MakeVisibleKHR = 0x00004000,
775     Volatile = 0x00008000,
776 };
777
778 enum class MemoryAccessShift : unsigned {
779     Volatile = 0,
780     Aligned = 1,
781     Nontemporal = 2,
782     MakePointerAvailable = 3,
783     MakePointerAvailableKHR = 3,
784     MakePointerVisible = 4,
785     MakePointerVisibleKHR = 4,
786     NonPrivatePointer = 5,
787     NonPrivatePointerKHR = 5,
788     Max = 0x7fffffff,
789 };
790
791 enum class MemoryAccessMask : unsigned {
792     MaskNone = 0,
793     Volatile = 0x00000001,
794     Aligned = 0x00000002,
795     Nontemporal = 0x00000004,
796     MakePointerAvailable = 0x00000008,
797     MakePointerAvailableKHR = 0x00000008,
798     MakePointerVisible = 0x00000010,
799     MakePointerVisibleKHR = 0x00000010,
800     NonPrivatePointer = 0x00000020,
801     NonPrivatePointerKHR = 0x00000020,
802 };
803
804 enum class Scope : unsigned {
805     CrossDevice = 0,
806     Device = 1,
807     Workgroup = 2,
808     Subgroup = 3,
809     Invocation = 4,
810     QueueFamily = 5,
811     QueueFamilyKHR = 5,
812     ShaderCallKHR = 6,
813     Max = 0x7fffffff,
814 };
815
816 enum class GroupOperation : unsigned {
817     Reduce = 0,
818     InclusiveScan = 1,
819     ExclusiveScan = 2,
820     ClusteredReduce = 3,
821     PartitionedReduceNV = 6,
822     PartitionedInclusiveScanNV = 7,
823     PartitionedExclusiveScanNV = 8,
824     Max = 0x7fffffff,
825 };
826
827 enum class KernelEnqueueFlags : unsigned {
828     NoWait = 0,
829     WaitKernel = 1,
830     WaitWorkGroup = 2,
831     Max = 0x7fffffff,
832 };
833
834 enum class KernelProfilingInfoShift : unsigned {
835     CmdExecTime = 0,
836     Max = 0x7fffffff,
837 };
838
839 enum class KernelProfilingInfoMask : unsigned {
840     MaskNone = 0,
841     CmdExecTime = 0x00000001,
842 };
843
844 enum class Capability : unsigned {
845     Matrix = 0,
846     Shader = 1,
847     Geometry = 2,
848     Tessellation = 3,
849     Addresses = 4,
850     Linkage = 5,
851     Kernel = 6,
852     Vector16 = 7,
853     Float16Buffer = 8,
854     Float16 = 9,
855     Float64 = 10,
856     Int64 = 11,
857     Int64Atomics = 12,
858     ImageBasic = 13,
859     ImageReadWrite = 14,
860     ImageMipmap = 15,
861     Pipes = 17,
862     Groups = 18,
863     DeviceEnqueue = 19,
864     LiteralSampler = 20,
865     AtomicStorage = 21,
866     Int16 = 22,
867     TessellationPointSize = 23,
868     GeometryPointSize = 24,
869     ImageGatherExtended = 25,
870     StorageImageMultisample = 27,
871     UniformBufferArrayDynamicIndexing = 28,
872     SampledImageArrayDynamicIndexing = 29,
873     StorageBufferArrayDynamicIndexing = 30,
874     StorageImageArrayDynamicIndexing = 31,
875     ClipDistance = 32,
876     CullDistance = 33,
877     ImageCubeArray = 34,
878     SampleRateShading = 35,
879     ImageRect = 36,
880     SampledRect = 37,
881     GenericPointer = 38,
882     Int8 = 39,
883     InputAttachment = 40,
884     SparseResidency = 41,
885     MinLod = 42,
886     Sampled1D = 43,
887     Image1D = 44,
888     SampledCubeArray = 45,
889     SampledBuffer = 46,
890     ImageBuffer = 47,
891     ImageMSArray = 48,
892     StorageImageExtendedFormats = 49,
893     ImageQuery = 50,
894     DerivativeControl = 51,
895     InterpolationFunction = 52,
896     TransformFeedback = 53,
897     GeometryStreams = 54,
898     StorageImageReadWithoutFormat = 55,
899     StorageImageWriteWithoutFormat = 56,
900     MultiViewport = 57,
901     SubgroupDispatch = 58,
902     NamedBarrier = 59,
903     PipeStorage = 60,
904     GroupNonUniform = 61,
905     GroupNonUniformVote = 62,
906     GroupNonUniformArithmetic = 63,
907     GroupNonUniformBallot = 64,
908     GroupNonUniformShuffle = 65,
909     GroupNonUniformShuffleRelative = 66,
910     GroupNonUniformClustered = 67,
911     GroupNonUniformQuad = 68,
912     ShaderLayer = 69,
913     ShaderViewportIndex = 70,
914     FragmentShadingRateKHR = 4422,
915     SubgroupBallotKHR = 4423,
916     DrawParameters = 4427,
917     WorkgroupMemoryExplicitLayoutKHR = 4428,
918     WorkgroupMemoryExplicitLayout8BitAccessKHR = 4429,
919     WorkgroupMemoryExplicitLayout16BitAccessKHR = 4430,
920     SubgroupVoteKHR = 4431,
921     StorageBuffer16BitAccess = 4433,
922     StorageUniformBufferBlock16 = 4433,
923     StorageUniform16 = 4434,
924     UniformAndStorageBuffer16BitAccess = 4434,
925     StoragePushConstant16 = 4435,
926     StorageInputOutput16 = 4436,
927     DeviceGroup = 4437,
928     MultiView = 4439,
929     VariablePointersStorageBuffer = 4441,
930     VariablePointers = 4442,
931     AtomicStorageOps = 4445,
932     SampleMaskPostDepthCoverage = 4447,
933     StorageBuffer8BitAccess = 4448,
934     UniformAndStorageBuffer8BitAccess = 4449,
935     StoragePushConstant8 = 4450,
936     DenormPreserve = 4464,
937     DenormFlushToZero = 4465,
938     SignedZeroInfNanPreserve = 4466,
939     RoundingModeRTE = 4467,
940     RoundingModeRTZ = 4468,
941     RayQueryProvisionalKHR = 4471,
942     RayQueryKHR = 4472,
943     RayTraversalPrimitiveCullingKHR = 4478,
944     RayTracingKHR = 4479,
945     Float16ImageAMD = 5008,
946     ImageGatherBiasLodAMD = 5009,
947     FragmentMaskAMD = 5010,
948     StencilExportEXT = 5013,
949     ImageReadWriteLodAMD = 5015,
950     Int64ImageEXT = 5016,
951     ShaderClockKHR = 5055,
952     SampleMaskOverrideCoverageNV = 5249,
953     GeometryShaderPassthroughNV = 5251,
954     ShaderViewportIndexLayerEXT = 5254,
955     ShaderViewportIndexLayerNV = 5254,
956     ShaderViewportMaskNV = 5255,
957     ShaderStereoViewNV = 5259,
958     PerViewAttributesNV = 5260,
959     FragmentFullyCoveredEXT = 5265,
960     MeshShadingNV = 5266,
961     ImageFootprintNV = 5282,
962     FragmentBarycentricNV = 5284,
963     ComputeDerivativeGroupQuadsNV = 5288,
964     FragmentDensityEXT = 5291,
965     ShadingRateNV = 5291,
966     GroupNonUniformPartitionedNV = 5297,
967     ShaderNonUniform = 5301,
968     ShaderNonUniformEXT = 5301,
969     RuntimeDescriptorArray = 5302,
970     RuntimeDescriptorArrayEXT = 5302,
971     InputAttachmentArrayDynamicIndexing = 5303,
972     InputAttachmentArrayDynamicIndexingEXT = 5303,
973     UniformTexelBufferArrayDynamicIndexing = 5304,
974     UniformTexelBufferArrayDynamicIndexingEXT = 5304,
975     StorageTexelBufferArrayDynamicIndexing = 5305,
976     StorageTexelBufferArrayDynamicIndexingEXT = 5305,
977     UniformBufferArrayNonUniformIndexing = 5306,
978     UniformBufferArrayNonUniformIndexingEXT = 5306,
979     SampledImageArrayNonUniformIndexing = 5307,
980     SampledImageArrayNonUniformIndexingEXT = 5307,
981     StorageBufferArrayNonUniformIndexing = 5308,
982     StorageBufferArrayNonUniformIndexingEXT = 5308,
983     StorageImageArrayNonUniformIndexing = 5309,
984     StorageImageArrayNonUniformIndexingEXT = 5309,
985     InputAttachmentArrayNonUniformIndexing = 5310,
986     InputAttachmentArrayNonUniformIndexingEXT = 5310,
987     UniformTexelBufferArrayNonUniformIndexing = 5311,
988     UniformTexelBufferArrayNonUniformIndexingEXT = 5311,
989     StorageTexelBufferArrayNonUniformIndexing = 5312,
990     StorageTexelBufferArrayNonUniformIndexingEXT = 5312,
991     RayTracingNV = 5340,
992     VulkanMemoryModel = 5345,
993     VulkanMemoryModelKHR = 5345,
994     VulkanMemoryModelDeviceScope = 5346,
995     VulkanMemoryModelDeviceScopeKHR = 5346,
996     PhysicalStorageBufferAddresses = 5347,
997     PhysicalStorageBufferAddressesEXT = 5347,
998     ComputeDerivativeGroupLinearNV = 5350,
999     RayTracingProvisionalKHR = 5353,
1000     CooperativeMatrixNV = 5357,
1001     FragmentShaderSampleInterlockEXT = 5363,
1002     FragmentShaderShadingRateInterlockEXT = 5372,
1003     ShaderSMBuiltinsNV = 5373,
1004     FragmentShaderPixelInterlockEXT = 5378,
1005     DemoteToHelperInvocationEXT = 5379,
1006     SubgroupShuffleINTEL = 5568,
1007     SubgroupBufferBlockIOINTEL = 5569,
1008     SubgroupImageBlockIOINTEL = 5570,
1009     SubgroupImageMediaBlockIOINTEL = 5579,
1010     RoundToInfinityINTEL = 5582,
1011     FloatingPointModeINTEL = 5583,
1012     IntegerFunctions2INTEL = 5584,
1013     FunctionPointersINTEL = 5603,
1014     IndirectReferencesINTEL = 5604,
1015     AsmINTEL = 5606,
1016     AtomicFloat32MinMaxEXT = 5612,
1017     AtomicFloat64MinMaxEXT = 5613,
1018     AtomicFloat16MinMaxEXT = 5616,
1019     VectorComputeINTEL = 5617,
1020     VectorAnyINTEL = 5619,
1021     ExpectAssumeKHR = 5629,
1022     SubgroupAvcMotionEstimationINTEL = 5696,
1023     SubgroupAvcMotionEstimationIntraINTEL = 5697,
1024     SubgroupAvcMotionEstimationChromaINTEL = 5698,
1025     VariableLengthArrayINTEL = 5817,
1026     FunctionFloatControlINTEL = 5821,
1027     FPGAMemoryAttributesINTEL = 5824,
1028     FPFastMathModeINTEL = 5837,
1029     ArbitraryPrecisionIntegersINTEL = 5844,
1030     ArbitraryPrecisionFloatingPointINTEL = 5845,
1031     UnstructuredLoopControlsINTEL = 5886,
1032     FPGALoopControlsINTEL = 5888,
1033     KernelAttributesINTEL = 5892,
1034     FPGAKernelAttributesINTEL = 5897,
1035     FPGAMemoryAccessesINTEL = 5898,
1036     FPGAClusterAttributesINTEL = 5904,
1037     LoopFuseINTEL = 5906,
1038     FPGABufferLocationINTEL = 5920,
1039     ArbitraryPrecisionFixedPointINTEL = 5922,
1040     USMStorageClassesINTEL = 5935,
1041     IOPipesINTEL = 5943,
1042     BlockingPipesINTEL = 5945,
1043     FPGARegINTEL = 5948,
1044     DotProductInputAllKHR = 6016,
1045     DotProductInput4x8BitKHR = 6017,
1046     DotProductInput4x8BitPackedKHR = 6018,
1047     DotProductKHR = 6019,
1048     BitInstructions = 6025,
1049     AtomicFloat32AddEXT = 6033,
1050     AtomicFloat64AddEXT = 6034,
1051     LongConstantCompositeINTEL = 6089,
1052     AtomicFloat16AddEXT = 6095,
1053     DebugInfoModuleINTEL = 6114,
1054     Max = 0x7fffffff,
1055 };
1056
1057 enum class RayFlagsShift : unsigned {
1058     OpaqueKHR = 0,
1059     NoOpaqueKHR = 1,
1060     TerminateOnFirstHitKHR = 2,
1061     SkipClosestHitShaderKHR = 3,
1062     CullBackFacingTrianglesKHR = 4,
1063     CullFrontFacingTrianglesKHR = 5,
1064     CullOpaqueKHR = 6,
1065     CullNoOpaqueKHR = 7,
1066     SkipTrianglesKHR = 8,
1067     SkipAABBsKHR = 9,
1068     Max = 0x7fffffff,
1069 };
1070
1071 enum class RayFlagsMask : unsigned {
1072     MaskNone = 0,
1073     OpaqueKHR = 0x00000001,
1074     NoOpaqueKHR = 0x00000002,
1075     TerminateOnFirstHitKHR = 0x00000004,
1076     SkipClosestHitShaderKHR = 0x00000008,
1077     CullBackFacingTrianglesKHR = 0x00000010,
1078     CullFrontFacingTrianglesKHR = 0x00000020,
1079     CullOpaqueKHR = 0x00000040,
1080     CullNoOpaqueKHR = 0x00000080,
1081     SkipTrianglesKHR = 0x00000100,
1082     SkipAABBsKHR = 0x00000200,
1083 };
1084
1085 enum class RayQueryIntersection : unsigned {
1086     RayQueryCandidateIntersectionKHR = 0,
1087     RayQueryCommittedIntersectionKHR = 1,
1088     Max = 0x7fffffff,
1089 };
1090
1091 enum class RayQueryCommittedIntersectionType : unsigned {
1092     RayQueryCommittedIntersectionNoneKHR = 0,
1093     RayQueryCommittedIntersectionTriangleKHR = 1,
1094     RayQueryCommittedIntersectionGeneratedKHR = 2,
1095     Max = 0x7fffffff,
1096 };
1097
1098 enum class RayQueryCandidateIntersectionType : unsigned {
1099     RayQueryCandidateIntersectionTriangleKHR = 0,
1100     RayQueryCandidateIntersectionAABBKHR = 1,
1101     Max = 0x7fffffff,
1102 };
1103
1104 enum class FragmentShadingRateShift : unsigned {
1105     Vertical2Pixels = 0,
1106     Vertical4Pixels = 1,
1107     Horizontal2Pixels = 2,
1108     Horizontal4Pixels = 3,
1109     Max = 0x7fffffff,
1110 };
1111
1112 enum class FragmentShadingRateMask : unsigned {
1113     MaskNone = 0,
1114     Vertical2Pixels = 0x00000001,
1115     Vertical4Pixels = 0x00000002,
1116     Horizontal2Pixels = 0x00000004,
1117     Horizontal4Pixels = 0x00000008,
1118 };
1119
1120 enum class FPDenormMode : unsigned {
1121     Preserve = 0,
1122     FlushToZero = 1,
1123     Max = 0x7fffffff,
1124 };
1125
1126 enum class FPOperationMode : unsigned {
1127     IEEE = 0,
1128     ALT = 1,
1129     Max = 0x7fffffff,
1130 };
1131
1132 enum class QuantizationModes : unsigned {
1133     TRN = 0,
1134     TRN_ZERO = 1,
1135     RND = 2,
1136     RND_ZERO = 3,
1137     RND_INF = 4,
1138     RND_MIN_INF = 5,
1139     RND_CONV = 6,
1140     RND_CONV_ODD = 7,
1141     Max = 0x7fffffff,
1142 };
1143
1144 enum class OverflowModes : unsigned {
1145     WRAP = 0,
1146     SAT = 1,
1147     SAT_ZERO = 2,
1148     SAT_SYM = 3,
1149     Max = 0x7fffffff,
1150 };
1151
1152 enum class PackedVectorFormat : unsigned {
1153     PackedVectorFormat4x8BitKHR = 0,
1154     Max = 0x7fffffff,
1155 };
1156
1157 enum class Op : unsigned {
1158     OpNop = 0,
1159     OpUndef = 1,
1160     OpSourceContinued = 2,
1161     OpSource = 3,
1162     OpSourceExtension = 4,
1163     OpName = 5,
1164     OpMemberName = 6,
1165     OpString = 7,
1166     OpLine = 8,
1167     OpExtension = 10,
1168     OpExtInstImport = 11,
1169     OpExtInst = 12,
1170     OpMemoryModel = 14,
1171     OpEntryPoint = 15,
1172     OpExecutionMode = 16,
1173     OpCapability = 17,
1174     OpTypeVoid = 19,
1175     OpTypeBool = 20,
1176     OpTypeInt = 21,
1177     OpTypeFloat = 22,
1178     OpTypeVector = 23,
1179     OpTypeMatrix = 24,
1180     OpTypeImage = 25,
1181     OpTypeSampler = 26,
1182     OpTypeSampledImage = 27,
1183     OpTypeArray = 28,
1184     OpTypeRuntimeArray = 29,
1185     OpTypeStruct = 30,
1186     OpTypeOpaque = 31,
1187     OpTypePointer = 32,
1188     OpTypeFunction = 33,
1189     OpTypeEvent = 34,
1190     OpTypeDeviceEvent = 35,
1191     OpTypeReserveId = 36,
1192     OpTypeQueue = 37,
1193     OpTypePipe = 38,
1194     OpTypeForwardPointer = 39,
1195     OpConstantTrue = 41,
1196     OpConstantFalse = 42,
1197     OpConstant = 43,
1198     OpConstantComposite = 44,
1199     OpConstantSampler = 45,
1200     OpConstantNull = 46,
1201     OpSpecConstantTrue = 48,
1202     OpSpecConstantFalse = 49,
1203     OpSpecConstant = 50,
1204     OpSpecConstantComposite = 51,
1205     OpSpecConstantOp = 52,
1206     OpFunction = 54,
1207     OpFunctionParameter = 55,
1208     OpFunctionEnd = 56,
1209     OpFunctionCall = 57,
1210     OpVariable = 59,
1211     OpImageTexelPointer = 60,
1212     OpLoad = 61,
1213     OpStore = 62,
1214     OpCopyMemory = 63,
1215     OpCopyMemorySized = 64,
1216     OpAccessChain = 65,
1217     OpInBoundsAccessChain = 66,
1218     OpPtrAccessChain = 67,
1219     OpArrayLength = 68,
1220     OpGenericPtrMemSemantics = 69,
1221     OpInBoundsPtrAccessChain = 70,
1222     OpDecorate = 71,
1223     OpMemberDecorate = 72,
1224     OpDecorationGroup = 73,
1225     OpGroupDecorate = 74,
1226     OpGroupMemberDecorate = 75,
1227     OpVectorExtractDynamic = 77,
1228     OpVectorInsertDynamic = 78,
1229     OpVectorShuffle = 79,
1230     OpCompositeConstruct = 80,
1231     OpCompositeExtract = 81,
1232     OpCompositeInsert = 82,
1233     OpCopyObject = 83,
1234     OpTranspose = 84,
1235     OpSampledImage = 86,
1236     OpImageSampleImplicitLod = 87,
1237     OpImageSampleExplicitLod = 88,
1238     OpImageSampleDrefImplicitLod = 89,
1239     OpImageSampleDrefExplicitLod = 90,
1240     OpImageSampleProjImplicitLod = 91,
1241     OpImageSampleProjExplicitLod = 92,
1242     OpImageSampleProjDrefImplicitLod = 93,
1243     OpImageSampleProjDrefExplicitLod = 94,
1244     OpImageFetch = 95,
1245     OpImageGather = 96,
1246     OpImageDrefGather = 97,
1247     OpImageRead = 98,
1248     OpImageWrite = 99,
1249     OpImage = 100,
1250     OpImageQueryFormat = 101,
1251     OpImageQueryOrder = 102,
1252     OpImageQuerySizeLod = 103,
1253     OpImageQuerySize = 104,
1254     OpImageQueryLod = 105,
1255     OpImageQueryLevels = 106,
1256     OpImageQuerySamples = 107,
1257     OpConvertFToU = 109,
1258     OpConvertFToS = 110,
1259     OpConvertSToF = 111,
1260     OpConvertUToF = 112,
1261     OpUConvert = 113,
1262     OpSConvert = 114,
1263     OpFConvert = 115,
1264     OpQuantizeToF16 = 116,
1265     OpConvertPtrToU = 117,
1266     OpSatConvertSToU = 118,
1267     OpSatConvertUToS = 119,
1268     OpConvertUToPtr = 120,
1269     OpPtrCastToGeneric = 121,
1270     OpGenericCastToPtr = 122,
1271     OpGenericCastToPtrExplicit = 123,
1272     OpBitcast = 124,
1273     OpSNegate = 126,
1274     OpFNegate = 127,
1275     OpIAdd = 128,
1276     OpFAdd = 129,
1277     OpISub = 130,
1278     OpFSub = 131,
1279     OpIMul = 132,
1280     OpFMul = 133,
1281     OpUDiv = 134,
1282     OpSDiv = 135,
1283     OpFDiv = 136,
1284     OpUMod = 137,
1285     OpSRem = 138,
1286     OpSMod = 139,
1287     OpFRem = 140,
1288     OpFMod = 141,
1289     OpVectorTimesScalar = 142,
1290     OpMatrixTimesScalar = 143,
1291     OpVectorTimesMatrix = 144,
1292     OpMatrixTimesVector = 145,
1293     OpMatrixTimesMatrix = 146,
1294     OpOuterProduct = 147,
1295     OpDot = 148,
1296     OpIAddCarry = 149,
1297     OpISubBorrow = 150,
1298     OpUMulExtended = 151,
1299     OpSMulExtended = 152,
1300     OpAny = 154,
1301     OpAll = 155,
1302     OpIsNan = 156,
1303     OpIsInf = 157,
1304     OpIsFinite = 158,
1305     OpIsNormal = 159,
1306     OpSignBitSet = 160,
1307     OpLessOrGreater = 161,
1308     OpOrdered = 162,
1309     OpUnordered = 163,
1310     OpLogicalEqual = 164,
1311     OpLogicalNotEqual = 165,
1312     OpLogicalOr = 166,
1313     OpLogicalAnd = 167,
1314     OpLogicalNot = 168,
1315     OpSelect = 169,
1316     OpIEqual = 170,
1317     OpINotEqual = 171,
1318     OpUGreaterThan = 172,
1319     OpSGreaterThan = 173,
1320     OpUGreaterThanEqual = 174,
1321     OpSGreaterThanEqual = 175,
1322     OpULessThan = 176,
1323     OpSLessThan = 177,
1324     OpULessThanEqual = 178,
1325     OpSLessThanEqual = 179,
1326     OpFOrdEqual = 180,
1327     OpFUnordEqual = 181,
1328     OpFOrdNotEqual = 182,
1329     OpFUnordNotEqual = 183,
1330     OpFOrdLessThan = 184,
1331     OpFUnordLessThan = 185,
1332     OpFOrdGreaterThan = 186,
1333     OpFUnordGreaterThan = 187,
1334     OpFOrdLessThanEqual = 188,
1335     OpFUnordLessThanEqual = 189,
1336     OpFOrdGreaterThanEqual = 190,
1337     OpFUnordGreaterThanEqual = 191,
1338     OpShiftRightLogical = 194,
1339     OpShiftRightArithmetic = 195,
1340     OpShiftLeftLogical = 196,
1341     OpBitwiseOr = 197,
1342     OpBitwiseXor = 198,
1343     OpBitwiseAnd = 199,
1344     OpNot = 200,
1345     OpBitFieldInsert = 201,
1346     OpBitFieldSExtract = 202,
1347     OpBitFieldUExtract = 203,
1348     OpBitReverse = 204,
1349     OpBitCount = 205,
1350     OpDPdx = 207,
1351     OpDPdy = 208,
1352     OpFwidth = 209,
1353     OpDPdxFine = 210,
1354     OpDPdyFine = 211,
1355     OpFwidthFine = 212,
1356     OpDPdxCoarse = 213,
1357     OpDPdyCoarse = 214,
1358     OpFwidthCoarse = 215,
1359     OpEmitVertex = 218,
1360     OpEndPrimitive = 219,
1361     OpEmitStreamVertex = 220,
1362     OpEndStreamPrimitive = 221,
1363     OpControlBarrier = 224,
1364     OpMemoryBarrier = 225,
1365     OpAtomicLoad = 227,
1366     OpAtomicStore = 228,
1367     OpAtomicExchange = 229,
1368     OpAtomicCompareExchange = 230,
1369     OpAtomicCompareExchangeWeak = 231,
1370     OpAtomicIIncrement = 232,
1371     OpAtomicIDecrement = 233,
1372     OpAtomicIAdd = 234,
1373     OpAtomicISub = 235,
1374     OpAtomicSMin = 236,
1375     OpAtomicUMin = 237,
1376     OpAtomicSMax = 238,
1377     OpAtomicUMax = 239,
1378     OpAtomicAnd = 240,
1379     OpAtomicOr = 241,
1380     OpAtomicXor = 242,
1381     OpPhi = 245,
1382     OpLoopMerge = 246,
1383     OpSelectionMerge = 247,
1384     OpLabel = 248,
1385     OpBranch = 249,
1386     OpBranchConditional = 250,
1387     OpSwitch = 251,
1388     OpKill = 252,
1389     OpReturn = 253,
1390     OpReturnValue = 254,
1391     OpUnreachable = 255,
1392     OpLifetimeStart = 256,
1393     OpLifetimeStop = 257,
1394     OpGroupAsyncCopy = 259,
1395     OpGroupWaitEvents = 260,
1396     OpGroupAll = 261,
1397     OpGroupAny = 262,
1398     OpGroupBroadcast = 263,
1399     OpGroupIAdd = 264,
1400     OpGroupFAdd = 265,
1401     OpGroupFMin = 266,
1402     OpGroupUMin = 267,
1403     OpGroupSMin = 268,
1404     OpGroupFMax = 269,
1405     OpGroupUMax = 270,
1406     OpGroupSMax = 271,
1407     OpReadPipe = 274,
1408     OpWritePipe = 275,
1409     OpReservedReadPipe = 276,
1410     OpReservedWritePipe = 277,
1411     OpReserveReadPipePackets = 278,
1412     OpReserveWritePipePackets = 279,
1413     OpCommitReadPipe = 280,
1414     OpCommitWritePipe = 281,
1415     OpIsValidReserveId = 282,
1416     OpGetNumPipePackets = 283,
1417     OpGetMaxPipePackets = 284,
1418     OpGroupReserveReadPipePackets = 285,
1419     OpGroupReserveWritePipePackets = 286,
1420     OpGroupCommitReadPipe = 287,
1421     OpGroupCommitWritePipe = 288,
1422     OpEnqueueMarker = 291,
1423     OpEnqueueKernel = 292,
1424     OpGetKernelNDrangeSubGroupCount = 293,
1425     OpGetKernelNDrangeMaxSubGroupSize = 294,
1426     OpGetKernelWorkGroupSize = 295,
1427     OpGetKernelPreferredWorkGroupSizeMultiple = 296,
1428     OpRetainEvent = 297,
1429     OpReleaseEvent = 298,
1430     OpCreateUserEvent = 299,
1431     OpIsValidEvent = 300,
1432     OpSetUserEventStatus = 301,
1433     OpCaptureEventProfilingInfo = 302,
1434     OpGetDefaultQueue = 303,
1435     OpBuildNDRange = 304,
1436     OpImageSparseSampleImplicitLod = 305,
1437     OpImageSparseSampleExplicitLod = 306,
1438     OpImageSparseSampleDrefImplicitLod = 307,
1439     OpImageSparseSampleDrefExplicitLod = 308,
1440     OpImageSparseSampleProjImplicitLod = 309,
1441     OpImageSparseSampleProjExplicitLod = 310,
1442     OpImageSparseSampleProjDrefImplicitLod = 311,
1443     OpImageSparseSampleProjDrefExplicitLod = 312,
1444     OpImageSparseFetch = 313,
1445     OpImageSparseGather = 314,
1446     OpImageSparseDrefGather = 315,
1447     OpImageSparseTexelsResident = 316,
1448     OpNoLine = 317,
1449     OpAtomicFlagTestAndSet = 318,
1450     OpAtomicFlagClear = 319,
1451     OpImageSparseRead = 320,
1452     OpSizeOf = 321,
1453     OpTypePipeStorage = 322,
1454     OpConstantPipeStorage = 323,
1455     OpCreatePipeFromPipeStorage = 324,
1456     OpGetKernelLocalSizeForSubgroupCount = 325,
1457     OpGetKernelMaxNumSubgroups = 326,
1458     OpTypeNamedBarrier = 327,
1459     OpNamedBarrierInitialize = 328,
1460     OpMemoryNamedBarrier = 329,
1461     OpModuleProcessed = 330,
1462     OpExecutionModeId = 331,
1463     OpDecorateId = 332,
1464     OpGroupNonUniformElect = 333,
1465     OpGroupNonUniformAll = 334,
1466     OpGroupNonUniformAny = 335,
1467     OpGroupNonUniformAllEqual = 336,
1468     OpGroupNonUniformBroadcast = 337,
1469     OpGroupNonUniformBroadcastFirst = 338,
1470     OpGroupNonUniformBallot = 339,
1471     OpGroupNonUniformInverseBallot = 340,
1472     OpGroupNonUniformBallotBitExtract = 341,
1473     OpGroupNonUniformBallotBitCount = 342,
1474     OpGroupNonUniformBallotFindLSB = 343,
1475     OpGroupNonUniformBallotFindMSB = 344,
1476     OpGroupNonUniformShuffle = 345,
1477     OpGroupNonUniformShuffleXor = 346,
1478     OpGroupNonUniformShuffleUp = 347,
1479     OpGroupNonUniformShuffleDown = 348,
1480     OpGroupNonUniformIAdd = 349,
1481     OpGroupNonUniformFAdd = 350,
1482     OpGroupNonUniformIMul = 351,
1483     OpGroupNonUniformFMul = 352,
1484     OpGroupNonUniformSMin = 353,
1485     OpGroupNonUniformUMin = 354,
1486     OpGroupNonUniformFMin = 355,
1487     OpGroupNonUniformSMax = 356,
1488     OpGroupNonUniformUMax = 357,
1489     OpGroupNonUniformFMax = 358,
1490     OpGroupNonUniformBitwiseAnd = 359,
1491     OpGroupNonUniformBitwiseOr = 360,
1492     OpGroupNonUniformBitwiseXor = 361,
1493     OpGroupNonUniformLogicalAnd = 362,
1494     OpGroupNonUniformLogicalOr = 363,
1495     OpGroupNonUniformLogicalXor = 364,
1496     OpGroupNonUniformQuadBroadcast = 365,
1497     OpGroupNonUniformQuadSwap = 366,
1498     OpCopyLogical = 400,
1499     OpPtrEqual = 401,
1500     OpPtrNotEqual = 402,
1501     OpPtrDiff = 403,
1502     OpTerminateInvocation = 4416,
1503     OpSubgroupBallotKHR = 4421,
1504     OpSubgroupFirstInvocationKHR = 4422,
1505     OpSubgroupAllKHR = 4428,
1506     OpSubgroupAnyKHR = 4429,
1507     OpSubgroupAllEqualKHR = 4430,
1508     OpSubgroupReadInvocationKHR = 4432,
1509     OpTraceRayKHR = 4445,
1510     OpExecuteCallableKHR = 4446,
1511     OpConvertUToAccelerationStructureKHR = 4447,
1512     OpIgnoreIntersectionKHR = 4448,
1513     OpTerminateRayKHR = 4449,
1514     OpSDotKHR = 4450,
1515     OpUDotKHR = 4451,
1516     OpSUDotKHR = 4452,
1517     OpSDotAccSatKHR = 4453,
1518     OpUDotAccSatKHR = 4454,
1519     OpSUDotAccSatKHR = 4455,
1520     OpTypeRayQueryKHR = 4472,
1521     OpRayQueryInitializeKHR = 4473,
1522     OpRayQueryTerminateKHR = 4474,
1523     OpRayQueryGenerateIntersectionKHR = 4475,
1524     OpRayQueryConfirmIntersectionKHR = 4476,
1525     OpRayQueryProceedKHR = 4477,
1526     OpRayQueryGetIntersectionTypeKHR = 4479,
1527     OpGroupIAddNonUniformAMD = 5000,
1528     OpGroupFAddNonUniformAMD = 5001,
1529     OpGroupFMinNonUniformAMD = 5002,
1530     OpGroupUMinNonUniformAMD = 5003,
1531     OpGroupSMinNonUniformAMD = 5004,
1532     OpGroupFMaxNonUniformAMD = 5005,
1533     OpGroupUMaxNonUniformAMD = 5006,
1534     OpGroupSMaxNonUniformAMD = 5007,
1535     OpFragmentMaskFetchAMD = 5011,
1536     OpFragmentFetchAMD = 5012,
1537     OpReadClockKHR = 5056,
1538     OpImageSampleFootprintNV = 5283,
1539     OpGroupNonUniformPartitionNV = 5296,
1540     OpWritePackedPrimitiveIndices4x8NV = 5299,
1541     OpReportIntersectionKHR = 5334,
1542     OpReportIntersectionNV = 5334,
1543     OpIgnoreIntersectionNV = 5335,
1544     OpTerminateRayNV = 5336,
1545     OpTraceNV = 5337,
1546     OpTypeAccelerationStructureKHR = 5341,
1547     OpTypeAccelerationStructureNV = 5341,
1548     OpExecuteCallableNV = 5344,
1549     OpTypeCooperativeMatrixNV = 5358,
1550     OpCooperativeMatrixLoadNV = 5359,
1551     OpCooperativeMatrixStoreNV = 5360,
1552     OpCooperativeMatrixMulAddNV = 5361,
1553     OpCooperativeMatrixLengthNV = 5362,
1554     OpBeginInvocationInterlockEXT = 5364,
1555     OpEndInvocationInterlockEXT = 5365,
1556     OpDemoteToHelperInvocationEXT = 5380,
1557     OpIsHelperInvocationEXT = 5381,
1558     OpSubgroupShuffleINTEL = 5571,
1559     OpSubgroupShuffleDownINTEL = 5572,
1560     OpSubgroupShuffleUpINTEL = 5573,
1561     OpSubgroupShuffleXorINTEL = 5574,
1562     OpSubgroupBlockReadINTEL = 5575,
1563     OpSubgroupBlockWriteINTEL = 5576,
1564     OpSubgroupImageBlockReadINTEL = 5577,
1565     OpSubgroupImageBlockWriteINTEL = 5578,
1566     OpSubgroupImageMediaBlockReadINTEL = 5580,
1567     OpSubgroupImageMediaBlockWriteINTEL = 5581,
1568     OpUCountLeadingZerosINTEL = 5585,
1569     OpUCountTrailingZerosINTEL = 5586,
1570     OpAbsISubINTEL = 5587,
1571     OpAbsUSubINTEL = 5588,
1572     OpIAddSatINTEL = 5589,
1573     OpUAddSatINTEL = 5590,
1574     OpIAverageINTEL = 5591,
1575     OpUAverageINTEL = 5592,
1576     OpIAverageRoundedINTEL = 5593,
1577     OpUAverageRoundedINTEL = 5594,
1578     OpISubSatINTEL = 5595,
1579     OpUSubSatINTEL = 5596,
1580     OpIMul32x16INTEL = 5597,
1581     OpUMul32x16INTEL = 5598,
1582     OpConstFunctionPointerINTEL = 5600,
1583     OpFunctionPointerCallINTEL = 5601,
1584     OpAsmTargetINTEL = 5609,
1585     OpAsmINTEL = 5610,
1586     OpAsmCallINTEL = 5611,
1587     OpAtomicFMinEXT = 5614,
1588     OpAtomicFMaxEXT = 5615,
1589     OpAssumeTrueKHR = 5630,
1590     OpExpectKHR = 5631,
1591     OpDecorateString = 5632,
1592     OpDecorateStringGOOGLE = 5632,
1593     OpMemberDecorateString = 5633,
1594     OpMemberDecorateStringGOOGLE = 5633,
1595     OpVmeImageINTEL = 5699,
1596     OpTypeVmeImageINTEL = 5700,
1597     OpTypeAvcImePayloadINTEL = 5701,
1598     OpTypeAvcRefPayloadINTEL = 5702,
1599     OpTypeAvcSicPayloadINTEL = 5703,
1600     OpTypeAvcMcePayloadINTEL = 5704,
1601     OpTypeAvcMceResultINTEL = 5705,
1602     OpTypeAvcImeResultINTEL = 5706,
1603     OpTypeAvcImeResultSingleReferenceStreamoutINTEL = 5707,
1604     OpTypeAvcImeResultDualReferenceStreamoutINTEL = 5708,
1605     OpTypeAvcImeSingleReferenceStreaminINTEL = 5709,
1606     OpTypeAvcImeDualReferenceStreaminINTEL = 5710,
1607     OpTypeAvcRefResultINTEL = 5711,
1608     OpTypeAvcSicResultINTEL = 5712,
1609     OpSubgroupAvcMceGetDefaultInterBaseMultiReferencePenaltyINTEL = 5713,
1610     OpSubgroupAvcMceSetInterBaseMultiReferencePenaltyINTEL = 5714,
1611     OpSubgroupAvcMceGetDefaultInterShapePenaltyINTEL = 5715,
1612     OpSubgroupAvcMceSetInterShapePenaltyINTEL = 5716,
1613     OpSubgroupAvcMceGetDefaultInterDirectionPenaltyINTEL = 5717,
1614     OpSubgroupAvcMceSetInterDirectionPenaltyINTEL = 5718,
1615     OpSubgroupAvcMceGetDefaultIntraLumaShapePenaltyINTEL = 5719,
1616     OpSubgroupAvcMceGetDefaultInterMotionVectorCostTableINTEL = 5720,
1617     OpSubgroupAvcMceGetDefaultHighPenaltyCostTableINTEL = 5721,
1618     OpSubgroupAvcMceGetDefaultMediumPenaltyCostTableINTEL = 5722,
1619     OpSubgroupAvcMceGetDefaultLowPenaltyCostTableINTEL = 5723,
1620     OpSubgroupAvcMceSetMotionVectorCostFunctionINTEL = 5724,
1621     OpSubgroupAvcMceGetDefaultIntraLumaModePenaltyINTEL = 5725,
1622     OpSubgroupAvcMceGetDefaultNonDcLumaIntraPenaltyINTEL = 5726,
1623     OpSubgroupAvcMceGetDefaultIntraChromaModeBasePenaltyINTEL = 5727,
1624     OpSubgroupAvcMceSetAcOnlyHaarINTEL = 5728,
1625     OpSubgroupAvcMceSetSourceInterlacedFieldPolarityINTEL = 5729,
1626     OpSubgroupAvcMceSetSingleReferenceInterlacedFieldPolarityINTEL = 5730,
1627     OpSubgroupAvcMceSetDualReferenceInterlacedFieldPolaritiesINTEL = 5731,
1628     OpSubgroupAvcMceConvertToImePayloadINTEL = 5732,
1629     OpSubgroupAvcMceConvertToImeResultINTEL = 5733,
1630     OpSubgroupAvcMceConvertToRefPayloadINTEL = 5734,
1631     OpSubgroupAvcMceConvertToRefResultINTEL = 5735,
1632     OpSubgroupAvcMceConvertToSicPayloadINTEL = 5736,
1633     OpSubgroupAvcMceConvertToSicResultINTEL = 5737,
1634     OpSubgroupAvcMceGetMotionVectorsINTEL = 5738,
1635     OpSubgroupAvcMceGetInterDistortionsINTEL = 5739,
1636     OpSubgroupAvcMceGetBestInterDistortionsINTEL = 5740,
1637     OpSubgroupAvcMceGetInterMajorShapeINTEL = 5741,
1638     OpSubgroupAvcMceGetInterMinorShapeINTEL = 5742,
1639     OpSubgroupAvcMceGetInterDirectionsINTEL = 5743,
1640     OpSubgroupAvcMceGetInterMotionVectorCountINTEL = 5744,
1641     OpSubgroupAvcMceGetInterReferenceIdsINTEL = 5745,
1642     OpSubgroupAvcMceGetInterReferenceInterlacedFieldPolaritiesINTEL = 5746,
1643     OpSubgroupAvcImeInitializeINTEL = 5747,
1644     OpSubgroupAvcImeSetSingleReferenceINTEL = 5748,
1645     OpSubgroupAvcImeSetDualReferenceINTEL = 5749,
1646     OpSubgroupAvcImeRefWindowSizeINTEL = 5750,
1647     OpSubgroupAvcImeAdjustRefOffsetINTEL = 5751,
1648     OpSubgroupAvcImeConvertToMcePayloadINTEL = 5752,
1649     OpSubgroupAvcImeSetMaxMotionVectorCountINTEL = 5753,
1650     OpSubgroupAvcImeSetUnidirectionalMixDisableINTEL = 5754,
1651     OpSubgroupAvcImeSetEarlySearchTerminationThresholdINTEL = 5755,
1652     OpSubgroupAvcImeSetWeightedSadINTEL = 5756,
1653     OpSubgroupAvcImeEvaluateWithSingleReferenceINTEL = 5757,
1654     OpSubgroupAvcImeEvaluateWithDualReferenceINTEL = 5758,
1655     OpSubgroupAvcImeEvaluateWithSingleReferenceStreaminINTEL = 5759,
1656     OpSubgroupAvcImeEvaluateWithDualReferenceStreaminINTEL = 5760,
1657     OpSubgroupAvcImeEvaluateWithSingleReferenceStreamoutINTEL = 5761,
1658     OpSubgroupAvcImeEvaluateWithDualReferenceStreamoutINTEL = 5762,
1659     OpSubgroupAvcImeEvaluateWithSingleReferenceStreaminoutINTEL = 5763,
1660     OpSubgroupAvcImeEvaluateWithDualReferenceStreaminoutINTEL = 5764,
1661     OpSubgroupAvcImeConvertToMceResultINTEL = 5765,
1662     OpSubgroupAvcImeGetSingleReferenceStreaminINTEL = 5766,
1663     OpSubgroupAvcImeGetDualReferenceStreaminINTEL = 5767,
1664     OpSubgroupAvcImeStripSingleReferenceStreamoutINTEL = 5768,
1665     OpSubgroupAvcImeStripDualReferenceStreamoutINTEL = 5769,
1666     OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeMotionVectorsINTEL = 5770,
1667     OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeDistortionsINTEL = 5771,
1668     OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeReferenceIdsINTEL = 5772,
1669     OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeMotionVectorsINTEL = 5773,
1670     OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeDistortionsINTEL = 5774,
1671     OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeReferenceIdsINTEL = 5775,
1672     OpSubgroupAvcImeGetBorderReachedINTEL = 5776,
1673     OpSubgroupAvcImeGetTruncatedSearchIndicationINTEL = 5777,
1674     OpSubgroupAvcImeGetUnidirectionalEarlySearchTerminationINTEL = 5778,
1675     OpSubgroupAvcImeGetWeightingPatternMinimumMotionVectorINTEL = 5779,
1676     OpSubgroupAvcImeGetWeightingPatternMinimumDistortionINTEL = 5780,
1677     OpSubgroupAvcFmeInitializeINTEL = 5781,
1678     OpSubgroupAvcBmeInitializeINTEL = 5782,
1679     OpSubgroupAvcRefConvertToMcePayloadINTEL = 5783,
1680     OpSubgroupAvcRefSetBidirectionalMixDisableINTEL = 5784,
1681     OpSubgroupAvcRefSetBilinearFilterEnableINTEL = 5785,
1682     OpSubgroupAvcRefEvaluateWithSingleReferenceINTEL = 5786,
1683     OpSubgroupAvcRefEvaluateWithDualReferenceINTEL = 5787,
1684     OpSubgroupAvcRefEvaluateWithMultiReferenceINTEL = 5788,
1685     OpSubgroupAvcRefEvaluateWithMultiReferenceInterlacedINTEL = 5789,
1686     OpSubgroupAvcRefConvertToMceResultINTEL = 5790,
1687     OpSubgroupAvcSicInitializeINTEL = 5791,
1688     OpSubgroupAvcSicConfigureSkcINTEL = 5792,
1689     OpSubgroupAvcSicConfigureIpeLumaINTEL = 5793,
1690     OpSubgroupAvcSicConfigureIpeLumaChromaINTEL = 5794,
1691     OpSubgroupAvcSicGetMotionVectorMaskINTEL = 5795,
1692     OpSubgroupAvcSicConvertToMcePayloadINTEL = 5796,
1693     OpSubgroupAvcSicSetIntraLumaShapePenaltyINTEL = 5797,
1694     OpSubgroupAvcSicSetIntraLumaModeCostFunctionINTEL = 5798,
1695     OpSubgroupAvcSicSetIntraChromaModeCostFunctionINTEL = 5799,
1696     OpSubgroupAvcSicSetBilinearFilterEnableINTEL = 5800,
1697     OpSubgroupAvcSicSetSkcForwardTransformEnableINTEL = 5801,
1698     OpSubgroupAvcSicSetBlockBasedRawSkipSadINTEL = 5802,
1699     OpSubgroupAvcSicEvaluateIpeINTEL = 5803,
1700     OpSubgroupAvcSicEvaluateWithSingleReferenceINTEL = 5804,
1701     OpSubgroupAvcSicEvaluateWithDualReferenceINTEL = 5805,
1702     OpSubgroupAvcSicEvaluateWithMultiReferenceINTEL = 5806,
1703     OpSubgroupAvcSicEvaluateWithMultiReferenceInterlacedINTEL = 5807,
1704     OpSubgroupAvcSicConvertToMceResultINTEL = 5808,
1705     OpSubgroupAvcSicGetIpeLumaShapeINTEL = 5809,
1706     OpSubgroupAvcSicGetBestIpeLumaDistortionINTEL = 5810,
1707     OpSubgroupAvcSicGetBestIpeChromaDistortionINTEL = 5811,
1708     OpSubgroupAvcSicGetPackedIpeLumaModesINTEL = 5812,
1709     OpSubgroupAvcSicGetIpeChromaModeINTEL = 5813,
1710     OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL = 5814,
1711     OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL = 5815,
1712     OpSubgroupAvcSicGetInterRawSadsINTEL = 5816,
1713     OpVariableLengthArrayINTEL = 5818,
1714     OpSaveMemoryINTEL = 5819,
1715     OpRestoreMemoryINTEL = 5820,
1716     OpArbitraryFloatSinCosPiINTEL = 5840,
1717     OpArbitraryFloatCastINTEL = 5841,
1718     OpArbitraryFloatCastFromIntINTEL = 5842,
1719     OpArbitraryFloatCastToIntINTEL = 5843,
1720     OpArbitraryFloatAddINTEL = 5846,
1721     OpArbitraryFloatSubINTEL = 5847,
1722     OpArbitraryFloatMulINTEL = 5848,
1723     OpArbitraryFloatDivINTEL = 5849,
1724     OpArbitraryFloatGTINTEL = 5850,
1725     OpArbitraryFloatGEINTEL = 5851,
1726     OpArbitraryFloatLTINTEL = 5852,
1727     OpArbitraryFloatLEINTEL = 5853,
1728     OpArbitraryFloatEQINTEL = 5854,
1729     OpArbitraryFloatRecipINTEL = 5855,
1730     OpArbitraryFloatRSqrtINTEL = 5856,
1731     OpArbitraryFloatCbrtINTEL = 5857,
1732     OpArbitraryFloatHypotINTEL = 5858,
1733     OpArbitraryFloatSqrtINTEL = 5859,
1734     OpArbitraryFloatLogINTEL = 5860,
1735     OpArbitraryFloatLog2INTEL = 5861,
1736     OpArbitraryFloatLog10INTEL = 5862,
1737     OpArbitraryFloatLog1pINTEL = 5863,
1738     OpArbitraryFloatExpINTEL = 5864,
1739     OpArbitraryFloatExp2INTEL = 5865,
1740     OpArbitraryFloatExp10INTEL = 5866,
1741     OpArbitraryFloatExpm1INTEL = 5867,
1742     OpArbitraryFloatSinINTEL = 5868,
1743     OpArbitraryFloatCosINTEL = 5869,
1744     OpArbitraryFloatSinCosINTEL = 5870,
1745     OpArbitraryFloatSinPiINTEL = 5871,
1746     OpArbitraryFloatCosPiINTEL = 5872,
1747     OpArbitraryFloatASinINTEL = 5873,
1748     OpArbitraryFloatASinPiINTEL = 5874,
1749     OpArbitraryFloatACosINTEL = 5875,
1750     OpArbitraryFloatACosPiINTEL = 5876,
1751     OpArbitraryFloatATanINTEL = 5877,
1752     OpArbitraryFloatATanPiINTEL = 5878,
1753     OpArbitraryFloatATan2INTEL = 5879,
1754     OpArbitraryFloatPowINTEL = 5880,
1755     OpArbitraryFloatPowRINTEL = 5881,
1756     OpArbitraryFloatPowNINTEL = 5882,
1757     OpLoopControlINTEL = 5887,
1758     OpFixedSqrtINTEL = 5923,
1759     OpFixedRecipINTEL = 5924,
1760     OpFixedRsqrtINTEL = 5925,
1761     OpFixedSinINTEL = 5926,
1762     OpFixedCosINTEL = 5927,
1763     OpFixedSinCosINTEL = 5928,
1764     OpFixedSinPiINTEL = 5929,
1765     OpFixedCosPiINTEL = 5930,
1766     OpFixedSinCosPiINTEL = 5931,
1767     OpFixedLogINTEL = 5932,
1768     OpFixedExpINTEL = 5933,
1769     OpPtrCastToCrossWorkgroupINTEL = 5934,
1770     OpCrossWorkgroupCastToPtrINTEL = 5938,
1771     OpReadPipeBlockingINTEL = 5946,
1772     OpWritePipeBlockingINTEL = 5947,
1773     OpFPGARegINTEL = 5949,
1774     OpRayQueryGetRayTMinKHR = 6016,
1775     OpRayQueryGetRayFlagsKHR = 6017,
1776     OpRayQueryGetIntersectionTKHR = 6018,
1777     OpRayQueryGetIntersectionInstanceCustomIndexKHR = 6019,
1778     OpRayQueryGetIntersectionInstanceIdKHR = 6020,
1779     OpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR = 6021,
1780     OpRayQueryGetIntersectionGeometryIndexKHR = 6022,
1781     OpRayQueryGetIntersectionPrimitiveIndexKHR = 6023,
1782     OpRayQueryGetIntersectionBarycentricsKHR = 6024,
1783     OpRayQueryGetIntersectionFrontFaceKHR = 6025,
1784     OpRayQueryGetIntersectionCandidateAABBOpaqueKHR = 6026,
1785     OpRayQueryGetIntersectionObjectRayDirectionKHR = 6027,
1786     OpRayQueryGetIntersectionObjectRayOriginKHR = 6028,
1787     OpRayQueryGetWorldRayDirectionKHR = 6029,
1788     OpRayQueryGetWorldRayOriginKHR = 6030,
1789     OpRayQueryGetIntersectionObjectToWorldKHR = 6031,
1790     OpRayQueryGetIntersectionWorldToObjectKHR = 6032,
1791     OpAtomicFAddEXT = 6035,
1792     OpTypeBufferSurfaceINTEL = 6086,
1793     OpTypeStructContinuedINTEL = 6090,
1794     OpConstantCompositeContinuedINTEL = 6091,
1795     OpSpecConstantCompositeContinuedINTEL = 6092,
1796     Max = 0x7fffffff,
1797 };
1798
1799 #ifdef SPV_ENABLE_UTILITY_CODE
1800 inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) {
1801     *hasResult = *hasResultType = false;
1802     switch (opcode) {
1803     default: /* unknown opcode */ break;
1804     case Op::OpNop: *hasResult = false; *hasResultType = false; break;
1805     case Op::OpUndef: *hasResult = true; *hasResultType = true; break;
1806     case Op::OpSourceContinued: *hasResult = false; *hasResultType = false; break;
1807     case Op::OpSource: *hasResult = false; *hasResultType = false; break;
1808     case Op::OpSourceExtension: *hasResult = false; *hasResultType = false; break;
1809     case Op::OpName: *hasResult = false; *hasResultType = false; break;
1810     case Op::OpMemberName: *hasResult = false; *hasResultType = false; break;
1811     case Op::OpString: *hasResult = true; *hasResultType = false; break;
1812     case Op::OpLine: *hasResult = false; *hasResultType = false; break;
1813     case Op::OpExtension: *hasResult = false; *hasResultType = false; break;
1814     case Op::OpExtInstImport: *hasResult = true; *hasResultType = false; break;
1815     case Op::OpExtInst: *hasResult = true; *hasResultType = true; break;
1816     case Op::OpMemoryModel: *hasResult = false; *hasResultType = false; break;
1817     case Op::OpEntryPoint: *hasResult = false; *hasResultType = false; break;
1818     case Op::OpExecutionMode: *hasResult = false; *hasResultType = false; break;
1819     case Op::OpCapability: *hasResult = false; *hasResultType = false; break;
1820     case Op::OpTypeVoid: *hasResult = true; *hasResultType = false; break;
1821     case Op::OpTypeBool: *hasResult = true; *hasResultType = false; break;
1822     case Op::OpTypeInt: *hasResult = true; *hasResultType = false; break;
1823     case Op::OpTypeFloat: *hasResult = true; *hasResultType = false; break;
1824     case Op::OpTypeVector: *hasResult = true; *hasResultType = false; break;
1825     case Op::OpTypeMatrix: *hasResult = true; *hasResultType = false; break;
1826     case Op::OpTypeImage: *hasResult = true; *hasResultType = false; break;
1827     case Op::OpTypeSampler: *hasResult = true; *hasResultType = false; break;
1828     case Op::OpTypeSampledImage: *hasResult = true; *hasResultType = false; break;
1829     case Op::OpTypeArray: *hasResult = true; *hasResultType = false; break;
1830     case Op::OpTypeRuntimeArray: *hasResult = true; *hasResultType = false; break;
1831     case Op::OpTypeStruct: *hasResult = true; *hasResultType = false; break;
1832     case Op::OpTypeOpaque: *hasResult = true; *hasResultType = false; break;
1833     case Op::OpTypePointer: *hasResult = true; *hasResultType = false; break;
1834     case Op::OpTypeFunction: *hasResult = true; *hasResultType = false; break;
1835     case Op::OpTypeEvent: *hasResult = true; *hasResultType = false; break;
1836     case Op::OpTypeDeviceEvent: *hasResult = true; *hasResultType = false; break;
1837     case Op::OpTypeReserveId: *hasResult = true; *hasResultType = false; break;
1838     case Op::OpTypeQueue: *hasResult = true; *hasResultType = false; break;
1839     case Op::OpTypePipe: *hasResult = true; *hasResultType = false; break;
1840     case Op::OpTypeForwardPointer: *hasResult = false; *hasResultType = false; break;
1841     case Op::OpConstantTrue: *hasResult = true; *hasResultType = true; break;
1842     case Op::OpConstantFalse: *hasResult = true; *hasResultType = true; break;
1843     case Op::OpConstant: *hasResult = true; *hasResultType = true; break;
1844     case Op::OpConstantComposite: *hasResult = true; *hasResultType = true; break;
1845     case Op::OpConstantSampler: *hasResult = true; *hasResultType = true; break;
1846     case Op::OpConstantNull: *hasResult = true; *hasResultType = true; break;
1847     case Op::OpSpecConstantTrue: *hasResult = true; *hasResultType = true; break;
1848     case Op::OpSpecConstantFalse: *hasResult = true; *hasResultType = true; break;
1849     case Op::OpSpecConstant: *hasResult = true; *hasResultType = true; break;
1850     case Op::OpSpecConstantComposite: *hasResult = true; *hasResultType = true; break;
1851     case Op::OpSpecConstantOp: *hasResult = true; *hasResultType = true; break;
1852     case Op::OpFunction: *hasResult = true; *hasResultType = true; break;
1853     case Op::OpFunctionParameter: *hasResult = true; *hasResultType = true; break;
1854     case Op::OpFunctionEnd: *hasResult = false; *hasResultType = false; break;
1855     case Op::OpFunctionCall: *hasResult = true; *hasResultType = true; break;
1856     case Op::OpVariable: *hasResult = true; *hasResultType = true; break;
1857     case Op::OpImageTexelPointer: *hasResult = true; *hasResultType = true; break;
1858     case Op::OpLoad: *hasResult = true; *hasResultType = true; break;
1859     case Op::OpStore: *hasResult = false; *hasResultType = false; break;
1860     case Op::OpCopyMemory: *hasResult = false; *hasResultType = false; break;
1861     case Op::OpCopyMemorySized: *hasResult = false; *hasResultType = false; break;
1862     case Op::OpAccessChain: *hasResult = true; *hasResultType = true; break;
1863     case Op::OpInBoundsAccessChain: *hasResult = true; *hasResultType = true; break;
1864     case Op::OpPtrAccessChain: *hasResult = true; *hasResultType = true; break;
1865     case Op::OpArrayLength: *hasResult = true; *hasResultType = true; break;
1866     case Op::OpGenericPtrMemSemantics: *hasResult = true; *hasResultType = true; break;
1867     case Op::OpInBoundsPtrAccessChain: *hasResult = true; *hasResultType = true; break;
1868     case Op::OpDecorate: *hasResult = false; *hasResultType = false; break;
1869     case Op::OpMemberDecorate: *hasResult = false; *hasResultType = false; break;
1870     case Op::OpDecorationGroup: *hasResult = true; *hasResultType = false; break;
1871     case Op::OpGroupDecorate: *hasResult = false; *hasResultType = false; break;
1872     case Op::OpGroupMemberDecorate: *hasResult = false; *hasResultType = false; break;
1873     case Op::OpVectorExtractDynamic: *hasResult = true; *hasResultType = true; break;
1874     case Op::OpVectorInsertDynamic: *hasResult = true; *hasResultType = true; break;
1875     case Op::OpVectorShuffle: *hasResult = true; *hasResultType = true; break;
1876     case Op::OpCompositeConstruct: *hasResult = true; *hasResultType = true; break;
1877     case Op::OpCompositeExtract: *hasResult = true; *hasResultType = true; break;
1878     case Op::OpCompositeInsert: *hasResult = true; *hasResultType = true; break;
1879     case Op::OpCopyObject: *hasResult = true; *hasResultType = true; break;
1880     case Op::OpTranspose: *hasResult = true; *hasResultType = true; break;
1881     case Op::OpSampledImage: *hasResult = true; *hasResultType = true; break;
1882     case Op::OpImageSampleImplicitLod: *hasResult = true; *hasResultType = true; break;
1883     case Op::OpImageSampleExplicitLod: *hasResult = true; *hasResultType = true; break;
1884     case Op::OpImageSampleDrefImplicitLod: *hasResult = true; *hasResultType = true; break;
1885     case Op::OpImageSampleDrefExplicitLod: *hasResult = true; *hasResultType = true; break;
1886     case Op::OpImageSampleProjImplicitLod: *hasResult = true; *hasResultType = true; break;
1887     case Op::OpImageSampleProjExplicitLod: *hasResult = true; *hasResultType = true; break;
1888     case Op::OpImageSampleProjDrefImplicitLod: *hasResult = true; *hasResultType = true; break;
1889     case Op::OpImageSampleProjDrefExplicitLod: *hasResult = true; *hasResultType = true; break;
1890     case Op::OpImageFetch: *hasResult = true; *hasResultType = true; break;
1891     case Op::OpImageGather: *hasResult = true; *hasResultType = true; break;
1892     case Op::OpImageDrefGather: *hasResult = true; *hasResultType = true; break;
1893     case Op::OpImageRead: *hasResult = true; *hasResultType = true; break;
1894     case Op::OpImageWrite: *hasResult = false; *hasResultType = false; break;
1895     case Op::OpImage: *hasResult = true; *hasResultType = true; break;
1896     case Op::OpImageQueryFormat: *hasResult = true; *hasResultType = true; break;
1897     case Op::OpImageQueryOrder: *hasResult = true; *hasResultType = true; break;
1898     case Op::OpImageQuerySizeLod: *hasResult = true; *hasResultType = true; break;
1899     case Op::OpImageQuerySize: *hasResult = true; *hasResultType = true; break;
1900     case Op::OpImageQueryLod: *hasResult = true; *hasResultType = true; break;
1901     case Op::OpImageQueryLevels: *hasResult = true; *hasResultType = true; break;
1902     case Op::OpImageQuerySamples: *hasResult = true; *hasResultType = true; break;
1903     case Op::OpConvertFToU: *hasResult = true; *hasResultType = true; break;
1904     case Op::OpConvertFToS: *hasResult = true; *hasResultType = true; break;
1905     case Op::OpConvertSToF: *hasResult = true; *hasResultType = true; break;
1906     case Op::OpConvertUToF: *hasResult = true; *hasResultType = true; break;
1907     case Op::OpUConvert: *hasResult = true; *hasResultType = true; break;
1908     case Op::OpSConvert: *hasResult = true; *hasResultType = true; break;
1909     case Op::OpFConvert: *hasResult = true; *hasResultType = true; break;
1910     case Op::OpQuantizeToF16: *hasResult = true; *hasResultType = true; break;
1911     case Op::OpConvertPtrToU: *hasResult = true; *hasResultType = true; break;
1912     case Op::OpSatConvertSToU: *hasResult = true; *hasResultType = true; break;
1913     case Op::OpSatConvertUToS: *hasResult = true; *hasResultType = true; break;
1914     case Op::OpConvertUToPtr: *hasResult = true; *hasResultType = true; break;
1915     case Op::OpPtrCastToGeneric: *hasResult = true; *hasResultType = true; break;
1916     case Op::OpGenericCastToPtr: *hasResult = true; *hasResultType = true; break;
1917     case Op::OpGenericCastToPtrExplicit: *hasResult = true; *hasResultType = true; break;
1918     case Op::OpBitcast: *hasResult = true; *hasResultType = true; break;
1919     case Op::OpSNegate: *hasResult = true; *hasResultType = true; break;
1920     case Op::OpFNegate: *hasResult = true; *hasResultType = true; break;
1921     case Op::OpIAdd: *hasResult = true; *hasResultType = true; break;
1922     case Op::OpFAdd: *hasResult = true; *hasResultType = true; break;
1923     case Op::OpISub: *hasResult = true; *hasResultType = true; break;
1924     case Op::OpFSub: *hasResult = true; *hasResultType = true; break;
1925     case Op::OpIMul: *hasResult = true; *hasResultType = true; break;
1926     case Op::OpFMul: *hasResult = true; *hasResultType = true; break;
1927     case Op::OpUDiv: *hasResult = true; *hasResultType = true; break;
1928     case Op::OpSDiv: *hasResult = true; *hasResultType = true; break;
1929     case Op::OpFDiv: *hasResult = true; *hasResultType = true; break;
1930     case Op::OpUMod: *hasResult = true; *hasResultType = true; break;
1931     case Op::OpSRem: *hasResult = true; *hasResultType = true; break;
1932     case Op::OpSMod: *hasResult = true; *hasResultType = true; break;
1933     case Op::OpFRem: *hasResult = true; *hasResultType = true; break;
1934     case Op::OpFMod: *hasResult = true; *hasResultType = true; break;
1935     case Op::OpVectorTimesScalar: *hasResult = true; *hasResultType = true; break;
1936     case Op::OpMatrixTimesScalar: *hasResult = true; *hasResultType = true; break;
1937     case Op::OpVectorTimesMatrix: *hasResult = true; *hasResultType = true; break;
1938     case Op::OpMatrixTimesVector: *hasResult = true; *hasResultType = true; break;
1939     case Op::OpMatrixTimesMatrix: *hasResult = true; *hasResultType = true; break;
1940     case Op::OpOuterProduct: *hasResult = true; *hasResultType = true; break;
1941     case Op::OpDot: *hasResult = true; *hasResultType = true; break;
1942     case Op::OpIAddCarry: *hasResult = true; *hasResultType = true; break;
1943     case Op::OpISubBorrow: *hasResult = true; *hasResultType = true; break;
1944     case Op::OpUMulExtended: *hasResult = true; *hasResultType = true; break;
1945     case Op::OpSMulExtended: *hasResult = true; *hasResultType = true; break;
1946     case Op::OpAny: *hasResult = true; *hasResultType = true; break;
1947     case Op::OpAll: *hasResult = true; *hasResultType = true; break;
1948     case Op::OpIsNan: *hasResult = true; *hasResultType = true; break;
1949     case Op::OpIsInf: *hasResult = true; *hasResultType = true; break;
1950     case Op::OpIsFinite: *hasResult = true; *hasResultType = true; break;
1951     case Op::OpIsNormal: *hasResult = true; *hasResultType = true; break;
1952     case Op::OpSignBitSet: *hasResult = true; *hasResultType = true; break;
1953     case Op::OpLessOrGreater: *hasResult = true; *hasResultType = true; break;
1954     case Op::OpOrdered: *hasResult = true; *hasResultType = true; break;
1955     case Op::OpUnordered: *hasResult = true; *hasResultType = true; break;
1956     case Op::OpLogicalEqual: *hasResult = true; *hasResultType = true; break;
1957     case Op::OpLogicalNotEqual: *hasResult = true; *hasResultType = true; break;
1958     case Op::OpLogicalOr: *hasResult = true; *hasResultType = true; break;
1959     case Op::OpLogicalAnd: *hasResult = true; *hasResultType = true; break;
1960     case Op::OpLogicalNot: *hasResult = true; *hasResultType = true; break;
1961     case Op::OpSelect: *hasResult = true; *hasResultType = true; break;
1962     case Op::OpIEqual: *hasResult = true; *hasResultType = true; break;
1963     case Op::OpINotEqual: *hasResult = true; *hasResultType = true; break;
1964     case Op::OpUGreaterThan: *hasResult = true; *hasResultType = true; break;
1965     case Op::OpSGreaterThan: *hasResult = true; *hasResultType = true; break;
1966     case Op::OpUGreaterThanEqual: *hasResult = true; *hasResultType = true; break;
1967     case Op::OpSGreaterThanEqual: *hasResult = true; *hasResultType = true; break;
1968     case Op::OpULessThan: *hasResult = true; *hasResultType = true; break;
1969     case Op::OpSLessThan: *hasResult = true; *hasResultType = true; break;
1970     case Op::OpULessThanEqual: *hasResult = true; *hasResultType = true; break;
1971     case Op::OpSLessThanEqual: *hasResult = true; *hasResultType = true; break;
1972     case Op::OpFOrdEqual: *hasResult = true; *hasResultType = true; break;
1973     case Op::OpFUnordEqual: *hasResult = true; *hasResultType = true; break;
1974     case Op::OpFOrdNotEqual: *hasResult = true; *hasResultType = true; break;
1975     case Op::OpFUnordNotEqual: *hasResult = true; *hasResultType = true; break;
1976     case Op::OpFOrdLessThan: *hasResult = true; *hasResultType = true; break;
1977     case Op::OpFUnordLessThan: *hasResult = true; *hasResultType = true; break;
1978     case Op::OpFOrdGreaterThan: *hasResult = true; *hasResultType = true; break;
1979     case Op::OpFUnordGreaterThan: *hasResult = true; *hasResultType = true; break;
1980     case Op::OpFOrdLessThanEqual: *hasResult = true; *hasResultType = true; break;
1981     case Op::OpFUnordLessThanEqual: *hasResult = true; *hasResultType = true; break;
1982     case Op::OpFOrdGreaterThanEqual: *hasResult = true; *hasResultType = true; break;
1983     case Op::OpFUnordGreaterThanEqual: *hasResult = true; *hasResultType = true; break;
1984     case Op::OpShiftRightLogical: *hasResult = true; *hasResultType = true; break;
1985     case Op::OpShiftRightArithmetic: *hasResult = true; *hasResultType = true; break;
1986     case Op::OpShiftLeftLogical: *hasResult = true; *hasResultType = true; break;
1987     case Op::OpBitwiseOr: *hasResult = true; *hasResultType = true; break;
1988     case Op::OpBitwiseXor: *hasResult = true; *hasResultType = true; break;
1989     case Op::OpBitwiseAnd: *hasResult = true; *hasResultType = true; break;
1990     case Op::OpNot: *hasResult = true; *hasResultType = true; break;
1991     case Op::OpBitFieldInsert: *hasResult = true; *hasResultType = true; break;
1992     case Op::OpBitFieldSExtract: *hasResult = true; *hasResultType = true; break;
1993     case Op::OpBitFieldUExtract: *hasResult = true; *hasResultType = true; break;
1994     case Op::OpBitReverse: *hasResult = true; *hasResultType = true; break;
1995     case Op::OpBitCount: *hasResult = true; *hasResultType = true; break;
1996     case Op::OpDPdx: *hasResult = true; *hasResultType = true; break;
1997     case Op::OpDPdy: *hasResult = true; *hasResultType = true; break;
1998     case Op::OpFwidth: *hasResult = true; *hasResultType = true; break;
1999     case Op::OpDPdxFine: *hasResult = true; *hasResultType = true; break;
2000     case Op::OpDPdyFine: *hasResult = true; *hasResultType = true; break;
2001     case Op::OpFwidthFine: *hasResult = true; *hasResultType = true; break;
2002     case Op::OpDPdxCoarse: *hasResult = true; *hasResultType = true; break;
2003     case Op::OpDPdyCoarse: *hasResult = true; *hasResultType = true; break;
2004     case Op::OpFwidthCoarse: *hasResult = true; *hasResultType = true; break;
2005     case Op::OpEmitVertex: *hasResult = false; *hasResultType = false; break;
2006     case Op::OpEndPrimitive: *hasResult = false; *hasResultType = false; break;
2007     case Op::OpEmitStreamVertex: *hasResult = false; *hasResultType = false; break;
2008     case Op::OpEndStreamPrimitive: *hasResult = false; *hasResultType = false; break;
2009     case Op::OpControlBarrier: *hasResult = false; *hasResultType = false; break;
2010     case Op::OpMemoryBarrier: *hasResult = false; *hasResultType = false; break;
2011     case Op::OpAtomicLoad: *hasResult = true; *hasResultType = true; break;
2012     case Op::OpAtomicStore: *hasResult = false; *hasResultType = false; break;
2013     case Op::OpAtomicExchange: *hasResult = true; *hasResultType = true; break;
2014     case Op::OpAtomicCompareExchange: *hasResult = true; *hasResultType = true; break;
2015     case Op::OpAtomicCompareExchangeWeak: *hasResult = true; *hasResultType = true; break;
2016     case Op::OpAtomicIIncrement: *hasResult = true; *hasResultType = true; break;
2017     case Op::OpAtomicIDecrement: *hasResult = true; *hasResultType = true; break;
2018     case Op::OpAtomicIAdd: *hasResult = true; *hasResultType = true; break;
2019     case Op::OpAtomicISub: *hasResult = true; *hasResultType = true; break;
2020     case Op::OpAtomicSMin: *hasResult = true; *hasResultType = true; break;
2021     case Op::OpAtomicUMin: *hasResult = true; *hasResultType = true; break;
2022     case Op::OpAtomicSMax: *hasResult = true; *hasResultType = true; break;
2023     case Op::OpAtomicUMax: *hasResult = true; *hasResultType = true; break;
2024     case Op::OpAtomicAnd: *hasResult = true; *hasResultType = true; break;
2025     case Op::OpAtomicOr: *hasResult = true; *hasResultType = true; break;
2026     case Op::OpAtomicXor: *hasResult = true; *hasResultType = true; break;
2027     case Op::OpPhi: *hasResult = true; *hasResultType = true; break;
2028     case Op::OpLoopMerge: *hasResult = false; *hasResultType = false; break;
2029     case Op::OpSelectionMerge: *hasResult = false; *hasResultType = false; break;
2030     case Op::OpLabel: *hasResult = true; *hasResultType = false; break;
2031     case Op::OpBranch: *hasResult = false; *hasResultType = false; break;
2032     case Op::OpBranchConditional: *hasResult = false; *hasResultType = false; break;
2033     case Op::OpSwitch: *hasResult = false; *hasResultType = false; break;
2034     case Op::OpKill: *hasResult = false; *hasResultType = false; break;
2035     case Op::OpReturn: *hasResult = false; *hasResultType = false; break;
2036     case Op::OpReturnValue: *hasResult = false; *hasResultType = false; break;
2037     case Op::OpUnreachable: *hasResult = false; *hasResultType = false; break;
2038     case Op::OpLifetimeStart: *hasResult = false; *hasResultType = false; break;
2039     case Op::OpLifetimeStop: *hasResult = false; *hasResultType = false; break;
2040     case Op::OpGroupAsyncCopy: *hasResult = true; *hasResultType = true; break;
2041     case Op::OpGroupWaitEvents: *hasResult = false; *hasResultType = false; break;
2042     case Op::OpGroupAll: *hasResult = true; *hasResultType = true; break;
2043     case Op::OpGroupAny: *hasResult = true; *hasResultType = true; break;
2044     case Op::OpGroupBroadcast: *hasResult = true; *hasResultType = true; break;
2045     case Op::OpGroupIAdd: *hasResult = true; *hasResultType = true; break;
2046     case Op::OpGroupFAdd: *hasResult = true; *hasResultType = true; break;
2047     case Op::OpGroupFMin: *hasResult = true; *hasResultType = true; break;
2048     case Op::OpGroupUMin: *hasResult = true; *hasResultType = true; break;
2049     case Op::OpGroupSMin: *hasResult = true; *hasResultType = true; break;
2050     case Op::OpGroupFMax: *hasResult = true; *hasResultType = true; break;
2051     case Op::OpGroupUMax: *hasResult = true; *hasResultType = true; break;
2052     case Op::OpGroupSMax: *hasResult = true; *hasResultType = true; break;
2053     case Op::OpReadPipe: *hasResult = true; *hasResultType = true; break;
2054     case Op::OpWritePipe: *hasResult = true; *hasResultType = true; break;
2055     case Op::OpReservedReadPipe: *hasResult = true; *hasResultType = true; break;
2056     case Op::OpReservedWritePipe: *hasResult = true; *hasResultType = true; break;
2057     case Op::OpReserveReadPipePackets: *hasResult = true; *hasResultType = true; break;
2058     case Op::OpReserveWritePipePackets: *hasResult = true; *hasResultType = true; break;
2059     case Op::OpCommitReadPipe: *hasResult = false; *hasResultType = false; break;
2060     case Op::OpCommitWritePipe: *hasResult = false; *hasResultType = false; break;
2061     case Op::OpIsValidReserveId: *hasResult = true; *hasResultType = true; break;
2062     case Op::OpGetNumPipePackets: *hasResult = true; *hasResultType = true; break;
2063     case Op::OpGetMaxPipePackets: *hasResult = true; *hasResultType = true; break;
2064     case Op::OpGroupReserveReadPipePackets: *hasResult = true; *hasResultType = true; break;
2065     case Op::OpGroupReserveWritePipePackets: *hasResult = true; *hasResultType = true; break;
2066     case Op::OpGroupCommitReadPipe: *hasResult = false; *hasResultType = false; break;
2067     case Op::OpGroupCommitWritePipe: *hasResult = false; *hasResultType = false; break;
2068     case Op::OpEnqueueMarker: *hasResult = true; *hasResultType = true; break;
2069     case Op::OpEnqueueKernel: *hasResult = true; *hasResultType = true; break;
2070     case Op::OpGetKernelNDrangeSubGroupCount: *hasResult = true; *hasResultType = true; break;
2071     case Op::OpGetKernelNDrangeMaxSubGroupSize: *hasResult = true; *hasResultType = true; break;
2072     case Op::OpGetKernelWorkGroupSize: *hasResult = true; *hasResultType = true; break;
2073     case Op::OpGetKernelPreferredWorkGroupSizeMultiple: *hasResult = true; *hasResultType = true; break;
2074     case Op::OpRetainEvent: *hasResult = false; *hasResultType = false; break;
2075     case Op::OpReleaseEvent: *hasResult = false; *hasResultType = false; break;
2076     case Op::OpCreateUserEvent: *hasResult = true; *hasResultType = true; break;
2077     case Op::OpIsValidEvent: *hasResult = true; *hasResultType = true; break;
2078     case Op::OpSetUserEventStatus: *hasResult = false; *hasResultType = false; break;
2079     case Op::OpCaptureEventProfilingInfo: *hasResult = false; *hasResultType = false; break;
2080     case Op::OpGetDefaultQueue: *hasResult = true; *hasResultType = true; break;
2081     case Op::OpBuildNDRange: *hasResult = true; *hasResultType = true; break;
2082     case Op::OpImageSparseSampleImplicitLod: *hasResult = true; *hasResultType = true; break;
2083     case Op::OpImageSparseSampleExplicitLod: *hasResult = true; *hasResultType = true; break;
2084     case Op::OpImageSparseSampleDrefImplicitLod: *hasResult = true; *hasResultType = true; break;
2085     case Op::OpImageSparseSampleDrefExplicitLod: *hasResult = true; *hasResultType = true; break;
2086     case Op::OpImageSparseSampleProjImplicitLod: *hasResult = true; *hasResultType = true; break;
2087     case Op::OpImageSparseSampleProjExplicitLod: *hasResult = true; *hasResultType = true; break;
2088     case Op::OpImageSparseSampleProjDrefImplicitLod: *hasResult = true; *hasResultType = true; break;
2089     case Op::OpImageSparseSampleProjDrefExplicitLod: *hasResult = true; *hasResultType = true; break;
2090     case Op::OpImageSparseFetch: *hasResult = true; *hasResultType = true; break;
2091     case Op::OpImageSparseGather: *hasResult = true; *hasResultType = true; break;
2092     case Op::OpImageSparseDrefGather: *hasResult = true; *hasResultType = true; break;
2093     case Op::OpImageSparseTexelsResident: *hasResult = true; *hasResultType = true; break;
2094     case Op::OpNoLine: *hasResult = false; *hasResultType = false; break;
2095     case Op::OpAtomicFlagTestAndSet: *hasResult = true; *hasResultType = true; break;
2096     case Op::OpAtomicFlagClear: *hasResult = false; *hasResultType = false; break;
2097     case Op::OpImageSparseRead: *hasResult = true; *hasResultType = true; break;
2098     case Op::OpSizeOf: *hasResult = true; *hasResultType = true; break;
2099     case Op::OpTypePipeStorage: *hasResult = true; *hasResultType = false; break;
2100     case Op::OpConstantPipeStorage: *hasResult = true; *hasResultType = true; break;
2101     case Op::OpCreatePipeFromPipeStorage: *hasResult = true; *hasResultType = true; break;
2102     case Op::OpGetKernelLocalSizeForSubgroupCount: *hasResult = true; *hasResultType = true; break;
2103     case Op::OpGetKernelMaxNumSubgroups: *hasResult = true; *hasResultType = true; break;
2104     case Op::OpTypeNamedBarrier: *hasResult = true; *hasResultType = false; break;
2105     case Op::OpNamedBarrierInitialize: *hasResult = true; *hasResultType = true; break;
2106     case Op::OpMemoryNamedBarrier: *hasResult = false; *hasResultType = false; break;
2107     case Op::OpModuleProcessed: *hasResult = false; *hasResultType = false; break;
2108     case Op::OpExecutionModeId: *hasResult = false; *hasResultType = false; break;
2109     case Op::OpDecorateId: *hasResult = false; *hasResultType = false; break;
2110     case Op::OpGroupNonUniformElect: *hasResult = true; *hasResultType = true; break;
2111     case Op::OpGroupNonUniformAll: *hasResult = true; *hasResultType = true; break;
2112     case Op::OpGroupNonUniformAny: *hasResult = true; *hasResultType = true; break;
2113     case Op::OpGroupNonUniformAllEqual: *hasResult = true; *hasResultType = true; break;
2114     case Op::OpGroupNonUniformBroadcast: *hasResult = true; *hasResultType = true; break;
2115     case Op::OpGroupNonUniformBroadcastFirst: *hasResult = true; *hasResultType = true; break;
2116     case Op::OpGroupNonUniformBallot: *hasResult = true; *hasResultType = true; break;
2117     case Op::OpGroupNonUniformInverseBallot: *hasResult = true; *hasResultType = true; break;
2118     case Op::OpGroupNonUniformBallotBitExtract: *hasResult = true; *hasResultType = true; break;
2119     case Op::OpGroupNonUniformBallotBitCount: *hasResult = true; *hasResultType = true; break;
2120     case Op::OpGroupNonUniformBallotFindLSB: *hasResult = true; *hasResultType = true; break;
2121     case Op::OpGroupNonUniformBallotFindMSB: *hasResult = true; *hasResultType = true; break;
2122     case Op::OpGroupNonUniformShuffle: *hasResult = true; *hasResultType = true; break;
2123     case Op::OpGroupNonUniformShuffleXor: *hasResult = true; *hasResultType = true; break;
2124     case Op::OpGroupNonUniformShuffleUp: *hasResult = true; *hasResultType = true; break;
2125     case Op::OpGroupNonUniformShuffleDown: *hasResult = true; *hasResultType = true; break;
2126     case Op::OpGroupNonUniformIAdd: *hasResult = true; *hasResultType = true; break;
2127     case Op::OpGroupNonUniformFAdd: *hasResult = true; *hasResultType = true; break;
2128     case Op::OpGroupNonUniformIMul: *hasResult = true; *hasResultType = true; break;
2129     case Op::OpGroupNonUniformFMul: *hasResult = true; *hasResultType = true; break;
2130     case Op::OpGroupNonUniformSMin: *hasResult = true; *hasResultType = true; break;
2131     case Op::OpGroupNonUniformUMin: *hasResult = true; *hasResultType = true; break;
2132     case Op::OpGroupNonUniformFMin: *hasResult = true; *hasResultType = true; break;
2133     case Op::OpGroupNonUniformSMax: *hasResult = true; *hasResultType = true; break;
2134     case Op::OpGroupNonUniformUMax: *hasResult = true; *hasResultType = true; break;
2135     case Op::OpGroupNonUniformFMax: *hasResult = true; *hasResultType = true; break;
2136     case Op::OpGroupNonUniformBitwiseAnd: *hasResult = true; *hasResultType = true; break;
2137     case Op::OpGroupNonUniformBitwiseOr: *hasResult = true; *hasResultType = true; break;
2138     case Op::OpGroupNonUniformBitwiseXor: *hasResult = true; *hasResultType = true; break;
2139     case Op::OpGroupNonUniformLogicalAnd: *hasResult = true; *hasResultType = true; break;
2140     case Op::OpGroupNonUniformLogicalOr: *hasResult = true; *hasResultType = true; break;
2141     case Op::OpGroupNonUniformLogicalXor: *hasResult = true; *hasResultType = true; break;
2142     case Op::OpGroupNonUniformQuadBroadcast: *hasResult = true; *hasResultType = true; break;
2143     case Op::OpGroupNonUniformQuadSwap: *hasResult = true; *hasResultType = true; break;
2144     case Op::OpCopyLogical: *hasResult = true; *hasResultType = true; break;
2145     case Op::OpPtrEqual: *hasResult = true; *hasResultType = true; break;
2146     case Op::OpPtrNotEqual: *hasResult = true; *hasResultType = true; break;
2147     case Op::OpPtrDiff: *hasResult = true; *hasResultType = true; break;
2148     case Op::OpTerminateInvocation: *hasResult = false; *hasResultType = false; break;
2149     case Op::OpSubgroupBallotKHR: *hasResult = true; *hasResultType = true; break;
2150     case Op::OpSubgroupFirstInvocationKHR: *hasResult = true; *hasResultType = true; break;
2151     case Op::OpSubgroupAllKHR: *hasResult = true; *hasResultType = true; break;
2152     case Op::OpSubgroupAnyKHR: *hasResult = true; *hasResultType = true; break;
2153     case Op::OpSubgroupAllEqualKHR: *hasResult = true; *hasResultType = true; break;
2154     case Op::OpSubgroupReadInvocationKHR: *hasResult = true; *hasResultType = true; break;
2155     case Op::OpTraceRayKHR: *hasResult = false; *hasResultType = false; break;
2156     case Op::OpExecuteCallableKHR: *hasResult = false; *hasResultType = false; break;
2157     case Op::OpConvertUToAccelerationStructureKHR: *hasResult = true; *hasResultType = true; break;
2158     case Op::OpIgnoreIntersectionKHR: *hasResult = false; *hasResultType = false; break;
2159     case Op::OpTerminateRayKHR: *hasResult = false; *hasResultType = false; break;
2160     case Op::OpSDotKHR: *hasResult = true; *hasResultType = true; break;
2161     case Op::OpUDotKHR: *hasResult = true; *hasResultType = true; break;
2162     case Op::OpSUDotKHR: *hasResult = true; *hasResultType = true; break;
2163     case Op::OpSDotAccSatKHR: *hasResult = true; *hasResultType = true; break;
2164     case Op::OpUDotAccSatKHR: *hasResult = true; *hasResultType = true; break;
2165     case Op::OpSUDotAccSatKHR: *hasResult = true; *hasResultType = true; break;
2166     case Op::OpTypeRayQueryKHR: *hasResult = true; *hasResultType = false; break;
2167     case Op::OpRayQueryInitializeKHR: *hasResult = false; *hasResultType = false; break;
2168     case Op::OpRayQueryTerminateKHR: *hasResult = false; *hasResultType = false; break;
2169     case Op::OpRayQueryGenerateIntersectionKHR: *hasResult = false; *hasResultType = false; break;
2170     case Op::OpRayQueryConfirmIntersectionKHR: *hasResult = false; *hasResultType = false; break;
2171     case Op::OpRayQueryProceedKHR: *hasResult = true; *hasResultType = true; break;
2172     case Op::OpRayQueryGetIntersectionTypeKHR: *hasResult = true; *hasResultType = true; break;
2173     case Op::OpGroupIAddNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2174     case Op::OpGroupFAddNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2175     case Op::OpGroupFMinNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2176     case Op::OpGroupUMinNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2177     case Op::OpGroupSMinNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2178     case Op::OpGroupFMaxNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2179     case Op::OpGroupUMaxNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2180     case Op::OpGroupSMaxNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2181     case Op::OpFragmentMaskFetchAMD: *hasResult = true; *hasResultType = true; break;
2182     case Op::OpFragmentFetchAMD: *hasResult = true; *hasResultType = true; break;
2183     case Op::OpReadClockKHR: *hasResult = true; *hasResultType = true; break;
2184     case Op::OpImageSampleFootprintNV: *hasResult = true; *hasResultType = true; break;
2185     case Op::OpGroupNonUniformPartitionNV: *hasResult = true; *hasResultType = true; break;
2186     case Op::OpWritePackedPrimitiveIndices4x8NV: *hasResult = false; *hasResultType = false; break;
2187     case Op::OpReportIntersectionNV: *hasResult = true; *hasResultType = true; break;
2188     case Op::OpIgnoreIntersectionNV: *hasResult = false; *hasResultType = false; break;
2189     case Op::OpTerminateRayNV: *hasResult = false; *hasResultType = false; break;
2190     case Op::OpTraceNV: *hasResult = false; *hasResultType = false; break;
2191     case Op::OpTypeAccelerationStructureNV: *hasResult = true; *hasResultType = false; break;
2192     case Op::OpExecuteCallableNV: *hasResult = false; *hasResultType = false; break;
2193     case Op::OpTypeCooperativeMatrixNV: *hasResult = true; *hasResultType = false; break;
2194     case Op::OpCooperativeMatrixLoadNV: *hasResult = true; *hasResultType = true; break;
2195     case Op::OpCooperativeMatrixStoreNV: *hasResult = false; *hasResultType = false; break;
2196     case Op::OpCooperativeMatrixMulAddNV: *hasResult = true; *hasResultType = true; break;
2197     case Op::OpCooperativeMatrixLengthNV: *hasResult = true; *hasResultType = true; break;
2198     case Op::OpBeginInvocationInterlockEXT: *hasResult = false; *hasResultType = false; break;
2199     case Op::OpEndInvocationInterlockEXT: *hasResult = false; *hasResultType = false; break;
2200     case Op::OpDemoteToHelperInvocationEXT: *hasResult = false; *hasResultType = false; break;
2201     case Op::OpIsHelperInvocationEXT: *hasResult = true; *hasResultType = true; break;
2202     case Op::OpSubgroupShuffleINTEL: *hasResult = true; *hasResultType = true; break;
2203     case Op::OpSubgroupShuffleDownINTEL: *hasResult = true; *hasResultType = true; break;
2204     case Op::OpSubgroupShuffleUpINTEL: *hasResult = true; *hasResultType = true; break;
2205     case Op::OpSubgroupShuffleXorINTEL: *hasResult = true; *hasResultType = true; break;
2206     case Op::OpSubgroupBlockReadINTEL: *hasResult = true; *hasResultType = true; break;
2207     case Op::OpSubgroupBlockWriteINTEL: *hasResult = false; *hasResultType = false; break;
2208     case Op::OpSubgroupImageBlockReadINTEL: *hasResult = true; *hasResultType = true; break;
2209     case Op::OpSubgroupImageBlockWriteINTEL: *hasResult = false; *hasResultType = false; break;
2210     case Op::OpSubgroupImageMediaBlockReadINTEL: *hasResult = true; *hasResultType = true; break;
2211     case Op::OpSubgroupImageMediaBlockWriteINTEL: *hasResult = false; *hasResultType = false; break;
2212     case Op::OpUCountLeadingZerosINTEL: *hasResult = true; *hasResultType = true; break;
2213     case Op::OpUCountTrailingZerosINTEL: *hasResult = true; *hasResultType = true; break;
2214     case Op::OpAbsISubINTEL: *hasResult = true; *hasResultType = true; break;
2215     case Op::OpAbsUSubINTEL: *hasResult = true; *hasResultType = true; break;
2216     case Op::OpIAddSatINTEL: *hasResult = true; *hasResultType = true; break;
2217     case Op::OpUAddSatINTEL: *hasResult = true; *hasResultType = true; break;
2218     case Op::OpIAverageINTEL: *hasResult = true; *hasResultType = true; break;
2219     case Op::OpUAverageINTEL: *hasResult = true; *hasResultType = true; break;
2220     case Op::OpIAverageRoundedINTEL: *hasResult = true; *hasResultType = true; break;
2221     case Op::OpUAverageRoundedINTEL: *hasResult = true; *hasResultType = true; break;
2222     case Op::OpISubSatINTEL: *hasResult = true; *hasResultType = true; break;
2223     case Op::OpUSubSatINTEL: *hasResult = true; *hasResultType = true; break;
2224     case Op::OpIMul32x16INTEL: *hasResult = true; *hasResultType = true; break;
2225     case Op::OpUMul32x16INTEL: *hasResult = true; *hasResultType = true; break;
2226     case Op::OpConstFunctionPointerINTEL: *hasResult = true; *hasResultType = true; break;
2227     case Op::OpFunctionPointerCallINTEL: *hasResult = true; *hasResultType = true; break;
2228     case Op::OpAsmTargetINTEL: *hasResult = true; *hasResultType = true; break;
2229     case Op::OpAsmINTEL: *hasResult = true; *hasResultType = true; break;
2230     case Op::OpAsmCallINTEL: *hasResult = true; *hasResultType = true; break;
2231     case Op::OpAtomicFMinEXT: *hasResult = true; *hasResultType = true; break;
2232     case Op::OpAtomicFMaxEXT: *hasResult = true; *hasResultType = true; break;
2233     case Op::OpAssumeTrueKHR: *hasResult = false; *hasResultType = false; break;
2234     case Op::OpExpectKHR: *hasResult = true; *hasResultType = true; break;
2235     case Op::OpDecorateString: *hasResult = false; *hasResultType = false; break;
2236     case Op::OpMemberDecorateString: *hasResult = false; *hasResultType = false; break;
2237     case Op::OpVmeImageINTEL: *hasResult = true; *hasResultType = true; break;
2238     case Op::OpTypeVmeImageINTEL: *hasResult = true; *hasResultType = false; break;
2239     case Op::OpTypeAvcImePayloadINTEL: *hasResult = true; *hasResultType = false; break;
2240     case Op::OpTypeAvcRefPayloadINTEL: *hasResult = true; *hasResultType = false; break;
2241     case Op::OpTypeAvcSicPayloadINTEL: *hasResult = true; *hasResultType = false; break;
2242     case Op::OpTypeAvcMcePayloadINTEL: *hasResult = true; *hasResultType = false; break;
2243     case Op::OpTypeAvcMceResultINTEL: *hasResult = true; *hasResultType = false; break;
2244     case Op::OpTypeAvcImeResultINTEL: *hasResult = true; *hasResultType = false; break;
2245     case Op::OpTypeAvcImeResultSingleReferenceStreamoutINTEL: *hasResult = true; *hasResultType = false; break;
2246     case Op::OpTypeAvcImeResultDualReferenceStreamoutINTEL: *hasResult = true; *hasResultType = false; break;
2247     case Op::OpTypeAvcImeSingleReferenceStreaminINTEL: *hasResult = true; *hasResultType = false; break;
2248     case Op::OpTypeAvcImeDualReferenceStreaminINTEL: *hasResult = true; *hasResultType = false; break;
2249     case Op::OpTypeAvcRefResultINTEL: *hasResult = true; *hasResultType = false; break;
2250     case Op::OpTypeAvcSicResultINTEL: *hasResult = true; *hasResultType = false; break;
2251     case Op::OpSubgroupAvcMceGetDefaultInterBaseMultiReferencePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2252     case Op::OpSubgroupAvcMceSetInterBaseMultiReferencePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2253     case Op::OpSubgroupAvcMceGetDefaultInterShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2254     case Op::OpSubgroupAvcMceSetInterShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2255     case Op::OpSubgroupAvcMceGetDefaultInterDirectionPenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2256     case Op::OpSubgroupAvcMceSetInterDirectionPenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2257     case Op::OpSubgroupAvcMceGetDefaultIntraLumaShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2258     case Op::OpSubgroupAvcMceGetDefaultInterMotionVectorCostTableINTEL: *hasResult = true; *hasResultType = true; break;
2259     case Op::OpSubgroupAvcMceGetDefaultHighPenaltyCostTableINTEL: *hasResult = true; *hasResultType = true; break;
2260     case Op::OpSubgroupAvcMceGetDefaultMediumPenaltyCostTableINTEL: *hasResult = true; *hasResultType = true; break;
2261     case Op::OpSubgroupAvcMceGetDefaultLowPenaltyCostTableINTEL: *hasResult = true; *hasResultType = true; break;
2262     case Op::OpSubgroupAvcMceSetMotionVectorCostFunctionINTEL: *hasResult = true; *hasResultType = true; break;
2263     case Op::OpSubgroupAvcMceGetDefaultIntraLumaModePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2264     case Op::OpSubgroupAvcMceGetDefaultNonDcLumaIntraPenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2265     case Op::OpSubgroupAvcMceGetDefaultIntraChromaModeBasePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2266     case Op::OpSubgroupAvcMceSetAcOnlyHaarINTEL: *hasResult = true; *hasResultType = true; break;
2267     case Op::OpSubgroupAvcMceSetSourceInterlacedFieldPolarityINTEL: *hasResult = true; *hasResultType = true; break;
2268     case Op::OpSubgroupAvcMceSetSingleReferenceInterlacedFieldPolarityINTEL: *hasResult = true; *hasResultType = true; break;
2269     case Op::OpSubgroupAvcMceSetDualReferenceInterlacedFieldPolaritiesINTEL: *hasResult = true; *hasResultType = true; break;
2270     case Op::OpSubgroupAvcMceConvertToImePayloadINTEL: *hasResult = true; *hasResultType = true; break;
2271     case Op::OpSubgroupAvcMceConvertToImeResultINTEL: *hasResult = true; *hasResultType = true; break;
2272     case Op::OpSubgroupAvcMceConvertToRefPayloadINTEL: *hasResult = true; *hasResultType = true; break;
2273     case Op::OpSubgroupAvcMceConvertToRefResultINTEL: *hasResult = true; *hasResultType = true; break;
2274     case Op::OpSubgroupAvcMceConvertToSicPayloadINTEL: *hasResult = true; *hasResultType = true; break;
2275     case Op::OpSubgroupAvcMceConvertToSicResultINTEL: *hasResult = true; *hasResultType = true; break;
2276     case Op::OpSubgroupAvcMceGetMotionVectorsINTEL: *hasResult = true; *hasResultType = true; break;
2277     case Op::OpSubgroupAvcMceGetInterDistortionsINTEL: *hasResult = true; *hasResultType = true; break;
2278     case Op::OpSubgroupAvcMceGetBestInterDistortionsINTEL: *hasResult = true; *hasResultType = true; break;
2279     case Op::OpSubgroupAvcMceGetInterMajorShapeINTEL: *hasResult = true; *hasResultType = true; break;
2280     case Op::OpSubgroupAvcMceGetInterMinorShapeINTEL: *hasResult = true; *hasResultType = true; break;
2281     case Op::OpSubgroupAvcMceGetInterDirectionsINTEL: *hasResult = true; *hasResultType = true; break;
2282     case Op::OpSubgroupAvcMceGetInterMotionVectorCountINTEL: *hasResult = true; *hasResultType = true; break;
2283     case Op::OpSubgroupAvcMceGetInterReferenceIdsINTEL: *hasResult = true; *hasResultType = true; break;
2284     case Op::OpSubgroupAvcMceGetInterReferenceInterlacedFieldPolaritiesINTEL: *hasResult = true; *hasResultType = true; break;
2285     case Op::OpSubgroupAvcImeInitializeINTEL: *hasResult = true; *hasResultType = true; break;
2286     case Op::OpSubgroupAvcImeSetSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2287     case Op::OpSubgroupAvcImeSetDualReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2288     case Op::OpSubgroupAvcImeRefWindowSizeINTEL: *hasResult = true; *hasResultType = true; break;
2289     case Op::OpSubgroupAvcImeAdjustRefOffsetINTEL: *hasResult = true; *hasResultType = true; break;
2290     case Op::OpSubgroupAvcImeConvertToMcePayloadINTEL: *hasResult = true; *hasResultType = true; break;
2291     case Op::OpSubgroupAvcImeSetMaxMotionVectorCountINTEL: *hasResult = true; *hasResultType = true; break;
2292     case Op::OpSubgroupAvcImeSetUnidirectionalMixDisableINTEL: *hasResult = true; *hasResultType = true; break;
2293     case Op::OpSubgroupAvcImeSetEarlySearchTerminationThresholdINTEL: *hasResult = true; *hasResultType = true; break;
2294     case Op::OpSubgroupAvcImeSetWeightedSadINTEL: *hasResult = true; *hasResultType = true; break;
2295     case Op::OpSubgroupAvcImeEvaluateWithSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2296     case Op::OpSubgroupAvcImeEvaluateWithDualReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2297     case Op::OpSubgroupAvcImeEvaluateWithSingleReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break;
2298     case Op::OpSubgroupAvcImeEvaluateWithDualReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break;
2299     case Op::OpSubgroupAvcImeEvaluateWithSingleReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break;
2300     case Op::OpSubgroupAvcImeEvaluateWithDualReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break;
2301     case Op::OpSubgroupAvcImeEvaluateWithSingleReferenceStreaminoutINTEL: *hasResult = true; *hasResultType = true; break;
2302     case Op::OpSubgroupAvcImeEvaluateWithDualReferenceStreaminoutINTEL: *hasResult = true; *hasResultType = true; break;
2303     case Op::OpSubgroupAvcImeConvertToMceResultINTEL: *hasResult = true; *hasResultType = true; break;
2304     case Op::OpSubgroupAvcImeGetSingleReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break;
2305     case Op::OpSubgroupAvcImeGetDualReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break;
2306     case Op::OpSubgroupAvcImeStripSingleReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break;
2307     case Op::OpSubgroupAvcImeStripDualReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break;
2308     case Op::OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeMotionVectorsINTEL: *hasResult = true; *hasResultType = true; break;
2309     case Op::OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeDistortionsINTEL: *hasResult = true; *hasResultType = true; break;
2310     case Op::OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeReferenceIdsINTEL: *hasResult = true; *hasResultType = true; break;
2311     case Op::OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeMotionVectorsINTEL: *hasResult = true; *hasResultType = true; break;
2312     case Op::OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeDistortionsINTEL: *hasResult = true; *hasResultType = true; break;
2313     case Op::OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeReferenceIdsINTEL: *hasResult = true; *hasResultType = true; break;
2314     case Op::OpSubgroupAvcImeGetBorderReachedINTEL: *hasResult = true; *hasResultType = true; break;
2315     case Op::OpSubgroupAvcImeGetTruncatedSearchIndicationINTEL: *hasResult = true; *hasResultType = true; break;
2316     case Op::OpSubgroupAvcImeGetUnidirectionalEarlySearchTerminationINTEL: *hasResult = true; *hasResultType = true; break;
2317     case Op::OpSubgroupAvcImeGetWeightingPatternMinimumMotionVectorINTEL: *hasResult = true; *hasResultType = true; break;
2318     case Op::OpSubgroupAvcImeGetWeightingPatternMinimumDistortionINTEL: *hasResult = true; *hasResultType = true; break;
2319     case Op::OpSubgroupAvcFmeInitializeINTEL: *hasResult = true; *hasResultType = true; break;
2320     case Op::OpSubgroupAvcBmeInitializeINTEL: *hasResult = true; *hasResultType = true; break;
2321     case Op::OpSubgroupAvcRefConvertToMcePayloadINTEL: *hasResult = true; *hasResultType = true; break;
2322     case Op::OpSubgroupAvcRefSetBidirectionalMixDisableINTEL: *hasResult = true; *hasResultType = true; break;
2323     case Op::OpSubgroupAvcRefSetBilinearFilterEnableINTEL: *hasResult = true; *hasResultType = true; break;
2324     case Op::OpSubgroupAvcRefEvaluateWithSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2325     case Op::OpSubgroupAvcRefEvaluateWithDualReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2326     case Op::OpSubgroupAvcRefEvaluateWithMultiReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2327     case Op::OpSubgroupAvcRefEvaluateWithMultiReferenceInterlacedINTEL: *hasResult = true; *hasResultType = true; break;
2328     case Op::OpSubgroupAvcRefConvertToMceResultINTEL: *hasResult = true; *hasResultType = true; break;
2329     case Op::OpSubgroupAvcSicInitializeINTEL: *hasResult = true; *hasResultType = true; break;
2330     case Op::OpSubgroupAvcSicConfigureSkcINTEL: *hasResult = true; *hasResultType = true; break;
2331     case Op::OpSubgroupAvcSicConfigureIpeLumaINTEL: *hasResult = true; *hasResultType = true; break;
2332     case Op::OpSubgroupAvcSicConfigureIpeLumaChromaINTEL: *hasResult = true; *hasResultType = true; break;
2333     case Op::OpSubgroupAvcSicGetMotionVectorMaskINTEL: *hasResult = true; *hasResultType = true; break;
2334     case Op::OpSubgroupAvcSicConvertToMcePayloadINTEL: *hasResult = true; *hasResultType = true; break;
2335     case Op::OpSubgroupAvcSicSetIntraLumaShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2336     case Op::OpSubgroupAvcSicSetIntraLumaModeCostFunctionINTEL: *hasResult = true; *hasResultType = true; break;
2337     case Op::OpSubgroupAvcSicSetIntraChromaModeCostFunctionINTEL: *hasResult = true; *hasResultType = true; break;
2338     case Op::OpSubgroupAvcSicSetBilinearFilterEnableINTEL: *hasResult = true; *hasResultType = true; break;
2339     case Op::OpSubgroupAvcSicSetSkcForwardTransformEnableINTEL: *hasResult = true; *hasResultType = true; break;
2340     case Op::OpSubgroupAvcSicSetBlockBasedRawSkipSadINTEL: *hasResult = true; *hasResultType = true; break;
2341     case Op::OpSubgroupAvcSicEvaluateIpeINTEL: *hasResult = true; *hasResultType = true; break;
2342     case Op::OpSubgroupAvcSicEvaluateWithSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2343     case Op::OpSubgroupAvcSicEvaluateWithDualReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2344     case Op::OpSubgroupAvcSicEvaluateWithMultiReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2345     case Op::OpSubgroupAvcSicEvaluateWithMultiReferenceInterlacedINTEL: *hasResult = true; *hasResultType = true; break;
2346     case Op::OpSubgroupAvcSicConvertToMceResultINTEL: *hasResult = true; *hasResultType = true; break;
2347     case Op::OpSubgroupAvcSicGetIpeLumaShapeINTEL: *hasResult = true; *hasResultType = true; break;
2348     case Op::OpSubgroupAvcSicGetBestIpeLumaDistortionINTEL: *hasResult = true; *hasResultType = true; break;
2349     case Op::OpSubgroupAvcSicGetBestIpeChromaDistortionINTEL: *hasResult = true; *hasResultType = true; break;
2350     case Op::OpSubgroupAvcSicGetPackedIpeLumaModesINTEL: *hasResult = true; *hasResultType = true; break;
2351     case Op::OpSubgroupAvcSicGetIpeChromaModeINTEL: *hasResult = true; *hasResultType = true; break;
2352     case Op::OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL: *hasResult = true; *hasResultType = true; break;
2353     case Op::OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL: *hasResult = true; *hasResultType = true; break;
2354     case Op::OpSubgroupAvcSicGetInterRawSadsINTEL: *hasResult = true; *hasResultType = true; break;
2355     case Op::OpVariableLengthArrayINTEL: *hasResult = true; *hasResultType = true; break;
2356     case Op::OpSaveMemoryINTEL: *hasResult = true; *hasResultType = true; break;
2357     case Op::OpRestoreMemoryINTEL: *hasResult = false; *hasResultType = false; break;
2358     case Op::OpArbitraryFloatSinCosPiINTEL: *hasResult = true; *hasResultType = true; break;
2359     case Op::OpArbitraryFloatCastINTEL: *hasResult = true; *hasResultType = true; break;
2360     case Op::OpArbitraryFloatCastFromIntINTEL: *hasResult = true; *hasResultType = true; break;
2361     case Op::OpArbitraryFloatCastToIntINTEL: *hasResult = true; *hasResultType = true; break;
2362     case Op::OpArbitraryFloatAddINTEL: *hasResult = true; *hasResultType = true; break;
2363     case Op::OpArbitraryFloatSubINTEL: *hasResult = true; *hasResultType = true; break;
2364     case Op::OpArbitraryFloatMulINTEL: *hasResult = true; *hasResultType = true; break;
2365     case Op::OpArbitraryFloatDivINTEL: *hasResult = true; *hasResultType = true; break;
2366     case Op::OpArbitraryFloatGTINTEL: *hasResult = true; *hasResultType = true; break;
2367     case Op::OpArbitraryFloatGEINTEL: *hasResult = true; *hasResultType = true; break;
2368     case Op::OpArbitraryFloatLTINTEL: *hasResult = true; *hasResultType = true; break;
2369     case Op::OpArbitraryFloatLEINTEL: *hasResult = true; *hasResultType = true; break;
2370     case Op::OpArbitraryFloatEQINTEL: *hasResult = true; *hasResultType = true; break;
2371     case Op::OpArbitraryFloatRecipINTEL: *hasResult = true; *hasResultType = true; break;
2372     case Op::OpArbitraryFloatRSqrtINTEL: *hasResult = true; *hasResultType = true; break;
2373     case Op::OpArbitraryFloatCbrtINTEL: *hasResult = true; *hasResultType = true; break;
2374     case Op::OpArbitraryFloatHypotINTEL: *hasResult = true; *hasResultType = true; break;
2375     case Op::OpArbitraryFloatSqrtINTEL: *hasResult = true; *hasResultType = true; break;
2376     case Op::OpArbitraryFloatLogINTEL: *hasResult = true; *hasResultType = true; break;
2377     case Op::OpArbitraryFloatLog2INTEL: *hasResult = true; *hasResultType = true; break;
2378     case Op::OpArbitraryFloatLog10INTEL: *hasResult = true; *hasResultType = true; break;
2379     case Op::OpArbitraryFloatLog1pINTEL: *hasResult = true; *hasResultType = true; break;
2380     case Op::OpArbitraryFloatExpINTEL: *hasResult = true; *hasResultType = true; break;
2381     case Op::OpArbitraryFloatExp2INTEL: *hasResult = true; *hasResultType = true; break;
2382     case Op::OpArbitraryFloatExp10INTEL: *hasResult = true; *hasResultType = true; break;
2383     case Op::OpArbitraryFloatExpm1INTEL: *hasResult = true; *hasResultType = true; break;
2384     case Op::OpArbitraryFloatSinINTEL: *hasResult = true; *hasResultType = true; break;
2385     case Op::OpArbitraryFloatCosINTEL: *hasResult = true; *hasResultType = true; break;
2386     case Op::OpArbitraryFloatSinCosINTEL: *hasResult = true; *hasResultType = true; break;
2387     case Op::OpArbitraryFloatSinPiINTEL: *hasResult = true; *hasResultType = true; break;
2388     case Op::OpArbitraryFloatCosPiINTEL: *hasResult = true; *hasResultType = true; break;
2389     case Op::OpArbitraryFloatASinINTEL: *hasResult = true; *hasResultType = true; break;
2390     case Op::OpArbitraryFloatASinPiINTEL: *hasResult = true; *hasResultType = true; break;
2391     case Op::OpArbitraryFloatACosINTEL: *hasResult = true; *hasResultType = true; break;
2392     case Op::OpArbitraryFloatACosPiINTEL: *hasResult = true; *hasResultType = true; break;
2393     case Op::OpArbitraryFloatATanINTEL: *hasResult = true; *hasResultType = true; break;
2394     case Op::OpArbitraryFloatATanPiINTEL: *hasResult = true; *hasResultType = true; break;
2395     case Op::OpArbitraryFloatATan2INTEL: *hasResult = true; *hasResultType = true; break;
2396     case Op::OpArbitraryFloatPowINTEL: *hasResult = true; *hasResultType = true; break;
2397     case Op::OpArbitraryFloatPowRINTEL: *hasResult = true; *hasResultType = true; break;
2398     case Op::OpArbitraryFloatPowNINTEL: *hasResult = true; *hasResultType = true; break;
2399     case Op::OpLoopControlINTEL: *hasResult = false; *hasResultType = false; break;
2400     case Op::OpFixedSqrtINTEL: *hasResult = true; *hasResultType = true; break;
2401     case Op::OpFixedRecipINTEL: *hasResult = true; *hasResultType = true; break;
2402     case Op::OpFixedRsqrtINTEL: *hasResult = true; *hasResultType = true; break;
2403     case Op::OpFixedSinINTEL: *hasResult = true; *hasResultType = true; break;
2404     case Op::OpFixedCosINTEL: *hasResult = true; *hasResultType = true; break;
2405     case Op::OpFixedSinCosINTEL: *hasResult = true; *hasResultType = true; break;
2406     case Op::OpFixedSinPiINTEL: *hasResult = true; *hasResultType = true; break;
2407     case Op::OpFixedCosPiINTEL: *hasResult = true; *hasResultType = true; break;
2408     case Op::OpFixedSinCosPiINTEL: *hasResult = true; *hasResultType = true; break;
2409     case Op::OpFixedLogINTEL: *hasResult = true; *hasResultType = true; break;
2410     case Op::OpFixedExpINTEL: *hasResult = true; *hasResultType = true; break;
2411     case Op::OpPtrCastToCrossWorkgroupINTEL: *hasResult = true; *hasResultType = true; break;
2412     case Op::OpCrossWorkgroupCastToPtrINTEL: *hasResult = true; *hasResultType = true; break;
2413     case Op::OpReadPipeBlockingINTEL: *hasResult = true; *hasResultType = true; break;
2414     case Op::OpWritePipeBlockingINTEL: *hasResult = true; *hasResultType = true; break;
2415     case Op::OpFPGARegINTEL: *hasResult = true; *hasResultType = true; break;
2416     case Op::OpRayQueryGetRayTMinKHR: *hasResult = true; *hasResultType = true; break;
2417     case Op::OpRayQueryGetRayFlagsKHR: *hasResult = true; *hasResultType = true; break;
2418     case Op::OpRayQueryGetIntersectionTKHR: *hasResult = true; *hasResultType = true; break;
2419     case Op::OpRayQueryGetIntersectionInstanceCustomIndexKHR: *hasResult = true; *hasResultType = true; break;
2420     case Op::OpRayQueryGetIntersectionInstanceIdKHR: *hasResult = true; *hasResultType = true; break;
2421     case Op::OpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR: *hasResult = true; *hasResultType = true; break;
2422     case Op::OpRayQueryGetIntersectionGeometryIndexKHR: *hasResult = true; *hasResultType = true; break;
2423     case Op::OpRayQueryGetIntersectionPrimitiveIndexKHR: *hasResult = true; *hasResultType = true; break;
2424     case Op::OpRayQueryGetIntersectionBarycentricsKHR: *hasResult = true; *hasResultType = true; break;
2425     case Op::OpRayQueryGetIntersectionFrontFaceKHR: *hasResult = true; *hasResultType = true; break;
2426     case Op::OpRayQueryGetIntersectionCandidateAABBOpaqueKHR: *hasResult = true; *hasResultType = true; break;
2427     case Op::OpRayQueryGetIntersectionObjectRayDirectionKHR: *hasResult = true; *hasResultType = true; break;
2428     case Op::OpRayQueryGetIntersectionObjectRayOriginKHR: *hasResult = true; *hasResultType = true; break;
2429     case Op::OpRayQueryGetWorldRayDirectionKHR: *hasResult = true; *hasResultType = true; break;
2430     case Op::OpRayQueryGetWorldRayOriginKHR: *hasResult = true; *hasResultType = true; break;
2431     case Op::OpRayQueryGetIntersectionObjectToWorldKHR: *hasResult = true; *hasResultType = true; break;
2432     case Op::OpRayQueryGetIntersectionWorldToObjectKHR: *hasResult = true; *hasResultType = true; break;
2433     case Op::OpAtomicFAddEXT: *hasResult = true; *hasResultType = true; break;
2434     case Op::OpTypeBufferSurfaceINTEL: *hasResult = true; *hasResultType = false; break;
2435     case Op::OpTypeStructContinuedINTEL: *hasResult = false; *hasResultType = false; break;
2436     case Op::OpConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
2437     case Op::OpSpecConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
2438     }
2439 }
2440 #endif /* SPV_ENABLE_UTILITY_CODE */
2441
2442 // Overload operator| for mask bit combining
2443
2444 inline ImageOperandsMask operator|(ImageOperandsMask a, ImageOperandsMask b) { return ImageOperandsMask(unsigned(a) | unsigned(b)); }
2445 inline FPFastMathModeMask operator|(FPFastMathModeMask a, FPFastMathModeMask b) { return FPFastMathModeMask(unsigned(a) | unsigned(b)); }
2446 inline SelectionControlMask operator|(SelectionControlMask a, SelectionControlMask b) { return SelectionControlMask(unsigned(a) | unsigned(b)); }
2447 inline LoopControlMask operator|(LoopControlMask a, LoopControlMask b) { return LoopControlMask(unsigned(a) | unsigned(b)); }
2448 inline FunctionControlMask operator|(FunctionControlMask a, FunctionControlMask b) { return FunctionControlMask(unsigned(a) | unsigned(b)); }
2449 inline MemorySemanticsMask operator|(MemorySemanticsMask a, MemorySemanticsMask b) { return MemorySemanticsMask(unsigned(a) | unsigned(b)); }
2450 inline MemoryAccessMask operator|(MemoryAccessMask a, MemoryAccessMask b) { return MemoryAccessMask(unsigned(a) | unsigned(b)); }
2451 inline KernelProfilingInfoMask operator|(KernelProfilingInfoMask a, KernelProfilingInfoMask b) { return KernelProfilingInfoMask(unsigned(a) | unsigned(b)); }
2452 inline RayFlagsMask operator|(RayFlagsMask a, RayFlagsMask b) { return RayFlagsMask(unsigned(a) | unsigned(b)); }
2453 inline FragmentShadingRateMask operator|(FragmentShadingRateMask a, FragmentShadingRateMask b) { return FragmentShadingRateMask(unsigned(a) | unsigned(b)); }
2454
2455 }  // end namespace spv
2456
2457 #endif  // #ifndef spirv_HPP
2458