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 SourceLanguage {
64     SourceLanguageUnknown = 0,
65     SourceLanguageESSL = 1,
66     SourceLanguageGLSL = 2,
67     SourceLanguageOpenCL_C = 3,
68     SourceLanguageOpenCL_CPP = 4,
69     SourceLanguageHLSL = 5,
70     SourceLanguageCPP_for_OpenCL = 6,
71     SourceLanguageSYCL = 7,
72     SourceLanguageMax = 0x7fffffff,
73 };
74 
75 enum ExecutionModel {
76     ExecutionModelVertex = 0,
77     ExecutionModelTessellationControl = 1,
78     ExecutionModelTessellationEvaluation = 2,
79     ExecutionModelGeometry = 3,
80     ExecutionModelFragment = 4,
81     ExecutionModelGLCompute = 5,
82     ExecutionModelKernel = 6,
83     ExecutionModelTaskNV = 5267,
84     ExecutionModelMeshNV = 5268,
85     ExecutionModelRayGenerationKHR = 5313,
86     ExecutionModelRayGenerationNV = 5313,
87     ExecutionModelIntersectionKHR = 5314,
88     ExecutionModelIntersectionNV = 5314,
89     ExecutionModelAnyHitKHR = 5315,
90     ExecutionModelAnyHitNV = 5315,
91     ExecutionModelClosestHitKHR = 5316,
92     ExecutionModelClosestHitNV = 5316,
93     ExecutionModelMissKHR = 5317,
94     ExecutionModelMissNV = 5317,
95     ExecutionModelCallableKHR = 5318,
96     ExecutionModelCallableNV = 5318,
97     ExecutionModelTaskEXT = 5364,
98     ExecutionModelMeshEXT = 5365,
99     ExecutionModelMax = 0x7fffffff,
100 };
101 
102 enum AddressingModel {
103     AddressingModelLogical = 0,
104     AddressingModelPhysical32 = 1,
105     AddressingModelPhysical64 = 2,
106     AddressingModelPhysicalStorageBuffer64 = 5348,
107     AddressingModelPhysicalStorageBuffer64EXT = 5348,
108     AddressingModelMax = 0x7fffffff,
109 };
110 
111 enum MemoryModel {
112     MemoryModelSimple = 0,
113     MemoryModelGLSL450 = 1,
114     MemoryModelOpenCL = 2,
115     MemoryModelVulkan = 3,
116     MemoryModelVulkanKHR = 3,
117     MemoryModelMax = 0x7fffffff,
118 };
119 
120 enum ExecutionMode {
121     ExecutionModeInvocations = 0,
122     ExecutionModeSpacingEqual = 1,
123     ExecutionModeSpacingFractionalEven = 2,
124     ExecutionModeSpacingFractionalOdd = 3,
125     ExecutionModeVertexOrderCw = 4,
126     ExecutionModeVertexOrderCcw = 5,
127     ExecutionModePixelCenterInteger = 6,
128     ExecutionModeOriginUpperLeft = 7,
129     ExecutionModeOriginLowerLeft = 8,
130     ExecutionModeEarlyFragmentTests = 9,
131     ExecutionModePointMode = 10,
132     ExecutionModeXfb = 11,
133     ExecutionModeDepthReplacing = 12,
134     ExecutionModeDepthGreater = 14,
135     ExecutionModeDepthLess = 15,
136     ExecutionModeDepthUnchanged = 16,
137     ExecutionModeLocalSize = 17,
138     ExecutionModeLocalSizeHint = 18,
139     ExecutionModeInputPoints = 19,
140     ExecutionModeInputLines = 20,
141     ExecutionModeInputLinesAdjacency = 21,
142     ExecutionModeTriangles = 22,
143     ExecutionModeInputTrianglesAdjacency = 23,
144     ExecutionModeQuads = 24,
145     ExecutionModeIsolines = 25,
146     ExecutionModeOutputVertices = 26,
147     ExecutionModeOutputPoints = 27,
148     ExecutionModeOutputLineStrip = 28,
149     ExecutionModeOutputTriangleStrip = 29,
150     ExecutionModeVecTypeHint = 30,
151     ExecutionModeContractionOff = 31,
152     ExecutionModeInitializer = 33,
153     ExecutionModeFinalizer = 34,
154     ExecutionModeSubgroupSize = 35,
155     ExecutionModeSubgroupsPerWorkgroup = 36,
156     ExecutionModeSubgroupsPerWorkgroupId = 37,
157     ExecutionModeLocalSizeId = 38,
158     ExecutionModeLocalSizeHintId = 39,
159     ExecutionModeNonCoherentColorAttachmentReadEXT = 4169,
160     ExecutionModeNonCoherentDepthAttachmentReadEXT = 4170,
161     ExecutionModeNonCoherentStencilAttachmentReadEXT = 4171,
162     ExecutionModeSubgroupUniformControlFlowKHR = 4421,
163     ExecutionModePostDepthCoverage = 4446,
164     ExecutionModeDenormPreserve = 4459,
165     ExecutionModeDenormFlushToZero = 4460,
166     ExecutionModeSignedZeroInfNanPreserve = 4461,
167     ExecutionModeRoundingModeRTE = 4462,
168     ExecutionModeRoundingModeRTZ = 4463,
169     ExecutionModeEarlyAndLateFragmentTestsAMD = 5017,
170     ExecutionModeStencilRefReplacingEXT = 5027,
171     ExecutionModeStencilRefUnchangedFrontAMD = 5079,
172     ExecutionModeStencilRefGreaterFrontAMD = 5080,
173     ExecutionModeStencilRefLessFrontAMD = 5081,
174     ExecutionModeStencilRefUnchangedBackAMD = 5082,
175     ExecutionModeStencilRefGreaterBackAMD = 5083,
176     ExecutionModeStencilRefLessBackAMD = 5084,
177     ExecutionModeQuadDerivativesKHR  = 5088,
178     ExecutionModeRequireFullQuadsKHR = 5089,
179     ExecutionModeOutputLinesEXT = 5269,
180     ExecutionModeOutputLinesNV = 5269,
181     ExecutionModeOutputPrimitivesEXT = 5270,
182     ExecutionModeOutputPrimitivesNV = 5270,
183     ExecutionModeDerivativeGroupQuadsNV = 5289,
184     ExecutionModeDerivativeGroupLinearNV = 5290,
185     ExecutionModeOutputTrianglesEXT = 5298,
186     ExecutionModeOutputTrianglesNV = 5298,
187     ExecutionModePixelInterlockOrderedEXT = 5366,
188     ExecutionModePixelInterlockUnorderedEXT = 5367,
189     ExecutionModeSampleInterlockOrderedEXT = 5368,
190     ExecutionModeSampleInterlockUnorderedEXT = 5369,
191     ExecutionModeShadingRateInterlockOrderedEXT = 5370,
192     ExecutionModeShadingRateInterlockUnorderedEXT = 5371,
193     ExecutionModeSharedLocalMemorySizeINTEL = 5618,
194     ExecutionModeRoundingModeRTPINTEL = 5620,
195     ExecutionModeRoundingModeRTNINTEL = 5621,
196     ExecutionModeFloatingPointModeALTINTEL = 5622,
197     ExecutionModeFloatingPointModeIEEEINTEL = 5623,
198     ExecutionModeMaxWorkgroupSizeINTEL = 5893,
199     ExecutionModeMaxWorkDimINTEL = 5894,
200     ExecutionModeNoGlobalOffsetINTEL = 5895,
201     ExecutionModeNumSIMDWorkitemsINTEL = 5896,
202     ExecutionModeSchedulerTargetFmaxMhzINTEL = 5903,
203     ExecutionModeMaximallyReconvergesKHR = 6023,
204     ExecutionModeStreamingInterfaceINTEL = 6154,
205     ExecutionModeNamedBarrierCountINTEL = 6417,
206     ExecutionModeMax = 0x7fffffff,
207 };
208 
209 enum StorageClass {
210     StorageClassUniformConstant = 0,
211     StorageClassInput = 1,
212     StorageClassUniform = 2,
213     StorageClassOutput = 3,
214     StorageClassWorkgroup = 4,
215     StorageClassCrossWorkgroup = 5,
216     StorageClassPrivate = 6,
217     StorageClassFunction = 7,
218     StorageClassGeneric = 8,
219     StorageClassPushConstant = 9,
220     StorageClassAtomicCounter = 10,
221     StorageClassImage = 11,
222     StorageClassStorageBuffer = 12,
223     StorageClassTileImageEXT = 4172,
224     StorageClassCallableDataKHR = 5328,
225     StorageClassCallableDataNV = 5328,
226     StorageClassIncomingCallableDataKHR = 5329,
227     StorageClassIncomingCallableDataNV = 5329,
228     StorageClassRayPayloadKHR = 5338,
229     StorageClassRayPayloadNV = 5338,
230     StorageClassHitAttributeKHR = 5339,
231     StorageClassHitAttributeNV = 5339,
232     StorageClassIncomingRayPayloadKHR = 5342,
233     StorageClassIncomingRayPayloadNV = 5342,
234     StorageClassShaderRecordBufferKHR = 5343,
235     StorageClassShaderRecordBufferNV = 5343,
236     StorageClassPhysicalStorageBuffer = 5349,
237     StorageClassPhysicalStorageBufferEXT = 5349,
238     StorageClassHitObjectAttributeNV = 5385,
239     StorageClassTaskPayloadWorkgroupEXT = 5402,
240     StorageClassCodeSectionINTEL = 5605,
241     StorageClassDeviceOnlyINTEL = 5936,
242     StorageClassHostOnlyINTEL = 5937,
243     StorageClassMax = 0x7fffffff,
244 };
245 
246 enum Dim {
247     Dim1D = 0,
248     Dim2D = 1,
249     Dim3D = 2,
250     DimCube = 3,
251     DimRect = 4,
252     DimBuffer = 5,
253     DimSubpassData = 6,
254     DimTileImageDataEXT = 4173,
255     DimMax = 0x7fffffff,
256 };
257 
258 enum SamplerAddressingMode {
259     SamplerAddressingModeNone = 0,
260     SamplerAddressingModeClampToEdge = 1,
261     SamplerAddressingModeClamp = 2,
262     SamplerAddressingModeRepeat = 3,
263     SamplerAddressingModeRepeatMirrored = 4,
264     SamplerAddressingModeMax = 0x7fffffff,
265 };
266 
267 enum SamplerFilterMode {
268     SamplerFilterModeNearest = 0,
269     SamplerFilterModeLinear = 1,
270     SamplerFilterModeMax = 0x7fffffff,
271 };
272 
273 enum ImageFormat {
274     ImageFormatUnknown = 0,
275     ImageFormatRgba32f = 1,
276     ImageFormatRgba16f = 2,
277     ImageFormatR32f = 3,
278     ImageFormatRgba8 = 4,
279     ImageFormatRgba8Snorm = 5,
280     ImageFormatRg32f = 6,
281     ImageFormatRg16f = 7,
282     ImageFormatR11fG11fB10f = 8,
283     ImageFormatR16f = 9,
284     ImageFormatRgba16 = 10,
285     ImageFormatRgb10A2 = 11,
286     ImageFormatRg16 = 12,
287     ImageFormatRg8 = 13,
288     ImageFormatR16 = 14,
289     ImageFormatR8 = 15,
290     ImageFormatRgba16Snorm = 16,
291     ImageFormatRg16Snorm = 17,
292     ImageFormatRg8Snorm = 18,
293     ImageFormatR16Snorm = 19,
294     ImageFormatR8Snorm = 20,
295     ImageFormatRgba32i = 21,
296     ImageFormatRgba16i = 22,
297     ImageFormatRgba8i = 23,
298     ImageFormatR32i = 24,
299     ImageFormatRg32i = 25,
300     ImageFormatRg16i = 26,
301     ImageFormatRg8i = 27,
302     ImageFormatR16i = 28,
303     ImageFormatR8i = 29,
304     ImageFormatRgba32ui = 30,
305     ImageFormatRgba16ui = 31,
306     ImageFormatRgba8ui = 32,
307     ImageFormatR32ui = 33,
308     ImageFormatRgb10a2ui = 34,
309     ImageFormatRg32ui = 35,
310     ImageFormatRg16ui = 36,
311     ImageFormatRg8ui = 37,
312     ImageFormatR16ui = 38,
313     ImageFormatR8ui = 39,
314     ImageFormatR64ui = 40,
315     ImageFormatR64i = 41,
316     ImageFormatMax = 0x7fffffff,
317 };
318 
319 enum ImageChannelOrder {
320     ImageChannelOrderR = 0,
321     ImageChannelOrderA = 1,
322     ImageChannelOrderRG = 2,
323     ImageChannelOrderRA = 3,
324     ImageChannelOrderRGB = 4,
325     ImageChannelOrderRGBA = 5,
326     ImageChannelOrderBGRA = 6,
327     ImageChannelOrderARGB = 7,
328     ImageChannelOrderIntensity = 8,
329     ImageChannelOrderLuminance = 9,
330     ImageChannelOrderRx = 10,
331     ImageChannelOrderRGx = 11,
332     ImageChannelOrderRGBx = 12,
333     ImageChannelOrderDepth = 13,
334     ImageChannelOrderDepthStencil = 14,
335     ImageChannelOrdersRGB = 15,
336     ImageChannelOrdersRGBx = 16,
337     ImageChannelOrdersRGBA = 17,
338     ImageChannelOrdersBGRA = 18,
339     ImageChannelOrderABGR = 19,
340     ImageChannelOrderMax = 0x7fffffff,
341 };
342 
343 enum ImageChannelDataType {
344     ImageChannelDataTypeSnormInt8 = 0,
345     ImageChannelDataTypeSnormInt16 = 1,
346     ImageChannelDataTypeUnormInt8 = 2,
347     ImageChannelDataTypeUnormInt16 = 3,
348     ImageChannelDataTypeUnormShort565 = 4,
349     ImageChannelDataTypeUnormShort555 = 5,
350     ImageChannelDataTypeUnormInt101010 = 6,
351     ImageChannelDataTypeSignedInt8 = 7,
352     ImageChannelDataTypeSignedInt16 = 8,
353     ImageChannelDataTypeSignedInt32 = 9,
354     ImageChannelDataTypeUnsignedInt8 = 10,
355     ImageChannelDataTypeUnsignedInt16 = 11,
356     ImageChannelDataTypeUnsignedInt32 = 12,
357     ImageChannelDataTypeHalfFloat = 13,
358     ImageChannelDataTypeFloat = 14,
359     ImageChannelDataTypeUnormInt24 = 15,
360     ImageChannelDataTypeUnormInt101010_2 = 16,
361     ImageChannelDataTypeMax = 0x7fffffff,
362 };
363 
364 enum ImageOperandsShift {
365     ImageOperandsBiasShift = 0,
366     ImageOperandsLodShift = 1,
367     ImageOperandsGradShift = 2,
368     ImageOperandsConstOffsetShift = 3,
369     ImageOperandsOffsetShift = 4,
370     ImageOperandsConstOffsetsShift = 5,
371     ImageOperandsSampleShift = 6,
372     ImageOperandsMinLodShift = 7,
373     ImageOperandsMakeTexelAvailableShift = 8,
374     ImageOperandsMakeTexelAvailableKHRShift = 8,
375     ImageOperandsMakeTexelVisibleShift = 9,
376     ImageOperandsMakeTexelVisibleKHRShift = 9,
377     ImageOperandsNonPrivateTexelShift = 10,
378     ImageOperandsNonPrivateTexelKHRShift = 10,
379     ImageOperandsVolatileTexelShift = 11,
380     ImageOperandsVolatileTexelKHRShift = 11,
381     ImageOperandsSignExtendShift = 12,
382     ImageOperandsZeroExtendShift = 13,
383     ImageOperandsNontemporalShift = 14,
384     ImageOperandsOffsetsShift = 16,
385     ImageOperandsMax = 0x7fffffff,
386 };
387 
388 enum ImageOperandsMask {
389     ImageOperandsMaskNone = 0,
390     ImageOperandsBiasMask = 0x00000001,
391     ImageOperandsLodMask = 0x00000002,
392     ImageOperandsGradMask = 0x00000004,
393     ImageOperandsConstOffsetMask = 0x00000008,
394     ImageOperandsOffsetMask = 0x00000010,
395     ImageOperandsConstOffsetsMask = 0x00000020,
396     ImageOperandsSampleMask = 0x00000040,
397     ImageOperandsMinLodMask = 0x00000080,
398     ImageOperandsMakeTexelAvailableMask = 0x00000100,
399     ImageOperandsMakeTexelAvailableKHRMask = 0x00000100,
400     ImageOperandsMakeTexelVisibleMask = 0x00000200,
401     ImageOperandsMakeTexelVisibleKHRMask = 0x00000200,
402     ImageOperandsNonPrivateTexelMask = 0x00000400,
403     ImageOperandsNonPrivateTexelKHRMask = 0x00000400,
404     ImageOperandsVolatileTexelMask = 0x00000800,
405     ImageOperandsVolatileTexelKHRMask = 0x00000800,
406     ImageOperandsSignExtendMask = 0x00001000,
407     ImageOperandsZeroExtendMask = 0x00002000,
408     ImageOperandsNontemporalMask = 0x00004000,
409     ImageOperandsOffsetsMask = 0x00010000,
410 };
411 
412 enum FPFastMathModeShift {
413     FPFastMathModeNotNaNShift = 0,
414     FPFastMathModeNotInfShift = 1,
415     FPFastMathModeNSZShift = 2,
416     FPFastMathModeAllowRecipShift = 3,
417     FPFastMathModeFastShift = 4,
418     FPFastMathModeAllowContractFastINTELShift = 16,
419     FPFastMathModeAllowReassocINTELShift = 17,
420     FPFastMathModeMax = 0x7fffffff,
421 };
422 
423 enum FPFastMathModeMask {
424     FPFastMathModeMaskNone = 0,
425     FPFastMathModeNotNaNMask = 0x00000001,
426     FPFastMathModeNotInfMask = 0x00000002,
427     FPFastMathModeNSZMask = 0x00000004,
428     FPFastMathModeAllowRecipMask = 0x00000008,
429     FPFastMathModeFastMask = 0x00000010,
430     FPFastMathModeAllowContractFastINTELMask = 0x00010000,
431     FPFastMathModeAllowReassocINTELMask = 0x00020000,
432 };
433 
434 enum FPRoundingMode {
435     FPRoundingModeRTE = 0,
436     FPRoundingModeRTZ = 1,
437     FPRoundingModeRTP = 2,
438     FPRoundingModeRTN = 3,
439     FPRoundingModeMax = 0x7fffffff,
440 };
441 
442 enum LinkageType {
443     LinkageTypeExport = 0,
444     LinkageTypeImport = 1,
445     LinkageTypeLinkOnceODR = 2,
446     LinkageTypeMax = 0x7fffffff,
447 };
448 
449 enum AccessQualifier {
450     AccessQualifierReadOnly = 0,
451     AccessQualifierWriteOnly = 1,
452     AccessQualifierReadWrite = 2,
453     AccessQualifierMax = 0x7fffffff,
454 };
455 
456 enum FunctionParameterAttribute {
457     FunctionParameterAttributeZext = 0,
458     FunctionParameterAttributeSext = 1,
459     FunctionParameterAttributeByVal = 2,
460     FunctionParameterAttributeSret = 3,
461     FunctionParameterAttributeNoAlias = 4,
462     FunctionParameterAttributeNoCapture = 5,
463     FunctionParameterAttributeNoWrite = 6,
464     FunctionParameterAttributeNoReadWrite = 7,
465     FunctionParameterAttributeRuntimeAlignedINTEL = 5940,
466     FunctionParameterAttributeMax = 0x7fffffff,
467 };
468 
469 enum Decoration {
470     DecorationRelaxedPrecision = 0,
471     DecorationSpecId = 1,
472     DecorationBlock = 2,
473     DecorationBufferBlock = 3,
474     DecorationRowMajor = 4,
475     DecorationColMajor = 5,
476     DecorationArrayStride = 6,
477     DecorationMatrixStride = 7,
478     DecorationGLSLShared = 8,
479     DecorationGLSLPacked = 9,
480     DecorationCPacked = 10,
481     DecorationBuiltIn = 11,
482     DecorationNoPerspective = 13,
483     DecorationFlat = 14,
484     DecorationPatch = 15,
485     DecorationCentroid = 16,
486     DecorationSample = 17,
487     DecorationInvariant = 18,
488     DecorationRestrict = 19,
489     DecorationAliased = 20,
490     DecorationVolatile = 21,
491     DecorationConstant = 22,
492     DecorationCoherent = 23,
493     DecorationNonWritable = 24,
494     DecorationNonReadable = 25,
495     DecorationUniform = 26,
496     DecorationUniformId = 27,
497     DecorationSaturatedConversion = 28,
498     DecorationStream = 29,
499     DecorationLocation = 30,
500     DecorationComponent = 31,
501     DecorationIndex = 32,
502     DecorationBinding = 33,
503     DecorationDescriptorSet = 34,
504     DecorationOffset = 35,
505     DecorationXfbBuffer = 36,
506     DecorationXfbStride = 37,
507     DecorationFuncParamAttr = 38,
508     DecorationFPRoundingMode = 39,
509     DecorationFPFastMathMode = 40,
510     DecorationLinkageAttributes = 41,
511     DecorationNoContraction = 42,
512     DecorationInputAttachmentIndex = 43,
513     DecorationAlignment = 44,
514     DecorationMaxByteOffset = 45,
515     DecorationAlignmentId = 46,
516     DecorationMaxByteOffsetId = 47,
517     DecorationNoSignedWrap = 4469,
518     DecorationNoUnsignedWrap = 4470,
519     DecorationWeightTextureQCOM = 4487,
520     DecorationBlockMatchTextureQCOM = 4488,
521     DecorationExplicitInterpAMD = 4999,
522     DecorationOverrideCoverageNV = 5248,
523     DecorationPassthroughNV = 5250,
524     DecorationViewportRelativeNV = 5252,
525     DecorationSecondaryViewportRelativeNV = 5256,
526     DecorationPerPrimitiveEXT = 5271,
527     DecorationPerPrimitiveNV = 5271,
528     DecorationPerViewNV = 5272,
529     DecorationPerTaskNV = 5273,
530     DecorationPerVertexKHR = 5285,
531     DecorationPerVertexNV = 5285,
532     DecorationNonUniform = 5300,
533     DecorationNonUniformEXT = 5300,
534     DecorationRestrictPointer = 5355,
535     DecorationRestrictPointerEXT = 5355,
536     DecorationAliasedPointer = 5356,
537     DecorationAliasedPointerEXT = 5356,
538     DecorationHitObjectShaderRecordBufferNV = 5386,
539     DecorationBindlessSamplerNV = 5398,
540     DecorationBindlessImageNV = 5399,
541     DecorationBoundSamplerNV = 5400,
542     DecorationBoundImageNV = 5401,
543     DecorationSIMTCallINTEL = 5599,
544     DecorationReferencedIndirectlyINTEL = 5602,
545     DecorationClobberINTEL = 5607,
546     DecorationSideEffectsINTEL = 5608,
547     DecorationVectorComputeVariableINTEL = 5624,
548     DecorationFuncParamIOKindINTEL = 5625,
549     DecorationVectorComputeFunctionINTEL = 5626,
550     DecorationStackCallINTEL = 5627,
551     DecorationGlobalVariableOffsetINTEL = 5628,
552     DecorationCounterBuffer = 5634,
553     DecorationHlslCounterBufferGOOGLE = 5634,
554     DecorationHlslSemanticGOOGLE = 5635,
555     DecorationUserSemantic = 5635,
556     DecorationUserTypeGOOGLE = 5636,
557     DecorationFunctionRoundingModeINTEL = 5822,
558     DecorationFunctionDenormModeINTEL = 5823,
559     DecorationRegisterINTEL = 5825,
560     DecorationMemoryINTEL = 5826,
561     DecorationNumbanksINTEL = 5827,
562     DecorationBankwidthINTEL = 5828,
563     DecorationMaxPrivateCopiesINTEL = 5829,
564     DecorationSinglepumpINTEL = 5830,
565     DecorationDoublepumpINTEL = 5831,
566     DecorationMaxReplicatesINTEL = 5832,
567     DecorationSimpleDualPortINTEL = 5833,
568     DecorationMergeINTEL = 5834,
569     DecorationBankBitsINTEL = 5835,
570     DecorationForcePow2DepthINTEL = 5836,
571     DecorationBurstCoalesceINTEL = 5899,
572     DecorationCacheSizeINTEL = 5900,
573     DecorationDontStaticallyCoalesceINTEL = 5901,
574     DecorationPrefetchINTEL = 5902,
575     DecorationStallEnableINTEL = 5905,
576     DecorationFuseLoopsInFunctionINTEL = 5907,
577     DecorationMathOpDSPModeINTEL = 5909,
578     DecorationAliasScopeINTEL = 5914,
579     DecorationNoAliasINTEL = 5915,
580     DecorationInitiationIntervalINTEL = 5917,
581     DecorationMaxConcurrencyINTEL = 5918,
582     DecorationPipelineEnableINTEL = 5919,
583     DecorationBufferLocationINTEL = 5921,
584     DecorationIOPipeStorageINTEL = 5944,
585     DecorationFunctionFloatingPointModeINTEL = 6080,
586     DecorationSingleElementVectorINTEL = 6085,
587     DecorationVectorComputeCallableFunctionINTEL = 6087,
588     DecorationMediaBlockIOINTEL = 6140,
589     DecorationConduitKernelArgumentINTEL = 6175,
590     DecorationRegisterMapKernelArgumentINTEL = 6176,
591     DecorationMMHostInterfaceAddressWidthINTEL = 6177,
592     DecorationMMHostInterfaceDataWidthINTEL = 6178,
593     DecorationMMHostInterfaceLatencyINTEL = 6179,
594     DecorationMMHostInterfaceReadWriteModeINTEL = 6180,
595     DecorationMMHostInterfaceMaxBurstINTEL = 6181,
596     DecorationMMHostInterfaceWaitRequestINTEL = 6182,
597     DecorationStableKernelArgumentINTEL = 6183,
598     DecorationMax = 0x7fffffff,
599 };
600 
601 enum BuiltIn {
602     BuiltInPosition = 0,
603     BuiltInPointSize = 1,
604     BuiltInClipDistance = 3,
605     BuiltInCullDistance = 4,
606     BuiltInVertexId = 5,
607     BuiltInInstanceId = 6,
608     BuiltInPrimitiveId = 7,
609     BuiltInInvocationId = 8,
610     BuiltInLayer = 9,
611     BuiltInViewportIndex = 10,
612     BuiltInTessLevelOuter = 11,
613     BuiltInTessLevelInner = 12,
614     BuiltInTessCoord = 13,
615     BuiltInPatchVertices = 14,
616     BuiltInFragCoord = 15,
617     BuiltInPointCoord = 16,
618     BuiltInFrontFacing = 17,
619     BuiltInSampleId = 18,
620     BuiltInSamplePosition = 19,
621     BuiltInSampleMask = 20,
622     BuiltInFragDepth = 22,
623     BuiltInHelperInvocation = 23,
624     BuiltInNumWorkgroups = 24,
625     BuiltInWorkgroupSize = 25,
626     BuiltInWorkgroupId = 26,
627     BuiltInLocalInvocationId = 27,
628     BuiltInGlobalInvocationId = 28,
629     BuiltInLocalInvocationIndex = 29,
630     BuiltInWorkDim = 30,
631     BuiltInGlobalSize = 31,
632     BuiltInEnqueuedWorkgroupSize = 32,
633     BuiltInGlobalOffset = 33,
634     BuiltInGlobalLinearId = 34,
635     BuiltInSubgroupSize = 36,
636     BuiltInSubgroupMaxSize = 37,
637     BuiltInNumSubgroups = 38,
638     BuiltInNumEnqueuedSubgroups = 39,
639     BuiltInSubgroupId = 40,
640     BuiltInSubgroupLocalInvocationId = 41,
641     BuiltInVertexIndex = 42,
642     BuiltInInstanceIndex = 43,
643     BuiltInCoreIDARM = 4160,
644     BuiltInCoreCountARM = 4161,
645     BuiltInCoreMaxIDARM = 4162,
646     BuiltInWarpIDARM = 4163,
647     BuiltInWarpMaxIDARM = 4164,
648     BuiltInSubgroupEqMask = 4416,
649     BuiltInSubgroupEqMaskKHR = 4416,
650     BuiltInSubgroupGeMask = 4417,
651     BuiltInSubgroupGeMaskKHR = 4417,
652     BuiltInSubgroupGtMask = 4418,
653     BuiltInSubgroupGtMaskKHR = 4418,
654     BuiltInSubgroupLeMask = 4419,
655     BuiltInSubgroupLeMaskKHR = 4419,
656     BuiltInSubgroupLtMask = 4420,
657     BuiltInSubgroupLtMaskKHR = 4420,
658     BuiltInBaseVertex = 4424,
659     BuiltInBaseInstance = 4425,
660     BuiltInDrawIndex = 4426,
661     BuiltInPrimitiveShadingRateKHR = 4432,
662     BuiltInDeviceIndex = 4438,
663     BuiltInViewIndex = 4440,
664     BuiltInShadingRateKHR = 4444,
665     BuiltInBaryCoordNoPerspAMD = 4992,
666     BuiltInBaryCoordNoPerspCentroidAMD = 4993,
667     BuiltInBaryCoordNoPerspSampleAMD = 4994,
668     BuiltInBaryCoordSmoothAMD = 4995,
669     BuiltInBaryCoordSmoothCentroidAMD = 4996,
670     BuiltInBaryCoordSmoothSampleAMD = 4997,
671     BuiltInBaryCoordPullModelAMD = 4998,
672     BuiltInFragStencilRefEXT = 5014,
673     BuiltInViewportMaskNV = 5253,
674     BuiltInSecondaryPositionNV = 5257,
675     BuiltInSecondaryViewportMaskNV = 5258,
676     BuiltInPositionPerViewNV = 5261,
677     BuiltInViewportMaskPerViewNV = 5262,
678     BuiltInFullyCoveredEXT = 5264,
679     BuiltInTaskCountNV = 5274,
680     BuiltInPrimitiveCountNV = 5275,
681     BuiltInPrimitiveIndicesNV = 5276,
682     BuiltInClipDistancePerViewNV = 5277,
683     BuiltInCullDistancePerViewNV = 5278,
684     BuiltInLayerPerViewNV = 5279,
685     BuiltInMeshViewCountNV = 5280,
686     BuiltInMeshViewIndicesNV = 5281,
687     BuiltInBaryCoordKHR = 5286,
688     BuiltInBaryCoordNV = 5286,
689     BuiltInBaryCoordNoPerspKHR = 5287,
690     BuiltInBaryCoordNoPerspNV = 5287,
691     BuiltInFragSizeEXT = 5292,
692     BuiltInFragmentSizeNV = 5292,
693     BuiltInFragInvocationCountEXT = 5293,
694     BuiltInInvocationsPerPixelNV = 5293,
695     BuiltInPrimitivePointIndicesEXT = 5294,
696     BuiltInPrimitiveLineIndicesEXT = 5295,
697     BuiltInPrimitiveTriangleIndicesEXT = 5296,
698     BuiltInCullPrimitiveEXT = 5299,
699     BuiltInLaunchIdKHR = 5319,
700     BuiltInLaunchIdNV = 5319,
701     BuiltInLaunchSizeKHR = 5320,
702     BuiltInLaunchSizeNV = 5320,
703     BuiltInWorldRayOriginKHR = 5321,
704     BuiltInWorldRayOriginNV = 5321,
705     BuiltInWorldRayDirectionKHR = 5322,
706     BuiltInWorldRayDirectionNV = 5322,
707     BuiltInObjectRayOriginKHR = 5323,
708     BuiltInObjectRayOriginNV = 5323,
709     BuiltInObjectRayDirectionKHR = 5324,
710     BuiltInObjectRayDirectionNV = 5324,
711     BuiltInRayTminKHR = 5325,
712     BuiltInRayTminNV = 5325,
713     BuiltInRayTmaxKHR = 5326,
714     BuiltInRayTmaxNV = 5326,
715     BuiltInInstanceCustomIndexKHR = 5327,
716     BuiltInInstanceCustomIndexNV = 5327,
717     BuiltInObjectToWorldKHR = 5330,
718     BuiltInObjectToWorldNV = 5330,
719     BuiltInWorldToObjectKHR = 5331,
720     BuiltInWorldToObjectNV = 5331,
721     BuiltInHitTNV = 5332,
722     BuiltInHitKindKHR = 5333,
723     BuiltInHitKindNV = 5333,
724     BuiltInCurrentRayTimeNV = 5334,
725     BuiltInHitTriangleVertexPositionsKHR = 5335,
726     BuiltInHitMicroTriangleVertexPositionsNV = 5337,
727     BuiltInHitMicroTriangleVertexBarycentricsNV = 5344,
728     BuiltInHitKindFrontFacingMicroTriangleNV = 5405,
729     BuiltInHitKindBackFacingMicroTriangleNV = 5406,
730     BuiltInIncomingRayFlagsKHR = 5351,
731     BuiltInIncomingRayFlagsNV = 5351,
732     BuiltInRayGeometryIndexKHR = 5352,
733     BuiltInWarpsPerSMNV = 5374,
734     BuiltInSMCountNV = 5375,
735     BuiltInWarpIDNV = 5376,
736     BuiltInSMIDNV = 5377,
737     BuiltInCullMaskKHR = 6021,
738     BuiltInMax = 0x7fffffff,
739 };
740 
741 enum SelectionControlShift {
742     SelectionControlFlattenShift = 0,
743     SelectionControlDontFlattenShift = 1,
744     SelectionControlMax = 0x7fffffff,
745 };
746 
747 enum SelectionControlMask {
748     SelectionControlMaskNone = 0,
749     SelectionControlFlattenMask = 0x00000001,
750     SelectionControlDontFlattenMask = 0x00000002,
751 };
752 
753 enum LoopControlShift {
754     LoopControlUnrollShift = 0,
755     LoopControlDontUnrollShift = 1,
756     LoopControlDependencyInfiniteShift = 2,
757     LoopControlDependencyLengthShift = 3,
758     LoopControlMinIterationsShift = 4,
759     LoopControlMaxIterationsShift = 5,
760     LoopControlIterationMultipleShift = 6,
761     LoopControlPeelCountShift = 7,
762     LoopControlPartialCountShift = 8,
763     LoopControlInitiationIntervalINTELShift = 16,
764     LoopControlMaxConcurrencyINTELShift = 17,
765     LoopControlDependencyArrayINTELShift = 18,
766     LoopControlPipelineEnableINTELShift = 19,
767     LoopControlLoopCoalesceINTELShift = 20,
768     LoopControlMaxInterleavingINTELShift = 21,
769     LoopControlSpeculatedIterationsINTELShift = 22,
770     LoopControlNoFusionINTELShift = 23,
771     LoopControlLoopCountINTELShift = 24,
772     LoopControlMaxReinvocationDelayINTELShift = 25,
773     LoopControlMax = 0x7fffffff,
774 };
775 
776 enum LoopControlMask {
777     LoopControlMaskNone = 0,
778     LoopControlUnrollMask = 0x00000001,
779     LoopControlDontUnrollMask = 0x00000002,
780     LoopControlDependencyInfiniteMask = 0x00000004,
781     LoopControlDependencyLengthMask = 0x00000008,
782     LoopControlMinIterationsMask = 0x00000010,
783     LoopControlMaxIterationsMask = 0x00000020,
784     LoopControlIterationMultipleMask = 0x00000040,
785     LoopControlPeelCountMask = 0x00000080,
786     LoopControlPartialCountMask = 0x00000100,
787     LoopControlInitiationIntervalINTELMask = 0x00010000,
788     LoopControlMaxConcurrencyINTELMask = 0x00020000,
789     LoopControlDependencyArrayINTELMask = 0x00040000,
790     LoopControlPipelineEnableINTELMask = 0x00080000,
791     LoopControlLoopCoalesceINTELMask = 0x00100000,
792     LoopControlMaxInterleavingINTELMask = 0x00200000,
793     LoopControlSpeculatedIterationsINTELMask = 0x00400000,
794     LoopControlNoFusionINTELMask = 0x00800000,
795     LoopControlLoopCountINTELMask = 0x01000000,
796     LoopControlMaxReinvocationDelayINTELMask = 0x02000000,
797 };
798 
799 enum FunctionControlShift {
800     FunctionControlInlineShift = 0,
801     FunctionControlDontInlineShift = 1,
802     FunctionControlPureShift = 2,
803     FunctionControlConstShift = 3,
804     FunctionControlOptNoneINTELShift = 16,
805     FunctionControlMax = 0x7fffffff,
806 };
807 
808 enum FunctionControlMask {
809     FunctionControlMaskNone = 0,
810     FunctionControlInlineMask = 0x00000001,
811     FunctionControlDontInlineMask = 0x00000002,
812     FunctionControlPureMask = 0x00000004,
813     FunctionControlConstMask = 0x00000008,
814     FunctionControlOptNoneINTELMask = 0x00010000,
815 };
816 
817 enum MemorySemanticsShift {
818     MemorySemanticsAcquireShift = 1,
819     MemorySemanticsReleaseShift = 2,
820     MemorySemanticsAcquireReleaseShift = 3,
821     MemorySemanticsSequentiallyConsistentShift = 4,
822     MemorySemanticsUniformMemoryShift = 6,
823     MemorySemanticsSubgroupMemoryShift = 7,
824     MemorySemanticsWorkgroupMemoryShift = 8,
825     MemorySemanticsCrossWorkgroupMemoryShift = 9,
826     MemorySemanticsAtomicCounterMemoryShift = 10,
827     MemorySemanticsImageMemoryShift = 11,
828     MemorySemanticsOutputMemoryShift = 12,
829     MemorySemanticsOutputMemoryKHRShift = 12,
830     MemorySemanticsMakeAvailableShift = 13,
831     MemorySemanticsMakeAvailableKHRShift = 13,
832     MemorySemanticsMakeVisibleShift = 14,
833     MemorySemanticsMakeVisibleKHRShift = 14,
834     MemorySemanticsVolatileShift = 15,
835     MemorySemanticsMax = 0x7fffffff,
836 };
837 
838 enum MemorySemanticsMask {
839     MemorySemanticsMaskNone = 0,
840     MemorySemanticsAcquireMask = 0x00000002,
841     MemorySemanticsReleaseMask = 0x00000004,
842     MemorySemanticsAcquireReleaseMask = 0x00000008,
843     MemorySemanticsSequentiallyConsistentMask = 0x00000010,
844     MemorySemanticsUniformMemoryMask = 0x00000040,
845     MemorySemanticsSubgroupMemoryMask = 0x00000080,
846     MemorySemanticsWorkgroupMemoryMask = 0x00000100,
847     MemorySemanticsCrossWorkgroupMemoryMask = 0x00000200,
848     MemorySemanticsAtomicCounterMemoryMask = 0x00000400,
849     MemorySemanticsImageMemoryMask = 0x00000800,
850     MemorySemanticsOutputMemoryMask = 0x00001000,
851     MemorySemanticsOutputMemoryKHRMask = 0x00001000,
852     MemorySemanticsMakeAvailableMask = 0x00002000,
853     MemorySemanticsMakeAvailableKHRMask = 0x00002000,
854     MemorySemanticsMakeVisibleMask = 0x00004000,
855     MemorySemanticsMakeVisibleKHRMask = 0x00004000,
856     MemorySemanticsVolatileMask = 0x00008000,
857 };
858 
859 enum MemoryAccessShift {
860     MemoryAccessVolatileShift = 0,
861     MemoryAccessAlignedShift = 1,
862     MemoryAccessNontemporalShift = 2,
863     MemoryAccessMakePointerAvailableShift = 3,
864     MemoryAccessMakePointerAvailableKHRShift = 3,
865     MemoryAccessMakePointerVisibleShift = 4,
866     MemoryAccessMakePointerVisibleKHRShift = 4,
867     MemoryAccessNonPrivatePointerShift = 5,
868     MemoryAccessNonPrivatePointerKHRShift = 5,
869     MemoryAccessAliasScopeINTELMaskShift = 16,
870     MemoryAccessNoAliasINTELMaskShift = 17,
871     MemoryAccessMax = 0x7fffffff,
872 };
873 
874 enum MemoryAccessMask {
875     MemoryAccessMaskNone = 0,
876     MemoryAccessVolatileMask = 0x00000001,
877     MemoryAccessAlignedMask = 0x00000002,
878     MemoryAccessNontemporalMask = 0x00000004,
879     MemoryAccessMakePointerAvailableMask = 0x00000008,
880     MemoryAccessMakePointerAvailableKHRMask = 0x00000008,
881     MemoryAccessMakePointerVisibleMask = 0x00000010,
882     MemoryAccessMakePointerVisibleKHRMask = 0x00000010,
883     MemoryAccessNonPrivatePointerMask = 0x00000020,
884     MemoryAccessNonPrivatePointerKHRMask = 0x00000020,
885     MemoryAccessAliasScopeINTELMaskMask = 0x00010000,
886     MemoryAccessNoAliasINTELMaskMask = 0x00020000,
887 };
888 
889 enum Scope {
890     ScopeCrossDevice = 0,
891     ScopeDevice = 1,
892     ScopeWorkgroup = 2,
893     ScopeSubgroup = 3,
894     ScopeInvocation = 4,
895     ScopeQueueFamily = 5,
896     ScopeQueueFamilyKHR = 5,
897     ScopeShaderCallKHR = 6,
898     ScopeMax = 0x7fffffff,
899 };
900 
901 enum GroupOperation {
902     GroupOperationReduce = 0,
903     GroupOperationInclusiveScan = 1,
904     GroupOperationExclusiveScan = 2,
905     GroupOperationClusteredReduce = 3,
906     GroupOperationPartitionedReduceNV = 6,
907     GroupOperationPartitionedInclusiveScanNV = 7,
908     GroupOperationPartitionedExclusiveScanNV = 8,
909     GroupOperationMax = 0x7fffffff,
910 };
911 
912 enum KernelEnqueueFlags {
913     KernelEnqueueFlagsNoWait = 0,
914     KernelEnqueueFlagsWaitKernel = 1,
915     KernelEnqueueFlagsWaitWorkGroup = 2,
916     KernelEnqueueFlagsMax = 0x7fffffff,
917 };
918 
919 enum KernelProfilingInfoShift {
920     KernelProfilingInfoCmdExecTimeShift = 0,
921     KernelProfilingInfoMax = 0x7fffffff,
922 };
923 
924 enum KernelProfilingInfoMask {
925     KernelProfilingInfoMaskNone = 0,
926     KernelProfilingInfoCmdExecTimeMask = 0x00000001,
927 };
928 
929 enum Capability {
930     CapabilityMatrix = 0,
931     CapabilityShader = 1,
932     CapabilityGeometry = 2,
933     CapabilityTessellation = 3,
934     CapabilityAddresses = 4,
935     CapabilityLinkage = 5,
936     CapabilityKernel = 6,
937     CapabilityVector16 = 7,
938     CapabilityFloat16Buffer = 8,
939     CapabilityFloat16 = 9,
940     CapabilityFloat64 = 10,
941     CapabilityInt64 = 11,
942     CapabilityInt64Atomics = 12,
943     CapabilityImageBasic = 13,
944     CapabilityImageReadWrite = 14,
945     CapabilityImageMipmap = 15,
946     CapabilityPipes = 17,
947     CapabilityGroups = 18,
948     CapabilityDeviceEnqueue = 19,
949     CapabilityLiteralSampler = 20,
950     CapabilityAtomicStorage = 21,
951     CapabilityInt16 = 22,
952     CapabilityTessellationPointSize = 23,
953     CapabilityGeometryPointSize = 24,
954     CapabilityImageGatherExtended = 25,
955     CapabilityStorageImageMultisample = 27,
956     CapabilityUniformBufferArrayDynamicIndexing = 28,
957     CapabilitySampledImageArrayDynamicIndexing = 29,
958     CapabilityStorageBufferArrayDynamicIndexing = 30,
959     CapabilityStorageImageArrayDynamicIndexing = 31,
960     CapabilityClipDistance = 32,
961     CapabilityCullDistance = 33,
962     CapabilityImageCubeArray = 34,
963     CapabilitySampleRateShading = 35,
964     CapabilityImageRect = 36,
965     CapabilitySampledRect = 37,
966     CapabilityGenericPointer = 38,
967     CapabilityInt8 = 39,
968     CapabilityInputAttachment = 40,
969     CapabilitySparseResidency = 41,
970     CapabilityMinLod = 42,
971     CapabilitySampled1D = 43,
972     CapabilityImage1D = 44,
973     CapabilitySampledCubeArray = 45,
974     CapabilitySampledBuffer = 46,
975     CapabilityImageBuffer = 47,
976     CapabilityImageMSArray = 48,
977     CapabilityStorageImageExtendedFormats = 49,
978     CapabilityImageQuery = 50,
979     CapabilityDerivativeControl = 51,
980     CapabilityInterpolationFunction = 52,
981     CapabilityTransformFeedback = 53,
982     CapabilityGeometryStreams = 54,
983     CapabilityStorageImageReadWithoutFormat = 55,
984     CapabilityStorageImageWriteWithoutFormat = 56,
985     CapabilityMultiViewport = 57,
986     CapabilitySubgroupDispatch = 58,
987     CapabilityNamedBarrier = 59,
988     CapabilityPipeStorage = 60,
989     CapabilityGroupNonUniform = 61,
990     CapabilityGroupNonUniformVote = 62,
991     CapabilityGroupNonUniformArithmetic = 63,
992     CapabilityGroupNonUniformBallot = 64,
993     CapabilityGroupNonUniformShuffle = 65,
994     CapabilityGroupNonUniformShuffleRelative = 66,
995     CapabilityGroupNonUniformClustered = 67,
996     CapabilityGroupNonUniformQuad = 68,
997     CapabilityShaderLayer = 69,
998     CapabilityShaderViewportIndex = 70,
999     CapabilityUniformDecoration = 71,
1000     CapabilityCoreBuiltinsARM = 4165,
1001     CapabilityTileImageColorReadAccessEXT = 4166,
1002     CapabilityTileImageDepthReadAccessEXT = 4167,
1003     CapabilityTileImageStencilReadAccessEXT = 4168,
1004     CapabilityFragmentShadingRateKHR = 4422,
1005     CapabilitySubgroupBallotKHR = 4423,
1006     CapabilityDrawParameters = 4427,
1007     CapabilityWorkgroupMemoryExplicitLayoutKHR = 4428,
1008     CapabilityWorkgroupMemoryExplicitLayout8BitAccessKHR = 4429,
1009     CapabilityWorkgroupMemoryExplicitLayout16BitAccessKHR = 4430,
1010     CapabilitySubgroupVoteKHR = 4431,
1011     CapabilityStorageBuffer16BitAccess = 4433,
1012     CapabilityStorageUniformBufferBlock16 = 4433,
1013     CapabilityStorageUniform16 = 4434,
1014     CapabilityUniformAndStorageBuffer16BitAccess = 4434,
1015     CapabilityStoragePushConstant16 = 4435,
1016     CapabilityStorageInputOutput16 = 4436,
1017     CapabilityDeviceGroup = 4437,
1018     CapabilityMultiView = 4439,
1019     CapabilityVariablePointersStorageBuffer = 4441,
1020     CapabilityVariablePointers = 4442,
1021     CapabilityAtomicStorageOps = 4445,
1022     CapabilitySampleMaskPostDepthCoverage = 4447,
1023     CapabilityStorageBuffer8BitAccess = 4448,
1024     CapabilityUniformAndStorageBuffer8BitAccess = 4449,
1025     CapabilityStoragePushConstant8 = 4450,
1026     CapabilityDenormPreserve = 4464,
1027     CapabilityDenormFlushToZero = 4465,
1028     CapabilitySignedZeroInfNanPreserve = 4466,
1029     CapabilityRoundingModeRTE = 4467,
1030     CapabilityRoundingModeRTZ = 4468,
1031     CapabilityRayQueryProvisionalKHR = 4471,
1032     CapabilityRayQueryKHR = 4472,
1033     CapabilityRayTraversalPrimitiveCullingKHR = 4478,
1034     CapabilityRayTracingKHR = 4479,
1035     CapabilityTextureSampleWeightedQCOM = 4484,
1036     CapabilityTextureBoxFilterQCOM = 4485,
1037     CapabilityTextureBlockMatchQCOM = 4486,
1038     CapabilityFloat16ImageAMD = 5008,
1039     CapabilityImageGatherBiasLodAMD = 5009,
1040     CapabilityFragmentMaskAMD = 5010,
1041     CapabilityStencilExportEXT = 5013,
1042     CapabilityImageReadWriteLodAMD = 5015,
1043     CapabilityInt64ImageEXT = 5016,
1044     CapabilityShaderClockKHR = 5055,
1045     CapabilityQuadControlKHR = 5087,
1046     CapabilitySampleMaskOverrideCoverageNV = 5249,
1047     CapabilityGeometryShaderPassthroughNV = 5251,
1048     CapabilityShaderViewportIndexLayerEXT = 5254,
1049     CapabilityShaderViewportIndexLayerNV = 5254,
1050     CapabilityShaderViewportMaskNV = 5255,
1051     CapabilityShaderStereoViewNV = 5259,
1052     CapabilityPerViewAttributesNV = 5260,
1053     CapabilityFragmentFullyCoveredEXT = 5265,
1054     CapabilityMeshShadingNV = 5266,
1055     CapabilityImageFootprintNV = 5282,
1056     CapabilityMeshShadingEXT = 5283,
1057     CapabilityFragmentBarycentricKHR = 5284,
1058     CapabilityFragmentBarycentricNV = 5284,
1059     CapabilityComputeDerivativeGroupQuadsNV = 5288,
1060     CapabilityFragmentDensityEXT = 5291,
1061     CapabilityShadingRateNV = 5291,
1062     CapabilityGroupNonUniformPartitionedNV = 5297,
1063     CapabilityShaderNonUniform = 5301,
1064     CapabilityShaderNonUniformEXT = 5301,
1065     CapabilityRuntimeDescriptorArray = 5302,
1066     CapabilityRuntimeDescriptorArrayEXT = 5302,
1067     CapabilityInputAttachmentArrayDynamicIndexing = 5303,
1068     CapabilityInputAttachmentArrayDynamicIndexingEXT = 5303,
1069     CapabilityUniformTexelBufferArrayDynamicIndexing = 5304,
1070     CapabilityUniformTexelBufferArrayDynamicIndexingEXT = 5304,
1071     CapabilityStorageTexelBufferArrayDynamicIndexing = 5305,
1072     CapabilityStorageTexelBufferArrayDynamicIndexingEXT = 5305,
1073     CapabilityUniformBufferArrayNonUniformIndexing = 5306,
1074     CapabilityUniformBufferArrayNonUniformIndexingEXT = 5306,
1075     CapabilitySampledImageArrayNonUniformIndexing = 5307,
1076     CapabilitySampledImageArrayNonUniformIndexingEXT = 5307,
1077     CapabilityStorageBufferArrayNonUniformIndexing = 5308,
1078     CapabilityStorageBufferArrayNonUniformIndexingEXT = 5308,
1079     CapabilityStorageImageArrayNonUniformIndexing = 5309,
1080     CapabilityStorageImageArrayNonUniformIndexingEXT = 5309,
1081     CapabilityInputAttachmentArrayNonUniformIndexing = 5310,
1082     CapabilityInputAttachmentArrayNonUniformIndexingEXT = 5310,
1083     CapabilityUniformTexelBufferArrayNonUniformIndexing = 5311,
1084     CapabilityUniformTexelBufferArrayNonUniformIndexingEXT = 5311,
1085     CapabilityStorageTexelBufferArrayNonUniformIndexing = 5312,
1086     CapabilityStorageTexelBufferArrayNonUniformIndexingEXT = 5312,
1087     CapabilityRayTracingPositionFetchKHR = 5336,
1088     CapabilityRayTracingNV = 5340,
1089     CapabilityRayTracingMotionBlurNV = 5341,
1090     CapabilityVulkanMemoryModel = 5345,
1091     CapabilityVulkanMemoryModelKHR = 5345,
1092     CapabilityVulkanMemoryModelDeviceScope = 5346,
1093     CapabilityVulkanMemoryModelDeviceScopeKHR = 5346,
1094     CapabilityPhysicalStorageBufferAddresses = 5347,
1095     CapabilityPhysicalStorageBufferAddressesEXT = 5347,
1096     CapabilityComputeDerivativeGroupLinearNV = 5350,
1097     CapabilityRayTracingProvisionalKHR = 5353,
1098     CapabilityCooperativeMatrixNV = 5357,
1099     CapabilityFragmentShaderSampleInterlockEXT = 5363,
1100     CapabilityFragmentShaderShadingRateInterlockEXT = 5372,
1101     CapabilityShaderSMBuiltinsNV = 5373,
1102     CapabilityFragmentShaderPixelInterlockEXT = 5378,
1103     CapabilityDemoteToHelperInvocation = 5379,
1104     CapabilityDemoteToHelperInvocationEXT = 5379,
1105     CapabilityDisplacementMicromapNV = 5380,
1106     CapabilityRayTracingDisplacementMicromapNV = 5409,
1107     CapabilityRayTracingOpacityMicromapEXT = 5381,
1108     CapabilityShaderInvocationReorderNV = 5383,
1109     CapabilityBindlessTextureNV = 5390,
1110     CapabilityRayQueryPositionFetchKHR = 5391,
1111     CapabilityAtomicFloat16VectorNV = 5404,
1112     CapabilitySubgroupShuffleINTEL = 5568,
1113     CapabilitySubgroupBufferBlockIOINTEL = 5569,
1114     CapabilitySubgroupImageBlockIOINTEL = 5570,
1115     CapabilitySubgroupImageMediaBlockIOINTEL = 5579,
1116     CapabilityRoundToInfinityINTEL = 5582,
1117     CapabilityFloatingPointModeINTEL = 5583,
1118     CapabilityIntegerFunctions2INTEL = 5584,
1119     CapabilityFunctionPointersINTEL = 5603,
1120     CapabilityIndirectReferencesINTEL = 5604,
1121     CapabilityAsmINTEL = 5606,
1122     CapabilityAtomicFloat32MinMaxEXT = 5612,
1123     CapabilityAtomicFloat64MinMaxEXT = 5613,
1124     CapabilityAtomicFloat16MinMaxEXT = 5616,
1125     CapabilityVectorComputeINTEL = 5617,
1126     CapabilityVectorAnyINTEL = 5619,
1127     CapabilityExpectAssumeKHR = 5629,
1128     CapabilitySubgroupAvcMotionEstimationINTEL = 5696,
1129     CapabilitySubgroupAvcMotionEstimationIntraINTEL = 5697,
1130     CapabilitySubgroupAvcMotionEstimationChromaINTEL = 5698,
1131     CapabilityVariableLengthArrayINTEL = 5817,
1132     CapabilityFunctionFloatControlINTEL = 5821,
1133     CapabilityFPGAMemoryAttributesINTEL = 5824,
1134     CapabilityFPFastMathModeINTEL = 5837,
1135     CapabilityArbitraryPrecisionIntegersINTEL = 5844,
1136     CapabilityArbitraryPrecisionFloatingPointINTEL = 5845,
1137     CapabilityUnstructuredLoopControlsINTEL = 5886,
1138     CapabilityFPGALoopControlsINTEL = 5888,
1139     CapabilityKernelAttributesINTEL = 5892,
1140     CapabilityFPGAKernelAttributesINTEL = 5897,
1141     CapabilityFPGAMemoryAccessesINTEL = 5898,
1142     CapabilityFPGAClusterAttributesINTEL = 5904,
1143     CapabilityLoopFuseINTEL = 5906,
1144     CapabilityFPGADSPControlINTEL = 5908,
1145     CapabilityMemoryAccessAliasingINTEL = 5910,
1146     CapabilityFPGAInvocationPipeliningAttributesINTEL = 5916,
1147     CapabilityFPGABufferLocationINTEL = 5920,
1148     CapabilityArbitraryPrecisionFixedPointINTEL = 5922,
1149     CapabilityUSMStorageClassesINTEL = 5935,
1150     CapabilityRuntimeAlignedAttributeINTEL = 5939,
1151     CapabilityIOPipesINTEL = 5943,
1152     CapabilityBlockingPipesINTEL = 5945,
1153     CapabilityFPGARegINTEL = 5948,
1154     CapabilityDotProductInputAll = 6016,
1155     CapabilityDotProductInputAllKHR = 6016,
1156     CapabilityDotProductInput4x8Bit = 6017,
1157     CapabilityDotProductInput4x8BitKHR = 6017,
1158     CapabilityDotProductInput4x8BitPacked = 6018,
1159     CapabilityDotProductInput4x8BitPackedKHR = 6018,
1160     CapabilityDotProduct = 6019,
1161     CapabilityDotProductKHR = 6019,
1162     CapabilityRayCullMaskKHR = 6020,
1163     CapabilityCooperativeMatrixKHR = 6022,
1164     CapabilityBitInstructions = 6025,
1165     CapabilityGroupNonUniformRotateKHR = 6026,
1166     CapabilityAtomicFloat32AddEXT = 6033,
1167     CapabilityAtomicFloat64AddEXT = 6034,
1168     CapabilityLongConstantCompositeINTEL = 6089,
1169     CapabilityOptNoneINTEL = 6094,
1170     CapabilityAtomicFloat16AddEXT = 6095,
1171     CapabilityDebugInfoModuleINTEL = 6114,
1172     CapabilitySplitBarrierINTEL = 6141,
1173     CapabilityFPGAArgumentInterfacesINTEL = 6174,
1174     CapabilityGroupUniformArithmeticKHR = 6400,
1175     CapabilityMax = 0x7fffffff,
1176 };
1177 
1178 enum RayFlagsShift {
1179     RayFlagsOpaqueKHRShift = 0,
1180     RayFlagsNoOpaqueKHRShift = 1,
1181     RayFlagsTerminateOnFirstHitKHRShift = 2,
1182     RayFlagsSkipClosestHitShaderKHRShift = 3,
1183     RayFlagsCullBackFacingTrianglesKHRShift = 4,
1184     RayFlagsCullFrontFacingTrianglesKHRShift = 5,
1185     RayFlagsCullOpaqueKHRShift = 6,
1186     RayFlagsCullNoOpaqueKHRShift = 7,
1187     RayFlagsSkipTrianglesKHRShift = 8,
1188     RayFlagsSkipAABBsKHRShift = 9,
1189     RayFlagsForceOpacityMicromap2StateEXTShift = 10,
1190     RayFlagsMax = 0x7fffffff,
1191 };
1192 
1193 enum RayFlagsMask {
1194     RayFlagsMaskNone = 0,
1195     RayFlagsOpaqueKHRMask = 0x00000001,
1196     RayFlagsNoOpaqueKHRMask = 0x00000002,
1197     RayFlagsTerminateOnFirstHitKHRMask = 0x00000004,
1198     RayFlagsSkipClosestHitShaderKHRMask = 0x00000008,
1199     RayFlagsCullBackFacingTrianglesKHRMask = 0x00000010,
1200     RayFlagsCullFrontFacingTrianglesKHRMask = 0x00000020,
1201     RayFlagsCullOpaqueKHRMask = 0x00000040,
1202     RayFlagsCullNoOpaqueKHRMask = 0x00000080,
1203     RayFlagsSkipTrianglesKHRMask = 0x00000100,
1204     RayFlagsSkipAABBsKHRMask = 0x00000200,
1205     RayFlagsForceOpacityMicromap2StateEXTMask = 0x00000400,
1206 };
1207 
1208 enum RayQueryIntersection {
1209     RayQueryIntersectionRayQueryCandidateIntersectionKHR = 0,
1210     RayQueryIntersectionRayQueryCommittedIntersectionKHR = 1,
1211     RayQueryIntersectionMax = 0x7fffffff,
1212 };
1213 
1214 enum RayQueryCommittedIntersectionType {
1215     RayQueryCommittedIntersectionTypeRayQueryCommittedIntersectionNoneKHR = 0,
1216     RayQueryCommittedIntersectionTypeRayQueryCommittedIntersectionTriangleKHR = 1,
1217     RayQueryCommittedIntersectionTypeRayQueryCommittedIntersectionGeneratedKHR = 2,
1218     RayQueryCommittedIntersectionTypeMax = 0x7fffffff,
1219 };
1220 
1221 enum RayQueryCandidateIntersectionType {
1222     RayQueryCandidateIntersectionTypeRayQueryCandidateIntersectionTriangleKHR = 0,
1223     RayQueryCandidateIntersectionTypeRayQueryCandidateIntersectionAABBKHR = 1,
1224     RayQueryCandidateIntersectionTypeMax = 0x7fffffff,
1225 };
1226 
1227 enum FragmentShadingRateShift {
1228     FragmentShadingRateVertical2PixelsShift = 0,
1229     FragmentShadingRateVertical4PixelsShift = 1,
1230     FragmentShadingRateHorizontal2PixelsShift = 2,
1231     FragmentShadingRateHorizontal4PixelsShift = 3,
1232     FragmentShadingRateMax = 0x7fffffff,
1233 };
1234 
1235 enum FragmentShadingRateMask {
1236     FragmentShadingRateMaskNone = 0,
1237     FragmentShadingRateVertical2PixelsMask = 0x00000001,
1238     FragmentShadingRateVertical4PixelsMask = 0x00000002,
1239     FragmentShadingRateHorizontal2PixelsMask = 0x00000004,
1240     FragmentShadingRateHorizontal4PixelsMask = 0x00000008,
1241 };
1242 
1243 enum FPDenormMode {
1244     FPDenormModePreserve = 0,
1245     FPDenormModeFlushToZero = 1,
1246     FPDenormModeMax = 0x7fffffff,
1247 };
1248 
1249 enum FPOperationMode {
1250     FPOperationModeIEEE = 0,
1251     FPOperationModeALT = 1,
1252     FPOperationModeMax = 0x7fffffff,
1253 };
1254 
1255 enum QuantizationModes {
1256     QuantizationModesTRN = 0,
1257     QuantizationModesTRN_ZERO = 1,
1258     QuantizationModesRND = 2,
1259     QuantizationModesRND_ZERO = 3,
1260     QuantizationModesRND_INF = 4,
1261     QuantizationModesRND_MIN_INF = 5,
1262     QuantizationModesRND_CONV = 6,
1263     QuantizationModesRND_CONV_ODD = 7,
1264     QuantizationModesMax = 0x7fffffff,
1265 };
1266 
1267 enum OverflowModes {
1268     OverflowModesWRAP = 0,
1269     OverflowModesSAT = 1,
1270     OverflowModesSAT_ZERO = 2,
1271     OverflowModesSAT_SYM = 3,
1272     OverflowModesMax = 0x7fffffff,
1273 };
1274 
1275 enum PackedVectorFormat {
1276     PackedVectorFormatPackedVectorFormat4x8Bit = 0,
1277     PackedVectorFormatPackedVectorFormat4x8BitKHR = 0,
1278     PackedVectorFormatMax = 0x7fffffff,
1279 };
1280 
1281 enum CooperativeMatrixOperandsShift {
1282     CooperativeMatrixOperandsMatrixASignedComponentsKHRShift = 0,
1283     CooperativeMatrixOperandsMatrixBSignedComponentsKHRShift = 1,
1284     CooperativeMatrixOperandsMatrixCSignedComponentsKHRShift = 2,
1285     CooperativeMatrixOperandsMatrixResultSignedComponentsKHRShift = 3,
1286     CooperativeMatrixOperandsSaturatingAccumulationKHRShift = 4,
1287     CooperativeMatrixOperandsMax = 0x7fffffff,
1288 };
1289 
1290 enum CooperativeMatrixOperandsMask {
1291     CooperativeMatrixOperandsMaskNone = 0,
1292     CooperativeMatrixOperandsMatrixASignedComponentsKHRMask = 0x00000001,
1293     CooperativeMatrixOperandsMatrixBSignedComponentsKHRMask = 0x00000002,
1294     CooperativeMatrixOperandsMatrixCSignedComponentsKHRMask = 0x00000004,
1295     CooperativeMatrixOperandsMatrixResultSignedComponentsKHRMask = 0x00000008,
1296     CooperativeMatrixOperandsSaturatingAccumulationKHRMask = 0x00000010,
1297 };
1298 
1299 enum CooperativeMatrixLayout {
1300     CooperativeMatrixLayoutRowMajorKHR = 0,
1301     CooperativeMatrixLayoutColumnMajorKHR = 1,
1302     CooperativeMatrixLayoutMax = 0x7fffffff,
1303 };
1304 
1305 enum CooperativeMatrixUse {
1306     CooperativeMatrixUseMatrixAKHR = 0,
1307     CooperativeMatrixUseMatrixBKHR = 1,
1308     CooperativeMatrixUseMatrixAccumulatorKHR = 2,
1309     CooperativeMatrixUseMax = 0x7fffffff,
1310 };
1311 
1312 enum Op {
1313     OpNop = 0,
1314     OpUndef = 1,
1315     OpSourceContinued = 2,
1316     OpSource = 3,
1317     OpSourceExtension = 4,
1318     OpName = 5,
1319     OpMemberName = 6,
1320     OpString = 7,
1321     OpLine = 8,
1322     OpExtension = 10,
1323     OpExtInstImport = 11,
1324     OpExtInst = 12,
1325     OpMemoryModel = 14,
1326     OpEntryPoint = 15,
1327     OpExecutionMode = 16,
1328     OpCapability = 17,
1329     OpTypeVoid = 19,
1330     OpTypeBool = 20,
1331     OpTypeInt = 21,
1332     OpTypeFloat = 22,
1333     OpTypeVector = 23,
1334     OpTypeMatrix = 24,
1335     OpTypeImage = 25,
1336     OpTypeSampler = 26,
1337     OpTypeSampledImage = 27,
1338     OpTypeArray = 28,
1339     OpTypeRuntimeArray = 29,
1340     OpTypeStruct = 30,
1341     OpTypeOpaque = 31,
1342     OpTypePointer = 32,
1343     OpTypeFunction = 33,
1344     OpTypeEvent = 34,
1345     OpTypeDeviceEvent = 35,
1346     OpTypeReserveId = 36,
1347     OpTypeQueue = 37,
1348     OpTypePipe = 38,
1349     OpTypeForwardPointer = 39,
1350     OpConstantTrue = 41,
1351     OpConstantFalse = 42,
1352     OpConstant = 43,
1353     OpConstantComposite = 44,
1354     OpConstantSampler = 45,
1355     OpConstantNull = 46,
1356     OpSpecConstantTrue = 48,
1357     OpSpecConstantFalse = 49,
1358     OpSpecConstant = 50,
1359     OpSpecConstantComposite = 51,
1360     OpSpecConstantOp = 52,
1361     OpFunction = 54,
1362     OpFunctionParameter = 55,
1363     OpFunctionEnd = 56,
1364     OpFunctionCall = 57,
1365     OpVariable = 59,
1366     OpImageTexelPointer = 60,
1367     OpLoad = 61,
1368     OpStore = 62,
1369     OpCopyMemory = 63,
1370     OpCopyMemorySized = 64,
1371     OpAccessChain = 65,
1372     OpInBoundsAccessChain = 66,
1373     OpPtrAccessChain = 67,
1374     OpArrayLength = 68,
1375     OpGenericPtrMemSemantics = 69,
1376     OpInBoundsPtrAccessChain = 70,
1377     OpDecorate = 71,
1378     OpMemberDecorate = 72,
1379     OpDecorationGroup = 73,
1380     OpGroupDecorate = 74,
1381     OpGroupMemberDecorate = 75,
1382     OpVectorExtractDynamic = 77,
1383     OpVectorInsertDynamic = 78,
1384     OpVectorShuffle = 79,
1385     OpCompositeConstruct = 80,
1386     OpCompositeExtract = 81,
1387     OpCompositeInsert = 82,
1388     OpCopyObject = 83,
1389     OpTranspose = 84,
1390     OpSampledImage = 86,
1391     OpImageSampleImplicitLod = 87,
1392     OpImageSampleExplicitLod = 88,
1393     OpImageSampleDrefImplicitLod = 89,
1394     OpImageSampleDrefExplicitLod = 90,
1395     OpImageSampleProjImplicitLod = 91,
1396     OpImageSampleProjExplicitLod = 92,
1397     OpImageSampleProjDrefImplicitLod = 93,
1398     OpImageSampleProjDrefExplicitLod = 94,
1399     OpImageFetch = 95,
1400     OpImageGather = 96,
1401     OpImageDrefGather = 97,
1402     OpImageRead = 98,
1403     OpImageWrite = 99,
1404     OpImage = 100,
1405     OpImageQueryFormat = 101,
1406     OpImageQueryOrder = 102,
1407     OpImageQuerySizeLod = 103,
1408     OpImageQuerySize = 104,
1409     OpImageQueryLod = 105,
1410     OpImageQueryLevels = 106,
1411     OpImageQuerySamples = 107,
1412     OpConvertFToU = 109,
1413     OpConvertFToS = 110,
1414     OpConvertSToF = 111,
1415     OpConvertUToF = 112,
1416     OpUConvert = 113,
1417     OpSConvert = 114,
1418     OpFConvert = 115,
1419     OpQuantizeToF16 = 116,
1420     OpConvertPtrToU = 117,
1421     OpSatConvertSToU = 118,
1422     OpSatConvertUToS = 119,
1423     OpConvertUToPtr = 120,
1424     OpPtrCastToGeneric = 121,
1425     OpGenericCastToPtr = 122,
1426     OpGenericCastToPtrExplicit = 123,
1427     OpBitcast = 124,
1428     OpSNegate = 126,
1429     OpFNegate = 127,
1430     OpIAdd = 128,
1431     OpFAdd = 129,
1432     OpISub = 130,
1433     OpFSub = 131,
1434     OpIMul = 132,
1435     OpFMul = 133,
1436     OpUDiv = 134,
1437     OpSDiv = 135,
1438     OpFDiv = 136,
1439     OpUMod = 137,
1440     OpSRem = 138,
1441     OpSMod = 139,
1442     OpFRem = 140,
1443     OpFMod = 141,
1444     OpVectorTimesScalar = 142,
1445     OpMatrixTimesScalar = 143,
1446     OpVectorTimesMatrix = 144,
1447     OpMatrixTimesVector = 145,
1448     OpMatrixTimesMatrix = 146,
1449     OpOuterProduct = 147,
1450     OpDot = 148,
1451     OpIAddCarry = 149,
1452     OpISubBorrow = 150,
1453     OpUMulExtended = 151,
1454     OpSMulExtended = 152,
1455     OpAny = 154,
1456     OpAll = 155,
1457     OpIsNan = 156,
1458     OpIsInf = 157,
1459     OpIsFinite = 158,
1460     OpIsNormal = 159,
1461     OpSignBitSet = 160,
1462     OpLessOrGreater = 161,
1463     OpOrdered = 162,
1464     OpUnordered = 163,
1465     OpLogicalEqual = 164,
1466     OpLogicalNotEqual = 165,
1467     OpLogicalOr = 166,
1468     OpLogicalAnd = 167,
1469     OpLogicalNot = 168,
1470     OpSelect = 169,
1471     OpIEqual = 170,
1472     OpINotEqual = 171,
1473     OpUGreaterThan = 172,
1474     OpSGreaterThan = 173,
1475     OpUGreaterThanEqual = 174,
1476     OpSGreaterThanEqual = 175,
1477     OpULessThan = 176,
1478     OpSLessThan = 177,
1479     OpULessThanEqual = 178,
1480     OpSLessThanEqual = 179,
1481     OpFOrdEqual = 180,
1482     OpFUnordEqual = 181,
1483     OpFOrdNotEqual = 182,
1484     OpFUnordNotEqual = 183,
1485     OpFOrdLessThan = 184,
1486     OpFUnordLessThan = 185,
1487     OpFOrdGreaterThan = 186,
1488     OpFUnordGreaterThan = 187,
1489     OpFOrdLessThanEqual = 188,
1490     OpFUnordLessThanEqual = 189,
1491     OpFOrdGreaterThanEqual = 190,
1492     OpFUnordGreaterThanEqual = 191,
1493     OpShiftRightLogical = 194,
1494     OpShiftRightArithmetic = 195,
1495     OpShiftLeftLogical = 196,
1496     OpBitwiseOr = 197,
1497     OpBitwiseXor = 198,
1498     OpBitwiseAnd = 199,
1499     OpNot = 200,
1500     OpBitFieldInsert = 201,
1501     OpBitFieldSExtract = 202,
1502     OpBitFieldUExtract = 203,
1503     OpBitReverse = 204,
1504     OpBitCount = 205,
1505     OpDPdx = 207,
1506     OpDPdy = 208,
1507     OpFwidth = 209,
1508     OpDPdxFine = 210,
1509     OpDPdyFine = 211,
1510     OpFwidthFine = 212,
1511     OpDPdxCoarse = 213,
1512     OpDPdyCoarse = 214,
1513     OpFwidthCoarse = 215,
1514     OpEmitVertex = 218,
1515     OpEndPrimitive = 219,
1516     OpEmitStreamVertex = 220,
1517     OpEndStreamPrimitive = 221,
1518     OpControlBarrier = 224,
1519     OpMemoryBarrier = 225,
1520     OpAtomicLoad = 227,
1521     OpAtomicStore = 228,
1522     OpAtomicExchange = 229,
1523     OpAtomicCompareExchange = 230,
1524     OpAtomicCompareExchangeWeak = 231,
1525     OpAtomicIIncrement = 232,
1526     OpAtomicIDecrement = 233,
1527     OpAtomicIAdd = 234,
1528     OpAtomicISub = 235,
1529     OpAtomicSMin = 236,
1530     OpAtomicUMin = 237,
1531     OpAtomicSMax = 238,
1532     OpAtomicUMax = 239,
1533     OpAtomicAnd = 240,
1534     OpAtomicOr = 241,
1535     OpAtomicXor = 242,
1536     OpPhi = 245,
1537     OpLoopMerge = 246,
1538     OpSelectionMerge = 247,
1539     OpLabel = 248,
1540     OpBranch = 249,
1541     OpBranchConditional = 250,
1542     OpSwitch = 251,
1543     OpKill = 252,
1544     OpReturn = 253,
1545     OpReturnValue = 254,
1546     OpUnreachable = 255,
1547     OpLifetimeStart = 256,
1548     OpLifetimeStop = 257,
1549     OpGroupAsyncCopy = 259,
1550     OpGroupWaitEvents = 260,
1551     OpGroupAll = 261,
1552     OpGroupAny = 262,
1553     OpGroupBroadcast = 263,
1554     OpGroupIAdd = 264,
1555     OpGroupFAdd = 265,
1556     OpGroupFMin = 266,
1557     OpGroupUMin = 267,
1558     OpGroupSMin = 268,
1559     OpGroupFMax = 269,
1560     OpGroupUMax = 270,
1561     OpGroupSMax = 271,
1562     OpReadPipe = 274,
1563     OpWritePipe = 275,
1564     OpReservedReadPipe = 276,
1565     OpReservedWritePipe = 277,
1566     OpReserveReadPipePackets = 278,
1567     OpReserveWritePipePackets = 279,
1568     OpCommitReadPipe = 280,
1569     OpCommitWritePipe = 281,
1570     OpIsValidReserveId = 282,
1571     OpGetNumPipePackets = 283,
1572     OpGetMaxPipePackets = 284,
1573     OpGroupReserveReadPipePackets = 285,
1574     OpGroupReserveWritePipePackets = 286,
1575     OpGroupCommitReadPipe = 287,
1576     OpGroupCommitWritePipe = 288,
1577     OpEnqueueMarker = 291,
1578     OpEnqueueKernel = 292,
1579     OpGetKernelNDrangeSubGroupCount = 293,
1580     OpGetKernelNDrangeMaxSubGroupSize = 294,
1581     OpGetKernelWorkGroupSize = 295,
1582     OpGetKernelPreferredWorkGroupSizeMultiple = 296,
1583     OpRetainEvent = 297,
1584     OpReleaseEvent = 298,
1585     OpCreateUserEvent = 299,
1586     OpIsValidEvent = 300,
1587     OpSetUserEventStatus = 301,
1588     OpCaptureEventProfilingInfo = 302,
1589     OpGetDefaultQueue = 303,
1590     OpBuildNDRange = 304,
1591     OpImageSparseSampleImplicitLod = 305,
1592     OpImageSparseSampleExplicitLod = 306,
1593     OpImageSparseSampleDrefImplicitLod = 307,
1594     OpImageSparseSampleDrefExplicitLod = 308,
1595     OpImageSparseSampleProjImplicitLod = 309,
1596     OpImageSparseSampleProjExplicitLod = 310,
1597     OpImageSparseSampleProjDrefImplicitLod = 311,
1598     OpImageSparseSampleProjDrefExplicitLod = 312,
1599     OpImageSparseFetch = 313,
1600     OpImageSparseGather = 314,
1601     OpImageSparseDrefGather = 315,
1602     OpImageSparseTexelsResident = 316,
1603     OpNoLine = 317,
1604     OpAtomicFlagTestAndSet = 318,
1605     OpAtomicFlagClear = 319,
1606     OpImageSparseRead = 320,
1607     OpSizeOf = 321,
1608     OpTypePipeStorage = 322,
1609     OpConstantPipeStorage = 323,
1610     OpCreatePipeFromPipeStorage = 324,
1611     OpGetKernelLocalSizeForSubgroupCount = 325,
1612     OpGetKernelMaxNumSubgroups = 326,
1613     OpTypeNamedBarrier = 327,
1614     OpNamedBarrierInitialize = 328,
1615     OpMemoryNamedBarrier = 329,
1616     OpModuleProcessed = 330,
1617     OpExecutionModeId = 331,
1618     OpDecorateId = 332,
1619     OpGroupNonUniformElect = 333,
1620     OpGroupNonUniformAll = 334,
1621     OpGroupNonUniformAny = 335,
1622     OpGroupNonUniformAllEqual = 336,
1623     OpGroupNonUniformBroadcast = 337,
1624     OpGroupNonUniformBroadcastFirst = 338,
1625     OpGroupNonUniformBallot = 339,
1626     OpGroupNonUniformInverseBallot = 340,
1627     OpGroupNonUniformBallotBitExtract = 341,
1628     OpGroupNonUniformBallotBitCount = 342,
1629     OpGroupNonUniformBallotFindLSB = 343,
1630     OpGroupNonUniformBallotFindMSB = 344,
1631     OpGroupNonUniformShuffle = 345,
1632     OpGroupNonUniformShuffleXor = 346,
1633     OpGroupNonUniformShuffleUp = 347,
1634     OpGroupNonUniformShuffleDown = 348,
1635     OpGroupNonUniformIAdd = 349,
1636     OpGroupNonUniformFAdd = 350,
1637     OpGroupNonUniformIMul = 351,
1638     OpGroupNonUniformFMul = 352,
1639     OpGroupNonUniformSMin = 353,
1640     OpGroupNonUniformUMin = 354,
1641     OpGroupNonUniformFMin = 355,
1642     OpGroupNonUniformSMax = 356,
1643     OpGroupNonUniformUMax = 357,
1644     OpGroupNonUniformFMax = 358,
1645     OpGroupNonUniformBitwiseAnd = 359,
1646     OpGroupNonUniformBitwiseOr = 360,
1647     OpGroupNonUniformBitwiseXor = 361,
1648     OpGroupNonUniformLogicalAnd = 362,
1649     OpGroupNonUniformLogicalOr = 363,
1650     OpGroupNonUniformLogicalXor = 364,
1651     OpGroupNonUniformQuadBroadcast = 365,
1652     OpGroupNonUniformQuadSwap = 366,
1653     OpCopyLogical = 400,
1654     OpPtrEqual = 401,
1655     OpPtrNotEqual = 402,
1656     OpPtrDiff = 403,
1657     OpColorAttachmentReadEXT = 4160,
1658     OpDepthAttachmentReadEXT = 4161,
1659     OpStencilAttachmentReadEXT = 4162,
1660     OpTerminateInvocation = 4416,
1661     OpSubgroupBallotKHR = 4421,
1662     OpSubgroupFirstInvocationKHR = 4422,
1663     OpSubgroupAllKHR = 4428,
1664     OpSubgroupAnyKHR = 4429,
1665     OpSubgroupAllEqualKHR = 4430,
1666     OpGroupNonUniformRotateKHR = 4431,
1667     OpSubgroupReadInvocationKHR = 4432,
1668     OpTraceRayKHR = 4445,
1669     OpExecuteCallableKHR = 4446,
1670     OpConvertUToAccelerationStructureKHR = 4447,
1671     OpIgnoreIntersectionKHR = 4448,
1672     OpTerminateRayKHR = 4449,
1673     OpSDot = 4450,
1674     OpSDotKHR = 4450,
1675     OpUDot = 4451,
1676     OpUDotKHR = 4451,
1677     OpSUDot = 4452,
1678     OpSUDotKHR = 4452,
1679     OpSDotAccSat = 4453,
1680     OpSDotAccSatKHR = 4453,
1681     OpUDotAccSat = 4454,
1682     OpUDotAccSatKHR = 4454,
1683     OpSUDotAccSat = 4455,
1684     OpSUDotAccSatKHR = 4455,
1685     OpTypeCooperativeMatrixKHR = 4456,
1686     OpCooperativeMatrixLoadKHR = 4457,
1687     OpCooperativeMatrixStoreKHR = 4458,
1688     OpCooperativeMatrixMulAddKHR = 4459,
1689     OpCooperativeMatrixLengthKHR = 4460,
1690     OpTypeRayQueryKHR = 4472,
1691     OpRayQueryInitializeKHR = 4473,
1692     OpRayQueryTerminateKHR = 4474,
1693     OpRayQueryGenerateIntersectionKHR = 4475,
1694     OpRayQueryConfirmIntersectionKHR = 4476,
1695     OpRayQueryProceedKHR = 4477,
1696     OpRayQueryGetIntersectionTypeKHR = 4479,
1697     OpImageSampleWeightedQCOM = 4480,
1698     OpImageBoxFilterQCOM = 4481,
1699     OpImageBlockMatchSSDQCOM = 4482,
1700     OpImageBlockMatchSADQCOM = 4483,
1701     OpGroupIAddNonUniformAMD = 5000,
1702     OpGroupFAddNonUniformAMD = 5001,
1703     OpGroupFMinNonUniformAMD = 5002,
1704     OpGroupUMinNonUniformAMD = 5003,
1705     OpGroupSMinNonUniformAMD = 5004,
1706     OpGroupFMaxNonUniformAMD = 5005,
1707     OpGroupUMaxNonUniformAMD = 5006,
1708     OpGroupSMaxNonUniformAMD = 5007,
1709     OpFragmentMaskFetchAMD = 5011,
1710     OpFragmentFetchAMD = 5012,
1711     OpReadClockKHR = 5056,
1712     OpGroupNonUniformQuadAllKHR = 5110,
1713     OpGroupNonUniformQuadAnyKHR = 5111,
1714     OpHitObjectRecordHitMotionNV = 5249,
1715     OpHitObjectRecordHitWithIndexMotionNV = 5250,
1716     OpHitObjectRecordMissMotionNV = 5251,
1717     OpHitObjectGetWorldToObjectNV = 5252,
1718     OpHitObjectGetObjectToWorldNV = 5253,
1719     OpHitObjectGetObjectRayDirectionNV = 5254,
1720     OpHitObjectGetObjectRayOriginNV = 5255,
1721     OpHitObjectTraceRayMotionNV = 5256,
1722     OpHitObjectGetShaderRecordBufferHandleNV = 5257,
1723     OpHitObjectGetShaderBindingTableRecordIndexNV = 5258,
1724     OpHitObjectRecordEmptyNV = 5259,
1725     OpHitObjectTraceRayNV = 5260,
1726     OpHitObjectRecordHitNV = 5261,
1727     OpHitObjectRecordHitWithIndexNV = 5262,
1728     OpHitObjectRecordMissNV = 5263,
1729     OpHitObjectExecuteShaderNV = 5264,
1730     OpHitObjectGetCurrentTimeNV = 5265,
1731     OpHitObjectGetAttributesNV = 5266,
1732     OpHitObjectGetHitKindNV = 5267,
1733     OpHitObjectGetPrimitiveIndexNV = 5268,
1734     OpHitObjectGetGeometryIndexNV = 5269,
1735     OpHitObjectGetInstanceIdNV = 5270,
1736     OpHitObjectGetInstanceCustomIndexNV = 5271,
1737     OpHitObjectGetWorldRayDirectionNV = 5272,
1738     OpHitObjectGetWorldRayOriginNV = 5273,
1739     OpHitObjectGetRayTMaxNV = 5274,
1740     OpHitObjectGetRayTMinNV = 5275,
1741     OpHitObjectIsEmptyNV = 5276,
1742     OpHitObjectIsHitNV = 5277,
1743     OpHitObjectIsMissNV = 5278,
1744     OpReorderThreadWithHitObjectNV = 5279,
1745     OpReorderThreadWithHintNV = 5280,
1746     OpTypeHitObjectNV = 5281,
1747     OpImageSampleFootprintNV = 5283,
1748     OpEmitMeshTasksEXT = 5294,
1749     OpSetMeshOutputsEXT = 5295,
1750     OpGroupNonUniformPartitionNV = 5296,
1751     OpWritePackedPrimitiveIndices4x8NV = 5299,
1752     OpFetchMicroTriangleVertexPositionNV = 5300,
1753     OpFetchMicroTriangleVertexBarycentricNV = 5301,
1754     OpReportIntersectionKHR = 5334,
1755     OpReportIntersectionNV = 5334,
1756     OpIgnoreIntersectionNV = 5335,
1757     OpTerminateRayNV = 5336,
1758     OpTraceNV = 5337,
1759     OpTraceMotionNV = 5338,
1760     OpTraceRayMotionNV = 5339,
1761     OpRayQueryGetIntersectionTriangleVertexPositionsKHR = 5340,
1762     OpTypeAccelerationStructureKHR = 5341,
1763     OpTypeAccelerationStructureNV = 5341,
1764     OpExecuteCallableNV = 5344,
1765     OpTypeCooperativeMatrixNV = 5358,
1766     OpCooperativeMatrixLoadNV = 5359,
1767     OpCooperativeMatrixStoreNV = 5360,
1768     OpCooperativeMatrixMulAddNV = 5361,
1769     OpCooperativeMatrixLengthNV = 5362,
1770     OpBeginInvocationInterlockEXT = 5364,
1771     OpEndInvocationInterlockEXT = 5365,
1772     OpDemoteToHelperInvocation = 5380,
1773     OpDemoteToHelperInvocationEXT = 5380,
1774     OpIsHelperInvocationEXT = 5381,
1775     OpConvertUToImageNV = 5391,
1776     OpConvertUToSamplerNV = 5392,
1777     OpConvertImageToUNV = 5393,
1778     OpConvertSamplerToUNV = 5394,
1779     OpConvertUToSampledImageNV = 5395,
1780     OpConvertSampledImageToUNV = 5396,
1781     OpSamplerImageAddressingModeNV = 5397,
1782     OpSubgroupShuffleINTEL = 5571,
1783     OpSubgroupShuffleDownINTEL = 5572,
1784     OpSubgroupShuffleUpINTEL = 5573,
1785     OpSubgroupShuffleXorINTEL = 5574,
1786     OpSubgroupBlockReadINTEL = 5575,
1787     OpSubgroupBlockWriteINTEL = 5576,
1788     OpSubgroupImageBlockReadINTEL = 5577,
1789     OpSubgroupImageBlockWriteINTEL = 5578,
1790     OpSubgroupImageMediaBlockReadINTEL = 5580,
1791     OpSubgroupImageMediaBlockWriteINTEL = 5581,
1792     OpUCountLeadingZerosINTEL = 5585,
1793     OpUCountTrailingZerosINTEL = 5586,
1794     OpAbsISubINTEL = 5587,
1795     OpAbsUSubINTEL = 5588,
1796     OpIAddSatINTEL = 5589,
1797     OpUAddSatINTEL = 5590,
1798     OpIAverageINTEL = 5591,
1799     OpUAverageINTEL = 5592,
1800     OpIAverageRoundedINTEL = 5593,
1801     OpUAverageRoundedINTEL = 5594,
1802     OpISubSatINTEL = 5595,
1803     OpUSubSatINTEL = 5596,
1804     OpIMul32x16INTEL = 5597,
1805     OpUMul32x16INTEL = 5598,
1806     OpConstantFunctionPointerINTEL = 5600,
1807     OpFunctionPointerCallINTEL = 5601,
1808     OpAsmTargetINTEL = 5609,
1809     OpAsmINTEL = 5610,
1810     OpAsmCallINTEL = 5611,
1811     OpAtomicFMinEXT = 5614,
1812     OpAtomicFMaxEXT = 5615,
1813     OpAssumeTrueKHR = 5630,
1814     OpExpectKHR = 5631,
1815     OpDecorateString = 5632,
1816     OpDecorateStringGOOGLE = 5632,
1817     OpMemberDecorateString = 5633,
1818     OpMemberDecorateStringGOOGLE = 5633,
1819     OpVmeImageINTEL = 5699,
1820     OpTypeVmeImageINTEL = 5700,
1821     OpTypeAvcImePayloadINTEL = 5701,
1822     OpTypeAvcRefPayloadINTEL = 5702,
1823     OpTypeAvcSicPayloadINTEL = 5703,
1824     OpTypeAvcMcePayloadINTEL = 5704,
1825     OpTypeAvcMceResultINTEL = 5705,
1826     OpTypeAvcImeResultINTEL = 5706,
1827     OpTypeAvcImeResultSingleReferenceStreamoutINTEL = 5707,
1828     OpTypeAvcImeResultDualReferenceStreamoutINTEL = 5708,
1829     OpTypeAvcImeSingleReferenceStreaminINTEL = 5709,
1830     OpTypeAvcImeDualReferenceStreaminINTEL = 5710,
1831     OpTypeAvcRefResultINTEL = 5711,
1832     OpTypeAvcSicResultINTEL = 5712,
1833     OpSubgroupAvcMceGetDefaultInterBaseMultiReferencePenaltyINTEL = 5713,
1834     OpSubgroupAvcMceSetInterBaseMultiReferencePenaltyINTEL = 5714,
1835     OpSubgroupAvcMceGetDefaultInterShapePenaltyINTEL = 5715,
1836     OpSubgroupAvcMceSetInterShapePenaltyINTEL = 5716,
1837     OpSubgroupAvcMceGetDefaultInterDirectionPenaltyINTEL = 5717,
1838     OpSubgroupAvcMceSetInterDirectionPenaltyINTEL = 5718,
1839     OpSubgroupAvcMceGetDefaultIntraLumaShapePenaltyINTEL = 5719,
1840     OpSubgroupAvcMceGetDefaultInterMotionVectorCostTableINTEL = 5720,
1841     OpSubgroupAvcMceGetDefaultHighPenaltyCostTableINTEL = 5721,
1842     OpSubgroupAvcMceGetDefaultMediumPenaltyCostTableINTEL = 5722,
1843     OpSubgroupAvcMceGetDefaultLowPenaltyCostTableINTEL = 5723,
1844     OpSubgroupAvcMceSetMotionVectorCostFunctionINTEL = 5724,
1845     OpSubgroupAvcMceGetDefaultIntraLumaModePenaltyINTEL = 5725,
1846     OpSubgroupAvcMceGetDefaultNonDcLumaIntraPenaltyINTEL = 5726,
1847     OpSubgroupAvcMceGetDefaultIntraChromaModeBasePenaltyINTEL = 5727,
1848     OpSubgroupAvcMceSetAcOnlyHaarINTEL = 5728,
1849     OpSubgroupAvcMceSetSourceInterlacedFieldPolarityINTEL = 5729,
1850     OpSubgroupAvcMceSetSingleReferenceInterlacedFieldPolarityINTEL = 5730,
1851     OpSubgroupAvcMceSetDualReferenceInterlacedFieldPolaritiesINTEL = 5731,
1852     OpSubgroupAvcMceConvertToImePayloadINTEL = 5732,
1853     OpSubgroupAvcMceConvertToImeResultINTEL = 5733,
1854     OpSubgroupAvcMceConvertToRefPayloadINTEL = 5734,
1855     OpSubgroupAvcMceConvertToRefResultINTEL = 5735,
1856     OpSubgroupAvcMceConvertToSicPayloadINTEL = 5736,
1857     OpSubgroupAvcMceConvertToSicResultINTEL = 5737,
1858     OpSubgroupAvcMceGetMotionVectorsINTEL = 5738,
1859     OpSubgroupAvcMceGetInterDistortionsINTEL = 5739,
1860     OpSubgroupAvcMceGetBestInterDistortionsINTEL = 5740,
1861     OpSubgroupAvcMceGetInterMajorShapeINTEL = 5741,
1862     OpSubgroupAvcMceGetInterMinorShapeINTEL = 5742,
1863     OpSubgroupAvcMceGetInterDirectionsINTEL = 5743,
1864     OpSubgroupAvcMceGetInterMotionVectorCountINTEL = 5744,
1865     OpSubgroupAvcMceGetInterReferenceIdsINTEL = 5745,
1866     OpSubgroupAvcMceGetInterReferenceInterlacedFieldPolaritiesINTEL = 5746,
1867     OpSubgroupAvcImeInitializeINTEL = 5747,
1868     OpSubgroupAvcImeSetSingleReferenceINTEL = 5748,
1869     OpSubgroupAvcImeSetDualReferenceINTEL = 5749,
1870     OpSubgroupAvcImeRefWindowSizeINTEL = 5750,
1871     OpSubgroupAvcImeAdjustRefOffsetINTEL = 5751,
1872     OpSubgroupAvcImeConvertToMcePayloadINTEL = 5752,
1873     OpSubgroupAvcImeSetMaxMotionVectorCountINTEL = 5753,
1874     OpSubgroupAvcImeSetUnidirectionalMixDisableINTEL = 5754,
1875     OpSubgroupAvcImeSetEarlySearchTerminationThresholdINTEL = 5755,
1876     OpSubgroupAvcImeSetWeightedSadINTEL = 5756,
1877     OpSubgroupAvcImeEvaluateWithSingleReferenceINTEL = 5757,
1878     OpSubgroupAvcImeEvaluateWithDualReferenceINTEL = 5758,
1879     OpSubgroupAvcImeEvaluateWithSingleReferenceStreaminINTEL = 5759,
1880     OpSubgroupAvcImeEvaluateWithDualReferenceStreaminINTEL = 5760,
1881     OpSubgroupAvcImeEvaluateWithSingleReferenceStreamoutINTEL = 5761,
1882     OpSubgroupAvcImeEvaluateWithDualReferenceStreamoutINTEL = 5762,
1883     OpSubgroupAvcImeEvaluateWithSingleReferenceStreaminoutINTEL = 5763,
1884     OpSubgroupAvcImeEvaluateWithDualReferenceStreaminoutINTEL = 5764,
1885     OpSubgroupAvcImeConvertToMceResultINTEL = 5765,
1886     OpSubgroupAvcImeGetSingleReferenceStreaminINTEL = 5766,
1887     OpSubgroupAvcImeGetDualReferenceStreaminINTEL = 5767,
1888     OpSubgroupAvcImeStripSingleReferenceStreamoutINTEL = 5768,
1889     OpSubgroupAvcImeStripDualReferenceStreamoutINTEL = 5769,
1890     OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeMotionVectorsINTEL = 5770,
1891     OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeDistortionsINTEL = 5771,
1892     OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeReferenceIdsINTEL = 5772,
1893     OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeMotionVectorsINTEL = 5773,
1894     OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeDistortionsINTEL = 5774,
1895     OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeReferenceIdsINTEL = 5775,
1896     OpSubgroupAvcImeGetBorderReachedINTEL = 5776,
1897     OpSubgroupAvcImeGetTruncatedSearchIndicationINTEL = 5777,
1898     OpSubgroupAvcImeGetUnidirectionalEarlySearchTerminationINTEL = 5778,
1899     OpSubgroupAvcImeGetWeightingPatternMinimumMotionVectorINTEL = 5779,
1900     OpSubgroupAvcImeGetWeightingPatternMinimumDistortionINTEL = 5780,
1901     OpSubgroupAvcFmeInitializeINTEL = 5781,
1902     OpSubgroupAvcBmeInitializeINTEL = 5782,
1903     OpSubgroupAvcRefConvertToMcePayloadINTEL = 5783,
1904     OpSubgroupAvcRefSetBidirectionalMixDisableINTEL = 5784,
1905     OpSubgroupAvcRefSetBilinearFilterEnableINTEL = 5785,
1906     OpSubgroupAvcRefEvaluateWithSingleReferenceINTEL = 5786,
1907     OpSubgroupAvcRefEvaluateWithDualReferenceINTEL = 5787,
1908     OpSubgroupAvcRefEvaluateWithMultiReferenceINTEL = 5788,
1909     OpSubgroupAvcRefEvaluateWithMultiReferenceInterlacedINTEL = 5789,
1910     OpSubgroupAvcRefConvertToMceResultINTEL = 5790,
1911     OpSubgroupAvcSicInitializeINTEL = 5791,
1912     OpSubgroupAvcSicConfigureSkcINTEL = 5792,
1913     OpSubgroupAvcSicConfigureIpeLumaINTEL = 5793,
1914     OpSubgroupAvcSicConfigureIpeLumaChromaINTEL = 5794,
1915     OpSubgroupAvcSicGetMotionVectorMaskINTEL = 5795,
1916     OpSubgroupAvcSicConvertToMcePayloadINTEL = 5796,
1917     OpSubgroupAvcSicSetIntraLumaShapePenaltyINTEL = 5797,
1918     OpSubgroupAvcSicSetIntraLumaModeCostFunctionINTEL = 5798,
1919     OpSubgroupAvcSicSetIntraChromaModeCostFunctionINTEL = 5799,
1920     OpSubgroupAvcSicSetBilinearFilterEnableINTEL = 5800,
1921     OpSubgroupAvcSicSetSkcForwardTransformEnableINTEL = 5801,
1922     OpSubgroupAvcSicSetBlockBasedRawSkipSadINTEL = 5802,
1923     OpSubgroupAvcSicEvaluateIpeINTEL = 5803,
1924     OpSubgroupAvcSicEvaluateWithSingleReferenceINTEL = 5804,
1925     OpSubgroupAvcSicEvaluateWithDualReferenceINTEL = 5805,
1926     OpSubgroupAvcSicEvaluateWithMultiReferenceINTEL = 5806,
1927     OpSubgroupAvcSicEvaluateWithMultiReferenceInterlacedINTEL = 5807,
1928     OpSubgroupAvcSicConvertToMceResultINTEL = 5808,
1929     OpSubgroupAvcSicGetIpeLumaShapeINTEL = 5809,
1930     OpSubgroupAvcSicGetBestIpeLumaDistortionINTEL = 5810,
1931     OpSubgroupAvcSicGetBestIpeChromaDistortionINTEL = 5811,
1932     OpSubgroupAvcSicGetPackedIpeLumaModesINTEL = 5812,
1933     OpSubgroupAvcSicGetIpeChromaModeINTEL = 5813,
1934     OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL = 5814,
1935     OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL = 5815,
1936     OpSubgroupAvcSicGetInterRawSadsINTEL = 5816,
1937     OpVariableLengthArrayINTEL = 5818,
1938     OpSaveMemoryINTEL = 5819,
1939     OpRestoreMemoryINTEL = 5820,
1940     OpArbitraryFloatSinCosPiINTEL = 5840,
1941     OpArbitraryFloatCastINTEL = 5841,
1942     OpArbitraryFloatCastFromIntINTEL = 5842,
1943     OpArbitraryFloatCastToIntINTEL = 5843,
1944     OpArbitraryFloatAddINTEL = 5846,
1945     OpArbitraryFloatSubINTEL = 5847,
1946     OpArbitraryFloatMulINTEL = 5848,
1947     OpArbitraryFloatDivINTEL = 5849,
1948     OpArbitraryFloatGTINTEL = 5850,
1949     OpArbitraryFloatGEINTEL = 5851,
1950     OpArbitraryFloatLTINTEL = 5852,
1951     OpArbitraryFloatLEINTEL = 5853,
1952     OpArbitraryFloatEQINTEL = 5854,
1953     OpArbitraryFloatRecipINTEL = 5855,
1954     OpArbitraryFloatRSqrtINTEL = 5856,
1955     OpArbitraryFloatCbrtINTEL = 5857,
1956     OpArbitraryFloatHypotINTEL = 5858,
1957     OpArbitraryFloatSqrtINTEL = 5859,
1958     OpArbitraryFloatLogINTEL = 5860,
1959     OpArbitraryFloatLog2INTEL = 5861,
1960     OpArbitraryFloatLog10INTEL = 5862,
1961     OpArbitraryFloatLog1pINTEL = 5863,
1962     OpArbitraryFloatExpINTEL = 5864,
1963     OpArbitraryFloatExp2INTEL = 5865,
1964     OpArbitraryFloatExp10INTEL = 5866,
1965     OpArbitraryFloatExpm1INTEL = 5867,
1966     OpArbitraryFloatSinINTEL = 5868,
1967     OpArbitraryFloatCosINTEL = 5869,
1968     OpArbitraryFloatSinCosINTEL = 5870,
1969     OpArbitraryFloatSinPiINTEL = 5871,
1970     OpArbitraryFloatCosPiINTEL = 5872,
1971     OpArbitraryFloatASinINTEL = 5873,
1972     OpArbitraryFloatASinPiINTEL = 5874,
1973     OpArbitraryFloatACosINTEL = 5875,
1974     OpArbitraryFloatACosPiINTEL = 5876,
1975     OpArbitraryFloatATanINTEL = 5877,
1976     OpArbitraryFloatATanPiINTEL = 5878,
1977     OpArbitraryFloatATan2INTEL = 5879,
1978     OpArbitraryFloatPowINTEL = 5880,
1979     OpArbitraryFloatPowRINTEL = 5881,
1980     OpArbitraryFloatPowNINTEL = 5882,
1981     OpLoopControlINTEL = 5887,
1982     OpAliasDomainDeclINTEL = 5911,
1983     OpAliasScopeDeclINTEL = 5912,
1984     OpAliasScopeListDeclINTEL = 5913,
1985     OpFixedSqrtINTEL = 5923,
1986     OpFixedRecipINTEL = 5924,
1987     OpFixedRsqrtINTEL = 5925,
1988     OpFixedSinINTEL = 5926,
1989     OpFixedCosINTEL = 5927,
1990     OpFixedSinCosINTEL = 5928,
1991     OpFixedSinPiINTEL = 5929,
1992     OpFixedCosPiINTEL = 5930,
1993     OpFixedSinCosPiINTEL = 5931,
1994     OpFixedLogINTEL = 5932,
1995     OpFixedExpINTEL = 5933,
1996     OpPtrCastToCrossWorkgroupINTEL = 5934,
1997     OpCrossWorkgroupCastToPtrINTEL = 5938,
1998     OpReadPipeBlockingINTEL = 5946,
1999     OpWritePipeBlockingINTEL = 5947,
2000     OpFPGARegINTEL = 5949,
2001     OpRayQueryGetRayTMinKHR = 6016,
2002     OpRayQueryGetRayFlagsKHR = 6017,
2003     OpRayQueryGetIntersectionTKHR = 6018,
2004     OpRayQueryGetIntersectionInstanceCustomIndexKHR = 6019,
2005     OpRayQueryGetIntersectionInstanceIdKHR = 6020,
2006     OpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR = 6021,
2007     OpRayQueryGetIntersectionGeometryIndexKHR = 6022,
2008     OpRayQueryGetIntersectionPrimitiveIndexKHR = 6023,
2009     OpRayQueryGetIntersectionBarycentricsKHR = 6024,
2010     OpRayQueryGetIntersectionFrontFaceKHR = 6025,
2011     OpRayQueryGetIntersectionCandidateAABBOpaqueKHR = 6026,
2012     OpRayQueryGetIntersectionObjectRayDirectionKHR = 6027,
2013     OpRayQueryGetIntersectionObjectRayOriginKHR = 6028,
2014     OpRayQueryGetWorldRayDirectionKHR = 6029,
2015     OpRayQueryGetWorldRayOriginKHR = 6030,
2016     OpRayQueryGetIntersectionObjectToWorldKHR = 6031,
2017     OpRayQueryGetIntersectionWorldToObjectKHR = 6032,
2018     OpAtomicFAddEXT = 6035,
2019     OpTypeBufferSurfaceINTEL = 6086,
2020     OpTypeStructContinuedINTEL = 6090,
2021     OpConstantCompositeContinuedINTEL = 6091,
2022     OpSpecConstantCompositeContinuedINTEL = 6092,
2023     OpControlBarrierArriveINTEL = 6142,
2024     OpControlBarrierWaitINTEL = 6143,
2025     OpGroupIMulKHR = 6401,
2026     OpGroupFMulKHR = 6402,
2027     OpGroupBitwiseAndKHR = 6403,
2028     OpGroupBitwiseOrKHR = 6404,
2029     OpGroupBitwiseXorKHR = 6405,
2030     OpGroupLogicalAndKHR = 6406,
2031     OpGroupLogicalOrKHR = 6407,
2032     OpGroupLogicalXorKHR = 6408,
2033     OpMax = 0x7fffffff,
2034 };
2035 
2036 #ifdef SPV_ENABLE_UTILITY_CODE
2037 #ifndef __cplusplus
2038 #include <stdbool.h>
2039 #endif
HasResultAndType(Op opcode,bool * hasResult,bool * hasResultType)2040 inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) {
2041     *hasResult = *hasResultType = false;
2042     switch (opcode) {
2043     default: /* unknown opcode */ break;
2044     case OpNop: *hasResult = false; *hasResultType = false; break;
2045     case OpUndef: *hasResult = true; *hasResultType = true; break;
2046     case OpSourceContinued: *hasResult = false; *hasResultType = false; break;
2047     case OpSource: *hasResult = false; *hasResultType = false; break;
2048     case OpSourceExtension: *hasResult = false; *hasResultType = false; break;
2049     case OpName: *hasResult = false; *hasResultType = false; break;
2050     case OpMemberName: *hasResult = false; *hasResultType = false; break;
2051     case OpString: *hasResult = true; *hasResultType = false; break;
2052     case OpLine: *hasResult = false; *hasResultType = false; break;
2053     case OpExtension: *hasResult = false; *hasResultType = false; break;
2054     case OpExtInstImport: *hasResult = true; *hasResultType = false; break;
2055     case OpExtInst: *hasResult = true; *hasResultType = true; break;
2056     case OpMemoryModel: *hasResult = false; *hasResultType = false; break;
2057     case OpEntryPoint: *hasResult = false; *hasResultType = false; break;
2058     case OpExecutionMode: *hasResult = false; *hasResultType = false; break;
2059     case OpCapability: *hasResult = false; *hasResultType = false; break;
2060     case OpTypeVoid: *hasResult = true; *hasResultType = false; break;
2061     case OpTypeBool: *hasResult = true; *hasResultType = false; break;
2062     case OpTypeInt: *hasResult = true; *hasResultType = false; break;
2063     case OpTypeFloat: *hasResult = true; *hasResultType = false; break;
2064     case OpTypeVector: *hasResult = true; *hasResultType = false; break;
2065     case OpTypeMatrix: *hasResult = true; *hasResultType = false; break;
2066     case OpTypeImage: *hasResult = true; *hasResultType = false; break;
2067     case OpTypeSampler: *hasResult = true; *hasResultType = false; break;
2068     case OpTypeSampledImage: *hasResult = true; *hasResultType = false; break;
2069     case OpTypeArray: *hasResult = true; *hasResultType = false; break;
2070     case OpTypeRuntimeArray: *hasResult = true; *hasResultType = false; break;
2071     case OpTypeStruct: *hasResult = true; *hasResultType = false; break;
2072     case OpTypeOpaque: *hasResult = true; *hasResultType = false; break;
2073     case OpTypePointer: *hasResult = true; *hasResultType = false; break;
2074     case OpTypeFunction: *hasResult = true; *hasResultType = false; break;
2075     case OpTypeEvent: *hasResult = true; *hasResultType = false; break;
2076     case OpTypeDeviceEvent: *hasResult = true; *hasResultType = false; break;
2077     case OpTypeReserveId: *hasResult = true; *hasResultType = false; break;
2078     case OpTypeQueue: *hasResult = true; *hasResultType = false; break;
2079     case OpTypePipe: *hasResult = true; *hasResultType = false; break;
2080     case OpTypeForwardPointer: *hasResult = false; *hasResultType = false; break;
2081     case OpConstantTrue: *hasResult = true; *hasResultType = true; break;
2082     case OpConstantFalse: *hasResult = true; *hasResultType = true; break;
2083     case OpConstant: *hasResult = true; *hasResultType = true; break;
2084     case OpConstantComposite: *hasResult = true; *hasResultType = true; break;
2085     case OpConstantSampler: *hasResult = true; *hasResultType = true; break;
2086     case OpConstantNull: *hasResult = true; *hasResultType = true; break;
2087     case OpSpecConstantTrue: *hasResult = true; *hasResultType = true; break;
2088     case OpSpecConstantFalse: *hasResult = true; *hasResultType = true; break;
2089     case OpSpecConstant: *hasResult = true; *hasResultType = true; break;
2090     case OpSpecConstantComposite: *hasResult = true; *hasResultType = true; break;
2091     case OpSpecConstantOp: *hasResult = true; *hasResultType = true; break;
2092     case OpFunction: *hasResult = true; *hasResultType = true; break;
2093     case OpFunctionParameter: *hasResult = true; *hasResultType = true; break;
2094     case OpFunctionEnd: *hasResult = false; *hasResultType = false; break;
2095     case OpFunctionCall: *hasResult = true; *hasResultType = true; break;
2096     case OpVariable: *hasResult = true; *hasResultType = true; break;
2097     case OpImageTexelPointer: *hasResult = true; *hasResultType = true; break;
2098     case OpLoad: *hasResult = true; *hasResultType = true; break;
2099     case OpStore: *hasResult = false; *hasResultType = false; break;
2100     case OpCopyMemory: *hasResult = false; *hasResultType = false; break;
2101     case OpCopyMemorySized: *hasResult = false; *hasResultType = false; break;
2102     case OpAccessChain: *hasResult = true; *hasResultType = true; break;
2103     case OpInBoundsAccessChain: *hasResult = true; *hasResultType = true; break;
2104     case OpPtrAccessChain: *hasResult = true; *hasResultType = true; break;
2105     case OpArrayLength: *hasResult = true; *hasResultType = true; break;
2106     case OpGenericPtrMemSemantics: *hasResult = true; *hasResultType = true; break;
2107     case OpInBoundsPtrAccessChain: *hasResult = true; *hasResultType = true; break;
2108     case OpDecorate: *hasResult = false; *hasResultType = false; break;
2109     case OpMemberDecorate: *hasResult = false; *hasResultType = false; break;
2110     case OpDecorationGroup: *hasResult = true; *hasResultType = false; break;
2111     case OpGroupDecorate: *hasResult = false; *hasResultType = false; break;
2112     case OpGroupMemberDecorate: *hasResult = false; *hasResultType = false; break;
2113     case OpVectorExtractDynamic: *hasResult = true; *hasResultType = true; break;
2114     case OpVectorInsertDynamic: *hasResult = true; *hasResultType = true; break;
2115     case OpVectorShuffle: *hasResult = true; *hasResultType = true; break;
2116     case OpCompositeConstruct: *hasResult = true; *hasResultType = true; break;
2117     case OpCompositeExtract: *hasResult = true; *hasResultType = true; break;
2118     case OpCompositeInsert: *hasResult = true; *hasResultType = true; break;
2119     case OpCopyObject: *hasResult = true; *hasResultType = true; break;
2120     case OpTranspose: *hasResult = true; *hasResultType = true; break;
2121     case OpSampledImage: *hasResult = true; *hasResultType = true; break;
2122     case OpImageSampleImplicitLod: *hasResult = true; *hasResultType = true; break;
2123     case OpImageSampleExplicitLod: *hasResult = true; *hasResultType = true; break;
2124     case OpImageSampleDrefImplicitLod: *hasResult = true; *hasResultType = true; break;
2125     case OpImageSampleDrefExplicitLod: *hasResult = true; *hasResultType = true; break;
2126     case OpImageSampleProjImplicitLod: *hasResult = true; *hasResultType = true; break;
2127     case OpImageSampleProjExplicitLod: *hasResult = true; *hasResultType = true; break;
2128     case OpImageSampleProjDrefImplicitLod: *hasResult = true; *hasResultType = true; break;
2129     case OpImageSampleProjDrefExplicitLod: *hasResult = true; *hasResultType = true; break;
2130     case OpImageFetch: *hasResult = true; *hasResultType = true; break;
2131     case OpImageGather: *hasResult = true; *hasResultType = true; break;
2132     case OpImageDrefGather: *hasResult = true; *hasResultType = true; break;
2133     case OpImageRead: *hasResult = true; *hasResultType = true; break;
2134     case OpImageWrite: *hasResult = false; *hasResultType = false; break;
2135     case OpImage: *hasResult = true; *hasResultType = true; break;
2136     case OpImageQueryFormat: *hasResult = true; *hasResultType = true; break;
2137     case OpImageQueryOrder: *hasResult = true; *hasResultType = true; break;
2138     case OpImageQuerySizeLod: *hasResult = true; *hasResultType = true; break;
2139     case OpImageQuerySize: *hasResult = true; *hasResultType = true; break;
2140     case OpImageQueryLod: *hasResult = true; *hasResultType = true; break;
2141     case OpImageQueryLevels: *hasResult = true; *hasResultType = true; break;
2142     case OpImageQuerySamples: *hasResult = true; *hasResultType = true; break;
2143     case OpConvertFToU: *hasResult = true; *hasResultType = true; break;
2144     case OpConvertFToS: *hasResult = true; *hasResultType = true; break;
2145     case OpConvertSToF: *hasResult = true; *hasResultType = true; break;
2146     case OpConvertUToF: *hasResult = true; *hasResultType = true; break;
2147     case OpUConvert: *hasResult = true; *hasResultType = true; break;
2148     case OpSConvert: *hasResult = true; *hasResultType = true; break;
2149     case OpFConvert: *hasResult = true; *hasResultType = true; break;
2150     case OpQuantizeToF16: *hasResult = true; *hasResultType = true; break;
2151     case OpConvertPtrToU: *hasResult = true; *hasResultType = true; break;
2152     case OpSatConvertSToU: *hasResult = true; *hasResultType = true; break;
2153     case OpSatConvertUToS: *hasResult = true; *hasResultType = true; break;
2154     case OpConvertUToPtr: *hasResult = true; *hasResultType = true; break;
2155     case OpPtrCastToGeneric: *hasResult = true; *hasResultType = true; break;
2156     case OpGenericCastToPtr: *hasResult = true; *hasResultType = true; break;
2157     case OpGenericCastToPtrExplicit: *hasResult = true; *hasResultType = true; break;
2158     case OpBitcast: *hasResult = true; *hasResultType = true; break;
2159     case OpSNegate: *hasResult = true; *hasResultType = true; break;
2160     case OpFNegate: *hasResult = true; *hasResultType = true; break;
2161     case OpIAdd: *hasResult = true; *hasResultType = true; break;
2162     case OpFAdd: *hasResult = true; *hasResultType = true; break;
2163     case OpISub: *hasResult = true; *hasResultType = true; break;
2164     case OpFSub: *hasResult = true; *hasResultType = true; break;
2165     case OpIMul: *hasResult = true; *hasResultType = true; break;
2166     case OpFMul: *hasResult = true; *hasResultType = true; break;
2167     case OpUDiv: *hasResult = true; *hasResultType = true; break;
2168     case OpSDiv: *hasResult = true; *hasResultType = true; break;
2169     case OpFDiv: *hasResult = true; *hasResultType = true; break;
2170     case OpUMod: *hasResult = true; *hasResultType = true; break;
2171     case OpSRem: *hasResult = true; *hasResultType = true; break;
2172     case OpSMod: *hasResult = true; *hasResultType = true; break;
2173     case OpFRem: *hasResult = true; *hasResultType = true; break;
2174     case OpFMod: *hasResult = true; *hasResultType = true; break;
2175     case OpVectorTimesScalar: *hasResult = true; *hasResultType = true; break;
2176     case OpMatrixTimesScalar: *hasResult = true; *hasResultType = true; break;
2177     case OpVectorTimesMatrix: *hasResult = true; *hasResultType = true; break;
2178     case OpMatrixTimesVector: *hasResult = true; *hasResultType = true; break;
2179     case OpMatrixTimesMatrix: *hasResult = true; *hasResultType = true; break;
2180     case OpOuterProduct: *hasResult = true; *hasResultType = true; break;
2181     case OpDot: *hasResult = true; *hasResultType = true; break;
2182     case OpIAddCarry: *hasResult = true; *hasResultType = true; break;
2183     case OpISubBorrow: *hasResult = true; *hasResultType = true; break;
2184     case OpUMulExtended: *hasResult = true; *hasResultType = true; break;
2185     case OpSMulExtended: *hasResult = true; *hasResultType = true; break;
2186     case OpAny: *hasResult = true; *hasResultType = true; break;
2187     case OpAll: *hasResult = true; *hasResultType = true; break;
2188     case OpIsNan: *hasResult = true; *hasResultType = true; break;
2189     case OpIsInf: *hasResult = true; *hasResultType = true; break;
2190     case OpIsFinite: *hasResult = true; *hasResultType = true; break;
2191     case OpIsNormal: *hasResult = true; *hasResultType = true; break;
2192     case OpSignBitSet: *hasResult = true; *hasResultType = true; break;
2193     case OpLessOrGreater: *hasResult = true; *hasResultType = true; break;
2194     case OpOrdered: *hasResult = true; *hasResultType = true; break;
2195     case OpUnordered: *hasResult = true; *hasResultType = true; break;
2196     case OpLogicalEqual: *hasResult = true; *hasResultType = true; break;
2197     case OpLogicalNotEqual: *hasResult = true; *hasResultType = true; break;
2198     case OpLogicalOr: *hasResult = true; *hasResultType = true; break;
2199     case OpLogicalAnd: *hasResult = true; *hasResultType = true; break;
2200     case OpLogicalNot: *hasResult = true; *hasResultType = true; break;
2201     case OpSelect: *hasResult = true; *hasResultType = true; break;
2202     case OpIEqual: *hasResult = true; *hasResultType = true; break;
2203     case OpINotEqual: *hasResult = true; *hasResultType = true; break;
2204     case OpUGreaterThan: *hasResult = true; *hasResultType = true; break;
2205     case OpSGreaterThan: *hasResult = true; *hasResultType = true; break;
2206     case OpUGreaterThanEqual: *hasResult = true; *hasResultType = true; break;
2207     case OpSGreaterThanEqual: *hasResult = true; *hasResultType = true; break;
2208     case OpULessThan: *hasResult = true; *hasResultType = true; break;
2209     case OpSLessThan: *hasResult = true; *hasResultType = true; break;
2210     case OpULessThanEqual: *hasResult = true; *hasResultType = true; break;
2211     case OpSLessThanEqual: *hasResult = true; *hasResultType = true; break;
2212     case OpFOrdEqual: *hasResult = true; *hasResultType = true; break;
2213     case OpFUnordEqual: *hasResult = true; *hasResultType = true; break;
2214     case OpFOrdNotEqual: *hasResult = true; *hasResultType = true; break;
2215     case OpFUnordNotEqual: *hasResult = true; *hasResultType = true; break;
2216     case OpFOrdLessThan: *hasResult = true; *hasResultType = true; break;
2217     case OpFUnordLessThan: *hasResult = true; *hasResultType = true; break;
2218     case OpFOrdGreaterThan: *hasResult = true; *hasResultType = true; break;
2219     case OpFUnordGreaterThan: *hasResult = true; *hasResultType = true; break;
2220     case OpFOrdLessThanEqual: *hasResult = true; *hasResultType = true; break;
2221     case OpFUnordLessThanEqual: *hasResult = true; *hasResultType = true; break;
2222     case OpFOrdGreaterThanEqual: *hasResult = true; *hasResultType = true; break;
2223     case OpFUnordGreaterThanEqual: *hasResult = true; *hasResultType = true; break;
2224     case OpShiftRightLogical: *hasResult = true; *hasResultType = true; break;
2225     case OpShiftRightArithmetic: *hasResult = true; *hasResultType = true; break;
2226     case OpShiftLeftLogical: *hasResult = true; *hasResultType = true; break;
2227     case OpBitwiseOr: *hasResult = true; *hasResultType = true; break;
2228     case OpBitwiseXor: *hasResult = true; *hasResultType = true; break;
2229     case OpBitwiseAnd: *hasResult = true; *hasResultType = true; break;
2230     case OpNot: *hasResult = true; *hasResultType = true; break;
2231     case OpBitFieldInsert: *hasResult = true; *hasResultType = true; break;
2232     case OpBitFieldSExtract: *hasResult = true; *hasResultType = true; break;
2233     case OpBitFieldUExtract: *hasResult = true; *hasResultType = true; break;
2234     case OpBitReverse: *hasResult = true; *hasResultType = true; break;
2235     case OpBitCount: *hasResult = true; *hasResultType = true; break;
2236     case OpDPdx: *hasResult = true; *hasResultType = true; break;
2237     case OpDPdy: *hasResult = true; *hasResultType = true; break;
2238     case OpFwidth: *hasResult = true; *hasResultType = true; break;
2239     case OpDPdxFine: *hasResult = true; *hasResultType = true; break;
2240     case OpDPdyFine: *hasResult = true; *hasResultType = true; break;
2241     case OpFwidthFine: *hasResult = true; *hasResultType = true; break;
2242     case OpDPdxCoarse: *hasResult = true; *hasResultType = true; break;
2243     case OpDPdyCoarse: *hasResult = true; *hasResultType = true; break;
2244     case OpFwidthCoarse: *hasResult = true; *hasResultType = true; break;
2245     case OpEmitVertex: *hasResult = false; *hasResultType = false; break;
2246     case OpEndPrimitive: *hasResult = false; *hasResultType = false; break;
2247     case OpEmitStreamVertex: *hasResult = false; *hasResultType = false; break;
2248     case OpEndStreamPrimitive: *hasResult = false; *hasResultType = false; break;
2249     case OpControlBarrier: *hasResult = false; *hasResultType = false; break;
2250     case OpMemoryBarrier: *hasResult = false; *hasResultType = false; break;
2251     case OpAtomicLoad: *hasResult = true; *hasResultType = true; break;
2252     case OpAtomicStore: *hasResult = false; *hasResultType = false; break;
2253     case OpAtomicExchange: *hasResult = true; *hasResultType = true; break;
2254     case OpAtomicCompareExchange: *hasResult = true; *hasResultType = true; break;
2255     case OpAtomicCompareExchangeWeak: *hasResult = true; *hasResultType = true; break;
2256     case OpAtomicIIncrement: *hasResult = true; *hasResultType = true; break;
2257     case OpAtomicIDecrement: *hasResult = true; *hasResultType = true; break;
2258     case OpAtomicIAdd: *hasResult = true; *hasResultType = true; break;
2259     case OpAtomicISub: *hasResult = true; *hasResultType = true; break;
2260     case OpAtomicSMin: *hasResult = true; *hasResultType = true; break;
2261     case OpAtomicUMin: *hasResult = true; *hasResultType = true; break;
2262     case OpAtomicSMax: *hasResult = true; *hasResultType = true; break;
2263     case OpAtomicUMax: *hasResult = true; *hasResultType = true; break;
2264     case OpAtomicAnd: *hasResult = true; *hasResultType = true; break;
2265     case OpAtomicOr: *hasResult = true; *hasResultType = true; break;
2266     case OpAtomicXor: *hasResult = true; *hasResultType = true; break;
2267     case OpPhi: *hasResult = true; *hasResultType = true; break;
2268     case OpLoopMerge: *hasResult = false; *hasResultType = false; break;
2269     case OpSelectionMerge: *hasResult = false; *hasResultType = false; break;
2270     case OpLabel: *hasResult = true; *hasResultType = false; break;
2271     case OpBranch: *hasResult = false; *hasResultType = false; break;
2272     case OpBranchConditional: *hasResult = false; *hasResultType = false; break;
2273     case OpSwitch: *hasResult = false; *hasResultType = false; break;
2274     case OpKill: *hasResult = false; *hasResultType = false; break;
2275     case OpReturn: *hasResult = false; *hasResultType = false; break;
2276     case OpReturnValue: *hasResult = false; *hasResultType = false; break;
2277     case OpUnreachable: *hasResult = false; *hasResultType = false; break;
2278     case OpLifetimeStart: *hasResult = false; *hasResultType = false; break;
2279     case OpLifetimeStop: *hasResult = false; *hasResultType = false; break;
2280     case OpGroupAsyncCopy: *hasResult = true; *hasResultType = true; break;
2281     case OpGroupWaitEvents: *hasResult = false; *hasResultType = false; break;
2282     case OpGroupAll: *hasResult = true; *hasResultType = true; break;
2283     case OpGroupAny: *hasResult = true; *hasResultType = true; break;
2284     case OpGroupBroadcast: *hasResult = true; *hasResultType = true; break;
2285     case OpGroupIAdd: *hasResult = true; *hasResultType = true; break;
2286     case OpGroupFAdd: *hasResult = true; *hasResultType = true; break;
2287     case OpGroupFMin: *hasResult = true; *hasResultType = true; break;
2288     case OpGroupUMin: *hasResult = true; *hasResultType = true; break;
2289     case OpGroupSMin: *hasResult = true; *hasResultType = true; break;
2290     case OpGroupFMax: *hasResult = true; *hasResultType = true; break;
2291     case OpGroupUMax: *hasResult = true; *hasResultType = true; break;
2292     case OpGroupSMax: *hasResult = true; *hasResultType = true; break;
2293     case OpReadPipe: *hasResult = true; *hasResultType = true; break;
2294     case OpWritePipe: *hasResult = true; *hasResultType = true; break;
2295     case OpReservedReadPipe: *hasResult = true; *hasResultType = true; break;
2296     case OpReservedWritePipe: *hasResult = true; *hasResultType = true; break;
2297     case OpReserveReadPipePackets: *hasResult = true; *hasResultType = true; break;
2298     case OpReserveWritePipePackets: *hasResult = true; *hasResultType = true; break;
2299     case OpCommitReadPipe: *hasResult = false; *hasResultType = false; break;
2300     case OpCommitWritePipe: *hasResult = false; *hasResultType = false; break;
2301     case OpIsValidReserveId: *hasResult = true; *hasResultType = true; break;
2302     case OpGetNumPipePackets: *hasResult = true; *hasResultType = true; break;
2303     case OpGetMaxPipePackets: *hasResult = true; *hasResultType = true; break;
2304     case OpGroupReserveReadPipePackets: *hasResult = true; *hasResultType = true; break;
2305     case OpGroupReserveWritePipePackets: *hasResult = true; *hasResultType = true; break;
2306     case OpGroupCommitReadPipe: *hasResult = false; *hasResultType = false; break;
2307     case OpGroupCommitWritePipe: *hasResult = false; *hasResultType = false; break;
2308     case OpEnqueueMarker: *hasResult = true; *hasResultType = true; break;
2309     case OpEnqueueKernel: *hasResult = true; *hasResultType = true; break;
2310     case OpGetKernelNDrangeSubGroupCount: *hasResult = true; *hasResultType = true; break;
2311     case OpGetKernelNDrangeMaxSubGroupSize: *hasResult = true; *hasResultType = true; break;
2312     case OpGetKernelWorkGroupSize: *hasResult = true; *hasResultType = true; break;
2313     case OpGetKernelPreferredWorkGroupSizeMultiple: *hasResult = true; *hasResultType = true; break;
2314     case OpRetainEvent: *hasResult = false; *hasResultType = false; break;
2315     case OpReleaseEvent: *hasResult = false; *hasResultType = false; break;
2316     case OpCreateUserEvent: *hasResult = true; *hasResultType = true; break;
2317     case OpIsValidEvent: *hasResult = true; *hasResultType = true; break;
2318     case OpSetUserEventStatus: *hasResult = false; *hasResultType = false; break;
2319     case OpCaptureEventProfilingInfo: *hasResult = false; *hasResultType = false; break;
2320     case OpGetDefaultQueue: *hasResult = true; *hasResultType = true; break;
2321     case OpBuildNDRange: *hasResult = true; *hasResultType = true; break;
2322     case OpImageSparseSampleImplicitLod: *hasResult = true; *hasResultType = true; break;
2323     case OpImageSparseSampleExplicitLod: *hasResult = true; *hasResultType = true; break;
2324     case OpImageSparseSampleDrefImplicitLod: *hasResult = true; *hasResultType = true; break;
2325     case OpImageSparseSampleDrefExplicitLod: *hasResult = true; *hasResultType = true; break;
2326     case OpImageSparseSampleProjImplicitLod: *hasResult = true; *hasResultType = true; break;
2327     case OpImageSparseSampleProjExplicitLod: *hasResult = true; *hasResultType = true; break;
2328     case OpImageSparseSampleProjDrefImplicitLod: *hasResult = true; *hasResultType = true; break;
2329     case OpImageSparseSampleProjDrefExplicitLod: *hasResult = true; *hasResultType = true; break;
2330     case OpImageSparseFetch: *hasResult = true; *hasResultType = true; break;
2331     case OpImageSparseGather: *hasResult = true; *hasResultType = true; break;
2332     case OpImageSparseDrefGather: *hasResult = true; *hasResultType = true; break;
2333     case OpImageSparseTexelsResident: *hasResult = true; *hasResultType = true; break;
2334     case OpNoLine: *hasResult = false; *hasResultType = false; break;
2335     case OpAtomicFlagTestAndSet: *hasResult = true; *hasResultType = true; break;
2336     case OpAtomicFlagClear: *hasResult = false; *hasResultType = false; break;
2337     case OpImageSparseRead: *hasResult = true; *hasResultType = true; break;
2338     case OpSizeOf: *hasResult = true; *hasResultType = true; break;
2339     case OpTypePipeStorage: *hasResult = true; *hasResultType = false; break;
2340     case OpConstantPipeStorage: *hasResult = true; *hasResultType = true; break;
2341     case OpCreatePipeFromPipeStorage: *hasResult = true; *hasResultType = true; break;
2342     case OpGetKernelLocalSizeForSubgroupCount: *hasResult = true; *hasResultType = true; break;
2343     case OpGetKernelMaxNumSubgroups: *hasResult = true; *hasResultType = true; break;
2344     case OpTypeNamedBarrier: *hasResult = true; *hasResultType = false; break;
2345     case OpNamedBarrierInitialize: *hasResult = true; *hasResultType = true; break;
2346     case OpMemoryNamedBarrier: *hasResult = false; *hasResultType = false; break;
2347     case OpModuleProcessed: *hasResult = false; *hasResultType = false; break;
2348     case OpExecutionModeId: *hasResult = false; *hasResultType = false; break;
2349     case OpDecorateId: *hasResult = false; *hasResultType = false; break;
2350     case OpGroupNonUniformElect: *hasResult = true; *hasResultType = true; break;
2351     case OpGroupNonUniformAll: *hasResult = true; *hasResultType = true; break;
2352     case OpGroupNonUniformAny: *hasResult = true; *hasResultType = true; break;
2353     case OpGroupNonUniformAllEqual: *hasResult = true; *hasResultType = true; break;
2354     case OpGroupNonUniformBroadcast: *hasResult = true; *hasResultType = true; break;
2355     case OpGroupNonUniformBroadcastFirst: *hasResult = true; *hasResultType = true; break;
2356     case OpGroupNonUniformBallot: *hasResult = true; *hasResultType = true; break;
2357     case OpGroupNonUniformInverseBallot: *hasResult = true; *hasResultType = true; break;
2358     case OpGroupNonUniformBallotBitExtract: *hasResult = true; *hasResultType = true; break;
2359     case OpGroupNonUniformBallotBitCount: *hasResult = true; *hasResultType = true; break;
2360     case OpGroupNonUniformBallotFindLSB: *hasResult = true; *hasResultType = true; break;
2361     case OpGroupNonUniformBallotFindMSB: *hasResult = true; *hasResultType = true; break;
2362     case OpGroupNonUniformShuffle: *hasResult = true; *hasResultType = true; break;
2363     case OpGroupNonUniformShuffleXor: *hasResult = true; *hasResultType = true; break;
2364     case OpGroupNonUniformShuffleUp: *hasResult = true; *hasResultType = true; break;
2365     case OpGroupNonUniformShuffleDown: *hasResult = true; *hasResultType = true; break;
2366     case OpGroupNonUniformIAdd: *hasResult = true; *hasResultType = true; break;
2367     case OpGroupNonUniformFAdd: *hasResult = true; *hasResultType = true; break;
2368     case OpGroupNonUniformIMul: *hasResult = true; *hasResultType = true; break;
2369     case OpGroupNonUniformFMul: *hasResult = true; *hasResultType = true; break;
2370     case OpGroupNonUniformSMin: *hasResult = true; *hasResultType = true; break;
2371     case OpGroupNonUniformUMin: *hasResult = true; *hasResultType = true; break;
2372     case OpGroupNonUniformFMin: *hasResult = true; *hasResultType = true; break;
2373     case OpGroupNonUniformSMax: *hasResult = true; *hasResultType = true; break;
2374     case OpGroupNonUniformUMax: *hasResult = true; *hasResultType = true; break;
2375     case OpGroupNonUniformFMax: *hasResult = true; *hasResultType = true; break;
2376     case OpGroupNonUniformBitwiseAnd: *hasResult = true; *hasResultType = true; break;
2377     case OpGroupNonUniformBitwiseOr: *hasResult = true; *hasResultType = true; break;
2378     case OpGroupNonUniformBitwiseXor: *hasResult = true; *hasResultType = true; break;
2379     case OpGroupNonUniformLogicalAnd: *hasResult = true; *hasResultType = true; break;
2380     case OpGroupNonUniformLogicalOr: *hasResult = true; *hasResultType = true; break;
2381     case OpGroupNonUniformLogicalXor: *hasResult = true; *hasResultType = true; break;
2382     case OpGroupNonUniformQuadBroadcast: *hasResult = true; *hasResultType = true; break;
2383     case OpGroupNonUniformQuadSwap: *hasResult = true; *hasResultType = true; break;
2384     case OpGroupNonUniformQuadAllKHR: *hasResult = true; *hasResultType = true; break;
2385     case OpGroupNonUniformQuadAnyKHR: *hasResult = true; *hasResultType = true; break;
2386     case OpCopyLogical: *hasResult = true; *hasResultType = true; break;
2387     case OpPtrEqual: *hasResult = true; *hasResultType = true; break;
2388     case OpPtrNotEqual: *hasResult = true; *hasResultType = true; break;
2389     case OpPtrDiff: *hasResult = true; *hasResultType = true; break;
2390     case OpColorAttachmentReadEXT: *hasResult = true; *hasResultType = true; break;
2391     case OpDepthAttachmentReadEXT: *hasResult = true; *hasResultType = true; break;
2392     case OpStencilAttachmentReadEXT: *hasResult = true; *hasResultType = true; break;
2393     case OpTerminateInvocation: *hasResult = false; *hasResultType = false; break;
2394     case OpSubgroupBallotKHR: *hasResult = true; *hasResultType = true; break;
2395     case OpSubgroupFirstInvocationKHR: *hasResult = true; *hasResultType = true; break;
2396     case OpSubgroupAllKHR: *hasResult = true; *hasResultType = true; break;
2397     case OpSubgroupAnyKHR: *hasResult = true; *hasResultType = true; break;
2398     case OpSubgroupAllEqualKHR: *hasResult = true; *hasResultType = true; break;
2399     case OpGroupNonUniformRotateKHR: *hasResult = true; *hasResultType = true; break;
2400     case OpSubgroupReadInvocationKHR: *hasResult = true; *hasResultType = true; break;
2401     case OpTraceRayKHR: *hasResult = false; *hasResultType = false; break;
2402     case OpExecuteCallableKHR: *hasResult = false; *hasResultType = false; break;
2403     case OpConvertUToAccelerationStructureKHR: *hasResult = true; *hasResultType = true; break;
2404     case OpIgnoreIntersectionKHR: *hasResult = false; *hasResultType = false; break;
2405     case OpTerminateRayKHR: *hasResult = false; *hasResultType = false; break;
2406     case OpSDot: *hasResult = true; *hasResultType = true; break;
2407     case OpUDot: *hasResult = true; *hasResultType = true; break;
2408     case OpSUDot: *hasResult = true; *hasResultType = true; break;
2409     case OpSDotAccSat: *hasResult = true; *hasResultType = true; break;
2410     case OpUDotAccSat: *hasResult = true; *hasResultType = true; break;
2411     case OpSUDotAccSat: *hasResult = true; *hasResultType = true; break;
2412     case OpTypeCooperativeMatrixKHR: *hasResult = true; *hasResultType = false; break;
2413     case OpCooperativeMatrixLoadKHR: *hasResult = true; *hasResultType = true; break;
2414     case OpCooperativeMatrixStoreKHR: *hasResult = false; *hasResultType = false; break;
2415     case OpCooperativeMatrixMulAddKHR: *hasResult = true; *hasResultType = true; break;
2416     case OpCooperativeMatrixLengthKHR: *hasResult = true; *hasResultType = true; break;
2417     case OpTypeRayQueryKHR: *hasResult = true; *hasResultType = false; break;
2418     case OpRayQueryInitializeKHR: *hasResult = false; *hasResultType = false; break;
2419     case OpRayQueryTerminateKHR: *hasResult = false; *hasResultType = false; break;
2420     case OpRayQueryGenerateIntersectionKHR: *hasResult = false; *hasResultType = false; break;
2421     case OpRayQueryConfirmIntersectionKHR: *hasResult = false; *hasResultType = false; break;
2422     case OpRayQueryProceedKHR: *hasResult = true; *hasResultType = true; break;
2423     case OpRayQueryGetIntersectionTypeKHR: *hasResult = true; *hasResultType = true; break;
2424     case OpImageSampleWeightedQCOM: *hasResult = true; *hasResultType = true; break;
2425     case OpImageBoxFilterQCOM: *hasResult = true; *hasResultType = true; break;
2426     case OpImageBlockMatchSSDQCOM: *hasResult = true; *hasResultType = true; break;
2427     case OpImageBlockMatchSADQCOM: *hasResult = true; *hasResultType = true; break;
2428     case OpGroupIAddNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2429     case OpGroupFAddNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2430     case OpGroupFMinNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2431     case OpGroupUMinNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2432     case OpGroupSMinNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2433     case OpGroupFMaxNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2434     case OpGroupUMaxNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2435     case OpGroupSMaxNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2436     case OpFragmentMaskFetchAMD: *hasResult = true; *hasResultType = true; break;
2437     case OpFragmentFetchAMD: *hasResult = true; *hasResultType = true; break;
2438     case OpReadClockKHR: *hasResult = true; *hasResultType = true; break;
2439     case OpHitObjectRecordHitMotionNV: *hasResult = false; *hasResultType = false; break;
2440     case OpHitObjectRecordHitWithIndexMotionNV: *hasResult = false; *hasResultType = false; break;
2441     case OpHitObjectRecordMissMotionNV: *hasResult = false; *hasResultType = false; break;
2442     case OpHitObjectGetWorldToObjectNV: *hasResult = true; *hasResultType = true; break;
2443     case OpHitObjectGetObjectToWorldNV: *hasResult = true; *hasResultType = true; break;
2444     case OpHitObjectGetObjectRayDirectionNV: *hasResult = true; *hasResultType = true; break;
2445     case OpHitObjectGetObjectRayOriginNV: *hasResult = true; *hasResultType = true; break;
2446     case OpHitObjectTraceRayMotionNV: *hasResult = false; *hasResultType = false; break;
2447     case OpHitObjectGetShaderRecordBufferHandleNV: *hasResult = true; *hasResultType = true; break;
2448     case OpHitObjectGetShaderBindingTableRecordIndexNV: *hasResult = true; *hasResultType = true; break;
2449     case OpHitObjectRecordEmptyNV: *hasResult = false; *hasResultType = false; break;
2450     case OpHitObjectTraceRayNV: *hasResult = false; *hasResultType = false; break;
2451     case OpHitObjectRecordHitNV: *hasResult = false; *hasResultType = false; break;
2452     case OpHitObjectRecordHitWithIndexNV: *hasResult = false; *hasResultType = false; break;
2453     case OpHitObjectRecordMissNV: *hasResult = false; *hasResultType = false; break;
2454     case OpHitObjectExecuteShaderNV: *hasResult = false; *hasResultType = false; break;
2455     case OpHitObjectGetCurrentTimeNV: *hasResult = true; *hasResultType = true; break;
2456     case OpHitObjectGetAttributesNV: *hasResult = false; *hasResultType = false; break;
2457     case OpHitObjectGetHitKindNV: *hasResult = true; *hasResultType = true; break;
2458     case OpHitObjectGetPrimitiveIndexNV: *hasResult = true; *hasResultType = true; break;
2459     case OpHitObjectGetGeometryIndexNV: *hasResult = true; *hasResultType = true; break;
2460     case OpHitObjectGetInstanceIdNV: *hasResult = true; *hasResultType = true; break;
2461     case OpHitObjectGetInstanceCustomIndexNV: *hasResult = true; *hasResultType = true; break;
2462     case OpHitObjectGetWorldRayDirectionNV: *hasResult = true; *hasResultType = true; break;
2463     case OpHitObjectGetWorldRayOriginNV: *hasResult = true; *hasResultType = true; break;
2464     case OpHitObjectGetRayTMaxNV: *hasResult = true; *hasResultType = true; break;
2465     case OpHitObjectGetRayTMinNV: *hasResult = true; *hasResultType = true; break;
2466     case OpHitObjectIsEmptyNV: *hasResult = true; *hasResultType = true; break;
2467     case OpHitObjectIsHitNV: *hasResult = true; *hasResultType = true; break;
2468     case OpHitObjectIsMissNV: *hasResult = true; *hasResultType = true; break;
2469     case OpReorderThreadWithHitObjectNV: *hasResult = false; *hasResultType = false; break;
2470     case OpReorderThreadWithHintNV: *hasResult = false; *hasResultType = false; break;
2471     case OpTypeHitObjectNV: *hasResult = true; *hasResultType = false; break;
2472     case OpImageSampleFootprintNV: *hasResult = true; *hasResultType = true; break;
2473     case OpEmitMeshTasksEXT: *hasResult = false; *hasResultType = false; break;
2474     case OpSetMeshOutputsEXT: *hasResult = false; *hasResultType = false; break;
2475     case OpGroupNonUniformPartitionNV: *hasResult = true; *hasResultType = true; break;
2476     case OpWritePackedPrimitiveIndices4x8NV: *hasResult = false; *hasResultType = false; break;
2477     case OpReportIntersectionNV: *hasResult = true; *hasResultType = true; break;
2478     case OpIgnoreIntersectionNV: *hasResult = false; *hasResultType = false; break;
2479     case OpTerminateRayNV: *hasResult = false; *hasResultType = false; break;
2480     case OpTraceNV: *hasResult = false; *hasResultType = false; break;
2481     case OpTraceMotionNV: *hasResult = false; *hasResultType = false; break;
2482     case OpTraceRayMotionNV: *hasResult = false; *hasResultType = false; break;
2483     case OpRayQueryGetIntersectionTriangleVertexPositionsKHR: *hasResult = true; *hasResultType = true; break;
2484     case OpTypeAccelerationStructureNV: *hasResult = true; *hasResultType = false; break;
2485     case OpExecuteCallableNV: *hasResult = false; *hasResultType = false; break;
2486     case OpTypeCooperativeMatrixNV: *hasResult = true; *hasResultType = false; break;
2487     case OpCooperativeMatrixLoadNV: *hasResult = true; *hasResultType = true; break;
2488     case OpCooperativeMatrixStoreNV: *hasResult = false; *hasResultType = false; break;
2489     case OpCooperativeMatrixMulAddNV: *hasResult = true; *hasResultType = true; break;
2490     case OpCooperativeMatrixLengthNV: *hasResult = true; *hasResultType = true; break;
2491     case OpBeginInvocationInterlockEXT: *hasResult = false; *hasResultType = false; break;
2492     case OpEndInvocationInterlockEXT: *hasResult = false; *hasResultType = false; break;
2493     case OpDemoteToHelperInvocation: *hasResult = false; *hasResultType = false; break;
2494     case OpIsHelperInvocationEXT: *hasResult = true; *hasResultType = true; break;
2495     case OpConvertUToImageNV: *hasResult = true; *hasResultType = true; break;
2496     case OpConvertUToSamplerNV: *hasResult = true; *hasResultType = true; break;
2497     case OpConvertImageToUNV: *hasResult = true; *hasResultType = true; break;
2498     case OpConvertSamplerToUNV: *hasResult = true; *hasResultType = true; break;
2499     case OpConvertUToSampledImageNV: *hasResult = true; *hasResultType = true; break;
2500     case OpConvertSampledImageToUNV: *hasResult = true; *hasResultType = true; break;
2501     case OpSamplerImageAddressingModeNV: *hasResult = false; *hasResultType = false; break;
2502     case OpSubgroupShuffleINTEL: *hasResult = true; *hasResultType = true; break;
2503     case OpSubgroupShuffleDownINTEL: *hasResult = true; *hasResultType = true; break;
2504     case OpSubgroupShuffleUpINTEL: *hasResult = true; *hasResultType = true; break;
2505     case OpSubgroupShuffleXorINTEL: *hasResult = true; *hasResultType = true; break;
2506     case OpSubgroupBlockReadINTEL: *hasResult = true; *hasResultType = true; break;
2507     case OpSubgroupBlockWriteINTEL: *hasResult = false; *hasResultType = false; break;
2508     case OpSubgroupImageBlockReadINTEL: *hasResult = true; *hasResultType = true; break;
2509     case OpSubgroupImageBlockWriteINTEL: *hasResult = false; *hasResultType = false; break;
2510     case OpSubgroupImageMediaBlockReadINTEL: *hasResult = true; *hasResultType = true; break;
2511     case OpSubgroupImageMediaBlockWriteINTEL: *hasResult = false; *hasResultType = false; break;
2512     case OpUCountLeadingZerosINTEL: *hasResult = true; *hasResultType = true; break;
2513     case OpUCountTrailingZerosINTEL: *hasResult = true; *hasResultType = true; break;
2514     case OpAbsISubINTEL: *hasResult = true; *hasResultType = true; break;
2515     case OpAbsUSubINTEL: *hasResult = true; *hasResultType = true; break;
2516     case OpIAddSatINTEL: *hasResult = true; *hasResultType = true; break;
2517     case OpUAddSatINTEL: *hasResult = true; *hasResultType = true; break;
2518     case OpIAverageINTEL: *hasResult = true; *hasResultType = true; break;
2519     case OpUAverageINTEL: *hasResult = true; *hasResultType = true; break;
2520     case OpIAverageRoundedINTEL: *hasResult = true; *hasResultType = true; break;
2521     case OpUAverageRoundedINTEL: *hasResult = true; *hasResultType = true; break;
2522     case OpISubSatINTEL: *hasResult = true; *hasResultType = true; break;
2523     case OpUSubSatINTEL: *hasResult = true; *hasResultType = true; break;
2524     case OpIMul32x16INTEL: *hasResult = true; *hasResultType = true; break;
2525     case OpUMul32x16INTEL: *hasResult = true; *hasResultType = true; break;
2526     case OpConstantFunctionPointerINTEL: *hasResult = true; *hasResultType = true; break;
2527     case OpFunctionPointerCallINTEL: *hasResult = true; *hasResultType = true; break;
2528     case OpAsmTargetINTEL: *hasResult = true; *hasResultType = true; break;
2529     case OpAsmINTEL: *hasResult = true; *hasResultType = true; break;
2530     case OpAsmCallINTEL: *hasResult = true; *hasResultType = true; break;
2531     case OpAtomicFMinEXT: *hasResult = true; *hasResultType = true; break;
2532     case OpAtomicFMaxEXT: *hasResult = true; *hasResultType = true; break;
2533     case OpAssumeTrueKHR: *hasResult = false; *hasResultType = false; break;
2534     case OpExpectKHR: *hasResult = true; *hasResultType = true; break;
2535     case OpDecorateString: *hasResult = false; *hasResultType = false; break;
2536     case OpMemberDecorateString: *hasResult = false; *hasResultType = false; break;
2537     case OpVmeImageINTEL: *hasResult = true; *hasResultType = true; break;
2538     case OpTypeVmeImageINTEL: *hasResult = true; *hasResultType = false; break;
2539     case OpTypeAvcImePayloadINTEL: *hasResult = true; *hasResultType = false; break;
2540     case OpTypeAvcRefPayloadINTEL: *hasResult = true; *hasResultType = false; break;
2541     case OpTypeAvcSicPayloadINTEL: *hasResult = true; *hasResultType = false; break;
2542     case OpTypeAvcMcePayloadINTEL: *hasResult = true; *hasResultType = false; break;
2543     case OpTypeAvcMceResultINTEL: *hasResult = true; *hasResultType = false; break;
2544     case OpTypeAvcImeResultINTEL: *hasResult = true; *hasResultType = false; break;
2545     case OpTypeAvcImeResultSingleReferenceStreamoutINTEL: *hasResult = true; *hasResultType = false; break;
2546     case OpTypeAvcImeResultDualReferenceStreamoutINTEL: *hasResult = true; *hasResultType = false; break;
2547     case OpTypeAvcImeSingleReferenceStreaminINTEL: *hasResult = true; *hasResultType = false; break;
2548     case OpTypeAvcImeDualReferenceStreaminINTEL: *hasResult = true; *hasResultType = false; break;
2549     case OpTypeAvcRefResultINTEL: *hasResult = true; *hasResultType = false; break;
2550     case OpTypeAvcSicResultINTEL: *hasResult = true; *hasResultType = false; break;
2551     case OpSubgroupAvcMceGetDefaultInterBaseMultiReferencePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2552     case OpSubgroupAvcMceSetInterBaseMultiReferencePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2553     case OpSubgroupAvcMceGetDefaultInterShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2554     case OpSubgroupAvcMceSetInterShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2555     case OpSubgroupAvcMceGetDefaultInterDirectionPenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2556     case OpSubgroupAvcMceSetInterDirectionPenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2557     case OpSubgroupAvcMceGetDefaultIntraLumaShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2558     case OpSubgroupAvcMceGetDefaultInterMotionVectorCostTableINTEL: *hasResult = true; *hasResultType = true; break;
2559     case OpSubgroupAvcMceGetDefaultHighPenaltyCostTableINTEL: *hasResult = true; *hasResultType = true; break;
2560     case OpSubgroupAvcMceGetDefaultMediumPenaltyCostTableINTEL: *hasResult = true; *hasResultType = true; break;
2561     case OpSubgroupAvcMceGetDefaultLowPenaltyCostTableINTEL: *hasResult = true; *hasResultType = true; break;
2562     case OpSubgroupAvcMceSetMotionVectorCostFunctionINTEL: *hasResult = true; *hasResultType = true; break;
2563     case OpSubgroupAvcMceGetDefaultIntraLumaModePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2564     case OpSubgroupAvcMceGetDefaultNonDcLumaIntraPenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2565     case OpSubgroupAvcMceGetDefaultIntraChromaModeBasePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2566     case OpSubgroupAvcMceSetAcOnlyHaarINTEL: *hasResult = true; *hasResultType = true; break;
2567     case OpSubgroupAvcMceSetSourceInterlacedFieldPolarityINTEL: *hasResult = true; *hasResultType = true; break;
2568     case OpSubgroupAvcMceSetSingleReferenceInterlacedFieldPolarityINTEL: *hasResult = true; *hasResultType = true; break;
2569     case OpSubgroupAvcMceSetDualReferenceInterlacedFieldPolaritiesINTEL: *hasResult = true; *hasResultType = true; break;
2570     case OpSubgroupAvcMceConvertToImePayloadINTEL: *hasResult = true; *hasResultType = true; break;
2571     case OpSubgroupAvcMceConvertToImeResultINTEL: *hasResult = true; *hasResultType = true; break;
2572     case OpSubgroupAvcMceConvertToRefPayloadINTEL: *hasResult = true; *hasResultType = true; break;
2573     case OpSubgroupAvcMceConvertToRefResultINTEL: *hasResult = true; *hasResultType = true; break;
2574     case OpSubgroupAvcMceConvertToSicPayloadINTEL: *hasResult = true; *hasResultType = true; break;
2575     case OpSubgroupAvcMceConvertToSicResultINTEL: *hasResult = true; *hasResultType = true; break;
2576     case OpSubgroupAvcMceGetMotionVectorsINTEL: *hasResult = true; *hasResultType = true; break;
2577     case OpSubgroupAvcMceGetInterDistortionsINTEL: *hasResult = true; *hasResultType = true; break;
2578     case OpSubgroupAvcMceGetBestInterDistortionsINTEL: *hasResult = true; *hasResultType = true; break;
2579     case OpSubgroupAvcMceGetInterMajorShapeINTEL: *hasResult = true; *hasResultType = true; break;
2580     case OpSubgroupAvcMceGetInterMinorShapeINTEL: *hasResult = true; *hasResultType = true; break;
2581     case OpSubgroupAvcMceGetInterDirectionsINTEL: *hasResult = true; *hasResultType = true; break;
2582     case OpSubgroupAvcMceGetInterMotionVectorCountINTEL: *hasResult = true; *hasResultType = true; break;
2583     case OpSubgroupAvcMceGetInterReferenceIdsINTEL: *hasResult = true; *hasResultType = true; break;
2584     case OpSubgroupAvcMceGetInterReferenceInterlacedFieldPolaritiesINTEL: *hasResult = true; *hasResultType = true; break;
2585     case OpSubgroupAvcImeInitializeINTEL: *hasResult = true; *hasResultType = true; break;
2586     case OpSubgroupAvcImeSetSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2587     case OpSubgroupAvcImeSetDualReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2588     case OpSubgroupAvcImeRefWindowSizeINTEL: *hasResult = true; *hasResultType = true; break;
2589     case OpSubgroupAvcImeAdjustRefOffsetINTEL: *hasResult = true; *hasResultType = true; break;
2590     case OpSubgroupAvcImeConvertToMcePayloadINTEL: *hasResult = true; *hasResultType = true; break;
2591     case OpSubgroupAvcImeSetMaxMotionVectorCountINTEL: *hasResult = true; *hasResultType = true; break;
2592     case OpSubgroupAvcImeSetUnidirectionalMixDisableINTEL: *hasResult = true; *hasResultType = true; break;
2593     case OpSubgroupAvcImeSetEarlySearchTerminationThresholdINTEL: *hasResult = true; *hasResultType = true; break;
2594     case OpSubgroupAvcImeSetWeightedSadINTEL: *hasResult = true; *hasResultType = true; break;
2595     case OpSubgroupAvcImeEvaluateWithSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2596     case OpSubgroupAvcImeEvaluateWithDualReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2597     case OpSubgroupAvcImeEvaluateWithSingleReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break;
2598     case OpSubgroupAvcImeEvaluateWithDualReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break;
2599     case OpSubgroupAvcImeEvaluateWithSingleReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break;
2600     case OpSubgroupAvcImeEvaluateWithDualReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break;
2601     case OpSubgroupAvcImeEvaluateWithSingleReferenceStreaminoutINTEL: *hasResult = true; *hasResultType = true; break;
2602     case OpSubgroupAvcImeEvaluateWithDualReferenceStreaminoutINTEL: *hasResult = true; *hasResultType = true; break;
2603     case OpSubgroupAvcImeConvertToMceResultINTEL: *hasResult = true; *hasResultType = true; break;
2604     case OpSubgroupAvcImeGetSingleReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break;
2605     case OpSubgroupAvcImeGetDualReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break;
2606     case OpSubgroupAvcImeStripSingleReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break;
2607     case OpSubgroupAvcImeStripDualReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break;
2608     case OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeMotionVectorsINTEL: *hasResult = true; *hasResultType = true; break;
2609     case OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeDistortionsINTEL: *hasResult = true; *hasResultType = true; break;
2610     case OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeReferenceIdsINTEL: *hasResult = true; *hasResultType = true; break;
2611     case OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeMotionVectorsINTEL: *hasResult = true; *hasResultType = true; break;
2612     case OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeDistortionsINTEL: *hasResult = true; *hasResultType = true; break;
2613     case OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeReferenceIdsINTEL: *hasResult = true; *hasResultType = true; break;
2614     case OpSubgroupAvcImeGetBorderReachedINTEL: *hasResult = true; *hasResultType = true; break;
2615     case OpSubgroupAvcImeGetTruncatedSearchIndicationINTEL: *hasResult = true; *hasResultType = true; break;
2616     case OpSubgroupAvcImeGetUnidirectionalEarlySearchTerminationINTEL: *hasResult = true; *hasResultType = true; break;
2617     case OpSubgroupAvcImeGetWeightingPatternMinimumMotionVectorINTEL: *hasResult = true; *hasResultType = true; break;
2618     case OpSubgroupAvcImeGetWeightingPatternMinimumDistortionINTEL: *hasResult = true; *hasResultType = true; break;
2619     case OpSubgroupAvcFmeInitializeINTEL: *hasResult = true; *hasResultType = true; break;
2620     case OpSubgroupAvcBmeInitializeINTEL: *hasResult = true; *hasResultType = true; break;
2621     case OpSubgroupAvcRefConvertToMcePayloadINTEL: *hasResult = true; *hasResultType = true; break;
2622     case OpSubgroupAvcRefSetBidirectionalMixDisableINTEL: *hasResult = true; *hasResultType = true; break;
2623     case OpSubgroupAvcRefSetBilinearFilterEnableINTEL: *hasResult = true; *hasResultType = true; break;
2624     case OpSubgroupAvcRefEvaluateWithSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2625     case OpSubgroupAvcRefEvaluateWithDualReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2626     case OpSubgroupAvcRefEvaluateWithMultiReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2627     case OpSubgroupAvcRefEvaluateWithMultiReferenceInterlacedINTEL: *hasResult = true; *hasResultType = true; break;
2628     case OpSubgroupAvcRefConvertToMceResultINTEL: *hasResult = true; *hasResultType = true; break;
2629     case OpSubgroupAvcSicInitializeINTEL: *hasResult = true; *hasResultType = true; break;
2630     case OpSubgroupAvcSicConfigureSkcINTEL: *hasResult = true; *hasResultType = true; break;
2631     case OpSubgroupAvcSicConfigureIpeLumaINTEL: *hasResult = true; *hasResultType = true; break;
2632     case OpSubgroupAvcSicConfigureIpeLumaChromaINTEL: *hasResult = true; *hasResultType = true; break;
2633     case OpSubgroupAvcSicGetMotionVectorMaskINTEL: *hasResult = true; *hasResultType = true; break;
2634     case OpSubgroupAvcSicConvertToMcePayloadINTEL: *hasResult = true; *hasResultType = true; break;
2635     case OpSubgroupAvcSicSetIntraLumaShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2636     case OpSubgroupAvcSicSetIntraLumaModeCostFunctionINTEL: *hasResult = true; *hasResultType = true; break;
2637     case OpSubgroupAvcSicSetIntraChromaModeCostFunctionINTEL: *hasResult = true; *hasResultType = true; break;
2638     case OpSubgroupAvcSicSetBilinearFilterEnableINTEL: *hasResult = true; *hasResultType = true; break;
2639     case OpSubgroupAvcSicSetSkcForwardTransformEnableINTEL: *hasResult = true; *hasResultType = true; break;
2640     case OpSubgroupAvcSicSetBlockBasedRawSkipSadINTEL: *hasResult = true; *hasResultType = true; break;
2641     case OpSubgroupAvcSicEvaluateIpeINTEL: *hasResult = true; *hasResultType = true; break;
2642     case OpSubgroupAvcSicEvaluateWithSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2643     case OpSubgroupAvcSicEvaluateWithDualReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2644     case OpSubgroupAvcSicEvaluateWithMultiReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2645     case OpSubgroupAvcSicEvaluateWithMultiReferenceInterlacedINTEL: *hasResult = true; *hasResultType = true; break;
2646     case OpSubgroupAvcSicConvertToMceResultINTEL: *hasResult = true; *hasResultType = true; break;
2647     case OpSubgroupAvcSicGetIpeLumaShapeINTEL: *hasResult = true; *hasResultType = true; break;
2648     case OpSubgroupAvcSicGetBestIpeLumaDistortionINTEL: *hasResult = true; *hasResultType = true; break;
2649     case OpSubgroupAvcSicGetBestIpeChromaDistortionINTEL: *hasResult = true; *hasResultType = true; break;
2650     case OpSubgroupAvcSicGetPackedIpeLumaModesINTEL: *hasResult = true; *hasResultType = true; break;
2651     case OpSubgroupAvcSicGetIpeChromaModeINTEL: *hasResult = true; *hasResultType = true; break;
2652     case OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL: *hasResult = true; *hasResultType = true; break;
2653     case OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL: *hasResult = true; *hasResultType = true; break;
2654     case OpSubgroupAvcSicGetInterRawSadsINTEL: *hasResult = true; *hasResultType = true; break;
2655     case OpVariableLengthArrayINTEL: *hasResult = true; *hasResultType = true; break;
2656     case OpSaveMemoryINTEL: *hasResult = true; *hasResultType = true; break;
2657     case OpRestoreMemoryINTEL: *hasResult = false; *hasResultType = false; break;
2658     case OpArbitraryFloatSinCosPiINTEL: *hasResult = true; *hasResultType = true; break;
2659     case OpArbitraryFloatCastINTEL: *hasResult = true; *hasResultType = true; break;
2660     case OpArbitraryFloatCastFromIntINTEL: *hasResult = true; *hasResultType = true; break;
2661     case OpArbitraryFloatCastToIntINTEL: *hasResult = true; *hasResultType = true; break;
2662     case OpArbitraryFloatAddINTEL: *hasResult = true; *hasResultType = true; break;
2663     case OpArbitraryFloatSubINTEL: *hasResult = true; *hasResultType = true; break;
2664     case OpArbitraryFloatMulINTEL: *hasResult = true; *hasResultType = true; break;
2665     case OpArbitraryFloatDivINTEL: *hasResult = true; *hasResultType = true; break;
2666     case OpArbitraryFloatGTINTEL: *hasResult = true; *hasResultType = true; break;
2667     case OpArbitraryFloatGEINTEL: *hasResult = true; *hasResultType = true; break;
2668     case OpArbitraryFloatLTINTEL: *hasResult = true; *hasResultType = true; break;
2669     case OpArbitraryFloatLEINTEL: *hasResult = true; *hasResultType = true; break;
2670     case OpArbitraryFloatEQINTEL: *hasResult = true; *hasResultType = true; break;
2671     case OpArbitraryFloatRecipINTEL: *hasResult = true; *hasResultType = true; break;
2672     case OpArbitraryFloatRSqrtINTEL: *hasResult = true; *hasResultType = true; break;
2673     case OpArbitraryFloatCbrtINTEL: *hasResult = true; *hasResultType = true; break;
2674     case OpArbitraryFloatHypotINTEL: *hasResult = true; *hasResultType = true; break;
2675     case OpArbitraryFloatSqrtINTEL: *hasResult = true; *hasResultType = true; break;
2676     case OpArbitraryFloatLogINTEL: *hasResult = true; *hasResultType = true; break;
2677     case OpArbitraryFloatLog2INTEL: *hasResult = true; *hasResultType = true; break;
2678     case OpArbitraryFloatLog10INTEL: *hasResult = true; *hasResultType = true; break;
2679     case OpArbitraryFloatLog1pINTEL: *hasResult = true; *hasResultType = true; break;
2680     case OpArbitraryFloatExpINTEL: *hasResult = true; *hasResultType = true; break;
2681     case OpArbitraryFloatExp2INTEL: *hasResult = true; *hasResultType = true; break;
2682     case OpArbitraryFloatExp10INTEL: *hasResult = true; *hasResultType = true; break;
2683     case OpArbitraryFloatExpm1INTEL: *hasResult = true; *hasResultType = true; break;
2684     case OpArbitraryFloatSinINTEL: *hasResult = true; *hasResultType = true; break;
2685     case OpArbitraryFloatCosINTEL: *hasResult = true; *hasResultType = true; break;
2686     case OpArbitraryFloatSinCosINTEL: *hasResult = true; *hasResultType = true; break;
2687     case OpArbitraryFloatSinPiINTEL: *hasResult = true; *hasResultType = true; break;
2688     case OpArbitraryFloatCosPiINTEL: *hasResult = true; *hasResultType = true; break;
2689     case OpArbitraryFloatASinINTEL: *hasResult = true; *hasResultType = true; break;
2690     case OpArbitraryFloatASinPiINTEL: *hasResult = true; *hasResultType = true; break;
2691     case OpArbitraryFloatACosINTEL: *hasResult = true; *hasResultType = true; break;
2692     case OpArbitraryFloatACosPiINTEL: *hasResult = true; *hasResultType = true; break;
2693     case OpArbitraryFloatATanINTEL: *hasResult = true; *hasResultType = true; break;
2694     case OpArbitraryFloatATanPiINTEL: *hasResult = true; *hasResultType = true; break;
2695     case OpArbitraryFloatATan2INTEL: *hasResult = true; *hasResultType = true; break;
2696     case OpArbitraryFloatPowINTEL: *hasResult = true; *hasResultType = true; break;
2697     case OpArbitraryFloatPowRINTEL: *hasResult = true; *hasResultType = true; break;
2698     case OpArbitraryFloatPowNINTEL: *hasResult = true; *hasResultType = true; break;
2699     case OpLoopControlINTEL: *hasResult = false; *hasResultType = false; break;
2700     case OpAliasDomainDeclINTEL: *hasResult = true; *hasResultType = false; break;
2701     case OpAliasScopeDeclINTEL: *hasResult = true; *hasResultType = false; break;
2702     case OpAliasScopeListDeclINTEL: *hasResult = true; *hasResultType = false; break;
2703     case OpFixedSqrtINTEL: *hasResult = true; *hasResultType = true; break;
2704     case OpFixedRecipINTEL: *hasResult = true; *hasResultType = true; break;
2705     case OpFixedRsqrtINTEL: *hasResult = true; *hasResultType = true; break;
2706     case OpFixedSinINTEL: *hasResult = true; *hasResultType = true; break;
2707     case OpFixedCosINTEL: *hasResult = true; *hasResultType = true; break;
2708     case OpFixedSinCosINTEL: *hasResult = true; *hasResultType = true; break;
2709     case OpFixedSinPiINTEL: *hasResult = true; *hasResultType = true; break;
2710     case OpFixedCosPiINTEL: *hasResult = true; *hasResultType = true; break;
2711     case OpFixedSinCosPiINTEL: *hasResult = true; *hasResultType = true; break;
2712     case OpFixedLogINTEL: *hasResult = true; *hasResultType = true; break;
2713     case OpFixedExpINTEL: *hasResult = true; *hasResultType = true; break;
2714     case OpPtrCastToCrossWorkgroupINTEL: *hasResult = true; *hasResultType = true; break;
2715     case OpCrossWorkgroupCastToPtrINTEL: *hasResult = true; *hasResultType = true; break;
2716     case OpReadPipeBlockingINTEL: *hasResult = true; *hasResultType = true; break;
2717     case OpWritePipeBlockingINTEL: *hasResult = true; *hasResultType = true; break;
2718     case OpFPGARegINTEL: *hasResult = true; *hasResultType = true; break;
2719     case OpRayQueryGetRayTMinKHR: *hasResult = true; *hasResultType = true; break;
2720     case OpRayQueryGetRayFlagsKHR: *hasResult = true; *hasResultType = true; break;
2721     case OpRayQueryGetIntersectionTKHR: *hasResult = true; *hasResultType = true; break;
2722     case OpRayQueryGetIntersectionInstanceCustomIndexKHR: *hasResult = true; *hasResultType = true; break;
2723     case OpRayQueryGetIntersectionInstanceIdKHR: *hasResult = true; *hasResultType = true; break;
2724     case OpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR: *hasResult = true; *hasResultType = true; break;
2725     case OpRayQueryGetIntersectionGeometryIndexKHR: *hasResult = true; *hasResultType = true; break;
2726     case OpRayQueryGetIntersectionPrimitiveIndexKHR: *hasResult = true; *hasResultType = true; break;
2727     case OpRayQueryGetIntersectionBarycentricsKHR: *hasResult = true; *hasResultType = true; break;
2728     case OpRayQueryGetIntersectionFrontFaceKHR: *hasResult = true; *hasResultType = true; break;
2729     case OpRayQueryGetIntersectionCandidateAABBOpaqueKHR: *hasResult = true; *hasResultType = true; break;
2730     case OpRayQueryGetIntersectionObjectRayDirectionKHR: *hasResult = true; *hasResultType = true; break;
2731     case OpRayQueryGetIntersectionObjectRayOriginKHR: *hasResult = true; *hasResultType = true; break;
2732     case OpRayQueryGetWorldRayDirectionKHR: *hasResult = true; *hasResultType = true; break;
2733     case OpRayQueryGetWorldRayOriginKHR: *hasResult = true; *hasResultType = true; break;
2734     case OpRayQueryGetIntersectionObjectToWorldKHR: *hasResult = true; *hasResultType = true; break;
2735     case OpRayQueryGetIntersectionWorldToObjectKHR: *hasResult = true; *hasResultType = true; break;
2736     case OpAtomicFAddEXT: *hasResult = true; *hasResultType = true; break;
2737     case OpTypeBufferSurfaceINTEL: *hasResult = true; *hasResultType = false; break;
2738     case OpTypeStructContinuedINTEL: *hasResult = false; *hasResultType = false; break;
2739     case OpConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
2740     case OpSpecConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
2741     case OpControlBarrierArriveINTEL: *hasResult = false; *hasResultType = false; break;
2742     case OpControlBarrierWaitINTEL: *hasResult = false; *hasResultType = false; break;
2743     case OpGroupIMulKHR: *hasResult = true; *hasResultType = true; break;
2744     case OpGroupFMulKHR: *hasResult = true; *hasResultType = true; break;
2745     case OpGroupBitwiseAndKHR: *hasResult = true; *hasResultType = true; break;
2746     case OpGroupBitwiseOrKHR: *hasResult = true; *hasResultType = true; break;
2747     case OpGroupBitwiseXorKHR: *hasResult = true; *hasResultType = true; break;
2748     case OpGroupLogicalAndKHR: *hasResult = true; *hasResultType = true; break;
2749     case OpGroupLogicalOrKHR: *hasResult = true; *hasResultType = true; break;
2750     case OpGroupLogicalXorKHR: *hasResult = true; *hasResultType = true; break;
2751     }
2752 }
2753 #endif /* SPV_ENABLE_UTILITY_CODE */
2754 
2755 // Overload bitwise operators for mask bit combining
2756 
operator |(ImageOperandsMask a,ImageOperandsMask b)2757 inline ImageOperandsMask operator|(ImageOperandsMask a, ImageOperandsMask b) { return ImageOperandsMask(unsigned(a) | unsigned(b)); }
operator &(ImageOperandsMask a,ImageOperandsMask b)2758 inline ImageOperandsMask operator&(ImageOperandsMask a, ImageOperandsMask b) { return ImageOperandsMask(unsigned(a) & unsigned(b)); }
operator ^(ImageOperandsMask a,ImageOperandsMask b)2759 inline ImageOperandsMask operator^(ImageOperandsMask a, ImageOperandsMask b) { return ImageOperandsMask(unsigned(a) ^ unsigned(b)); }
operator ~(ImageOperandsMask a)2760 inline ImageOperandsMask operator~(ImageOperandsMask a) { return ImageOperandsMask(~unsigned(a)); }
operator |(FPFastMathModeMask a,FPFastMathModeMask b)2761 inline FPFastMathModeMask operator|(FPFastMathModeMask a, FPFastMathModeMask b) { return FPFastMathModeMask(unsigned(a) | unsigned(b)); }
operator &(FPFastMathModeMask a,FPFastMathModeMask b)2762 inline FPFastMathModeMask operator&(FPFastMathModeMask a, FPFastMathModeMask b) { return FPFastMathModeMask(unsigned(a) & unsigned(b)); }
operator ^(FPFastMathModeMask a,FPFastMathModeMask b)2763 inline FPFastMathModeMask operator^(FPFastMathModeMask a, FPFastMathModeMask b) { return FPFastMathModeMask(unsigned(a) ^ unsigned(b)); }
operator ~(FPFastMathModeMask a)2764 inline FPFastMathModeMask operator~(FPFastMathModeMask a) { return FPFastMathModeMask(~unsigned(a)); }
operator |(SelectionControlMask a,SelectionControlMask b)2765 inline SelectionControlMask operator|(SelectionControlMask a, SelectionControlMask b) { return SelectionControlMask(unsigned(a) | unsigned(b)); }
operator &(SelectionControlMask a,SelectionControlMask b)2766 inline SelectionControlMask operator&(SelectionControlMask a, SelectionControlMask b) { return SelectionControlMask(unsigned(a) & unsigned(b)); }
operator ^(SelectionControlMask a,SelectionControlMask b)2767 inline SelectionControlMask operator^(SelectionControlMask a, SelectionControlMask b) { return SelectionControlMask(unsigned(a) ^ unsigned(b)); }
operator ~(SelectionControlMask a)2768 inline SelectionControlMask operator~(SelectionControlMask a) { return SelectionControlMask(~unsigned(a)); }
operator |(LoopControlMask a,LoopControlMask b)2769 inline LoopControlMask operator|(LoopControlMask a, LoopControlMask b) { return LoopControlMask(unsigned(a) | unsigned(b)); }
operator &(LoopControlMask a,LoopControlMask b)2770 inline LoopControlMask operator&(LoopControlMask a, LoopControlMask b) { return LoopControlMask(unsigned(a) & unsigned(b)); }
operator ^(LoopControlMask a,LoopControlMask b)2771 inline LoopControlMask operator^(LoopControlMask a, LoopControlMask b) { return LoopControlMask(unsigned(a) ^ unsigned(b)); }
operator ~(LoopControlMask a)2772 inline LoopControlMask operator~(LoopControlMask a) { return LoopControlMask(~unsigned(a)); }
operator |(FunctionControlMask a,FunctionControlMask b)2773 inline FunctionControlMask operator|(FunctionControlMask a, FunctionControlMask b) { return FunctionControlMask(unsigned(a) | unsigned(b)); }
operator &(FunctionControlMask a,FunctionControlMask b)2774 inline FunctionControlMask operator&(FunctionControlMask a, FunctionControlMask b) { return FunctionControlMask(unsigned(a) & unsigned(b)); }
operator ^(FunctionControlMask a,FunctionControlMask b)2775 inline FunctionControlMask operator^(FunctionControlMask a, FunctionControlMask b) { return FunctionControlMask(unsigned(a) ^ unsigned(b)); }
operator ~(FunctionControlMask a)2776 inline FunctionControlMask operator~(FunctionControlMask a) { return FunctionControlMask(~unsigned(a)); }
operator |(MemorySemanticsMask a,MemorySemanticsMask b)2777 inline MemorySemanticsMask operator|(MemorySemanticsMask a, MemorySemanticsMask b) { return MemorySemanticsMask(unsigned(a) | unsigned(b)); }
operator &(MemorySemanticsMask a,MemorySemanticsMask b)2778 inline MemorySemanticsMask operator&(MemorySemanticsMask a, MemorySemanticsMask b) { return MemorySemanticsMask(unsigned(a) & unsigned(b)); }
operator ^(MemorySemanticsMask a,MemorySemanticsMask b)2779 inline MemorySemanticsMask operator^(MemorySemanticsMask a, MemorySemanticsMask b) { return MemorySemanticsMask(unsigned(a) ^ unsigned(b)); }
operator ~(MemorySemanticsMask a)2780 inline MemorySemanticsMask operator~(MemorySemanticsMask a) { return MemorySemanticsMask(~unsigned(a)); }
operator |(MemoryAccessMask a,MemoryAccessMask b)2781 inline MemoryAccessMask operator|(MemoryAccessMask a, MemoryAccessMask b) { return MemoryAccessMask(unsigned(a) | unsigned(b)); }
operator &(MemoryAccessMask a,MemoryAccessMask b)2782 inline MemoryAccessMask operator&(MemoryAccessMask a, MemoryAccessMask b) { return MemoryAccessMask(unsigned(a) & unsigned(b)); }
operator ^(MemoryAccessMask a,MemoryAccessMask b)2783 inline MemoryAccessMask operator^(MemoryAccessMask a, MemoryAccessMask b) { return MemoryAccessMask(unsigned(a) ^ unsigned(b)); }
operator ~(MemoryAccessMask a)2784 inline MemoryAccessMask operator~(MemoryAccessMask a) { return MemoryAccessMask(~unsigned(a)); }
operator |(KernelProfilingInfoMask a,KernelProfilingInfoMask b)2785 inline KernelProfilingInfoMask operator|(KernelProfilingInfoMask a, KernelProfilingInfoMask b) { return KernelProfilingInfoMask(unsigned(a) | unsigned(b)); }
operator &(KernelProfilingInfoMask a,KernelProfilingInfoMask b)2786 inline KernelProfilingInfoMask operator&(KernelProfilingInfoMask a, KernelProfilingInfoMask b) { return KernelProfilingInfoMask(unsigned(a) & unsigned(b)); }
operator ^(KernelProfilingInfoMask a,KernelProfilingInfoMask b)2787 inline KernelProfilingInfoMask operator^(KernelProfilingInfoMask a, KernelProfilingInfoMask b) { return KernelProfilingInfoMask(unsigned(a) ^ unsigned(b)); }
operator ~(KernelProfilingInfoMask a)2788 inline KernelProfilingInfoMask operator~(KernelProfilingInfoMask a) { return KernelProfilingInfoMask(~unsigned(a)); }
operator |(RayFlagsMask a,RayFlagsMask b)2789 inline RayFlagsMask operator|(RayFlagsMask a, RayFlagsMask b) { return RayFlagsMask(unsigned(a) | unsigned(b)); }
operator &(RayFlagsMask a,RayFlagsMask b)2790 inline RayFlagsMask operator&(RayFlagsMask a, RayFlagsMask b) { return RayFlagsMask(unsigned(a) & unsigned(b)); }
operator ^(RayFlagsMask a,RayFlagsMask b)2791 inline RayFlagsMask operator^(RayFlagsMask a, RayFlagsMask b) { return RayFlagsMask(unsigned(a) ^ unsigned(b)); }
operator ~(RayFlagsMask a)2792 inline RayFlagsMask operator~(RayFlagsMask a) { return RayFlagsMask(~unsigned(a)); }
operator |(FragmentShadingRateMask a,FragmentShadingRateMask b)2793 inline FragmentShadingRateMask operator|(FragmentShadingRateMask a, FragmentShadingRateMask b) { return FragmentShadingRateMask(unsigned(a) | unsigned(b)); }
operator &(FragmentShadingRateMask a,FragmentShadingRateMask b)2794 inline FragmentShadingRateMask operator&(FragmentShadingRateMask a, FragmentShadingRateMask b) { return FragmentShadingRateMask(unsigned(a) & unsigned(b)); }
operator ^(FragmentShadingRateMask a,FragmentShadingRateMask b)2795 inline FragmentShadingRateMask operator^(FragmentShadingRateMask a, FragmentShadingRateMask b) { return FragmentShadingRateMask(unsigned(a) ^ unsigned(b)); }
operator ~(FragmentShadingRateMask a)2796 inline FragmentShadingRateMask operator~(FragmentShadingRateMask a) { return FragmentShadingRateMask(~unsigned(a)); }
operator |(CooperativeMatrixOperandsMask a,CooperativeMatrixOperandsMask b)2797 inline CooperativeMatrixOperandsMask operator|(CooperativeMatrixOperandsMask a, CooperativeMatrixOperandsMask b) { return CooperativeMatrixOperandsMask(unsigned(a) | unsigned(b)); }
operator &(CooperativeMatrixOperandsMask a,CooperativeMatrixOperandsMask b)2798 inline CooperativeMatrixOperandsMask operator&(CooperativeMatrixOperandsMask a, CooperativeMatrixOperandsMask b) { return CooperativeMatrixOperandsMask(unsigned(a) & unsigned(b)); }
operator ^(CooperativeMatrixOperandsMask a,CooperativeMatrixOperandsMask b)2799 inline CooperativeMatrixOperandsMask operator^(CooperativeMatrixOperandsMask a, CooperativeMatrixOperandsMask b) { return CooperativeMatrixOperandsMask(unsigned(a) ^ unsigned(b)); }
operator ~(CooperativeMatrixOperandsMask a)2800 inline CooperativeMatrixOperandsMask operator~(CooperativeMatrixOperandsMask a) { return CooperativeMatrixOperandsMask(~unsigned(a)); }
2801 
2802 }  // end namespace spv
2803 
2804 #endif  // #ifndef spirv_HPP
2805 
2806