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