Implement SPV_INTEL_optnone extension (#230)
[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     OptNoneINTEL = 16,
726     Max = 0x7fffffff,
727 };
728
729 enum class FunctionControlMask : unsigned {
730     MaskNone = 0,
731     Inline = 0x00000001,
732     DontInline = 0x00000002,
733     Pure = 0x00000004,
734     Const = 0x00000008,
735     OptNoneINTEL = 0x00010000,
736 };
737
738 enum class MemorySemanticsShift : unsigned {
739     Acquire = 1,
740     Release = 2,
741     AcquireRelease = 3,
742     SequentiallyConsistent = 4,
743     UniformMemory = 6,
744     SubgroupMemory = 7,
745     WorkgroupMemory = 8,
746     CrossWorkgroupMemory = 9,
747     AtomicCounterMemory = 10,
748     ImageMemory = 11,
749     OutputMemory = 12,
750     OutputMemoryKHR = 12,
751     MakeAvailable = 13,
752     MakeAvailableKHR = 13,
753     MakeVisible = 14,
754     MakeVisibleKHR = 14,
755     Volatile = 15,
756     Max = 0x7fffffff,
757 };
758
759 enum class MemorySemanticsMask : unsigned {
760     MaskNone = 0,
761     Acquire = 0x00000002,
762     Release = 0x00000004,
763     AcquireRelease = 0x00000008,
764     SequentiallyConsistent = 0x00000010,
765     UniformMemory = 0x00000040,
766     SubgroupMemory = 0x00000080,
767     WorkgroupMemory = 0x00000100,
768     CrossWorkgroupMemory = 0x00000200,
769     AtomicCounterMemory = 0x00000400,
770     ImageMemory = 0x00000800,
771     OutputMemory = 0x00001000,
772     OutputMemoryKHR = 0x00001000,
773     MakeAvailable = 0x00002000,
774     MakeAvailableKHR = 0x00002000,
775     MakeVisible = 0x00004000,
776     MakeVisibleKHR = 0x00004000,
777     Volatile = 0x00008000,
778 };
779
780 enum class MemoryAccessShift : unsigned {
781     Volatile = 0,
782     Aligned = 1,
783     Nontemporal = 2,
784     MakePointerAvailable = 3,
785     MakePointerAvailableKHR = 3,
786     MakePointerVisible = 4,
787     MakePointerVisibleKHR = 4,
788     NonPrivatePointer = 5,
789     NonPrivatePointerKHR = 5,
790     Max = 0x7fffffff,
791 };
792
793 enum class MemoryAccessMask : unsigned {
794     MaskNone = 0,
795     Volatile = 0x00000001,
796     Aligned = 0x00000002,
797     Nontemporal = 0x00000004,
798     MakePointerAvailable = 0x00000008,
799     MakePointerAvailableKHR = 0x00000008,
800     MakePointerVisible = 0x00000010,
801     MakePointerVisibleKHR = 0x00000010,
802     NonPrivatePointer = 0x00000020,
803     NonPrivatePointerKHR = 0x00000020,
804 };
805
806 enum class Scope : unsigned {
807     CrossDevice = 0,
808     Device = 1,
809     Workgroup = 2,
810     Subgroup = 3,
811     Invocation = 4,
812     QueueFamily = 5,
813     QueueFamilyKHR = 5,
814     ShaderCallKHR = 6,
815     Max = 0x7fffffff,
816 };
817
818 enum class GroupOperation : unsigned {
819     Reduce = 0,
820     InclusiveScan = 1,
821     ExclusiveScan = 2,
822     ClusteredReduce = 3,
823     PartitionedReduceNV = 6,
824     PartitionedInclusiveScanNV = 7,
825     PartitionedExclusiveScanNV = 8,
826     Max = 0x7fffffff,
827 };
828
829 enum class KernelEnqueueFlags : unsigned {
830     NoWait = 0,
831     WaitKernel = 1,
832     WaitWorkGroup = 2,
833     Max = 0x7fffffff,
834 };
835
836 enum class KernelProfilingInfoShift : unsigned {
837     CmdExecTime = 0,
838     Max = 0x7fffffff,
839 };
840
841 enum class KernelProfilingInfoMask : unsigned {
842     MaskNone = 0,
843     CmdExecTime = 0x00000001,
844 };
845
846 enum class Capability : unsigned {
847     Matrix = 0,
848     Shader = 1,
849     Geometry = 2,
850     Tessellation = 3,
851     Addresses = 4,
852     Linkage = 5,
853     Kernel = 6,
854     Vector16 = 7,
855     Float16Buffer = 8,
856     Float16 = 9,
857     Float64 = 10,
858     Int64 = 11,
859     Int64Atomics = 12,
860     ImageBasic = 13,
861     ImageReadWrite = 14,
862     ImageMipmap = 15,
863     Pipes = 17,
864     Groups = 18,
865     DeviceEnqueue = 19,
866     LiteralSampler = 20,
867     AtomicStorage = 21,
868     Int16 = 22,
869     TessellationPointSize = 23,
870     GeometryPointSize = 24,
871     ImageGatherExtended = 25,
872     StorageImageMultisample = 27,
873     UniformBufferArrayDynamicIndexing = 28,
874     SampledImageArrayDynamicIndexing = 29,
875     StorageBufferArrayDynamicIndexing = 30,
876     StorageImageArrayDynamicIndexing = 31,
877     ClipDistance = 32,
878     CullDistance = 33,
879     ImageCubeArray = 34,
880     SampleRateShading = 35,
881     ImageRect = 36,
882     SampledRect = 37,
883     GenericPointer = 38,
884     Int8 = 39,
885     InputAttachment = 40,
886     SparseResidency = 41,
887     MinLod = 42,
888     Sampled1D = 43,
889     Image1D = 44,
890     SampledCubeArray = 45,
891     SampledBuffer = 46,
892     ImageBuffer = 47,
893     ImageMSArray = 48,
894     StorageImageExtendedFormats = 49,
895     ImageQuery = 50,
896     DerivativeControl = 51,
897     InterpolationFunction = 52,
898     TransformFeedback = 53,
899     GeometryStreams = 54,
900     StorageImageReadWithoutFormat = 55,
901     StorageImageWriteWithoutFormat = 56,
902     MultiViewport = 57,
903     SubgroupDispatch = 58,
904     NamedBarrier = 59,
905     PipeStorage = 60,
906     GroupNonUniform = 61,
907     GroupNonUniformVote = 62,
908     GroupNonUniformArithmetic = 63,
909     GroupNonUniformBallot = 64,
910     GroupNonUniformShuffle = 65,
911     GroupNonUniformShuffleRelative = 66,
912     GroupNonUniformClustered = 67,
913     GroupNonUniformQuad = 68,
914     ShaderLayer = 69,
915     ShaderViewportIndex = 70,
916     FragmentShadingRateKHR = 4422,
917     SubgroupBallotKHR = 4423,
918     DrawParameters = 4427,
919     WorkgroupMemoryExplicitLayoutKHR = 4428,
920     WorkgroupMemoryExplicitLayout8BitAccessKHR = 4429,
921     WorkgroupMemoryExplicitLayout16BitAccessKHR = 4430,
922     SubgroupVoteKHR = 4431,
923     StorageBuffer16BitAccess = 4433,
924     StorageUniformBufferBlock16 = 4433,
925     StorageUniform16 = 4434,
926     UniformAndStorageBuffer16BitAccess = 4434,
927     StoragePushConstant16 = 4435,
928     StorageInputOutput16 = 4436,
929     DeviceGroup = 4437,
930     MultiView = 4439,
931     VariablePointersStorageBuffer = 4441,
932     VariablePointers = 4442,
933     AtomicStorageOps = 4445,
934     SampleMaskPostDepthCoverage = 4447,
935     StorageBuffer8BitAccess = 4448,
936     UniformAndStorageBuffer8BitAccess = 4449,
937     StoragePushConstant8 = 4450,
938     DenormPreserve = 4464,
939     DenormFlushToZero = 4465,
940     SignedZeroInfNanPreserve = 4466,
941     RoundingModeRTE = 4467,
942     RoundingModeRTZ = 4468,
943     RayQueryProvisionalKHR = 4471,
944     RayQueryKHR = 4472,
945     RayTraversalPrimitiveCullingKHR = 4478,
946     RayTracingKHR = 4479,
947     Float16ImageAMD = 5008,
948     ImageGatherBiasLodAMD = 5009,
949     FragmentMaskAMD = 5010,
950     StencilExportEXT = 5013,
951     ImageReadWriteLodAMD = 5015,
952     Int64ImageEXT = 5016,
953     ShaderClockKHR = 5055,
954     SampleMaskOverrideCoverageNV = 5249,
955     GeometryShaderPassthroughNV = 5251,
956     ShaderViewportIndexLayerEXT = 5254,
957     ShaderViewportIndexLayerNV = 5254,
958     ShaderViewportMaskNV = 5255,
959     ShaderStereoViewNV = 5259,
960     PerViewAttributesNV = 5260,
961     FragmentFullyCoveredEXT = 5265,
962     MeshShadingNV = 5266,
963     ImageFootprintNV = 5282,
964     FragmentBarycentricNV = 5284,
965     ComputeDerivativeGroupQuadsNV = 5288,
966     FragmentDensityEXT = 5291,
967     ShadingRateNV = 5291,
968     GroupNonUniformPartitionedNV = 5297,
969     ShaderNonUniform = 5301,
970     ShaderNonUniformEXT = 5301,
971     RuntimeDescriptorArray = 5302,
972     RuntimeDescriptorArrayEXT = 5302,
973     InputAttachmentArrayDynamicIndexing = 5303,
974     InputAttachmentArrayDynamicIndexingEXT = 5303,
975     UniformTexelBufferArrayDynamicIndexing = 5304,
976     UniformTexelBufferArrayDynamicIndexingEXT = 5304,
977     StorageTexelBufferArrayDynamicIndexing = 5305,
978     StorageTexelBufferArrayDynamicIndexingEXT = 5305,
979     UniformBufferArrayNonUniformIndexing = 5306,
980     UniformBufferArrayNonUniformIndexingEXT = 5306,
981     SampledImageArrayNonUniformIndexing = 5307,
982     SampledImageArrayNonUniformIndexingEXT = 5307,
983     StorageBufferArrayNonUniformIndexing = 5308,
984     StorageBufferArrayNonUniformIndexingEXT = 5308,
985     StorageImageArrayNonUniformIndexing = 5309,
986     StorageImageArrayNonUniformIndexingEXT = 5309,
987     InputAttachmentArrayNonUniformIndexing = 5310,
988     InputAttachmentArrayNonUniformIndexingEXT = 5310,
989     UniformTexelBufferArrayNonUniformIndexing = 5311,
990     UniformTexelBufferArrayNonUniformIndexingEXT = 5311,
991     StorageTexelBufferArrayNonUniformIndexing = 5312,
992     StorageTexelBufferArrayNonUniformIndexingEXT = 5312,
993     RayTracingNV = 5340,
994     VulkanMemoryModel = 5345,
995     VulkanMemoryModelKHR = 5345,
996     VulkanMemoryModelDeviceScope = 5346,
997     VulkanMemoryModelDeviceScopeKHR = 5346,
998     PhysicalStorageBufferAddresses = 5347,
999     PhysicalStorageBufferAddressesEXT = 5347,
1000     ComputeDerivativeGroupLinearNV = 5350,
1001     RayTracingProvisionalKHR = 5353,
1002     CooperativeMatrixNV = 5357,
1003     FragmentShaderSampleInterlockEXT = 5363,
1004     FragmentShaderShadingRateInterlockEXT = 5372,
1005     ShaderSMBuiltinsNV = 5373,
1006     FragmentShaderPixelInterlockEXT = 5378,
1007     DemoteToHelperInvocationEXT = 5379,
1008     SubgroupShuffleINTEL = 5568,
1009     SubgroupBufferBlockIOINTEL = 5569,
1010     SubgroupImageBlockIOINTEL = 5570,
1011     SubgroupImageMediaBlockIOINTEL = 5579,
1012     RoundToInfinityINTEL = 5582,
1013     FloatingPointModeINTEL = 5583,
1014     IntegerFunctions2INTEL = 5584,
1015     FunctionPointersINTEL = 5603,
1016     IndirectReferencesINTEL = 5604,
1017     AsmINTEL = 5606,
1018     AtomicFloat32MinMaxEXT = 5612,
1019     AtomicFloat64MinMaxEXT = 5613,
1020     AtomicFloat16MinMaxEXT = 5616,
1021     VectorComputeINTEL = 5617,
1022     VectorAnyINTEL = 5619,
1023     ExpectAssumeKHR = 5629,
1024     SubgroupAvcMotionEstimationINTEL = 5696,
1025     SubgroupAvcMotionEstimationIntraINTEL = 5697,
1026     SubgroupAvcMotionEstimationChromaINTEL = 5698,
1027     VariableLengthArrayINTEL = 5817,
1028     FunctionFloatControlINTEL = 5821,
1029     FPGAMemoryAttributesINTEL = 5824,
1030     FPFastMathModeINTEL = 5837,
1031     ArbitraryPrecisionIntegersINTEL = 5844,
1032     ArbitraryPrecisionFloatingPointINTEL = 5845,
1033     UnstructuredLoopControlsINTEL = 5886,
1034     FPGALoopControlsINTEL = 5888,
1035     KernelAttributesINTEL = 5892,
1036     FPGAKernelAttributesINTEL = 5897,
1037     FPGAMemoryAccessesINTEL = 5898,
1038     FPGAClusterAttributesINTEL = 5904,
1039     LoopFuseINTEL = 5906,
1040     FPGABufferLocationINTEL = 5920,
1041     ArbitraryPrecisionFixedPointINTEL = 5922,
1042     USMStorageClassesINTEL = 5935,
1043     IOPipesINTEL = 5943,
1044     BlockingPipesINTEL = 5945,
1045     FPGARegINTEL = 5948,
1046     DotProductInputAllKHR = 6016,
1047     DotProductInput4x8BitKHR = 6017,
1048     DotProductInput4x8BitPackedKHR = 6018,
1049     DotProductKHR = 6019,
1050     BitInstructions = 6025,
1051     AtomicFloat32AddEXT = 6033,
1052     AtomicFloat64AddEXT = 6034,
1053     LongConstantCompositeINTEL = 6089,
1054     OptNoneINTEL = 6094,
1055     AtomicFloat16AddEXT = 6095,
1056     DebugInfoModuleINTEL = 6114,
1057     Max = 0x7fffffff,
1058 };
1059
1060 enum class RayFlagsShift : unsigned {
1061     OpaqueKHR = 0,
1062     NoOpaqueKHR = 1,
1063     TerminateOnFirstHitKHR = 2,
1064     SkipClosestHitShaderKHR = 3,
1065     CullBackFacingTrianglesKHR = 4,
1066     CullFrontFacingTrianglesKHR = 5,
1067     CullOpaqueKHR = 6,
1068     CullNoOpaqueKHR = 7,
1069     SkipTrianglesKHR = 8,
1070     SkipAABBsKHR = 9,
1071     Max = 0x7fffffff,
1072 };
1073
1074 enum class RayFlagsMask : unsigned {
1075     MaskNone = 0,
1076     OpaqueKHR = 0x00000001,
1077     NoOpaqueKHR = 0x00000002,
1078     TerminateOnFirstHitKHR = 0x00000004,
1079     SkipClosestHitShaderKHR = 0x00000008,
1080     CullBackFacingTrianglesKHR = 0x00000010,
1081     CullFrontFacingTrianglesKHR = 0x00000020,
1082     CullOpaqueKHR = 0x00000040,
1083     CullNoOpaqueKHR = 0x00000080,
1084     SkipTrianglesKHR = 0x00000100,
1085     SkipAABBsKHR = 0x00000200,
1086 };
1087
1088 enum class RayQueryIntersection : unsigned {
1089     RayQueryCandidateIntersectionKHR = 0,
1090     RayQueryCommittedIntersectionKHR = 1,
1091     Max = 0x7fffffff,
1092 };
1093
1094 enum class RayQueryCommittedIntersectionType : unsigned {
1095     RayQueryCommittedIntersectionNoneKHR = 0,
1096     RayQueryCommittedIntersectionTriangleKHR = 1,
1097     RayQueryCommittedIntersectionGeneratedKHR = 2,
1098     Max = 0x7fffffff,
1099 };
1100
1101 enum class RayQueryCandidateIntersectionType : unsigned {
1102     RayQueryCandidateIntersectionTriangleKHR = 0,
1103     RayQueryCandidateIntersectionAABBKHR = 1,
1104     Max = 0x7fffffff,
1105 };
1106
1107 enum class FragmentShadingRateShift : unsigned {
1108     Vertical2Pixels = 0,
1109     Vertical4Pixels = 1,
1110     Horizontal2Pixels = 2,
1111     Horizontal4Pixels = 3,
1112     Max = 0x7fffffff,
1113 };
1114
1115 enum class FragmentShadingRateMask : unsigned {
1116     MaskNone = 0,
1117     Vertical2Pixels = 0x00000001,
1118     Vertical4Pixels = 0x00000002,
1119     Horizontal2Pixels = 0x00000004,
1120     Horizontal4Pixels = 0x00000008,
1121 };
1122
1123 enum class FPDenormMode : unsigned {
1124     Preserve = 0,
1125     FlushToZero = 1,
1126     Max = 0x7fffffff,
1127 };
1128
1129 enum class FPOperationMode : unsigned {
1130     IEEE = 0,
1131     ALT = 1,
1132     Max = 0x7fffffff,
1133 };
1134
1135 enum class QuantizationModes : unsigned {
1136     TRN = 0,
1137     TRN_ZERO = 1,
1138     RND = 2,
1139     RND_ZERO = 3,
1140     RND_INF = 4,
1141     RND_MIN_INF = 5,
1142     RND_CONV = 6,
1143     RND_CONV_ODD = 7,
1144     Max = 0x7fffffff,
1145 };
1146
1147 enum class OverflowModes : unsigned {
1148     WRAP = 0,
1149     SAT = 1,
1150     SAT_ZERO = 2,
1151     SAT_SYM = 3,
1152     Max = 0x7fffffff,
1153 };
1154
1155 enum class PackedVectorFormat : unsigned {
1156     PackedVectorFormat4x8BitKHR = 0,
1157     Max = 0x7fffffff,
1158 };
1159
1160 enum class Op : unsigned {
1161     OpNop = 0,
1162     OpUndef = 1,
1163     OpSourceContinued = 2,
1164     OpSource = 3,
1165     OpSourceExtension = 4,
1166     OpName = 5,
1167     OpMemberName = 6,
1168     OpString = 7,
1169     OpLine = 8,
1170     OpExtension = 10,
1171     OpExtInstImport = 11,
1172     OpExtInst = 12,
1173     OpMemoryModel = 14,
1174     OpEntryPoint = 15,
1175     OpExecutionMode = 16,
1176     OpCapability = 17,
1177     OpTypeVoid = 19,
1178     OpTypeBool = 20,
1179     OpTypeInt = 21,
1180     OpTypeFloat = 22,
1181     OpTypeVector = 23,
1182     OpTypeMatrix = 24,
1183     OpTypeImage = 25,
1184     OpTypeSampler = 26,
1185     OpTypeSampledImage = 27,
1186     OpTypeArray = 28,
1187     OpTypeRuntimeArray = 29,
1188     OpTypeStruct = 30,
1189     OpTypeOpaque = 31,
1190     OpTypePointer = 32,
1191     OpTypeFunction = 33,
1192     OpTypeEvent = 34,
1193     OpTypeDeviceEvent = 35,
1194     OpTypeReserveId = 36,
1195     OpTypeQueue = 37,
1196     OpTypePipe = 38,
1197     OpTypeForwardPointer = 39,
1198     OpConstantTrue = 41,
1199     OpConstantFalse = 42,
1200     OpConstant = 43,
1201     OpConstantComposite = 44,
1202     OpConstantSampler = 45,
1203     OpConstantNull = 46,
1204     OpSpecConstantTrue = 48,
1205     OpSpecConstantFalse = 49,
1206     OpSpecConstant = 50,
1207     OpSpecConstantComposite = 51,
1208     OpSpecConstantOp = 52,
1209     OpFunction = 54,
1210     OpFunctionParameter = 55,
1211     OpFunctionEnd = 56,
1212     OpFunctionCall = 57,
1213     OpVariable = 59,
1214     OpImageTexelPointer = 60,
1215     OpLoad = 61,
1216     OpStore = 62,
1217     OpCopyMemory = 63,
1218     OpCopyMemorySized = 64,
1219     OpAccessChain = 65,
1220     OpInBoundsAccessChain = 66,
1221     OpPtrAccessChain = 67,
1222     OpArrayLength = 68,
1223     OpGenericPtrMemSemantics = 69,
1224     OpInBoundsPtrAccessChain = 70,
1225     OpDecorate = 71,
1226     OpMemberDecorate = 72,
1227     OpDecorationGroup = 73,
1228     OpGroupDecorate = 74,
1229     OpGroupMemberDecorate = 75,
1230     OpVectorExtractDynamic = 77,
1231     OpVectorInsertDynamic = 78,
1232     OpVectorShuffle = 79,
1233     OpCompositeConstruct = 80,
1234     OpCompositeExtract = 81,
1235     OpCompositeInsert = 82,
1236     OpCopyObject = 83,
1237     OpTranspose = 84,
1238     OpSampledImage = 86,
1239     OpImageSampleImplicitLod = 87,
1240     OpImageSampleExplicitLod = 88,
1241     OpImageSampleDrefImplicitLod = 89,
1242     OpImageSampleDrefExplicitLod = 90,
1243     OpImageSampleProjImplicitLod = 91,
1244     OpImageSampleProjExplicitLod = 92,
1245     OpImageSampleProjDrefImplicitLod = 93,
1246     OpImageSampleProjDrefExplicitLod = 94,
1247     OpImageFetch = 95,
1248     OpImageGather = 96,
1249     OpImageDrefGather = 97,
1250     OpImageRead = 98,
1251     OpImageWrite = 99,
1252     OpImage = 100,
1253     OpImageQueryFormat = 101,
1254     OpImageQueryOrder = 102,
1255     OpImageQuerySizeLod = 103,
1256     OpImageQuerySize = 104,
1257     OpImageQueryLod = 105,
1258     OpImageQueryLevels = 106,
1259     OpImageQuerySamples = 107,
1260     OpConvertFToU = 109,
1261     OpConvertFToS = 110,
1262     OpConvertSToF = 111,
1263     OpConvertUToF = 112,
1264     OpUConvert = 113,
1265     OpSConvert = 114,
1266     OpFConvert = 115,
1267     OpQuantizeToF16 = 116,
1268     OpConvertPtrToU = 117,
1269     OpSatConvertSToU = 118,
1270     OpSatConvertUToS = 119,
1271     OpConvertUToPtr = 120,
1272     OpPtrCastToGeneric = 121,
1273     OpGenericCastToPtr = 122,
1274     OpGenericCastToPtrExplicit = 123,
1275     OpBitcast = 124,
1276     OpSNegate = 126,
1277     OpFNegate = 127,
1278     OpIAdd = 128,
1279     OpFAdd = 129,
1280     OpISub = 130,
1281     OpFSub = 131,
1282     OpIMul = 132,
1283     OpFMul = 133,
1284     OpUDiv = 134,
1285     OpSDiv = 135,
1286     OpFDiv = 136,
1287     OpUMod = 137,
1288     OpSRem = 138,
1289     OpSMod = 139,
1290     OpFRem = 140,
1291     OpFMod = 141,
1292     OpVectorTimesScalar = 142,
1293     OpMatrixTimesScalar = 143,
1294     OpVectorTimesMatrix = 144,
1295     OpMatrixTimesVector = 145,
1296     OpMatrixTimesMatrix = 146,
1297     OpOuterProduct = 147,
1298     OpDot = 148,
1299     OpIAddCarry = 149,
1300     OpISubBorrow = 150,
1301     OpUMulExtended = 151,
1302     OpSMulExtended = 152,
1303     OpAny = 154,
1304     OpAll = 155,
1305     OpIsNan = 156,
1306     OpIsInf = 157,
1307     OpIsFinite = 158,
1308     OpIsNormal = 159,
1309     OpSignBitSet = 160,
1310     OpLessOrGreater = 161,
1311     OpOrdered = 162,
1312     OpUnordered = 163,
1313     OpLogicalEqual = 164,
1314     OpLogicalNotEqual = 165,
1315     OpLogicalOr = 166,
1316     OpLogicalAnd = 167,
1317     OpLogicalNot = 168,
1318     OpSelect = 169,
1319     OpIEqual = 170,
1320     OpINotEqual = 171,
1321     OpUGreaterThan = 172,
1322     OpSGreaterThan = 173,
1323     OpUGreaterThanEqual = 174,
1324     OpSGreaterThanEqual = 175,
1325     OpULessThan = 176,
1326     OpSLessThan = 177,
1327     OpULessThanEqual = 178,
1328     OpSLessThanEqual = 179,
1329     OpFOrdEqual = 180,
1330     OpFUnordEqual = 181,
1331     OpFOrdNotEqual = 182,
1332     OpFUnordNotEqual = 183,
1333     OpFOrdLessThan = 184,
1334     OpFUnordLessThan = 185,
1335     OpFOrdGreaterThan = 186,
1336     OpFUnordGreaterThan = 187,
1337     OpFOrdLessThanEqual = 188,
1338     OpFUnordLessThanEqual = 189,
1339     OpFOrdGreaterThanEqual = 190,
1340     OpFUnordGreaterThanEqual = 191,
1341     OpShiftRightLogical = 194,
1342     OpShiftRightArithmetic = 195,
1343     OpShiftLeftLogical = 196,
1344     OpBitwiseOr = 197,
1345     OpBitwiseXor = 198,
1346     OpBitwiseAnd = 199,
1347     OpNot = 200,
1348     OpBitFieldInsert = 201,
1349     OpBitFieldSExtract = 202,
1350     OpBitFieldUExtract = 203,
1351     OpBitReverse = 204,
1352     OpBitCount = 205,
1353     OpDPdx = 207,
1354     OpDPdy = 208,
1355     OpFwidth = 209,
1356     OpDPdxFine = 210,
1357     OpDPdyFine = 211,
1358     OpFwidthFine = 212,
1359     OpDPdxCoarse = 213,
1360     OpDPdyCoarse = 214,
1361     OpFwidthCoarse = 215,
1362     OpEmitVertex = 218,
1363     OpEndPrimitive = 219,
1364     OpEmitStreamVertex = 220,
1365     OpEndStreamPrimitive = 221,
1366     OpControlBarrier = 224,
1367     OpMemoryBarrier = 225,
1368     OpAtomicLoad = 227,
1369     OpAtomicStore = 228,
1370     OpAtomicExchange = 229,
1371     OpAtomicCompareExchange = 230,
1372     OpAtomicCompareExchangeWeak = 231,
1373     OpAtomicIIncrement = 232,
1374     OpAtomicIDecrement = 233,
1375     OpAtomicIAdd = 234,
1376     OpAtomicISub = 235,
1377     OpAtomicSMin = 236,
1378     OpAtomicUMin = 237,
1379     OpAtomicSMax = 238,
1380     OpAtomicUMax = 239,
1381     OpAtomicAnd = 240,
1382     OpAtomicOr = 241,
1383     OpAtomicXor = 242,
1384     OpPhi = 245,
1385     OpLoopMerge = 246,
1386     OpSelectionMerge = 247,
1387     OpLabel = 248,
1388     OpBranch = 249,
1389     OpBranchConditional = 250,
1390     OpSwitch = 251,
1391     OpKill = 252,
1392     OpReturn = 253,
1393     OpReturnValue = 254,
1394     OpUnreachable = 255,
1395     OpLifetimeStart = 256,
1396     OpLifetimeStop = 257,
1397     OpGroupAsyncCopy = 259,
1398     OpGroupWaitEvents = 260,
1399     OpGroupAll = 261,
1400     OpGroupAny = 262,
1401     OpGroupBroadcast = 263,
1402     OpGroupIAdd = 264,
1403     OpGroupFAdd = 265,
1404     OpGroupFMin = 266,
1405     OpGroupUMin = 267,
1406     OpGroupSMin = 268,
1407     OpGroupFMax = 269,
1408     OpGroupUMax = 270,
1409     OpGroupSMax = 271,
1410     OpReadPipe = 274,
1411     OpWritePipe = 275,
1412     OpReservedReadPipe = 276,
1413     OpReservedWritePipe = 277,
1414     OpReserveReadPipePackets = 278,
1415     OpReserveWritePipePackets = 279,
1416     OpCommitReadPipe = 280,
1417     OpCommitWritePipe = 281,
1418     OpIsValidReserveId = 282,
1419     OpGetNumPipePackets = 283,
1420     OpGetMaxPipePackets = 284,
1421     OpGroupReserveReadPipePackets = 285,
1422     OpGroupReserveWritePipePackets = 286,
1423     OpGroupCommitReadPipe = 287,
1424     OpGroupCommitWritePipe = 288,
1425     OpEnqueueMarker = 291,
1426     OpEnqueueKernel = 292,
1427     OpGetKernelNDrangeSubGroupCount = 293,
1428     OpGetKernelNDrangeMaxSubGroupSize = 294,
1429     OpGetKernelWorkGroupSize = 295,
1430     OpGetKernelPreferredWorkGroupSizeMultiple = 296,
1431     OpRetainEvent = 297,
1432     OpReleaseEvent = 298,
1433     OpCreateUserEvent = 299,
1434     OpIsValidEvent = 300,
1435     OpSetUserEventStatus = 301,
1436     OpCaptureEventProfilingInfo = 302,
1437     OpGetDefaultQueue = 303,
1438     OpBuildNDRange = 304,
1439     OpImageSparseSampleImplicitLod = 305,
1440     OpImageSparseSampleExplicitLod = 306,
1441     OpImageSparseSampleDrefImplicitLod = 307,
1442     OpImageSparseSampleDrefExplicitLod = 308,
1443     OpImageSparseSampleProjImplicitLod = 309,
1444     OpImageSparseSampleProjExplicitLod = 310,
1445     OpImageSparseSampleProjDrefImplicitLod = 311,
1446     OpImageSparseSampleProjDrefExplicitLod = 312,
1447     OpImageSparseFetch = 313,
1448     OpImageSparseGather = 314,
1449     OpImageSparseDrefGather = 315,
1450     OpImageSparseTexelsResident = 316,
1451     OpNoLine = 317,
1452     OpAtomicFlagTestAndSet = 318,
1453     OpAtomicFlagClear = 319,
1454     OpImageSparseRead = 320,
1455     OpSizeOf = 321,
1456     OpTypePipeStorage = 322,
1457     OpConstantPipeStorage = 323,
1458     OpCreatePipeFromPipeStorage = 324,
1459     OpGetKernelLocalSizeForSubgroupCount = 325,
1460     OpGetKernelMaxNumSubgroups = 326,
1461     OpTypeNamedBarrier = 327,
1462     OpNamedBarrierInitialize = 328,
1463     OpMemoryNamedBarrier = 329,
1464     OpModuleProcessed = 330,
1465     OpExecutionModeId = 331,
1466     OpDecorateId = 332,
1467     OpGroupNonUniformElect = 333,
1468     OpGroupNonUniformAll = 334,
1469     OpGroupNonUniformAny = 335,
1470     OpGroupNonUniformAllEqual = 336,
1471     OpGroupNonUniformBroadcast = 337,
1472     OpGroupNonUniformBroadcastFirst = 338,
1473     OpGroupNonUniformBallot = 339,
1474     OpGroupNonUniformInverseBallot = 340,
1475     OpGroupNonUniformBallotBitExtract = 341,
1476     OpGroupNonUniformBallotBitCount = 342,
1477     OpGroupNonUniformBallotFindLSB = 343,
1478     OpGroupNonUniformBallotFindMSB = 344,
1479     OpGroupNonUniformShuffle = 345,
1480     OpGroupNonUniformShuffleXor = 346,
1481     OpGroupNonUniformShuffleUp = 347,
1482     OpGroupNonUniformShuffleDown = 348,
1483     OpGroupNonUniformIAdd = 349,
1484     OpGroupNonUniformFAdd = 350,
1485     OpGroupNonUniformIMul = 351,
1486     OpGroupNonUniformFMul = 352,
1487     OpGroupNonUniformSMin = 353,
1488     OpGroupNonUniformUMin = 354,
1489     OpGroupNonUniformFMin = 355,
1490     OpGroupNonUniformSMax = 356,
1491     OpGroupNonUniformUMax = 357,
1492     OpGroupNonUniformFMax = 358,
1493     OpGroupNonUniformBitwiseAnd = 359,
1494     OpGroupNonUniformBitwiseOr = 360,
1495     OpGroupNonUniformBitwiseXor = 361,
1496     OpGroupNonUniformLogicalAnd = 362,
1497     OpGroupNonUniformLogicalOr = 363,
1498     OpGroupNonUniformLogicalXor = 364,
1499     OpGroupNonUniformQuadBroadcast = 365,
1500     OpGroupNonUniformQuadSwap = 366,
1501     OpCopyLogical = 400,
1502     OpPtrEqual = 401,
1503     OpPtrNotEqual = 402,
1504     OpPtrDiff = 403,
1505     OpTerminateInvocation = 4416,
1506     OpSubgroupBallotKHR = 4421,
1507     OpSubgroupFirstInvocationKHR = 4422,
1508     OpSubgroupAllKHR = 4428,
1509     OpSubgroupAnyKHR = 4429,
1510     OpSubgroupAllEqualKHR = 4430,
1511     OpSubgroupReadInvocationKHR = 4432,
1512     OpTraceRayKHR = 4445,
1513     OpExecuteCallableKHR = 4446,
1514     OpConvertUToAccelerationStructureKHR = 4447,
1515     OpIgnoreIntersectionKHR = 4448,
1516     OpTerminateRayKHR = 4449,
1517     OpSDotKHR = 4450,
1518     OpUDotKHR = 4451,
1519     OpSUDotKHR = 4452,
1520     OpSDotAccSatKHR = 4453,
1521     OpUDotAccSatKHR = 4454,
1522     OpSUDotAccSatKHR = 4455,
1523     OpTypeRayQueryKHR = 4472,
1524     OpRayQueryInitializeKHR = 4473,
1525     OpRayQueryTerminateKHR = 4474,
1526     OpRayQueryGenerateIntersectionKHR = 4475,
1527     OpRayQueryConfirmIntersectionKHR = 4476,
1528     OpRayQueryProceedKHR = 4477,
1529     OpRayQueryGetIntersectionTypeKHR = 4479,
1530     OpGroupIAddNonUniformAMD = 5000,
1531     OpGroupFAddNonUniformAMD = 5001,
1532     OpGroupFMinNonUniformAMD = 5002,
1533     OpGroupUMinNonUniformAMD = 5003,
1534     OpGroupSMinNonUniformAMD = 5004,
1535     OpGroupFMaxNonUniformAMD = 5005,
1536     OpGroupUMaxNonUniformAMD = 5006,
1537     OpGroupSMaxNonUniformAMD = 5007,
1538     OpFragmentMaskFetchAMD = 5011,
1539     OpFragmentFetchAMD = 5012,
1540     OpReadClockKHR = 5056,
1541     OpImageSampleFootprintNV = 5283,
1542     OpGroupNonUniformPartitionNV = 5296,
1543     OpWritePackedPrimitiveIndices4x8NV = 5299,
1544     OpReportIntersectionKHR = 5334,
1545     OpReportIntersectionNV = 5334,
1546     OpIgnoreIntersectionNV = 5335,
1547     OpTerminateRayNV = 5336,
1548     OpTraceNV = 5337,
1549     OpTypeAccelerationStructureKHR = 5341,
1550     OpTypeAccelerationStructureNV = 5341,
1551     OpExecuteCallableNV = 5344,
1552     OpTypeCooperativeMatrixNV = 5358,
1553     OpCooperativeMatrixLoadNV = 5359,
1554     OpCooperativeMatrixStoreNV = 5360,
1555     OpCooperativeMatrixMulAddNV = 5361,
1556     OpCooperativeMatrixLengthNV = 5362,
1557     OpBeginInvocationInterlockEXT = 5364,
1558     OpEndInvocationInterlockEXT = 5365,
1559     OpDemoteToHelperInvocationEXT = 5380,
1560     OpIsHelperInvocationEXT = 5381,
1561     OpSubgroupShuffleINTEL = 5571,
1562     OpSubgroupShuffleDownINTEL = 5572,
1563     OpSubgroupShuffleUpINTEL = 5573,
1564     OpSubgroupShuffleXorINTEL = 5574,
1565     OpSubgroupBlockReadINTEL = 5575,
1566     OpSubgroupBlockWriteINTEL = 5576,
1567     OpSubgroupImageBlockReadINTEL = 5577,
1568     OpSubgroupImageBlockWriteINTEL = 5578,
1569     OpSubgroupImageMediaBlockReadINTEL = 5580,
1570     OpSubgroupImageMediaBlockWriteINTEL = 5581,
1571     OpUCountLeadingZerosINTEL = 5585,
1572     OpUCountTrailingZerosINTEL = 5586,
1573     OpAbsISubINTEL = 5587,
1574     OpAbsUSubINTEL = 5588,
1575     OpIAddSatINTEL = 5589,
1576     OpUAddSatINTEL = 5590,
1577     OpIAverageINTEL = 5591,
1578     OpUAverageINTEL = 5592,
1579     OpIAverageRoundedINTEL = 5593,
1580     OpUAverageRoundedINTEL = 5594,
1581     OpISubSatINTEL = 5595,
1582     OpUSubSatINTEL = 5596,
1583     OpIMul32x16INTEL = 5597,
1584     OpUMul32x16INTEL = 5598,
1585     OpConstFunctionPointerINTEL = 5600,
1586     OpFunctionPointerCallINTEL = 5601,
1587     OpAsmTargetINTEL = 5609,
1588     OpAsmINTEL = 5610,
1589     OpAsmCallINTEL = 5611,
1590     OpAtomicFMinEXT = 5614,
1591     OpAtomicFMaxEXT = 5615,
1592     OpAssumeTrueKHR = 5630,
1593     OpExpectKHR = 5631,
1594     OpDecorateString = 5632,
1595     OpDecorateStringGOOGLE = 5632,
1596     OpMemberDecorateString = 5633,
1597     OpMemberDecorateStringGOOGLE = 5633,
1598     OpVmeImageINTEL = 5699,
1599     OpTypeVmeImageINTEL = 5700,
1600     OpTypeAvcImePayloadINTEL = 5701,
1601     OpTypeAvcRefPayloadINTEL = 5702,
1602     OpTypeAvcSicPayloadINTEL = 5703,
1603     OpTypeAvcMcePayloadINTEL = 5704,
1604     OpTypeAvcMceResultINTEL = 5705,
1605     OpTypeAvcImeResultINTEL = 5706,
1606     OpTypeAvcImeResultSingleReferenceStreamoutINTEL = 5707,
1607     OpTypeAvcImeResultDualReferenceStreamoutINTEL = 5708,
1608     OpTypeAvcImeSingleReferenceStreaminINTEL = 5709,
1609     OpTypeAvcImeDualReferenceStreaminINTEL = 5710,
1610     OpTypeAvcRefResultINTEL = 5711,
1611     OpTypeAvcSicResultINTEL = 5712,
1612     OpSubgroupAvcMceGetDefaultInterBaseMultiReferencePenaltyINTEL = 5713,
1613     OpSubgroupAvcMceSetInterBaseMultiReferencePenaltyINTEL = 5714,
1614     OpSubgroupAvcMceGetDefaultInterShapePenaltyINTEL = 5715,
1615     OpSubgroupAvcMceSetInterShapePenaltyINTEL = 5716,
1616     OpSubgroupAvcMceGetDefaultInterDirectionPenaltyINTEL = 5717,
1617     OpSubgroupAvcMceSetInterDirectionPenaltyINTEL = 5718,
1618     OpSubgroupAvcMceGetDefaultIntraLumaShapePenaltyINTEL = 5719,
1619     OpSubgroupAvcMceGetDefaultInterMotionVectorCostTableINTEL = 5720,
1620     OpSubgroupAvcMceGetDefaultHighPenaltyCostTableINTEL = 5721,
1621     OpSubgroupAvcMceGetDefaultMediumPenaltyCostTableINTEL = 5722,
1622     OpSubgroupAvcMceGetDefaultLowPenaltyCostTableINTEL = 5723,
1623     OpSubgroupAvcMceSetMotionVectorCostFunctionINTEL = 5724,
1624     OpSubgroupAvcMceGetDefaultIntraLumaModePenaltyINTEL = 5725,
1625     OpSubgroupAvcMceGetDefaultNonDcLumaIntraPenaltyINTEL = 5726,
1626     OpSubgroupAvcMceGetDefaultIntraChromaModeBasePenaltyINTEL = 5727,
1627     OpSubgroupAvcMceSetAcOnlyHaarINTEL = 5728,
1628     OpSubgroupAvcMceSetSourceInterlacedFieldPolarityINTEL = 5729,
1629     OpSubgroupAvcMceSetSingleReferenceInterlacedFieldPolarityINTEL = 5730,
1630     OpSubgroupAvcMceSetDualReferenceInterlacedFieldPolaritiesINTEL = 5731,
1631     OpSubgroupAvcMceConvertToImePayloadINTEL = 5732,
1632     OpSubgroupAvcMceConvertToImeResultINTEL = 5733,
1633     OpSubgroupAvcMceConvertToRefPayloadINTEL = 5734,
1634     OpSubgroupAvcMceConvertToRefResultINTEL = 5735,
1635     OpSubgroupAvcMceConvertToSicPayloadINTEL = 5736,
1636     OpSubgroupAvcMceConvertToSicResultINTEL = 5737,
1637     OpSubgroupAvcMceGetMotionVectorsINTEL = 5738,
1638     OpSubgroupAvcMceGetInterDistortionsINTEL = 5739,
1639     OpSubgroupAvcMceGetBestInterDistortionsINTEL = 5740,
1640     OpSubgroupAvcMceGetInterMajorShapeINTEL = 5741,
1641     OpSubgroupAvcMceGetInterMinorShapeINTEL = 5742,
1642     OpSubgroupAvcMceGetInterDirectionsINTEL = 5743,
1643     OpSubgroupAvcMceGetInterMotionVectorCountINTEL = 5744,
1644     OpSubgroupAvcMceGetInterReferenceIdsINTEL = 5745,
1645     OpSubgroupAvcMceGetInterReferenceInterlacedFieldPolaritiesINTEL = 5746,
1646     OpSubgroupAvcImeInitializeINTEL = 5747,
1647     OpSubgroupAvcImeSetSingleReferenceINTEL = 5748,
1648     OpSubgroupAvcImeSetDualReferenceINTEL = 5749,
1649     OpSubgroupAvcImeRefWindowSizeINTEL = 5750,
1650     OpSubgroupAvcImeAdjustRefOffsetINTEL = 5751,
1651     OpSubgroupAvcImeConvertToMcePayloadINTEL = 5752,
1652     OpSubgroupAvcImeSetMaxMotionVectorCountINTEL = 5753,
1653     OpSubgroupAvcImeSetUnidirectionalMixDisableINTEL = 5754,
1654     OpSubgroupAvcImeSetEarlySearchTerminationThresholdINTEL = 5755,
1655     OpSubgroupAvcImeSetWeightedSadINTEL = 5756,
1656     OpSubgroupAvcImeEvaluateWithSingleReferenceINTEL = 5757,
1657     OpSubgroupAvcImeEvaluateWithDualReferenceINTEL = 5758,
1658     OpSubgroupAvcImeEvaluateWithSingleReferenceStreaminINTEL = 5759,
1659     OpSubgroupAvcImeEvaluateWithDualReferenceStreaminINTEL = 5760,
1660     OpSubgroupAvcImeEvaluateWithSingleReferenceStreamoutINTEL = 5761,
1661     OpSubgroupAvcImeEvaluateWithDualReferenceStreamoutINTEL = 5762,
1662     OpSubgroupAvcImeEvaluateWithSingleReferenceStreaminoutINTEL = 5763,
1663     OpSubgroupAvcImeEvaluateWithDualReferenceStreaminoutINTEL = 5764,
1664     OpSubgroupAvcImeConvertToMceResultINTEL = 5765,
1665     OpSubgroupAvcImeGetSingleReferenceStreaminINTEL = 5766,
1666     OpSubgroupAvcImeGetDualReferenceStreaminINTEL = 5767,
1667     OpSubgroupAvcImeStripSingleReferenceStreamoutINTEL = 5768,
1668     OpSubgroupAvcImeStripDualReferenceStreamoutINTEL = 5769,
1669     OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeMotionVectorsINTEL = 5770,
1670     OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeDistortionsINTEL = 5771,
1671     OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeReferenceIdsINTEL = 5772,
1672     OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeMotionVectorsINTEL = 5773,
1673     OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeDistortionsINTEL = 5774,
1674     OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeReferenceIdsINTEL = 5775,
1675     OpSubgroupAvcImeGetBorderReachedINTEL = 5776,
1676     OpSubgroupAvcImeGetTruncatedSearchIndicationINTEL = 5777,
1677     OpSubgroupAvcImeGetUnidirectionalEarlySearchTerminationINTEL = 5778,
1678     OpSubgroupAvcImeGetWeightingPatternMinimumMotionVectorINTEL = 5779,
1679     OpSubgroupAvcImeGetWeightingPatternMinimumDistortionINTEL = 5780,
1680     OpSubgroupAvcFmeInitializeINTEL = 5781,
1681     OpSubgroupAvcBmeInitializeINTEL = 5782,
1682     OpSubgroupAvcRefConvertToMcePayloadINTEL = 5783,
1683     OpSubgroupAvcRefSetBidirectionalMixDisableINTEL = 5784,
1684     OpSubgroupAvcRefSetBilinearFilterEnableINTEL = 5785,
1685     OpSubgroupAvcRefEvaluateWithSingleReferenceINTEL = 5786,
1686     OpSubgroupAvcRefEvaluateWithDualReferenceINTEL = 5787,
1687     OpSubgroupAvcRefEvaluateWithMultiReferenceINTEL = 5788,
1688     OpSubgroupAvcRefEvaluateWithMultiReferenceInterlacedINTEL = 5789,
1689     OpSubgroupAvcRefConvertToMceResultINTEL = 5790,
1690     OpSubgroupAvcSicInitializeINTEL = 5791,
1691     OpSubgroupAvcSicConfigureSkcINTEL = 5792,
1692     OpSubgroupAvcSicConfigureIpeLumaINTEL = 5793,
1693     OpSubgroupAvcSicConfigureIpeLumaChromaINTEL = 5794,
1694     OpSubgroupAvcSicGetMotionVectorMaskINTEL = 5795,
1695     OpSubgroupAvcSicConvertToMcePayloadINTEL = 5796,
1696     OpSubgroupAvcSicSetIntraLumaShapePenaltyINTEL = 5797,
1697     OpSubgroupAvcSicSetIntraLumaModeCostFunctionINTEL = 5798,
1698     OpSubgroupAvcSicSetIntraChromaModeCostFunctionINTEL = 5799,
1699     OpSubgroupAvcSicSetBilinearFilterEnableINTEL = 5800,
1700     OpSubgroupAvcSicSetSkcForwardTransformEnableINTEL = 5801,
1701     OpSubgroupAvcSicSetBlockBasedRawSkipSadINTEL = 5802,
1702     OpSubgroupAvcSicEvaluateIpeINTEL = 5803,
1703     OpSubgroupAvcSicEvaluateWithSingleReferenceINTEL = 5804,
1704     OpSubgroupAvcSicEvaluateWithDualReferenceINTEL = 5805,
1705     OpSubgroupAvcSicEvaluateWithMultiReferenceINTEL = 5806,
1706     OpSubgroupAvcSicEvaluateWithMultiReferenceInterlacedINTEL = 5807,
1707     OpSubgroupAvcSicConvertToMceResultINTEL = 5808,
1708     OpSubgroupAvcSicGetIpeLumaShapeINTEL = 5809,
1709     OpSubgroupAvcSicGetBestIpeLumaDistortionINTEL = 5810,
1710     OpSubgroupAvcSicGetBestIpeChromaDistortionINTEL = 5811,
1711     OpSubgroupAvcSicGetPackedIpeLumaModesINTEL = 5812,
1712     OpSubgroupAvcSicGetIpeChromaModeINTEL = 5813,
1713     OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL = 5814,
1714     OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL = 5815,
1715     OpSubgroupAvcSicGetInterRawSadsINTEL = 5816,
1716     OpVariableLengthArrayINTEL = 5818,
1717     OpSaveMemoryINTEL = 5819,
1718     OpRestoreMemoryINTEL = 5820,
1719     OpArbitraryFloatSinCosPiINTEL = 5840,
1720     OpArbitraryFloatCastINTEL = 5841,
1721     OpArbitraryFloatCastFromIntINTEL = 5842,
1722     OpArbitraryFloatCastToIntINTEL = 5843,
1723     OpArbitraryFloatAddINTEL = 5846,
1724     OpArbitraryFloatSubINTEL = 5847,
1725     OpArbitraryFloatMulINTEL = 5848,
1726     OpArbitraryFloatDivINTEL = 5849,
1727     OpArbitraryFloatGTINTEL = 5850,
1728     OpArbitraryFloatGEINTEL = 5851,
1729     OpArbitraryFloatLTINTEL = 5852,
1730     OpArbitraryFloatLEINTEL = 5853,
1731     OpArbitraryFloatEQINTEL = 5854,
1732     OpArbitraryFloatRecipINTEL = 5855,
1733     OpArbitraryFloatRSqrtINTEL = 5856,
1734     OpArbitraryFloatCbrtINTEL = 5857,
1735     OpArbitraryFloatHypotINTEL = 5858,
1736     OpArbitraryFloatSqrtINTEL = 5859,
1737     OpArbitraryFloatLogINTEL = 5860,
1738     OpArbitraryFloatLog2INTEL = 5861,
1739     OpArbitraryFloatLog10INTEL = 5862,
1740     OpArbitraryFloatLog1pINTEL = 5863,
1741     OpArbitraryFloatExpINTEL = 5864,
1742     OpArbitraryFloatExp2INTEL = 5865,
1743     OpArbitraryFloatExp10INTEL = 5866,
1744     OpArbitraryFloatExpm1INTEL = 5867,
1745     OpArbitraryFloatSinINTEL = 5868,
1746     OpArbitraryFloatCosINTEL = 5869,
1747     OpArbitraryFloatSinCosINTEL = 5870,
1748     OpArbitraryFloatSinPiINTEL = 5871,
1749     OpArbitraryFloatCosPiINTEL = 5872,
1750     OpArbitraryFloatASinINTEL = 5873,
1751     OpArbitraryFloatASinPiINTEL = 5874,
1752     OpArbitraryFloatACosINTEL = 5875,
1753     OpArbitraryFloatACosPiINTEL = 5876,
1754     OpArbitraryFloatATanINTEL = 5877,
1755     OpArbitraryFloatATanPiINTEL = 5878,
1756     OpArbitraryFloatATan2INTEL = 5879,
1757     OpArbitraryFloatPowINTEL = 5880,
1758     OpArbitraryFloatPowRINTEL = 5881,
1759     OpArbitraryFloatPowNINTEL = 5882,
1760     OpLoopControlINTEL = 5887,
1761     OpFixedSqrtINTEL = 5923,
1762     OpFixedRecipINTEL = 5924,
1763     OpFixedRsqrtINTEL = 5925,
1764     OpFixedSinINTEL = 5926,
1765     OpFixedCosINTEL = 5927,
1766     OpFixedSinCosINTEL = 5928,
1767     OpFixedSinPiINTEL = 5929,
1768     OpFixedCosPiINTEL = 5930,
1769     OpFixedSinCosPiINTEL = 5931,
1770     OpFixedLogINTEL = 5932,
1771     OpFixedExpINTEL = 5933,
1772     OpPtrCastToCrossWorkgroupINTEL = 5934,
1773     OpCrossWorkgroupCastToPtrINTEL = 5938,
1774     OpReadPipeBlockingINTEL = 5946,
1775     OpWritePipeBlockingINTEL = 5947,
1776     OpFPGARegINTEL = 5949,
1777     OpRayQueryGetRayTMinKHR = 6016,
1778     OpRayQueryGetRayFlagsKHR = 6017,
1779     OpRayQueryGetIntersectionTKHR = 6018,
1780     OpRayQueryGetIntersectionInstanceCustomIndexKHR = 6019,
1781     OpRayQueryGetIntersectionInstanceIdKHR = 6020,
1782     OpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR = 6021,
1783     OpRayQueryGetIntersectionGeometryIndexKHR = 6022,
1784     OpRayQueryGetIntersectionPrimitiveIndexKHR = 6023,
1785     OpRayQueryGetIntersectionBarycentricsKHR = 6024,
1786     OpRayQueryGetIntersectionFrontFaceKHR = 6025,
1787     OpRayQueryGetIntersectionCandidateAABBOpaqueKHR = 6026,
1788     OpRayQueryGetIntersectionObjectRayDirectionKHR = 6027,
1789     OpRayQueryGetIntersectionObjectRayOriginKHR = 6028,
1790     OpRayQueryGetWorldRayDirectionKHR = 6029,
1791     OpRayQueryGetWorldRayOriginKHR = 6030,
1792     OpRayQueryGetIntersectionObjectToWorldKHR = 6031,
1793     OpRayQueryGetIntersectionWorldToObjectKHR = 6032,
1794     OpAtomicFAddEXT = 6035,
1795     OpTypeBufferSurfaceINTEL = 6086,
1796     OpTypeStructContinuedINTEL = 6090,
1797     OpConstantCompositeContinuedINTEL = 6091,
1798     OpSpecConstantCompositeContinuedINTEL = 6092,
1799     Max = 0x7fffffff,
1800 };
1801
1802 #ifdef SPV_ENABLE_UTILITY_CODE
1803 inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) {
1804     *hasResult = *hasResultType = false;
1805     switch (opcode) {
1806     default: /* unknown opcode */ break;
1807     case Op::OpNop: *hasResult = false; *hasResultType = false; break;
1808     case Op::OpUndef: *hasResult = true; *hasResultType = true; break;
1809     case Op::OpSourceContinued: *hasResult = false; *hasResultType = false; break;
1810     case Op::OpSource: *hasResult = false; *hasResultType = false; break;
1811     case Op::OpSourceExtension: *hasResult = false; *hasResultType = false; break;
1812     case Op::OpName: *hasResult = false; *hasResultType = false; break;
1813     case Op::OpMemberName: *hasResult = false; *hasResultType = false; break;
1814     case Op::OpString: *hasResult = true; *hasResultType = false; break;
1815     case Op::OpLine: *hasResult = false; *hasResultType = false; break;
1816     case Op::OpExtension: *hasResult = false; *hasResultType = false; break;
1817     case Op::OpExtInstImport: *hasResult = true; *hasResultType = false; break;
1818     case Op::OpExtInst: *hasResult = true; *hasResultType = true; break;
1819     case Op::OpMemoryModel: *hasResult = false; *hasResultType = false; break;
1820     case Op::OpEntryPoint: *hasResult = false; *hasResultType = false; break;
1821     case Op::OpExecutionMode: *hasResult = false; *hasResultType = false; break;
1822     case Op::OpCapability: *hasResult = false; *hasResultType = false; break;
1823     case Op::OpTypeVoid: *hasResult = true; *hasResultType = false; break;
1824     case Op::OpTypeBool: *hasResult = true; *hasResultType = false; break;
1825     case Op::OpTypeInt: *hasResult = true; *hasResultType = false; break;
1826     case Op::OpTypeFloat: *hasResult = true; *hasResultType = false; break;
1827     case Op::OpTypeVector: *hasResult = true; *hasResultType = false; break;
1828     case Op::OpTypeMatrix: *hasResult = true; *hasResultType = false; break;
1829     case Op::OpTypeImage: *hasResult = true; *hasResultType = false; break;
1830     case Op::OpTypeSampler: *hasResult = true; *hasResultType = false; break;
1831     case Op::OpTypeSampledImage: *hasResult = true; *hasResultType = false; break;
1832     case Op::OpTypeArray: *hasResult = true; *hasResultType = false; break;
1833     case Op::OpTypeRuntimeArray: *hasResult = true; *hasResultType = false; break;
1834     case Op::OpTypeStruct: *hasResult = true; *hasResultType = false; break;
1835     case Op::OpTypeOpaque: *hasResult = true; *hasResultType = false; break;
1836     case Op::OpTypePointer: *hasResult = true; *hasResultType = false; break;
1837     case Op::OpTypeFunction: *hasResult = true; *hasResultType = false; break;
1838     case Op::OpTypeEvent: *hasResult = true; *hasResultType = false; break;
1839     case Op::OpTypeDeviceEvent: *hasResult = true; *hasResultType = false; break;
1840     case Op::OpTypeReserveId: *hasResult = true; *hasResultType = false; break;
1841     case Op::OpTypeQueue: *hasResult = true; *hasResultType = false; break;
1842     case Op::OpTypePipe: *hasResult = true; *hasResultType = false; break;
1843     case Op::OpTypeForwardPointer: *hasResult = false; *hasResultType = false; break;
1844     case Op::OpConstantTrue: *hasResult = true; *hasResultType = true; break;
1845     case Op::OpConstantFalse: *hasResult = true; *hasResultType = true; break;
1846     case Op::OpConstant: *hasResult = true; *hasResultType = true; break;
1847     case Op::OpConstantComposite: *hasResult = true; *hasResultType = true; break;
1848     case Op::OpConstantSampler: *hasResult = true; *hasResultType = true; break;
1849     case Op::OpConstantNull: *hasResult = true; *hasResultType = true; break;
1850     case Op::OpSpecConstantTrue: *hasResult = true; *hasResultType = true; break;
1851     case Op::OpSpecConstantFalse: *hasResult = true; *hasResultType = true; break;
1852     case Op::OpSpecConstant: *hasResult = true; *hasResultType = true; break;
1853     case Op::OpSpecConstantComposite: *hasResult = true; *hasResultType = true; break;
1854     case Op::OpSpecConstantOp: *hasResult = true; *hasResultType = true; break;
1855     case Op::OpFunction: *hasResult = true; *hasResultType = true; break;
1856     case Op::OpFunctionParameter: *hasResult = true; *hasResultType = true; break;
1857     case Op::OpFunctionEnd: *hasResult = false; *hasResultType = false; break;
1858     case Op::OpFunctionCall: *hasResult = true; *hasResultType = true; break;
1859     case Op::OpVariable: *hasResult = true; *hasResultType = true; break;
1860     case Op::OpImageTexelPointer: *hasResult = true; *hasResultType = true; break;
1861     case Op::OpLoad: *hasResult = true; *hasResultType = true; break;
1862     case Op::OpStore: *hasResult = false; *hasResultType = false; break;
1863     case Op::OpCopyMemory: *hasResult = false; *hasResultType = false; break;
1864     case Op::OpCopyMemorySized: *hasResult = false; *hasResultType = false; break;
1865     case Op::OpAccessChain: *hasResult = true; *hasResultType = true; break;
1866     case Op::OpInBoundsAccessChain: *hasResult = true; *hasResultType = true; break;
1867     case Op::OpPtrAccessChain: *hasResult = true; *hasResultType = true; break;
1868     case Op::OpArrayLength: *hasResult = true; *hasResultType = true; break;
1869     case Op::OpGenericPtrMemSemantics: *hasResult = true; *hasResultType = true; break;
1870     case Op::OpInBoundsPtrAccessChain: *hasResult = true; *hasResultType = true; break;
1871     case Op::OpDecorate: *hasResult = false; *hasResultType = false; break;
1872     case Op::OpMemberDecorate: *hasResult = false; *hasResultType = false; break;
1873     case Op::OpDecorationGroup: *hasResult = true; *hasResultType = false; break;
1874     case Op::OpGroupDecorate: *hasResult = false; *hasResultType = false; break;
1875     case Op::OpGroupMemberDecorate: *hasResult = false; *hasResultType = false; break;
1876     case Op::OpVectorExtractDynamic: *hasResult = true; *hasResultType = true; break;
1877     case Op::OpVectorInsertDynamic: *hasResult = true; *hasResultType = true; break;
1878     case Op::OpVectorShuffle: *hasResult = true; *hasResultType = true; break;
1879     case Op::OpCompositeConstruct: *hasResult = true; *hasResultType = true; break;
1880     case Op::OpCompositeExtract: *hasResult = true; *hasResultType = true; break;
1881     case Op::OpCompositeInsert: *hasResult = true; *hasResultType = true; break;
1882     case Op::OpCopyObject: *hasResult = true; *hasResultType = true; break;
1883     case Op::OpTranspose: *hasResult = true; *hasResultType = true; break;
1884     case Op::OpSampledImage: *hasResult = true; *hasResultType = true; break;
1885     case Op::OpImageSampleImplicitLod: *hasResult = true; *hasResultType = true; break;
1886     case Op::OpImageSampleExplicitLod: *hasResult = true; *hasResultType = true; break;
1887     case Op::OpImageSampleDrefImplicitLod: *hasResult = true; *hasResultType = true; break;
1888     case Op::OpImageSampleDrefExplicitLod: *hasResult = true; *hasResultType = true; break;
1889     case Op::OpImageSampleProjImplicitLod: *hasResult = true; *hasResultType = true; break;
1890     case Op::OpImageSampleProjExplicitLod: *hasResult = true; *hasResultType = true; break;
1891     case Op::OpImageSampleProjDrefImplicitLod: *hasResult = true; *hasResultType = true; break;
1892     case Op::OpImageSampleProjDrefExplicitLod: *hasResult = true; *hasResultType = true; break;
1893     case Op::OpImageFetch: *hasResult = true; *hasResultType = true; break;
1894     case Op::OpImageGather: *hasResult = true; *hasResultType = true; break;
1895     case Op::OpImageDrefGather: *hasResult = true; *hasResultType = true; break;
1896     case Op::OpImageRead: *hasResult = true; *hasResultType = true; break;
1897     case Op::OpImageWrite: *hasResult = false; *hasResultType = false; break;
1898     case Op::OpImage: *hasResult = true; *hasResultType = true; break;
1899     case Op::OpImageQueryFormat: *hasResult = true; *hasResultType = true; break;
1900     case Op::OpImageQueryOrder: *hasResult = true; *hasResultType = true; break;
1901     case Op::OpImageQuerySizeLod: *hasResult = true; *hasResultType = true; break;
1902     case Op::OpImageQuerySize: *hasResult = true; *hasResultType = true; break;
1903     case Op::OpImageQueryLod: *hasResult = true; *hasResultType = true; break;
1904     case Op::OpImageQueryLevels: *hasResult = true; *hasResultType = true; break;
1905     case Op::OpImageQuerySamples: *hasResult = true; *hasResultType = true; break;
1906     case Op::OpConvertFToU: *hasResult = true; *hasResultType = true; break;
1907     case Op::OpConvertFToS: *hasResult = true; *hasResultType = true; break;
1908     case Op::OpConvertSToF: *hasResult = true; *hasResultType = true; break;
1909     case Op::OpConvertUToF: *hasResult = true; *hasResultType = true; break;
1910     case Op::OpUConvert: *hasResult = true; *hasResultType = true; break;
1911     case Op::OpSConvert: *hasResult = true; *hasResultType = true; break;
1912     case Op::OpFConvert: *hasResult = true; *hasResultType = true; break;
1913     case Op::OpQuantizeToF16: *hasResult = true; *hasResultType = true; break;
1914     case Op::OpConvertPtrToU: *hasResult = true; *hasResultType = true; break;
1915     case Op::OpSatConvertSToU: *hasResult = true; *hasResultType = true; break;
1916     case Op::OpSatConvertUToS: *hasResult = true; *hasResultType = true; break;
1917     case Op::OpConvertUToPtr: *hasResult = true; *hasResultType = true; break;
1918     case Op::OpPtrCastToGeneric: *hasResult = true; *hasResultType = true; break;
1919     case Op::OpGenericCastToPtr: *hasResult = true; *hasResultType = true; break;
1920     case Op::OpGenericCastToPtrExplicit: *hasResult = true; *hasResultType = true; break;
1921     case Op::OpBitcast: *hasResult = true; *hasResultType = true; break;
1922     case Op::OpSNegate: *hasResult = true; *hasResultType = true; break;
1923     case Op::OpFNegate: *hasResult = true; *hasResultType = true; break;
1924     case Op::OpIAdd: *hasResult = true; *hasResultType = true; break;
1925     case Op::OpFAdd: *hasResult = true; *hasResultType = true; break;
1926     case Op::OpISub: *hasResult = true; *hasResultType = true; break;
1927     case Op::OpFSub: *hasResult = true; *hasResultType = true; break;
1928     case Op::OpIMul: *hasResult = true; *hasResultType = true; break;
1929     case Op::OpFMul: *hasResult = true; *hasResultType = true; break;
1930     case Op::OpUDiv: *hasResult = true; *hasResultType = true; break;
1931     case Op::OpSDiv: *hasResult = true; *hasResultType = true; break;
1932     case Op::OpFDiv: *hasResult = true; *hasResultType = true; break;
1933     case Op::OpUMod: *hasResult = true; *hasResultType = true; break;
1934     case Op::OpSRem: *hasResult = true; *hasResultType = true; break;
1935     case Op::OpSMod: *hasResult = true; *hasResultType = true; break;
1936     case Op::OpFRem: *hasResult = true; *hasResultType = true; break;
1937     case Op::OpFMod: *hasResult = true; *hasResultType = true; break;
1938     case Op::OpVectorTimesScalar: *hasResult = true; *hasResultType = true; break;
1939     case Op::OpMatrixTimesScalar: *hasResult = true; *hasResultType = true; break;
1940     case Op::OpVectorTimesMatrix: *hasResult = true; *hasResultType = true; break;
1941     case Op::OpMatrixTimesVector: *hasResult = true; *hasResultType = true; break;
1942     case Op::OpMatrixTimesMatrix: *hasResult = true; *hasResultType = true; break;
1943     case Op::OpOuterProduct: *hasResult = true; *hasResultType = true; break;
1944     case Op::OpDot: *hasResult = true; *hasResultType = true; break;
1945     case Op::OpIAddCarry: *hasResult = true; *hasResultType = true; break;
1946     case Op::OpISubBorrow: *hasResult = true; *hasResultType = true; break;
1947     case Op::OpUMulExtended: *hasResult = true; *hasResultType = true; break;
1948     case Op::OpSMulExtended: *hasResult = true; *hasResultType = true; break;
1949     case Op::OpAny: *hasResult = true; *hasResultType = true; break;
1950     case Op::OpAll: *hasResult = true; *hasResultType = true; break;
1951     case Op::OpIsNan: *hasResult = true; *hasResultType = true; break;
1952     case Op::OpIsInf: *hasResult = true; *hasResultType = true; break;
1953     case Op::OpIsFinite: *hasResult = true; *hasResultType = true; break;
1954     case Op::OpIsNormal: *hasResult = true; *hasResultType = true; break;
1955     case Op::OpSignBitSet: *hasResult = true; *hasResultType = true; break;
1956     case Op::OpLessOrGreater: *hasResult = true; *hasResultType = true; break;
1957     case Op::OpOrdered: *hasResult = true; *hasResultType = true; break;
1958     case Op::OpUnordered: *hasResult = true; *hasResultType = true; break;
1959     case Op::OpLogicalEqual: *hasResult = true; *hasResultType = true; break;
1960     case Op::OpLogicalNotEqual: *hasResult = true; *hasResultType = true; break;
1961     case Op::OpLogicalOr: *hasResult = true; *hasResultType = true; break;
1962     case Op::OpLogicalAnd: *hasResult = true; *hasResultType = true; break;
1963     case Op::OpLogicalNot: *hasResult = true; *hasResultType = true; break;
1964     case Op::OpSelect: *hasResult = true; *hasResultType = true; break;
1965     case Op::OpIEqual: *hasResult = true; *hasResultType = true; break;
1966     case Op::OpINotEqual: *hasResult = true; *hasResultType = true; break;
1967     case Op::OpUGreaterThan: *hasResult = true; *hasResultType = true; break;
1968     case Op::OpSGreaterThan: *hasResult = true; *hasResultType = true; break;
1969     case Op::OpUGreaterThanEqual: *hasResult = true; *hasResultType = true; break;
1970     case Op::OpSGreaterThanEqual: *hasResult = true; *hasResultType = true; break;
1971     case Op::OpULessThan: *hasResult = true; *hasResultType = true; break;
1972     case Op::OpSLessThan: *hasResult = true; *hasResultType = true; break;
1973     case Op::OpULessThanEqual: *hasResult = true; *hasResultType = true; break;
1974     case Op::OpSLessThanEqual: *hasResult = true; *hasResultType = true; break;
1975     case Op::OpFOrdEqual: *hasResult = true; *hasResultType = true; break;
1976     case Op::OpFUnordEqual: *hasResult = true; *hasResultType = true; break;
1977     case Op::OpFOrdNotEqual: *hasResult = true; *hasResultType = true; break;
1978     case Op::OpFUnordNotEqual: *hasResult = true; *hasResultType = true; break;
1979     case Op::OpFOrdLessThan: *hasResult = true; *hasResultType = true; break;
1980     case Op::OpFUnordLessThan: *hasResult = true; *hasResultType = true; break;
1981     case Op::OpFOrdGreaterThan: *hasResult = true; *hasResultType = true; break;
1982     case Op::OpFUnordGreaterThan: *hasResult = true; *hasResultType = true; break;
1983     case Op::OpFOrdLessThanEqual: *hasResult = true; *hasResultType = true; break;
1984     case Op::OpFUnordLessThanEqual: *hasResult = true; *hasResultType = true; break;
1985     case Op::OpFOrdGreaterThanEqual: *hasResult = true; *hasResultType = true; break;
1986     case Op::OpFUnordGreaterThanEqual: *hasResult = true; *hasResultType = true; break;
1987     case Op::OpShiftRightLogical: *hasResult = true; *hasResultType = true; break;
1988     case Op::OpShiftRightArithmetic: *hasResult = true; *hasResultType = true; break;
1989     case Op::OpShiftLeftLogical: *hasResult = true; *hasResultType = true; break;
1990     case Op::OpBitwiseOr: *hasResult = true; *hasResultType = true; break;
1991     case Op::OpBitwiseXor: *hasResult = true; *hasResultType = true; break;
1992     case Op::OpBitwiseAnd: *hasResult = true; *hasResultType = true; break;
1993     case Op::OpNot: *hasResult = true; *hasResultType = true; break;
1994     case Op::OpBitFieldInsert: *hasResult = true; *hasResultType = true; break;
1995     case Op::OpBitFieldSExtract: *hasResult = true; *hasResultType = true; break;
1996     case Op::OpBitFieldUExtract: *hasResult = true; *hasResultType = true; break;
1997     case Op::OpBitReverse: *hasResult = true; *hasResultType = true; break;
1998     case Op::OpBitCount: *hasResult = true; *hasResultType = true; break;
1999     case Op::OpDPdx: *hasResult = true; *hasResultType = true; break;
2000     case Op::OpDPdy: *hasResult = true; *hasResultType = true; break;
2001     case Op::OpFwidth: *hasResult = true; *hasResultType = true; break;
2002     case Op::OpDPdxFine: *hasResult = true; *hasResultType = true; break;
2003     case Op::OpDPdyFine: *hasResult = true; *hasResultType = true; break;
2004     case Op::OpFwidthFine: *hasResult = true; *hasResultType = true; break;
2005     case Op::OpDPdxCoarse: *hasResult = true; *hasResultType = true; break;
2006     case Op::OpDPdyCoarse: *hasResult = true; *hasResultType = true; break;
2007     case Op::OpFwidthCoarse: *hasResult = true; *hasResultType = true; break;
2008     case Op::OpEmitVertex: *hasResult = false; *hasResultType = false; break;
2009     case Op::OpEndPrimitive: *hasResult = false; *hasResultType = false; break;
2010     case Op::OpEmitStreamVertex: *hasResult = false; *hasResultType = false; break;
2011     case Op::OpEndStreamPrimitive: *hasResult = false; *hasResultType = false; break;
2012     case Op::OpControlBarrier: *hasResult = false; *hasResultType = false; break;
2013     case Op::OpMemoryBarrier: *hasResult = false; *hasResultType = false; break;
2014     case Op::OpAtomicLoad: *hasResult = true; *hasResultType = true; break;
2015     case Op::OpAtomicStore: *hasResult = false; *hasResultType = false; break;
2016     case Op::OpAtomicExchange: *hasResult = true; *hasResultType = true; break;
2017     case Op::OpAtomicCompareExchange: *hasResult = true; *hasResultType = true; break;
2018     case Op::OpAtomicCompareExchangeWeak: *hasResult = true; *hasResultType = true; break;
2019     case Op::OpAtomicIIncrement: *hasResult = true; *hasResultType = true; break;
2020     case Op::OpAtomicIDecrement: *hasResult = true; *hasResultType = true; break;
2021     case Op::OpAtomicIAdd: *hasResult = true; *hasResultType = true; break;
2022     case Op::OpAtomicISub: *hasResult = true; *hasResultType = true; break;
2023     case Op::OpAtomicSMin: *hasResult = true; *hasResultType = true; break;
2024     case Op::OpAtomicUMin: *hasResult = true; *hasResultType = true; break;
2025     case Op::OpAtomicSMax: *hasResult = true; *hasResultType = true; break;
2026     case Op::OpAtomicUMax: *hasResult = true; *hasResultType = true; break;
2027     case Op::OpAtomicAnd: *hasResult = true; *hasResultType = true; break;
2028     case Op::OpAtomicOr: *hasResult = true; *hasResultType = true; break;
2029     case Op::OpAtomicXor: *hasResult = true; *hasResultType = true; break;
2030     case Op::OpPhi: *hasResult = true; *hasResultType = true; break;
2031     case Op::OpLoopMerge: *hasResult = false; *hasResultType = false; break;
2032     case Op::OpSelectionMerge: *hasResult = false; *hasResultType = false; break;
2033     case Op::OpLabel: *hasResult = true; *hasResultType = false; break;
2034     case Op::OpBranch: *hasResult = false; *hasResultType = false; break;
2035     case Op::OpBranchConditional: *hasResult = false; *hasResultType = false; break;
2036     case Op::OpSwitch: *hasResult = false; *hasResultType = false; break;
2037     case Op::OpKill: *hasResult = false; *hasResultType = false; break;
2038     case Op::OpReturn: *hasResult = false; *hasResultType = false; break;
2039     case Op::OpReturnValue: *hasResult = false; *hasResultType = false; break;
2040     case Op::OpUnreachable: *hasResult = false; *hasResultType = false; break;
2041     case Op::OpLifetimeStart: *hasResult = false; *hasResultType = false; break;
2042     case Op::OpLifetimeStop: *hasResult = false; *hasResultType = false; break;
2043     case Op::OpGroupAsyncCopy: *hasResult = true; *hasResultType = true; break;
2044     case Op::OpGroupWaitEvents: *hasResult = false; *hasResultType = false; break;
2045     case Op::OpGroupAll: *hasResult = true; *hasResultType = true; break;
2046     case Op::OpGroupAny: *hasResult = true; *hasResultType = true; break;
2047     case Op::OpGroupBroadcast: *hasResult = true; *hasResultType = true; break;
2048     case Op::OpGroupIAdd: *hasResult = true; *hasResultType = true; break;
2049     case Op::OpGroupFAdd: *hasResult = true; *hasResultType = true; break;
2050     case Op::OpGroupFMin: *hasResult = true; *hasResultType = true; break;
2051     case Op::OpGroupUMin: *hasResult = true; *hasResultType = true; break;
2052     case Op::OpGroupSMin: *hasResult = true; *hasResultType = true; break;
2053     case Op::OpGroupFMax: *hasResult = true; *hasResultType = true; break;
2054     case Op::OpGroupUMax: *hasResult = true; *hasResultType = true; break;
2055     case Op::OpGroupSMax: *hasResult = true; *hasResultType = true; break;
2056     case Op::OpReadPipe: *hasResult = true; *hasResultType = true; break;
2057     case Op::OpWritePipe: *hasResult = true; *hasResultType = true; break;
2058     case Op::OpReservedReadPipe: *hasResult = true; *hasResultType = true; break;
2059     case Op::OpReservedWritePipe: *hasResult = true; *hasResultType = true; break;
2060     case Op::OpReserveReadPipePackets: *hasResult = true; *hasResultType = true; break;
2061     case Op::OpReserveWritePipePackets: *hasResult = true; *hasResultType = true; break;
2062     case Op::OpCommitReadPipe: *hasResult = false; *hasResultType = false; break;
2063     case Op::OpCommitWritePipe: *hasResult = false; *hasResultType = false; break;
2064     case Op::OpIsValidReserveId: *hasResult = true; *hasResultType = true; break;
2065     case Op::OpGetNumPipePackets: *hasResult = true; *hasResultType = true; break;
2066     case Op::OpGetMaxPipePackets: *hasResult = true; *hasResultType = true; break;
2067     case Op::OpGroupReserveReadPipePackets: *hasResult = true; *hasResultType = true; break;
2068     case Op::OpGroupReserveWritePipePackets: *hasResult = true; *hasResultType = true; break;
2069     case Op::OpGroupCommitReadPipe: *hasResult = false; *hasResultType = false; break;
2070     case Op::OpGroupCommitWritePipe: *hasResult = false; *hasResultType = false; break;
2071     case Op::OpEnqueueMarker: *hasResult = true; *hasResultType = true; break;
2072     case Op::OpEnqueueKernel: *hasResult = true; *hasResultType = true; break;
2073     case Op::OpGetKernelNDrangeSubGroupCount: *hasResult = true; *hasResultType = true; break;
2074     case Op::OpGetKernelNDrangeMaxSubGroupSize: *hasResult = true; *hasResultType = true; break;
2075     case Op::OpGetKernelWorkGroupSize: *hasResult = true; *hasResultType = true; break;
2076     case Op::OpGetKernelPreferredWorkGroupSizeMultiple: *hasResult = true; *hasResultType = true; break;
2077     case Op::OpRetainEvent: *hasResult = false; *hasResultType = false; break;
2078     case Op::OpReleaseEvent: *hasResult = false; *hasResultType = false; break;
2079     case Op::OpCreateUserEvent: *hasResult = true; *hasResultType = true; break;
2080     case Op::OpIsValidEvent: *hasResult = true; *hasResultType = true; break;
2081     case Op::OpSetUserEventStatus: *hasResult = false; *hasResultType = false; break;
2082     case Op::OpCaptureEventProfilingInfo: *hasResult = false; *hasResultType = false; break;
2083     case Op::OpGetDefaultQueue: *hasResult = true; *hasResultType = true; break;
2084     case Op::OpBuildNDRange: *hasResult = true; *hasResultType = true; break;
2085     case Op::OpImageSparseSampleImplicitLod: *hasResult = true; *hasResultType = true; break;
2086     case Op::OpImageSparseSampleExplicitLod: *hasResult = true; *hasResultType = true; break;
2087     case Op::OpImageSparseSampleDrefImplicitLod: *hasResult = true; *hasResultType = true; break;
2088     case Op::OpImageSparseSampleDrefExplicitLod: *hasResult = true; *hasResultType = true; break;
2089     case Op::OpImageSparseSampleProjImplicitLod: *hasResult = true; *hasResultType = true; break;
2090     case Op::OpImageSparseSampleProjExplicitLod: *hasResult = true; *hasResultType = true; break;
2091     case Op::OpImageSparseSampleProjDrefImplicitLod: *hasResult = true; *hasResultType = true; break;
2092     case Op::OpImageSparseSampleProjDrefExplicitLod: *hasResult = true; *hasResultType = true; break;
2093     case Op::OpImageSparseFetch: *hasResult = true; *hasResultType = true; break;
2094     case Op::OpImageSparseGather: *hasResult = true; *hasResultType = true; break;
2095     case Op::OpImageSparseDrefGather: *hasResult = true; *hasResultType = true; break;
2096     case Op::OpImageSparseTexelsResident: *hasResult = true; *hasResultType = true; break;
2097     case Op::OpNoLine: *hasResult = false; *hasResultType = false; break;
2098     case Op::OpAtomicFlagTestAndSet: *hasResult = true; *hasResultType = true; break;
2099     case Op::OpAtomicFlagClear: *hasResult = false; *hasResultType = false; break;
2100     case Op::OpImageSparseRead: *hasResult = true; *hasResultType = true; break;
2101     case Op::OpSizeOf: *hasResult = true; *hasResultType = true; break;
2102     case Op::OpTypePipeStorage: *hasResult = true; *hasResultType = false; break;
2103     case Op::OpConstantPipeStorage: *hasResult = true; *hasResultType = true; break;
2104     case Op::OpCreatePipeFromPipeStorage: *hasResult = true; *hasResultType = true; break;
2105     case Op::OpGetKernelLocalSizeForSubgroupCount: *hasResult = true; *hasResultType = true; break;
2106     case Op::OpGetKernelMaxNumSubgroups: *hasResult = true; *hasResultType = true; break;
2107     case Op::OpTypeNamedBarrier: *hasResult = true; *hasResultType = false; break;
2108     case Op::OpNamedBarrierInitialize: *hasResult = true; *hasResultType = true; break;
2109     case Op::OpMemoryNamedBarrier: *hasResult = false; *hasResultType = false; break;
2110     case Op::OpModuleProcessed: *hasResult = false; *hasResultType = false; break;
2111     case Op::OpExecutionModeId: *hasResult = false; *hasResultType = false; break;
2112     case Op::OpDecorateId: *hasResult = false; *hasResultType = false; break;
2113     case Op::OpGroupNonUniformElect: *hasResult = true; *hasResultType = true; break;
2114     case Op::OpGroupNonUniformAll: *hasResult = true; *hasResultType = true; break;
2115     case Op::OpGroupNonUniformAny: *hasResult = true; *hasResultType = true; break;
2116     case Op::OpGroupNonUniformAllEqual: *hasResult = true; *hasResultType = true; break;
2117     case Op::OpGroupNonUniformBroadcast: *hasResult = true; *hasResultType = true; break;
2118     case Op::OpGroupNonUniformBroadcastFirst: *hasResult = true; *hasResultType = true; break;
2119     case Op::OpGroupNonUniformBallot: *hasResult = true; *hasResultType = true; break;
2120     case Op::OpGroupNonUniformInverseBallot: *hasResult = true; *hasResultType = true; break;
2121     case Op::OpGroupNonUniformBallotBitExtract: *hasResult = true; *hasResultType = true; break;
2122     case Op::OpGroupNonUniformBallotBitCount: *hasResult = true; *hasResultType = true; break;
2123     case Op::OpGroupNonUniformBallotFindLSB: *hasResult = true; *hasResultType = true; break;
2124     case Op::OpGroupNonUniformBallotFindMSB: *hasResult = true; *hasResultType = true; break;
2125     case Op::OpGroupNonUniformShuffle: *hasResult = true; *hasResultType = true; break;
2126     case Op::OpGroupNonUniformShuffleXor: *hasResult = true; *hasResultType = true; break;
2127     case Op::OpGroupNonUniformShuffleUp: *hasResult = true; *hasResultType = true; break;
2128     case Op::OpGroupNonUniformShuffleDown: *hasResult = true; *hasResultType = true; break;
2129     case Op::OpGroupNonUniformIAdd: *hasResult = true; *hasResultType = true; break;
2130     case Op::OpGroupNonUniformFAdd: *hasResult = true; *hasResultType = true; break;
2131     case Op::OpGroupNonUniformIMul: *hasResult = true; *hasResultType = true; break;
2132     case Op::OpGroupNonUniformFMul: *hasResult = true; *hasResultType = true; break;
2133     case Op::OpGroupNonUniformSMin: *hasResult = true; *hasResultType = true; break;
2134     case Op::OpGroupNonUniformUMin: *hasResult = true; *hasResultType = true; break;
2135     case Op::OpGroupNonUniformFMin: *hasResult = true; *hasResultType = true; break;
2136     case Op::OpGroupNonUniformSMax: *hasResult = true; *hasResultType = true; break;
2137     case Op::OpGroupNonUniformUMax: *hasResult = true; *hasResultType = true; break;
2138     case Op::OpGroupNonUniformFMax: *hasResult = true; *hasResultType = true; break;
2139     case Op::OpGroupNonUniformBitwiseAnd: *hasResult = true; *hasResultType = true; break;
2140     case Op::OpGroupNonUniformBitwiseOr: *hasResult = true; *hasResultType = true; break;
2141     case Op::OpGroupNonUniformBitwiseXor: *hasResult = true; *hasResultType = true; break;
2142     case Op::OpGroupNonUniformLogicalAnd: *hasResult = true; *hasResultType = true; break;
2143     case Op::OpGroupNonUniformLogicalOr: *hasResult = true; *hasResultType = true; break;
2144     case Op::OpGroupNonUniformLogicalXor: *hasResult = true; *hasResultType = true; break;
2145     case Op::OpGroupNonUniformQuadBroadcast: *hasResult = true; *hasResultType = true; break;
2146     case Op::OpGroupNonUniformQuadSwap: *hasResult = true; *hasResultType = true; break;
2147     case Op::OpCopyLogical: *hasResult = true; *hasResultType = true; break;
2148     case Op::OpPtrEqual: *hasResult = true; *hasResultType = true; break;
2149     case Op::OpPtrNotEqual: *hasResult = true; *hasResultType = true; break;
2150     case Op::OpPtrDiff: *hasResult = true; *hasResultType = true; break;
2151     case Op::OpTerminateInvocation: *hasResult = false; *hasResultType = false; break;
2152     case Op::OpSubgroupBallotKHR: *hasResult = true; *hasResultType = true; break;
2153     case Op::OpSubgroupFirstInvocationKHR: *hasResult = true; *hasResultType = true; break;
2154     case Op::OpSubgroupAllKHR: *hasResult = true; *hasResultType = true; break;
2155     case Op::OpSubgroupAnyKHR: *hasResult = true; *hasResultType = true; break;
2156     case Op::OpSubgroupAllEqualKHR: *hasResult = true; *hasResultType = true; break;
2157     case Op::OpSubgroupReadInvocationKHR: *hasResult = true; *hasResultType = true; break;
2158     case Op::OpTraceRayKHR: *hasResult = false; *hasResultType = false; break;
2159     case Op::OpExecuteCallableKHR: *hasResult = false; *hasResultType = false; break;
2160     case Op::OpConvertUToAccelerationStructureKHR: *hasResult = true; *hasResultType = true; break;
2161     case Op::OpIgnoreIntersectionKHR: *hasResult = false; *hasResultType = false; break;
2162     case Op::OpTerminateRayKHR: *hasResult = false; *hasResultType = false; break;
2163     case Op::OpSDotKHR: *hasResult = true; *hasResultType = true; break;
2164     case Op::OpUDotKHR: *hasResult = true; *hasResultType = true; break;
2165     case Op::OpSUDotKHR: *hasResult = true; *hasResultType = true; break;
2166     case Op::OpSDotAccSatKHR: *hasResult = true; *hasResultType = true; break;
2167     case Op::OpUDotAccSatKHR: *hasResult = true; *hasResultType = true; break;
2168     case Op::OpSUDotAccSatKHR: *hasResult = true; *hasResultType = true; break;
2169     case Op::OpTypeRayQueryKHR: *hasResult = true; *hasResultType = false; break;
2170     case Op::OpRayQueryInitializeKHR: *hasResult = false; *hasResultType = false; break;
2171     case Op::OpRayQueryTerminateKHR: *hasResult = false; *hasResultType = false; break;
2172     case Op::OpRayQueryGenerateIntersectionKHR: *hasResult = false; *hasResultType = false; break;
2173     case Op::OpRayQueryConfirmIntersectionKHR: *hasResult = false; *hasResultType = false; break;
2174     case Op::OpRayQueryProceedKHR: *hasResult = true; *hasResultType = true; break;
2175     case Op::OpRayQueryGetIntersectionTypeKHR: *hasResult = true; *hasResultType = true; break;
2176     case Op::OpGroupIAddNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2177     case Op::OpGroupFAddNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2178     case Op::OpGroupFMinNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2179     case Op::OpGroupUMinNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2180     case Op::OpGroupSMinNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2181     case Op::OpGroupFMaxNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2182     case Op::OpGroupUMaxNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2183     case Op::OpGroupSMaxNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2184     case Op::OpFragmentMaskFetchAMD: *hasResult = true; *hasResultType = true; break;
2185     case Op::OpFragmentFetchAMD: *hasResult = true; *hasResultType = true; break;
2186     case Op::OpReadClockKHR: *hasResult = true; *hasResultType = true; break;
2187     case Op::OpImageSampleFootprintNV: *hasResult = true; *hasResultType = true; break;
2188     case Op::OpGroupNonUniformPartitionNV: *hasResult = true; *hasResultType = true; break;
2189     case Op::OpWritePackedPrimitiveIndices4x8NV: *hasResult = false; *hasResultType = false; break;
2190     case Op::OpReportIntersectionNV: *hasResult = true; *hasResultType = true; break;
2191     case Op::OpIgnoreIntersectionNV: *hasResult = false; *hasResultType = false; break;
2192     case Op::OpTerminateRayNV: *hasResult = false; *hasResultType = false; break;
2193     case Op::OpTraceNV: *hasResult = false; *hasResultType = false; break;
2194     case Op::OpTypeAccelerationStructureNV: *hasResult = true; *hasResultType = false; break;
2195     case Op::OpExecuteCallableNV: *hasResult = false; *hasResultType = false; break;
2196     case Op::OpTypeCooperativeMatrixNV: *hasResult = true; *hasResultType = false; break;
2197     case Op::OpCooperativeMatrixLoadNV: *hasResult = true; *hasResultType = true; break;
2198     case Op::OpCooperativeMatrixStoreNV: *hasResult = false; *hasResultType = false; break;
2199     case Op::OpCooperativeMatrixMulAddNV: *hasResult = true; *hasResultType = true; break;
2200     case Op::OpCooperativeMatrixLengthNV: *hasResult = true; *hasResultType = true; break;
2201     case Op::OpBeginInvocationInterlockEXT: *hasResult = false; *hasResultType = false; break;
2202     case Op::OpEndInvocationInterlockEXT: *hasResult = false; *hasResultType = false; break;
2203     case Op::OpDemoteToHelperInvocationEXT: *hasResult = false; *hasResultType = false; break;
2204     case Op::OpIsHelperInvocationEXT: *hasResult = true; *hasResultType = true; break;
2205     case Op::OpSubgroupShuffleINTEL: *hasResult = true; *hasResultType = true; break;
2206     case Op::OpSubgroupShuffleDownINTEL: *hasResult = true; *hasResultType = true; break;
2207     case Op::OpSubgroupShuffleUpINTEL: *hasResult = true; *hasResultType = true; break;
2208     case Op::OpSubgroupShuffleXorINTEL: *hasResult = true; *hasResultType = true; break;
2209     case Op::OpSubgroupBlockReadINTEL: *hasResult = true; *hasResultType = true; break;
2210     case Op::OpSubgroupBlockWriteINTEL: *hasResult = false; *hasResultType = false; break;
2211     case Op::OpSubgroupImageBlockReadINTEL: *hasResult = true; *hasResultType = true; break;
2212     case Op::OpSubgroupImageBlockWriteINTEL: *hasResult = false; *hasResultType = false; break;
2213     case Op::OpSubgroupImageMediaBlockReadINTEL: *hasResult = true; *hasResultType = true; break;
2214     case Op::OpSubgroupImageMediaBlockWriteINTEL: *hasResult = false; *hasResultType = false; break;
2215     case Op::OpUCountLeadingZerosINTEL: *hasResult = true; *hasResultType = true; break;
2216     case Op::OpUCountTrailingZerosINTEL: *hasResult = true; *hasResultType = true; break;
2217     case Op::OpAbsISubINTEL: *hasResult = true; *hasResultType = true; break;
2218     case Op::OpAbsUSubINTEL: *hasResult = true; *hasResultType = true; break;
2219     case Op::OpIAddSatINTEL: *hasResult = true; *hasResultType = true; break;
2220     case Op::OpUAddSatINTEL: *hasResult = true; *hasResultType = true; break;
2221     case Op::OpIAverageINTEL: *hasResult = true; *hasResultType = true; break;
2222     case Op::OpUAverageINTEL: *hasResult = true; *hasResultType = true; break;
2223     case Op::OpIAverageRoundedINTEL: *hasResult = true; *hasResultType = true; break;
2224     case Op::OpUAverageRoundedINTEL: *hasResult = true; *hasResultType = true; break;
2225     case Op::OpISubSatINTEL: *hasResult = true; *hasResultType = true; break;
2226     case Op::OpUSubSatINTEL: *hasResult = true; *hasResultType = true; break;
2227     case Op::OpIMul32x16INTEL: *hasResult = true; *hasResultType = true; break;
2228     case Op::OpUMul32x16INTEL: *hasResult = true; *hasResultType = true; break;
2229     case Op::OpConstFunctionPointerINTEL: *hasResult = true; *hasResultType = true; break;
2230     case Op::OpFunctionPointerCallINTEL: *hasResult = true; *hasResultType = true; break;
2231     case Op::OpAsmTargetINTEL: *hasResult = true; *hasResultType = true; break;
2232     case Op::OpAsmINTEL: *hasResult = true; *hasResultType = true; break;
2233     case Op::OpAsmCallINTEL: *hasResult = true; *hasResultType = true; break;
2234     case Op::OpAtomicFMinEXT: *hasResult = true; *hasResultType = true; break;
2235     case Op::OpAtomicFMaxEXT: *hasResult = true; *hasResultType = true; break;
2236     case Op::OpAssumeTrueKHR: *hasResult = false; *hasResultType = false; break;
2237     case Op::OpExpectKHR: *hasResult = true; *hasResultType = true; break;
2238     case Op::OpDecorateString: *hasResult = false; *hasResultType = false; break;
2239     case Op::OpMemberDecorateString: *hasResult = false; *hasResultType = false; break;
2240     case Op::OpVmeImageINTEL: *hasResult = true; *hasResultType = true; break;
2241     case Op::OpTypeVmeImageINTEL: *hasResult = true; *hasResultType = false; break;
2242     case Op::OpTypeAvcImePayloadINTEL: *hasResult = true; *hasResultType = false; break;
2243     case Op::OpTypeAvcRefPayloadINTEL: *hasResult = true; *hasResultType = false; break;
2244     case Op::OpTypeAvcSicPayloadINTEL: *hasResult = true; *hasResultType = false; break;
2245     case Op::OpTypeAvcMcePayloadINTEL: *hasResult = true; *hasResultType = false; break;
2246     case Op::OpTypeAvcMceResultINTEL: *hasResult = true; *hasResultType = false; break;
2247     case Op::OpTypeAvcImeResultINTEL: *hasResult = true; *hasResultType = false; break;
2248     case Op::OpTypeAvcImeResultSingleReferenceStreamoutINTEL: *hasResult = true; *hasResultType = false; break;
2249     case Op::OpTypeAvcImeResultDualReferenceStreamoutINTEL: *hasResult = true; *hasResultType = false; break;
2250     case Op::OpTypeAvcImeSingleReferenceStreaminINTEL: *hasResult = true; *hasResultType = false; break;
2251     case Op::OpTypeAvcImeDualReferenceStreaminINTEL: *hasResult = true; *hasResultType = false; break;
2252     case Op::OpTypeAvcRefResultINTEL: *hasResult = true; *hasResultType = false; break;
2253     case Op::OpTypeAvcSicResultINTEL: *hasResult = true; *hasResultType = false; break;
2254     case Op::OpSubgroupAvcMceGetDefaultInterBaseMultiReferencePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2255     case Op::OpSubgroupAvcMceSetInterBaseMultiReferencePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2256     case Op::OpSubgroupAvcMceGetDefaultInterShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2257     case Op::OpSubgroupAvcMceSetInterShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2258     case Op::OpSubgroupAvcMceGetDefaultInterDirectionPenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2259     case Op::OpSubgroupAvcMceSetInterDirectionPenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2260     case Op::OpSubgroupAvcMceGetDefaultIntraLumaShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2261     case Op::OpSubgroupAvcMceGetDefaultInterMotionVectorCostTableINTEL: *hasResult = true; *hasResultType = true; break;
2262     case Op::OpSubgroupAvcMceGetDefaultHighPenaltyCostTableINTEL: *hasResult = true; *hasResultType = true; break;
2263     case Op::OpSubgroupAvcMceGetDefaultMediumPenaltyCostTableINTEL: *hasResult = true; *hasResultType = true; break;
2264     case Op::OpSubgroupAvcMceGetDefaultLowPenaltyCostTableINTEL: *hasResult = true; *hasResultType = true; break;
2265     case Op::OpSubgroupAvcMceSetMotionVectorCostFunctionINTEL: *hasResult = true; *hasResultType = true; break;
2266     case Op::OpSubgroupAvcMceGetDefaultIntraLumaModePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2267     case Op::OpSubgroupAvcMceGetDefaultNonDcLumaIntraPenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2268     case Op::OpSubgroupAvcMceGetDefaultIntraChromaModeBasePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2269     case Op::OpSubgroupAvcMceSetAcOnlyHaarINTEL: *hasResult = true; *hasResultType = true; break;
2270     case Op::OpSubgroupAvcMceSetSourceInterlacedFieldPolarityINTEL: *hasResult = true; *hasResultType = true; break;
2271     case Op::OpSubgroupAvcMceSetSingleReferenceInterlacedFieldPolarityINTEL: *hasResult = true; *hasResultType = true; break;
2272     case Op::OpSubgroupAvcMceSetDualReferenceInterlacedFieldPolaritiesINTEL: *hasResult = true; *hasResultType = true; break;
2273     case Op::OpSubgroupAvcMceConvertToImePayloadINTEL: *hasResult = true; *hasResultType = true; break;
2274     case Op::OpSubgroupAvcMceConvertToImeResultINTEL: *hasResult = true; *hasResultType = true; break;
2275     case Op::OpSubgroupAvcMceConvertToRefPayloadINTEL: *hasResult = true; *hasResultType = true; break;
2276     case Op::OpSubgroupAvcMceConvertToRefResultINTEL: *hasResult = true; *hasResultType = true; break;
2277     case Op::OpSubgroupAvcMceConvertToSicPayloadINTEL: *hasResult = true; *hasResultType = true; break;
2278     case Op::OpSubgroupAvcMceConvertToSicResultINTEL: *hasResult = true; *hasResultType = true; break;
2279     case Op::OpSubgroupAvcMceGetMotionVectorsINTEL: *hasResult = true; *hasResultType = true; break;
2280     case Op::OpSubgroupAvcMceGetInterDistortionsINTEL: *hasResult = true; *hasResultType = true; break;
2281     case Op::OpSubgroupAvcMceGetBestInterDistortionsINTEL: *hasResult = true; *hasResultType = true; break;
2282     case Op::OpSubgroupAvcMceGetInterMajorShapeINTEL: *hasResult = true; *hasResultType = true; break;
2283     case Op::OpSubgroupAvcMceGetInterMinorShapeINTEL: *hasResult = true; *hasResultType = true; break;
2284     case Op::OpSubgroupAvcMceGetInterDirectionsINTEL: *hasResult = true; *hasResultType = true; break;
2285     case Op::OpSubgroupAvcMceGetInterMotionVectorCountINTEL: *hasResult = true; *hasResultType = true; break;
2286     case Op::OpSubgroupAvcMceGetInterReferenceIdsINTEL: *hasResult = true; *hasResultType = true; break;
2287     case Op::OpSubgroupAvcMceGetInterReferenceInterlacedFieldPolaritiesINTEL: *hasResult = true; *hasResultType = true; break;
2288     case Op::OpSubgroupAvcImeInitializeINTEL: *hasResult = true; *hasResultType = true; break;
2289     case Op::OpSubgroupAvcImeSetSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2290     case Op::OpSubgroupAvcImeSetDualReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2291     case Op::OpSubgroupAvcImeRefWindowSizeINTEL: *hasResult = true; *hasResultType = true; break;
2292     case Op::OpSubgroupAvcImeAdjustRefOffsetINTEL: *hasResult = true; *hasResultType = true; break;
2293     case Op::OpSubgroupAvcImeConvertToMcePayloadINTEL: *hasResult = true; *hasResultType = true; break;
2294     case Op::OpSubgroupAvcImeSetMaxMotionVectorCountINTEL: *hasResult = true; *hasResultType = true; break;
2295     case Op::OpSubgroupAvcImeSetUnidirectionalMixDisableINTEL: *hasResult = true; *hasResultType = true; break;
2296     case Op::OpSubgroupAvcImeSetEarlySearchTerminationThresholdINTEL: *hasResult = true; *hasResultType = true; break;
2297     case Op::OpSubgroupAvcImeSetWeightedSadINTEL: *hasResult = true; *hasResultType = true; break;
2298     case Op::OpSubgroupAvcImeEvaluateWithSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2299     case Op::OpSubgroupAvcImeEvaluateWithDualReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2300     case Op::OpSubgroupAvcImeEvaluateWithSingleReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break;
2301     case Op::OpSubgroupAvcImeEvaluateWithDualReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break;
2302     case Op::OpSubgroupAvcImeEvaluateWithSingleReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break;
2303     case Op::OpSubgroupAvcImeEvaluateWithDualReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break;
2304     case Op::OpSubgroupAvcImeEvaluateWithSingleReferenceStreaminoutINTEL: *hasResult = true; *hasResultType = true; break;
2305     case Op::OpSubgroupAvcImeEvaluateWithDualReferenceStreaminoutINTEL: *hasResult = true; *hasResultType = true; break;
2306     case Op::OpSubgroupAvcImeConvertToMceResultINTEL: *hasResult = true; *hasResultType = true; break;
2307     case Op::OpSubgroupAvcImeGetSingleReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break;
2308     case Op::OpSubgroupAvcImeGetDualReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break;
2309     case Op::OpSubgroupAvcImeStripSingleReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break;
2310     case Op::OpSubgroupAvcImeStripDualReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break;
2311     case Op::OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeMotionVectorsINTEL: *hasResult = true; *hasResultType = true; break;
2312     case Op::OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeDistortionsINTEL: *hasResult = true; *hasResultType = true; break;
2313     case Op::OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeReferenceIdsINTEL: *hasResult = true; *hasResultType = true; break;
2314     case Op::OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeMotionVectorsINTEL: *hasResult = true; *hasResultType = true; break;
2315     case Op::OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeDistortionsINTEL: *hasResult = true; *hasResultType = true; break;
2316     case Op::OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeReferenceIdsINTEL: *hasResult = true; *hasResultType = true; break;
2317     case Op::OpSubgroupAvcImeGetBorderReachedINTEL: *hasResult = true; *hasResultType = true; break;
2318     case Op::OpSubgroupAvcImeGetTruncatedSearchIndicationINTEL: *hasResult = true; *hasResultType = true; break;
2319     case Op::OpSubgroupAvcImeGetUnidirectionalEarlySearchTerminationINTEL: *hasResult = true; *hasResultType = true; break;
2320     case Op::OpSubgroupAvcImeGetWeightingPatternMinimumMotionVectorINTEL: *hasResult = true; *hasResultType = true; break;
2321     case Op::OpSubgroupAvcImeGetWeightingPatternMinimumDistortionINTEL: *hasResult = true; *hasResultType = true; break;
2322     case Op::OpSubgroupAvcFmeInitializeINTEL: *hasResult = true; *hasResultType = true; break;
2323     case Op::OpSubgroupAvcBmeInitializeINTEL: *hasResult = true; *hasResultType = true; break;
2324     case Op::OpSubgroupAvcRefConvertToMcePayloadINTEL: *hasResult = true; *hasResultType = true; break;
2325     case Op::OpSubgroupAvcRefSetBidirectionalMixDisableINTEL: *hasResult = true; *hasResultType = true; break;
2326     case Op::OpSubgroupAvcRefSetBilinearFilterEnableINTEL: *hasResult = true; *hasResultType = true; break;
2327     case Op::OpSubgroupAvcRefEvaluateWithSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2328     case Op::OpSubgroupAvcRefEvaluateWithDualReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2329     case Op::OpSubgroupAvcRefEvaluateWithMultiReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2330     case Op::OpSubgroupAvcRefEvaluateWithMultiReferenceInterlacedINTEL: *hasResult = true; *hasResultType = true; break;
2331     case Op::OpSubgroupAvcRefConvertToMceResultINTEL: *hasResult = true; *hasResultType = true; break;
2332     case Op::OpSubgroupAvcSicInitializeINTEL: *hasResult = true; *hasResultType = true; break;
2333     case Op::OpSubgroupAvcSicConfigureSkcINTEL: *hasResult = true; *hasResultType = true; break;
2334     case Op::OpSubgroupAvcSicConfigureIpeLumaINTEL: *hasResult = true; *hasResultType = true; break;
2335     case Op::OpSubgroupAvcSicConfigureIpeLumaChromaINTEL: *hasResult = true; *hasResultType = true; break;
2336     case Op::OpSubgroupAvcSicGetMotionVectorMaskINTEL: *hasResult = true; *hasResultType = true; break;
2337     case Op::OpSubgroupAvcSicConvertToMcePayloadINTEL: *hasResult = true; *hasResultType = true; break;
2338     case Op::OpSubgroupAvcSicSetIntraLumaShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2339     case Op::OpSubgroupAvcSicSetIntraLumaModeCostFunctionINTEL: *hasResult = true; *hasResultType = true; break;
2340     case Op::OpSubgroupAvcSicSetIntraChromaModeCostFunctionINTEL: *hasResult = true; *hasResultType = true; break;
2341     case Op::OpSubgroupAvcSicSetBilinearFilterEnableINTEL: *hasResult = true; *hasResultType = true; break;
2342     case Op::OpSubgroupAvcSicSetSkcForwardTransformEnableINTEL: *hasResult = true; *hasResultType = true; break;
2343     case Op::OpSubgroupAvcSicSetBlockBasedRawSkipSadINTEL: *hasResult = true; *hasResultType = true; break;
2344     case Op::OpSubgroupAvcSicEvaluateIpeINTEL: *hasResult = true; *hasResultType = true; break;
2345     case Op::OpSubgroupAvcSicEvaluateWithSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2346     case Op::OpSubgroupAvcSicEvaluateWithDualReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2347     case Op::OpSubgroupAvcSicEvaluateWithMultiReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2348     case Op::OpSubgroupAvcSicEvaluateWithMultiReferenceInterlacedINTEL: *hasResult = true; *hasResultType = true; break;
2349     case Op::OpSubgroupAvcSicConvertToMceResultINTEL: *hasResult = true; *hasResultType = true; break;
2350     case Op::OpSubgroupAvcSicGetIpeLumaShapeINTEL: *hasResult = true; *hasResultType = true; break;
2351     case Op::OpSubgroupAvcSicGetBestIpeLumaDistortionINTEL: *hasResult = true; *hasResultType = true; break;
2352     case Op::OpSubgroupAvcSicGetBestIpeChromaDistortionINTEL: *hasResult = true; *hasResultType = true; break;
2353     case Op::OpSubgroupAvcSicGetPackedIpeLumaModesINTEL: *hasResult = true; *hasResultType = true; break;
2354     case Op::OpSubgroupAvcSicGetIpeChromaModeINTEL: *hasResult = true; *hasResultType = true; break;
2355     case Op::OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL: *hasResult = true; *hasResultType = true; break;
2356     case Op::OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL: *hasResult = true; *hasResultType = true; break;
2357     case Op::OpSubgroupAvcSicGetInterRawSadsINTEL: *hasResult = true; *hasResultType = true; break;
2358     case Op::OpVariableLengthArrayINTEL: *hasResult = true; *hasResultType = true; break;
2359     case Op::OpSaveMemoryINTEL: *hasResult = true; *hasResultType = true; break;
2360     case Op::OpRestoreMemoryINTEL: *hasResult = false; *hasResultType = false; break;
2361     case Op::OpArbitraryFloatSinCosPiINTEL: *hasResult = true; *hasResultType = true; break;
2362     case Op::OpArbitraryFloatCastINTEL: *hasResult = true; *hasResultType = true; break;
2363     case Op::OpArbitraryFloatCastFromIntINTEL: *hasResult = true; *hasResultType = true; break;
2364     case Op::OpArbitraryFloatCastToIntINTEL: *hasResult = true; *hasResultType = true; break;
2365     case Op::OpArbitraryFloatAddINTEL: *hasResult = true; *hasResultType = true; break;
2366     case Op::OpArbitraryFloatSubINTEL: *hasResult = true; *hasResultType = true; break;
2367     case Op::OpArbitraryFloatMulINTEL: *hasResult = true; *hasResultType = true; break;
2368     case Op::OpArbitraryFloatDivINTEL: *hasResult = true; *hasResultType = true; break;
2369     case Op::OpArbitraryFloatGTINTEL: *hasResult = true; *hasResultType = true; break;
2370     case Op::OpArbitraryFloatGEINTEL: *hasResult = true; *hasResultType = true; break;
2371     case Op::OpArbitraryFloatLTINTEL: *hasResult = true; *hasResultType = true; break;
2372     case Op::OpArbitraryFloatLEINTEL: *hasResult = true; *hasResultType = true; break;
2373     case Op::OpArbitraryFloatEQINTEL: *hasResult = true; *hasResultType = true; break;
2374     case Op::OpArbitraryFloatRecipINTEL: *hasResult = true; *hasResultType = true; break;
2375     case Op::OpArbitraryFloatRSqrtINTEL: *hasResult = true; *hasResultType = true; break;
2376     case Op::OpArbitraryFloatCbrtINTEL: *hasResult = true; *hasResultType = true; break;
2377     case Op::OpArbitraryFloatHypotINTEL: *hasResult = true; *hasResultType = true; break;
2378     case Op::OpArbitraryFloatSqrtINTEL: *hasResult = true; *hasResultType = true; break;
2379     case Op::OpArbitraryFloatLogINTEL: *hasResult = true; *hasResultType = true; break;
2380     case Op::OpArbitraryFloatLog2INTEL: *hasResult = true; *hasResultType = true; break;
2381     case Op::OpArbitraryFloatLog10INTEL: *hasResult = true; *hasResultType = true; break;
2382     case Op::OpArbitraryFloatLog1pINTEL: *hasResult = true; *hasResultType = true; break;
2383     case Op::OpArbitraryFloatExpINTEL: *hasResult = true; *hasResultType = true; break;
2384     case Op::OpArbitraryFloatExp2INTEL: *hasResult = true; *hasResultType = true; break;
2385     case Op::OpArbitraryFloatExp10INTEL: *hasResult = true; *hasResultType = true; break;
2386     case Op::OpArbitraryFloatExpm1INTEL: *hasResult = true; *hasResultType = true; break;
2387     case Op::OpArbitraryFloatSinINTEL: *hasResult = true; *hasResultType = true; break;
2388     case Op::OpArbitraryFloatCosINTEL: *hasResult = true; *hasResultType = true; break;
2389     case Op::OpArbitraryFloatSinCosINTEL: *hasResult = true; *hasResultType = true; break;
2390     case Op::OpArbitraryFloatSinPiINTEL: *hasResult = true; *hasResultType = true; break;
2391     case Op::OpArbitraryFloatCosPiINTEL: *hasResult = true; *hasResultType = true; break;
2392     case Op::OpArbitraryFloatASinINTEL: *hasResult = true; *hasResultType = true; break;
2393     case Op::OpArbitraryFloatASinPiINTEL: *hasResult = true; *hasResultType = true; break;
2394     case Op::OpArbitraryFloatACosINTEL: *hasResult = true; *hasResultType = true; break;
2395     case Op::OpArbitraryFloatACosPiINTEL: *hasResult = true; *hasResultType = true; break;
2396     case Op::OpArbitraryFloatATanINTEL: *hasResult = true; *hasResultType = true; break;
2397     case Op::OpArbitraryFloatATanPiINTEL: *hasResult = true; *hasResultType = true; break;
2398     case Op::OpArbitraryFloatATan2INTEL: *hasResult = true; *hasResultType = true; break;
2399     case Op::OpArbitraryFloatPowINTEL: *hasResult = true; *hasResultType = true; break;
2400     case Op::OpArbitraryFloatPowRINTEL: *hasResult = true; *hasResultType = true; break;
2401     case Op::OpArbitraryFloatPowNINTEL: *hasResult = true; *hasResultType = true; break;
2402     case Op::OpLoopControlINTEL: *hasResult = false; *hasResultType = false; break;
2403     case Op::OpFixedSqrtINTEL: *hasResult = true; *hasResultType = true; break;
2404     case Op::OpFixedRecipINTEL: *hasResult = true; *hasResultType = true; break;
2405     case Op::OpFixedRsqrtINTEL: *hasResult = true; *hasResultType = true; break;
2406     case Op::OpFixedSinINTEL: *hasResult = true; *hasResultType = true; break;
2407     case Op::OpFixedCosINTEL: *hasResult = true; *hasResultType = true; break;
2408     case Op::OpFixedSinCosINTEL: *hasResult = true; *hasResultType = true; break;
2409     case Op::OpFixedSinPiINTEL: *hasResult = true; *hasResultType = true; break;
2410     case Op::OpFixedCosPiINTEL: *hasResult = true; *hasResultType = true; break;
2411     case Op::OpFixedSinCosPiINTEL: *hasResult = true; *hasResultType = true; break;
2412     case Op::OpFixedLogINTEL: *hasResult = true; *hasResultType = true; break;
2413     case Op::OpFixedExpINTEL: *hasResult = true; *hasResultType = true; break;
2414     case Op::OpPtrCastToCrossWorkgroupINTEL: *hasResult = true; *hasResultType = true; break;
2415     case Op::OpCrossWorkgroupCastToPtrINTEL: *hasResult = true; *hasResultType = true; break;
2416     case Op::OpReadPipeBlockingINTEL: *hasResult = true; *hasResultType = true; break;
2417     case Op::OpWritePipeBlockingINTEL: *hasResult = true; *hasResultType = true; break;
2418     case Op::OpFPGARegINTEL: *hasResult = true; *hasResultType = true; break;
2419     case Op::OpRayQueryGetRayTMinKHR: *hasResult = true; *hasResultType = true; break;
2420     case Op::OpRayQueryGetRayFlagsKHR: *hasResult = true; *hasResultType = true; break;
2421     case Op::OpRayQueryGetIntersectionTKHR: *hasResult = true; *hasResultType = true; break;
2422     case Op::OpRayQueryGetIntersectionInstanceCustomIndexKHR: *hasResult = true; *hasResultType = true; break;
2423     case Op::OpRayQueryGetIntersectionInstanceIdKHR: *hasResult = true; *hasResultType = true; break;
2424     case Op::OpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR: *hasResult = true; *hasResultType = true; break;
2425     case Op::OpRayQueryGetIntersectionGeometryIndexKHR: *hasResult = true; *hasResultType = true; break;
2426     case Op::OpRayQueryGetIntersectionPrimitiveIndexKHR: *hasResult = true; *hasResultType = true; break;
2427     case Op::OpRayQueryGetIntersectionBarycentricsKHR: *hasResult = true; *hasResultType = true; break;
2428     case Op::OpRayQueryGetIntersectionFrontFaceKHR: *hasResult = true; *hasResultType = true; break;
2429     case Op::OpRayQueryGetIntersectionCandidateAABBOpaqueKHR: *hasResult = true; *hasResultType = true; break;
2430     case Op::OpRayQueryGetIntersectionObjectRayDirectionKHR: *hasResult = true; *hasResultType = true; break;
2431     case Op::OpRayQueryGetIntersectionObjectRayOriginKHR: *hasResult = true; *hasResultType = true; break;
2432     case Op::OpRayQueryGetWorldRayDirectionKHR: *hasResult = true; *hasResultType = true; break;
2433     case Op::OpRayQueryGetWorldRayOriginKHR: *hasResult = true; *hasResultType = true; break;
2434     case Op::OpRayQueryGetIntersectionObjectToWorldKHR: *hasResult = true; *hasResultType = true; break;
2435     case Op::OpRayQueryGetIntersectionWorldToObjectKHR: *hasResult = true; *hasResultType = true; break;
2436     case Op::OpAtomicFAddEXT: *hasResult = true; *hasResultType = true; break;
2437     case Op::OpTypeBufferSurfaceINTEL: *hasResult = true; *hasResultType = false; break;
2438     case Op::OpTypeStructContinuedINTEL: *hasResult = false; *hasResultType = false; break;
2439     case Op::OpConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
2440     case Op::OpSpecConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
2441     }
2442 }
2443 #endif /* SPV_ENABLE_UTILITY_CODE */
2444
2445 // Overload operator| for mask bit combining
2446
2447 inline ImageOperandsMask operator|(ImageOperandsMask a, ImageOperandsMask b) { return ImageOperandsMask(unsigned(a) | unsigned(b)); }
2448 inline FPFastMathModeMask operator|(FPFastMathModeMask a, FPFastMathModeMask b) { return FPFastMathModeMask(unsigned(a) | unsigned(b)); }
2449 inline SelectionControlMask operator|(SelectionControlMask a, SelectionControlMask b) { return SelectionControlMask(unsigned(a) | unsigned(b)); }
2450 inline LoopControlMask operator|(LoopControlMask a, LoopControlMask b) { return LoopControlMask(unsigned(a) | unsigned(b)); }
2451 inline FunctionControlMask operator|(FunctionControlMask a, FunctionControlMask b) { return FunctionControlMask(unsigned(a) | unsigned(b)); }
2452 inline MemorySemanticsMask operator|(MemorySemanticsMask a, MemorySemanticsMask b) { return MemorySemanticsMask(unsigned(a) | unsigned(b)); }
2453 inline MemoryAccessMask operator|(MemoryAccessMask a, MemoryAccessMask b) { return MemoryAccessMask(unsigned(a) | unsigned(b)); }
2454 inline KernelProfilingInfoMask operator|(KernelProfilingInfoMask a, KernelProfilingInfoMask b) { return KernelProfilingInfoMask(unsigned(a) | unsigned(b)); }
2455 inline RayFlagsMask operator|(RayFlagsMask a, RayFlagsMask b) { return RayFlagsMask(unsigned(a) | unsigned(b)); }
2456 inline FragmentShadingRateMask operator|(FragmentShadingRateMask a, FragmentShadingRateMask b) { return FragmentShadingRateMask(unsigned(a) | unsigned(b)); }
2457
2458 }  // end namespace spv
2459
2460 #endif  // #ifndef spirv_HPP
2461