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