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