• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2 ** Copyright (c) 2014-2020 The Khronos Group Inc.
3 **
4 ** Permission is hereby granted, free of charge, to any person obtaining a copy
5 ** of this software and/or associated documentation files (the "Materials"),
6 ** to deal in the Materials without restriction, including without limitation
7 ** the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 ** and/or sell copies of the Materials, and to permit persons to whom the
9 ** Materials are furnished to do so, subject to the following conditions:
10 **
11 ** The above copyright notice and this permission notice shall be included in
12 ** all copies or substantial portions of the Materials.
13 **
14 ** MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS KHRONOS
15 ** STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS SPECIFICATIONS AND
16 ** HEADER INFORMATION ARE LOCATED AT https://www.khronos.org/registry/
17 **
18 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
19 ** OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 ** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
21 ** THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22 ** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
23 ** FROM,OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE USE OR OTHER DEALINGS
24 ** IN THE MATERIALS.
25 */
26 
27 /*
28 ** This header is automatically generated by the same tool that creates
29 ** the Binary Section of the SPIR-V specification.
30 */
31 
32 /*
33 ** Enumeration tokens for SPIR-V, in various styles:
34 **   C, C++, C++11, JSON, Lua, Python, C#, D
35 **
36 ** - C will have tokens with a "Spv" prefix, e.g.: SpvSourceLanguageGLSL
37 ** - C++ will have tokens in the "spv" name space, e.g.: spv::SourceLanguageGLSL
38 ** - C++11 will use enum classes in the spv namespace, e.g.: spv::SourceLanguage::GLSL
39 ** - Lua will use tables, e.g.: spv.SourceLanguage.GLSL
40 ** - Python will use dictionaries, e.g.: spv['SourceLanguage']['GLSL']
41 ** - C# will use enum classes in the Specification class located in the "Spv" namespace,
42 **     e.g.: Spv.Specification.SourceLanguage.GLSL
43 ** - D will have tokens under the "spv" module, e.g: spv.SourceLanguage.GLSL
44 **
45 ** Some tokens act like mask values, which can be OR'd together,
46 ** while others are mutually exclusive.  The mask-like ones have
47 ** "Mask" in their name, and a parallel enum that has the shift
48 ** amount (1 << x) for each corresponding enumerant.
49 */
50 
51 #ifndef spirv_H
52 #define spirv_H
53 
54 typedef unsigned int SpvId;
55 
56 #define SPV_VERSION 0x10500
57 #define SPV_REVISION 4
58 
59 static const unsigned int SpvMagicNumber = 0x07230203;
60 static const unsigned int SpvVersion = 0x00010500;
61 static const unsigned int SpvRevision = 4;
62 static const unsigned int SpvOpCodeMask = 0xffff;
63 static const unsigned int SpvWordCountShift = 16;
64 
65 typedef enum SpvSourceLanguage_ {
66     SpvSourceLanguageUnknown = 0,
67     SpvSourceLanguageESSL = 1,
68     SpvSourceLanguageGLSL = 2,
69     SpvSourceLanguageOpenCL_C = 3,
70     SpvSourceLanguageOpenCL_CPP = 4,
71     SpvSourceLanguageHLSL = 5,
72     SpvSourceLanguageCPP_for_OpenCL = 6,
73     SpvSourceLanguageMax = 0x7fffffff,
74 } SpvSourceLanguage;
75 
76 typedef enum SpvExecutionModel_ {
77     SpvExecutionModelVertex = 0,
78     SpvExecutionModelTessellationControl = 1,
79     SpvExecutionModelTessellationEvaluation = 2,
80     SpvExecutionModelGeometry = 3,
81     SpvExecutionModelFragment = 4,
82     SpvExecutionModelGLCompute = 5,
83     SpvExecutionModelKernel = 6,
84     SpvExecutionModelTaskNV = 5267,
85     SpvExecutionModelMeshNV = 5268,
86     SpvExecutionModelRayGenerationKHR = 5313,
87     SpvExecutionModelRayGenerationNV = 5313,
88     SpvExecutionModelIntersectionKHR = 5314,
89     SpvExecutionModelIntersectionNV = 5314,
90     SpvExecutionModelAnyHitKHR = 5315,
91     SpvExecutionModelAnyHitNV = 5315,
92     SpvExecutionModelClosestHitKHR = 5316,
93     SpvExecutionModelClosestHitNV = 5316,
94     SpvExecutionModelMissKHR = 5317,
95     SpvExecutionModelMissNV = 5317,
96     SpvExecutionModelCallableKHR = 5318,
97     SpvExecutionModelCallableNV = 5318,
98     SpvExecutionModelMax = 0x7fffffff,
99 } SpvExecutionModel;
100 
101 typedef enum SpvAddressingModel_ {
102     SpvAddressingModelLogical = 0,
103     SpvAddressingModelPhysical32 = 1,
104     SpvAddressingModelPhysical64 = 2,
105     SpvAddressingModelPhysicalStorageBuffer64 = 5348,
106     SpvAddressingModelPhysicalStorageBuffer64EXT = 5348,
107     SpvAddressingModelMax = 0x7fffffff,
108 } SpvAddressingModel;
109 
110 typedef enum SpvMemoryModel_ {
111     SpvMemoryModelSimple = 0,
112     SpvMemoryModelGLSL450 = 1,
113     SpvMemoryModelOpenCL = 2,
114     SpvMemoryModelVulkan = 3,
115     SpvMemoryModelVulkanKHR = 3,
116     SpvMemoryModelMax = 0x7fffffff,
117 } SpvMemoryModel;
118 
119 typedef enum SpvExecutionMode_ {
120     SpvExecutionModeInvocations = 0,
121     SpvExecutionModeSpacingEqual = 1,
122     SpvExecutionModeSpacingFractionalEven = 2,
123     SpvExecutionModeSpacingFractionalOdd = 3,
124     SpvExecutionModeVertexOrderCw = 4,
125     SpvExecutionModeVertexOrderCcw = 5,
126     SpvExecutionModePixelCenterInteger = 6,
127     SpvExecutionModeOriginUpperLeft = 7,
128     SpvExecutionModeOriginLowerLeft = 8,
129     SpvExecutionModeEarlyFragmentTests = 9,
130     SpvExecutionModePointMode = 10,
131     SpvExecutionModeXfb = 11,
132     SpvExecutionModeDepthReplacing = 12,
133     SpvExecutionModeDepthGreater = 14,
134     SpvExecutionModeDepthLess = 15,
135     SpvExecutionModeDepthUnchanged = 16,
136     SpvExecutionModeLocalSize = 17,
137     SpvExecutionModeLocalSizeHint = 18,
138     SpvExecutionModeInputPoints = 19,
139     SpvExecutionModeInputLines = 20,
140     SpvExecutionModeInputLinesAdjacency = 21,
141     SpvExecutionModeTriangles = 22,
142     SpvExecutionModeInputTrianglesAdjacency = 23,
143     SpvExecutionModeQuads = 24,
144     SpvExecutionModeIsolines = 25,
145     SpvExecutionModeOutputVertices = 26,
146     SpvExecutionModeOutputPoints = 27,
147     SpvExecutionModeOutputLineStrip = 28,
148     SpvExecutionModeOutputTriangleStrip = 29,
149     SpvExecutionModeVecTypeHint = 30,
150     SpvExecutionModeContractionOff = 31,
151     SpvExecutionModeInitializer = 33,
152     SpvExecutionModeFinalizer = 34,
153     SpvExecutionModeSubgroupSize = 35,
154     SpvExecutionModeSubgroupsPerWorkgroup = 36,
155     SpvExecutionModeSubgroupsPerWorkgroupId = 37,
156     SpvExecutionModeLocalSizeId = 38,
157     SpvExecutionModeLocalSizeHintId = 39,
158     SpvExecutionModeSubgroupUniformControlFlowKHR = 4421,
159     SpvExecutionModePostDepthCoverage = 4446,
160     SpvExecutionModeDenormPreserve = 4459,
161     SpvExecutionModeDenormFlushToZero = 4460,
162     SpvExecutionModeSignedZeroInfNanPreserve = 4461,
163     SpvExecutionModeRoundingModeRTE = 4462,
164     SpvExecutionModeRoundingModeRTZ = 4463,
165     SpvExecutionModeStencilRefReplacingEXT = 5027,
166     SpvExecutionModeOutputLinesNV = 5269,
167     SpvExecutionModeOutputPrimitivesNV = 5270,
168     SpvExecutionModeDerivativeGroupQuadsNV = 5289,
169     SpvExecutionModeDerivativeGroupLinearNV = 5290,
170     SpvExecutionModeOutputTrianglesNV = 5298,
171     SpvExecutionModePixelInterlockOrderedEXT = 5366,
172     SpvExecutionModePixelInterlockUnorderedEXT = 5367,
173     SpvExecutionModeSampleInterlockOrderedEXT = 5368,
174     SpvExecutionModeSampleInterlockUnorderedEXT = 5369,
175     SpvExecutionModeShadingRateInterlockOrderedEXT = 5370,
176     SpvExecutionModeShadingRateInterlockUnorderedEXT = 5371,
177     SpvExecutionModeSharedLocalMemorySizeINTEL = 5618,
178     SpvExecutionModeRoundingModeRTPINTEL = 5620,
179     SpvExecutionModeRoundingModeRTNINTEL = 5621,
180     SpvExecutionModeFloatingPointModeALTINTEL = 5622,
181     SpvExecutionModeFloatingPointModeIEEEINTEL = 5623,
182     SpvExecutionModeMaxWorkgroupSizeINTEL = 5893,
183     SpvExecutionModeMaxWorkDimINTEL = 5894,
184     SpvExecutionModeNoGlobalOffsetINTEL = 5895,
185     SpvExecutionModeNumSIMDWorkitemsINTEL = 5896,
186     SpvExecutionModeSchedulerTargetFmaxMhzINTEL = 5903,
187     SpvExecutionModeMax = 0x7fffffff,
188 } SpvExecutionMode;
189 
190 typedef enum SpvStorageClass_ {
191     SpvStorageClassUniformConstant = 0,
192     SpvStorageClassInput = 1,
193     SpvStorageClassUniform = 2,
194     SpvStorageClassOutput = 3,
195     SpvStorageClassWorkgroup = 4,
196     SpvStorageClassCrossWorkgroup = 5,
197     SpvStorageClassPrivate = 6,
198     SpvStorageClassFunction = 7,
199     SpvStorageClassGeneric = 8,
200     SpvStorageClassPushConstant = 9,
201     SpvStorageClassAtomicCounter = 10,
202     SpvStorageClassImage = 11,
203     SpvStorageClassStorageBuffer = 12,
204     SpvStorageClassCallableDataKHR = 5328,
205     SpvStorageClassCallableDataNV = 5328,
206     SpvStorageClassIncomingCallableDataKHR = 5329,
207     SpvStorageClassIncomingCallableDataNV = 5329,
208     SpvStorageClassRayPayloadKHR = 5338,
209     SpvStorageClassRayPayloadNV = 5338,
210     SpvStorageClassHitAttributeKHR = 5339,
211     SpvStorageClassHitAttributeNV = 5339,
212     SpvStorageClassIncomingRayPayloadKHR = 5342,
213     SpvStorageClassIncomingRayPayloadNV = 5342,
214     SpvStorageClassShaderRecordBufferKHR = 5343,
215     SpvStorageClassShaderRecordBufferNV = 5343,
216     SpvStorageClassPhysicalStorageBuffer = 5349,
217     SpvStorageClassPhysicalStorageBufferEXT = 5349,
218     SpvStorageClassCodeSectionINTEL = 5605,
219     SpvStorageClassDeviceOnlyINTEL = 5936,
220     SpvStorageClassHostOnlyINTEL = 5937,
221     SpvStorageClassMax = 0x7fffffff,
222 } SpvStorageClass;
223 
224 typedef enum SpvDim_ {
225     SpvDim1D = 0,
226     SpvDim2D = 1,
227     SpvDim3D = 2,
228     SpvDimCube = 3,
229     SpvDimRect = 4,
230     SpvDimBuffer = 5,
231     SpvDimSubpassData = 6,
232     SpvDimMax = 0x7fffffff,
233 } SpvDim;
234 
235 typedef enum SpvSamplerAddressingMode_ {
236     SpvSamplerAddressingModeNone = 0,
237     SpvSamplerAddressingModeClampToEdge = 1,
238     SpvSamplerAddressingModeClamp = 2,
239     SpvSamplerAddressingModeRepeat = 3,
240     SpvSamplerAddressingModeRepeatMirrored = 4,
241     SpvSamplerAddressingModeMax = 0x7fffffff,
242 } SpvSamplerAddressingMode;
243 
244 typedef enum SpvSamplerFilterMode_ {
245     SpvSamplerFilterModeNearest = 0,
246     SpvSamplerFilterModeLinear = 1,
247     SpvSamplerFilterModeMax = 0x7fffffff,
248 } SpvSamplerFilterMode;
249 
250 typedef enum SpvImageFormat_ {
251     SpvImageFormatUnknown = 0,
252     SpvImageFormatRgba32f = 1,
253     SpvImageFormatRgba16f = 2,
254     SpvImageFormatR32f = 3,
255     SpvImageFormatRgba8 = 4,
256     SpvImageFormatRgba8Snorm = 5,
257     SpvImageFormatRg32f = 6,
258     SpvImageFormatRg16f = 7,
259     SpvImageFormatR11fG11fB10f = 8,
260     SpvImageFormatR16f = 9,
261     SpvImageFormatRgba16 = 10,
262     SpvImageFormatRgb10A2 = 11,
263     SpvImageFormatRg16 = 12,
264     SpvImageFormatRg8 = 13,
265     SpvImageFormatR16 = 14,
266     SpvImageFormatR8 = 15,
267     SpvImageFormatRgba16Snorm = 16,
268     SpvImageFormatRg16Snorm = 17,
269     SpvImageFormatRg8Snorm = 18,
270     SpvImageFormatR16Snorm = 19,
271     SpvImageFormatR8Snorm = 20,
272     SpvImageFormatRgba32i = 21,
273     SpvImageFormatRgba16i = 22,
274     SpvImageFormatRgba8i = 23,
275     SpvImageFormatR32i = 24,
276     SpvImageFormatRg32i = 25,
277     SpvImageFormatRg16i = 26,
278     SpvImageFormatRg8i = 27,
279     SpvImageFormatR16i = 28,
280     SpvImageFormatR8i = 29,
281     SpvImageFormatRgba32ui = 30,
282     SpvImageFormatRgba16ui = 31,
283     SpvImageFormatRgba8ui = 32,
284     SpvImageFormatR32ui = 33,
285     SpvImageFormatRgb10a2ui = 34,
286     SpvImageFormatRg32ui = 35,
287     SpvImageFormatRg16ui = 36,
288     SpvImageFormatRg8ui = 37,
289     SpvImageFormatR16ui = 38,
290     SpvImageFormatR8ui = 39,
291     SpvImageFormatR64ui = 40,
292     SpvImageFormatR64i = 41,
293     SpvImageFormatMax = 0x7fffffff,
294 } SpvImageFormat;
295 
296 typedef enum SpvImageChannelOrder_ {
297     SpvImageChannelOrderR = 0,
298     SpvImageChannelOrderA = 1,
299     SpvImageChannelOrderRG = 2,
300     SpvImageChannelOrderRA = 3,
301     SpvImageChannelOrderRGB = 4,
302     SpvImageChannelOrderRGBA = 5,
303     SpvImageChannelOrderBGRA = 6,
304     SpvImageChannelOrderARGB = 7,
305     SpvImageChannelOrderIntensity = 8,
306     SpvImageChannelOrderLuminance = 9,
307     SpvImageChannelOrderRx = 10,
308     SpvImageChannelOrderRGx = 11,
309     SpvImageChannelOrderRGBx = 12,
310     SpvImageChannelOrderDepth = 13,
311     SpvImageChannelOrderDepthStencil = 14,
312     SpvImageChannelOrdersRGB = 15,
313     SpvImageChannelOrdersRGBx = 16,
314     SpvImageChannelOrdersRGBA = 17,
315     SpvImageChannelOrdersBGRA = 18,
316     SpvImageChannelOrderABGR = 19,
317     SpvImageChannelOrderMax = 0x7fffffff,
318 } SpvImageChannelOrder;
319 
320 typedef enum SpvImageChannelDataType_ {
321     SpvImageChannelDataTypeSnormInt8 = 0,
322     SpvImageChannelDataTypeSnormInt16 = 1,
323     SpvImageChannelDataTypeUnormInt8 = 2,
324     SpvImageChannelDataTypeUnormInt16 = 3,
325     SpvImageChannelDataTypeUnormShort565 = 4,
326     SpvImageChannelDataTypeUnormShort555 = 5,
327     SpvImageChannelDataTypeUnormInt101010 = 6,
328     SpvImageChannelDataTypeSignedInt8 = 7,
329     SpvImageChannelDataTypeSignedInt16 = 8,
330     SpvImageChannelDataTypeSignedInt32 = 9,
331     SpvImageChannelDataTypeUnsignedInt8 = 10,
332     SpvImageChannelDataTypeUnsignedInt16 = 11,
333     SpvImageChannelDataTypeUnsignedInt32 = 12,
334     SpvImageChannelDataTypeHalfFloat = 13,
335     SpvImageChannelDataTypeFloat = 14,
336     SpvImageChannelDataTypeUnormInt24 = 15,
337     SpvImageChannelDataTypeUnormInt101010_2 = 16,
338     SpvImageChannelDataTypeMax = 0x7fffffff,
339 } SpvImageChannelDataType;
340 
341 typedef enum SpvImageOperandsShift_ {
342     SpvImageOperandsBiasShift = 0,
343     SpvImageOperandsLodShift = 1,
344     SpvImageOperandsGradShift = 2,
345     SpvImageOperandsConstOffsetShift = 3,
346     SpvImageOperandsOffsetShift = 4,
347     SpvImageOperandsConstOffsetsShift = 5,
348     SpvImageOperandsSampleShift = 6,
349     SpvImageOperandsMinLodShift = 7,
350     SpvImageOperandsMakeTexelAvailableShift = 8,
351     SpvImageOperandsMakeTexelAvailableKHRShift = 8,
352     SpvImageOperandsMakeTexelVisibleShift = 9,
353     SpvImageOperandsMakeTexelVisibleKHRShift = 9,
354     SpvImageOperandsNonPrivateTexelShift = 10,
355     SpvImageOperandsNonPrivateTexelKHRShift = 10,
356     SpvImageOperandsVolatileTexelShift = 11,
357     SpvImageOperandsVolatileTexelKHRShift = 11,
358     SpvImageOperandsSignExtendShift = 12,
359     SpvImageOperandsZeroExtendShift = 13,
360     SpvImageOperandsMax = 0x7fffffff,
361 } SpvImageOperandsShift;
362 
363 typedef enum SpvImageOperandsMask_ {
364     SpvImageOperandsMaskNone = 0,
365     SpvImageOperandsBiasMask = 0x00000001,
366     SpvImageOperandsLodMask = 0x00000002,
367     SpvImageOperandsGradMask = 0x00000004,
368     SpvImageOperandsConstOffsetMask = 0x00000008,
369     SpvImageOperandsOffsetMask = 0x00000010,
370     SpvImageOperandsConstOffsetsMask = 0x00000020,
371     SpvImageOperandsSampleMask = 0x00000040,
372     SpvImageOperandsMinLodMask = 0x00000080,
373     SpvImageOperandsMakeTexelAvailableMask = 0x00000100,
374     SpvImageOperandsMakeTexelAvailableKHRMask = 0x00000100,
375     SpvImageOperandsMakeTexelVisibleMask = 0x00000200,
376     SpvImageOperandsMakeTexelVisibleKHRMask = 0x00000200,
377     SpvImageOperandsNonPrivateTexelMask = 0x00000400,
378     SpvImageOperandsNonPrivateTexelKHRMask = 0x00000400,
379     SpvImageOperandsVolatileTexelMask = 0x00000800,
380     SpvImageOperandsVolatileTexelKHRMask = 0x00000800,
381     SpvImageOperandsSignExtendMask = 0x00001000,
382     SpvImageOperandsZeroExtendMask = 0x00002000,
383 } SpvImageOperandsMask;
384 
385 typedef enum SpvFPFastMathModeShift_ {
386     SpvFPFastMathModeNotNaNShift = 0,
387     SpvFPFastMathModeNotInfShift = 1,
388     SpvFPFastMathModeNSZShift = 2,
389     SpvFPFastMathModeAllowRecipShift = 3,
390     SpvFPFastMathModeFastShift = 4,
391     SpvFPFastMathModeAllowContractFastINTELShift = 16,
392     SpvFPFastMathModeAllowReassocINTELShift = 17,
393     SpvFPFastMathModeMax = 0x7fffffff,
394 } SpvFPFastMathModeShift;
395 
396 typedef enum SpvFPFastMathModeMask_ {
397     SpvFPFastMathModeMaskNone = 0,
398     SpvFPFastMathModeNotNaNMask = 0x00000001,
399     SpvFPFastMathModeNotInfMask = 0x00000002,
400     SpvFPFastMathModeNSZMask = 0x00000004,
401     SpvFPFastMathModeAllowRecipMask = 0x00000008,
402     SpvFPFastMathModeFastMask = 0x00000010,
403     SpvFPFastMathModeAllowContractFastINTELMask = 0x00010000,
404     SpvFPFastMathModeAllowReassocINTELMask = 0x00020000,
405 } SpvFPFastMathModeMask;
406 
407 typedef enum SpvFPRoundingMode_ {
408     SpvFPRoundingModeRTE = 0,
409     SpvFPRoundingModeRTZ = 1,
410     SpvFPRoundingModeRTP = 2,
411     SpvFPRoundingModeRTN = 3,
412     SpvFPRoundingModeMax = 0x7fffffff,
413 } SpvFPRoundingMode;
414 
415 typedef enum SpvLinkageType_ {
416     SpvLinkageTypeExport = 0,
417     SpvLinkageTypeImport = 1,
418     SpvLinkageTypeLinkOnceODR = 2,
419     SpvLinkageTypeMax = 0x7fffffff,
420 } SpvLinkageType;
421 
422 typedef enum SpvAccessQualifier_ {
423     SpvAccessQualifierReadOnly = 0,
424     SpvAccessQualifierWriteOnly = 1,
425     SpvAccessQualifierReadWrite = 2,
426     SpvAccessQualifierMax = 0x7fffffff,
427 } SpvAccessQualifier;
428 
429 typedef enum SpvFunctionParameterAttribute_ {
430     SpvFunctionParameterAttributeZext = 0,
431     SpvFunctionParameterAttributeSext = 1,
432     SpvFunctionParameterAttributeByVal = 2,
433     SpvFunctionParameterAttributeSret = 3,
434     SpvFunctionParameterAttributeNoAlias = 4,
435     SpvFunctionParameterAttributeNoCapture = 5,
436     SpvFunctionParameterAttributeNoWrite = 6,
437     SpvFunctionParameterAttributeNoReadWrite = 7,
438     SpvFunctionParameterAttributeMax = 0x7fffffff,
439 } SpvFunctionParameterAttribute;
440 
441 typedef enum SpvDecoration_ {
442     SpvDecorationRelaxedPrecision = 0,
443     SpvDecorationSpecId = 1,
444     SpvDecorationBlock = 2,
445     SpvDecorationBufferBlock = 3,
446     SpvDecorationRowMajor = 4,
447     SpvDecorationColMajor = 5,
448     SpvDecorationArrayStride = 6,
449     SpvDecorationMatrixStride = 7,
450     SpvDecorationGLSLShared = 8,
451     SpvDecorationGLSLPacked = 9,
452     SpvDecorationCPacked = 10,
453     SpvDecorationBuiltIn = 11,
454     SpvDecorationNoPerspective = 13,
455     SpvDecorationFlat = 14,
456     SpvDecorationPatch = 15,
457     SpvDecorationCentroid = 16,
458     SpvDecorationSample = 17,
459     SpvDecorationInvariant = 18,
460     SpvDecorationRestrict = 19,
461     SpvDecorationAliased = 20,
462     SpvDecorationVolatile = 21,
463     SpvDecorationConstant = 22,
464     SpvDecorationCoherent = 23,
465     SpvDecorationNonWritable = 24,
466     SpvDecorationNonReadable = 25,
467     SpvDecorationUniform = 26,
468     SpvDecorationUniformId = 27,
469     SpvDecorationSaturatedConversion = 28,
470     SpvDecorationStream = 29,
471     SpvDecorationLocation = 30,
472     SpvDecorationComponent = 31,
473     SpvDecorationIndex = 32,
474     SpvDecorationBinding = 33,
475     SpvDecorationDescriptorSet = 34,
476     SpvDecorationOffset = 35,
477     SpvDecorationXfbBuffer = 36,
478     SpvDecorationXfbStride = 37,
479     SpvDecorationFuncParamAttr = 38,
480     SpvDecorationFPRoundingMode = 39,
481     SpvDecorationFPFastMathMode = 40,
482     SpvDecorationLinkageAttributes = 41,
483     SpvDecorationNoContraction = 42,
484     SpvDecorationInputAttachmentIndex = 43,
485     SpvDecorationAlignment = 44,
486     SpvDecorationMaxByteOffset = 45,
487     SpvDecorationAlignmentId = 46,
488     SpvDecorationMaxByteOffsetId = 47,
489     SpvDecorationNoSignedWrap = 4469,
490     SpvDecorationNoUnsignedWrap = 4470,
491     SpvDecorationExplicitInterpAMD = 4999,
492     SpvDecorationOverrideCoverageNV = 5248,
493     SpvDecorationPassthroughNV = 5250,
494     SpvDecorationViewportRelativeNV = 5252,
495     SpvDecorationSecondaryViewportRelativeNV = 5256,
496     SpvDecorationPerPrimitiveNV = 5271,
497     SpvDecorationPerViewNV = 5272,
498     SpvDecorationPerTaskNV = 5273,
499     SpvDecorationPerVertexNV = 5285,
500     SpvDecorationNonUniform = 5300,
501     SpvDecorationNonUniformEXT = 5300,
502     SpvDecorationRestrictPointer = 5355,
503     SpvDecorationRestrictPointerEXT = 5355,
504     SpvDecorationAliasedPointer = 5356,
505     SpvDecorationAliasedPointerEXT = 5356,
506     SpvDecorationSIMTCallINTEL = 5599,
507     SpvDecorationReferencedIndirectlyINTEL = 5602,
508     SpvDecorationClobberINTEL = 5607,
509     SpvDecorationSideEffectsINTEL = 5608,
510     SpvDecorationVectorComputeVariableINTEL = 5624,
511     SpvDecorationFuncParamIOKindINTEL = 5625,
512     SpvDecorationVectorComputeFunctionINTEL = 5626,
513     SpvDecorationStackCallINTEL = 5627,
514     SpvDecorationGlobalVariableOffsetINTEL = 5628,
515     SpvDecorationCounterBuffer = 5634,
516     SpvDecorationHlslCounterBufferGOOGLE = 5634,
517     SpvDecorationHlslSemanticGOOGLE = 5635,
518     SpvDecorationUserSemantic = 5635,
519     SpvDecorationUserTypeGOOGLE = 5636,
520     SpvDecorationFunctionRoundingModeINTEL = 5822,
521     SpvDecorationFunctionDenormModeINTEL = 5823,
522     SpvDecorationRegisterINTEL = 5825,
523     SpvDecorationMemoryINTEL = 5826,
524     SpvDecorationNumbanksINTEL = 5827,
525     SpvDecorationBankwidthINTEL = 5828,
526     SpvDecorationMaxPrivateCopiesINTEL = 5829,
527     SpvDecorationSinglepumpINTEL = 5830,
528     SpvDecorationDoublepumpINTEL = 5831,
529     SpvDecorationMaxReplicatesINTEL = 5832,
530     SpvDecorationSimpleDualPortINTEL = 5833,
531     SpvDecorationMergeINTEL = 5834,
532     SpvDecorationBankBitsINTEL = 5835,
533     SpvDecorationForcePow2DepthINTEL = 5836,
534     SpvDecorationBurstCoalesceINTEL = 5899,
535     SpvDecorationCacheSizeINTEL = 5900,
536     SpvDecorationDontStaticallyCoalesceINTEL = 5901,
537     SpvDecorationPrefetchINTEL = 5902,
538     SpvDecorationStallEnableINTEL = 5905,
539     SpvDecorationFuseLoopsInFunctionINTEL = 5907,
540     SpvDecorationBufferLocationINTEL = 5921,
541     SpvDecorationIOPipeStorageINTEL = 5944,
542     SpvDecorationFunctionFloatingPointModeINTEL = 6080,
543     SpvDecorationSingleElementVectorINTEL = 6085,
544     SpvDecorationVectorComputeCallableFunctionINTEL = 6087,
545     SpvDecorationMax = 0x7fffffff,
546 } SpvDecoration;
547 
548 typedef enum SpvBuiltIn_ {
549     SpvBuiltInPosition = 0,
550     SpvBuiltInPointSize = 1,
551     SpvBuiltInClipDistance = 3,
552     SpvBuiltInCullDistance = 4,
553     SpvBuiltInVertexId = 5,
554     SpvBuiltInInstanceId = 6,
555     SpvBuiltInPrimitiveId = 7,
556     SpvBuiltInInvocationId = 8,
557     SpvBuiltInLayer = 9,
558     SpvBuiltInViewportIndex = 10,
559     SpvBuiltInTessLevelOuter = 11,
560     SpvBuiltInTessLevelInner = 12,
561     SpvBuiltInTessCoord = 13,
562     SpvBuiltInPatchVertices = 14,
563     SpvBuiltInFragCoord = 15,
564     SpvBuiltInPointCoord = 16,
565     SpvBuiltInFrontFacing = 17,
566     SpvBuiltInSampleId = 18,
567     SpvBuiltInSamplePosition = 19,
568     SpvBuiltInSampleMask = 20,
569     SpvBuiltInFragDepth = 22,
570     SpvBuiltInHelperInvocation = 23,
571     SpvBuiltInNumWorkgroups = 24,
572     SpvBuiltInWorkgroupSize = 25,
573     SpvBuiltInWorkgroupId = 26,
574     SpvBuiltInLocalInvocationId = 27,
575     SpvBuiltInGlobalInvocationId = 28,
576     SpvBuiltInLocalInvocationIndex = 29,
577     SpvBuiltInWorkDim = 30,
578     SpvBuiltInGlobalSize = 31,
579     SpvBuiltInEnqueuedWorkgroupSize = 32,
580     SpvBuiltInGlobalOffset = 33,
581     SpvBuiltInGlobalLinearId = 34,
582     SpvBuiltInSubgroupSize = 36,
583     SpvBuiltInSubgroupMaxSize = 37,
584     SpvBuiltInNumSubgroups = 38,
585     SpvBuiltInNumEnqueuedSubgroups = 39,
586     SpvBuiltInSubgroupId = 40,
587     SpvBuiltInSubgroupLocalInvocationId = 41,
588     SpvBuiltInVertexIndex = 42,
589     SpvBuiltInInstanceIndex = 43,
590     SpvBuiltInSubgroupEqMask = 4416,
591     SpvBuiltInSubgroupEqMaskKHR = 4416,
592     SpvBuiltInSubgroupGeMask = 4417,
593     SpvBuiltInSubgroupGeMaskKHR = 4417,
594     SpvBuiltInSubgroupGtMask = 4418,
595     SpvBuiltInSubgroupGtMaskKHR = 4418,
596     SpvBuiltInSubgroupLeMask = 4419,
597     SpvBuiltInSubgroupLeMaskKHR = 4419,
598     SpvBuiltInSubgroupLtMask = 4420,
599     SpvBuiltInSubgroupLtMaskKHR = 4420,
600     SpvBuiltInBaseVertex = 4424,
601     SpvBuiltInBaseInstance = 4425,
602     SpvBuiltInDrawIndex = 4426,
603     SpvBuiltInPrimitiveShadingRateKHR = 4432,
604     SpvBuiltInDeviceIndex = 4438,
605     SpvBuiltInViewIndex = 4440,
606     SpvBuiltInShadingRateKHR = 4444,
607     SpvBuiltInBaryCoordNoPerspAMD = 4992,
608     SpvBuiltInBaryCoordNoPerspCentroidAMD = 4993,
609     SpvBuiltInBaryCoordNoPerspSampleAMD = 4994,
610     SpvBuiltInBaryCoordSmoothAMD = 4995,
611     SpvBuiltInBaryCoordSmoothCentroidAMD = 4996,
612     SpvBuiltInBaryCoordSmoothSampleAMD = 4997,
613     SpvBuiltInBaryCoordPullModelAMD = 4998,
614     SpvBuiltInFragStencilRefEXT = 5014,
615     SpvBuiltInViewportMaskNV = 5253,
616     SpvBuiltInSecondaryPositionNV = 5257,
617     SpvBuiltInSecondaryViewportMaskNV = 5258,
618     SpvBuiltInPositionPerViewNV = 5261,
619     SpvBuiltInViewportMaskPerViewNV = 5262,
620     SpvBuiltInFullyCoveredEXT = 5264,
621     SpvBuiltInTaskCountNV = 5274,
622     SpvBuiltInPrimitiveCountNV = 5275,
623     SpvBuiltInPrimitiveIndicesNV = 5276,
624     SpvBuiltInClipDistancePerViewNV = 5277,
625     SpvBuiltInCullDistancePerViewNV = 5278,
626     SpvBuiltInLayerPerViewNV = 5279,
627     SpvBuiltInMeshViewCountNV = 5280,
628     SpvBuiltInMeshViewIndicesNV = 5281,
629     SpvBuiltInBaryCoordNV = 5286,
630     SpvBuiltInBaryCoordNoPerspNV = 5287,
631     SpvBuiltInFragSizeEXT = 5292,
632     SpvBuiltInFragmentSizeNV = 5292,
633     SpvBuiltInFragInvocationCountEXT = 5293,
634     SpvBuiltInInvocationsPerPixelNV = 5293,
635     SpvBuiltInLaunchIdKHR = 5319,
636     SpvBuiltInLaunchIdNV = 5319,
637     SpvBuiltInLaunchSizeKHR = 5320,
638     SpvBuiltInLaunchSizeNV = 5320,
639     SpvBuiltInWorldRayOriginKHR = 5321,
640     SpvBuiltInWorldRayOriginNV = 5321,
641     SpvBuiltInWorldRayDirectionKHR = 5322,
642     SpvBuiltInWorldRayDirectionNV = 5322,
643     SpvBuiltInObjectRayOriginKHR = 5323,
644     SpvBuiltInObjectRayOriginNV = 5323,
645     SpvBuiltInObjectRayDirectionKHR = 5324,
646     SpvBuiltInObjectRayDirectionNV = 5324,
647     SpvBuiltInRayTminKHR = 5325,
648     SpvBuiltInRayTminNV = 5325,
649     SpvBuiltInRayTmaxKHR = 5326,
650     SpvBuiltInRayTmaxNV = 5326,
651     SpvBuiltInInstanceCustomIndexKHR = 5327,
652     SpvBuiltInInstanceCustomIndexNV = 5327,
653     SpvBuiltInObjectToWorldKHR = 5330,
654     SpvBuiltInObjectToWorldNV = 5330,
655     SpvBuiltInWorldToObjectKHR = 5331,
656     SpvBuiltInWorldToObjectNV = 5331,
657     SpvBuiltInHitTNV = 5332,
658     SpvBuiltInHitKindKHR = 5333,
659     SpvBuiltInHitKindNV = 5333,
660     SpvBuiltInCurrentRayTimeNV = 5334,
661     SpvBuiltInIncomingRayFlagsKHR = 5351,
662     SpvBuiltInIncomingRayFlagsNV = 5351,
663     SpvBuiltInRayGeometryIndexKHR = 5352,
664     SpvBuiltInWarpsPerSMNV = 5374,
665     SpvBuiltInSMCountNV = 5375,
666     SpvBuiltInWarpIDNV = 5376,
667     SpvBuiltInSMIDNV = 5377,
668     SpvBuiltInMax = 0x7fffffff,
669 } SpvBuiltIn;
670 
671 typedef enum SpvSelectionControlShift_ {
672     SpvSelectionControlFlattenShift = 0,
673     SpvSelectionControlDontFlattenShift = 1,
674     SpvSelectionControlMax = 0x7fffffff,
675 } SpvSelectionControlShift;
676 
677 typedef enum SpvSelectionControlMask_ {
678     SpvSelectionControlMaskNone = 0,
679     SpvSelectionControlFlattenMask = 0x00000001,
680     SpvSelectionControlDontFlattenMask = 0x00000002,
681 } SpvSelectionControlMask;
682 
683 typedef enum SpvLoopControlShift_ {
684     SpvLoopControlUnrollShift = 0,
685     SpvLoopControlDontUnrollShift = 1,
686     SpvLoopControlDependencyInfiniteShift = 2,
687     SpvLoopControlDependencyLengthShift = 3,
688     SpvLoopControlMinIterationsShift = 4,
689     SpvLoopControlMaxIterationsShift = 5,
690     SpvLoopControlIterationMultipleShift = 6,
691     SpvLoopControlPeelCountShift = 7,
692     SpvLoopControlPartialCountShift = 8,
693     SpvLoopControlInitiationIntervalINTELShift = 16,
694     SpvLoopControlMaxConcurrencyINTELShift = 17,
695     SpvLoopControlDependencyArrayINTELShift = 18,
696     SpvLoopControlPipelineEnableINTELShift = 19,
697     SpvLoopControlLoopCoalesceINTELShift = 20,
698     SpvLoopControlMaxInterleavingINTELShift = 21,
699     SpvLoopControlSpeculatedIterationsINTELShift = 22,
700     SpvLoopControlNoFusionINTELShift = 23,
701     SpvLoopControlMax = 0x7fffffff,
702 } SpvLoopControlShift;
703 
704 typedef enum SpvLoopControlMask_ {
705     SpvLoopControlMaskNone = 0,
706     SpvLoopControlUnrollMask = 0x00000001,
707     SpvLoopControlDontUnrollMask = 0x00000002,
708     SpvLoopControlDependencyInfiniteMask = 0x00000004,
709     SpvLoopControlDependencyLengthMask = 0x00000008,
710     SpvLoopControlMinIterationsMask = 0x00000010,
711     SpvLoopControlMaxIterationsMask = 0x00000020,
712     SpvLoopControlIterationMultipleMask = 0x00000040,
713     SpvLoopControlPeelCountMask = 0x00000080,
714     SpvLoopControlPartialCountMask = 0x00000100,
715     SpvLoopControlInitiationIntervalINTELMask = 0x00010000,
716     SpvLoopControlMaxConcurrencyINTELMask = 0x00020000,
717     SpvLoopControlDependencyArrayINTELMask = 0x00040000,
718     SpvLoopControlPipelineEnableINTELMask = 0x00080000,
719     SpvLoopControlLoopCoalesceINTELMask = 0x00100000,
720     SpvLoopControlMaxInterleavingINTELMask = 0x00200000,
721     SpvLoopControlSpeculatedIterationsINTELMask = 0x00400000,
722     SpvLoopControlNoFusionINTELMask = 0x00800000,
723 } SpvLoopControlMask;
724 
725 typedef enum SpvFunctionControlShift_ {
726     SpvFunctionControlInlineShift = 0,
727     SpvFunctionControlDontInlineShift = 1,
728     SpvFunctionControlPureShift = 2,
729     SpvFunctionControlConstShift = 3,
730     SpvFunctionControlOptNoneINTELShift = 16,
731     SpvFunctionControlMax = 0x7fffffff,
732 } SpvFunctionControlShift;
733 
734 typedef enum SpvFunctionControlMask_ {
735     SpvFunctionControlMaskNone = 0,
736     SpvFunctionControlInlineMask = 0x00000001,
737     SpvFunctionControlDontInlineMask = 0x00000002,
738     SpvFunctionControlPureMask = 0x00000004,
739     SpvFunctionControlConstMask = 0x00000008,
740     SpvFunctionControlOptNoneINTELMask = 0x00010000,
741 } SpvFunctionControlMask;
742 
743 typedef enum SpvMemorySemanticsShift_ {
744     SpvMemorySemanticsAcquireShift = 1,
745     SpvMemorySemanticsReleaseShift = 2,
746     SpvMemorySemanticsAcquireReleaseShift = 3,
747     SpvMemorySemanticsSequentiallyConsistentShift = 4,
748     SpvMemorySemanticsUniformMemoryShift = 6,
749     SpvMemorySemanticsSubgroupMemoryShift = 7,
750     SpvMemorySemanticsWorkgroupMemoryShift = 8,
751     SpvMemorySemanticsCrossWorkgroupMemoryShift = 9,
752     SpvMemorySemanticsAtomicCounterMemoryShift = 10,
753     SpvMemorySemanticsImageMemoryShift = 11,
754     SpvMemorySemanticsOutputMemoryShift = 12,
755     SpvMemorySemanticsOutputMemoryKHRShift = 12,
756     SpvMemorySemanticsMakeAvailableShift = 13,
757     SpvMemorySemanticsMakeAvailableKHRShift = 13,
758     SpvMemorySemanticsMakeVisibleShift = 14,
759     SpvMemorySemanticsMakeVisibleKHRShift = 14,
760     SpvMemorySemanticsVolatileShift = 15,
761     SpvMemorySemanticsMax = 0x7fffffff,
762 } SpvMemorySemanticsShift;
763 
764 typedef enum SpvMemorySemanticsMask_ {
765     SpvMemorySemanticsMaskNone = 0,
766     SpvMemorySemanticsAcquireMask = 0x00000002,
767     SpvMemorySemanticsReleaseMask = 0x00000004,
768     SpvMemorySemanticsAcquireReleaseMask = 0x00000008,
769     SpvMemorySemanticsSequentiallyConsistentMask = 0x00000010,
770     SpvMemorySemanticsUniformMemoryMask = 0x00000040,
771     SpvMemorySemanticsSubgroupMemoryMask = 0x00000080,
772     SpvMemorySemanticsWorkgroupMemoryMask = 0x00000100,
773     SpvMemorySemanticsCrossWorkgroupMemoryMask = 0x00000200,
774     SpvMemorySemanticsAtomicCounterMemoryMask = 0x00000400,
775     SpvMemorySemanticsImageMemoryMask = 0x00000800,
776     SpvMemorySemanticsOutputMemoryMask = 0x00001000,
777     SpvMemorySemanticsOutputMemoryKHRMask = 0x00001000,
778     SpvMemorySemanticsMakeAvailableMask = 0x00002000,
779     SpvMemorySemanticsMakeAvailableKHRMask = 0x00002000,
780     SpvMemorySemanticsMakeVisibleMask = 0x00004000,
781     SpvMemorySemanticsMakeVisibleKHRMask = 0x00004000,
782     SpvMemorySemanticsVolatileMask = 0x00008000,
783 } SpvMemorySemanticsMask;
784 
785 typedef enum SpvMemoryAccessShift_ {
786     SpvMemoryAccessVolatileShift = 0,
787     SpvMemoryAccessAlignedShift = 1,
788     SpvMemoryAccessNontemporalShift = 2,
789     SpvMemoryAccessMakePointerAvailableShift = 3,
790     SpvMemoryAccessMakePointerAvailableKHRShift = 3,
791     SpvMemoryAccessMakePointerVisibleShift = 4,
792     SpvMemoryAccessMakePointerVisibleKHRShift = 4,
793     SpvMemoryAccessNonPrivatePointerShift = 5,
794     SpvMemoryAccessNonPrivatePointerKHRShift = 5,
795     SpvMemoryAccessMax = 0x7fffffff,
796 } SpvMemoryAccessShift;
797 
798 typedef enum SpvMemoryAccessMask_ {
799     SpvMemoryAccessMaskNone = 0,
800     SpvMemoryAccessVolatileMask = 0x00000001,
801     SpvMemoryAccessAlignedMask = 0x00000002,
802     SpvMemoryAccessNontemporalMask = 0x00000004,
803     SpvMemoryAccessMakePointerAvailableMask = 0x00000008,
804     SpvMemoryAccessMakePointerAvailableKHRMask = 0x00000008,
805     SpvMemoryAccessMakePointerVisibleMask = 0x00000010,
806     SpvMemoryAccessMakePointerVisibleKHRMask = 0x00000010,
807     SpvMemoryAccessNonPrivatePointerMask = 0x00000020,
808     SpvMemoryAccessNonPrivatePointerKHRMask = 0x00000020,
809 } SpvMemoryAccessMask;
810 
811 typedef enum SpvScope_ {
812     SpvScopeCrossDevice = 0,
813     SpvScopeDevice = 1,
814     SpvScopeWorkgroup = 2,
815     SpvScopeSubgroup = 3,
816     SpvScopeInvocation = 4,
817     SpvScopeQueueFamily = 5,
818     SpvScopeQueueFamilyKHR = 5,
819     SpvScopeShaderCallKHR = 6,
820     SpvScopeMax = 0x7fffffff,
821 } SpvScope;
822 
823 typedef enum SpvGroupOperation_ {
824     SpvGroupOperationReduce = 0,
825     SpvGroupOperationInclusiveScan = 1,
826     SpvGroupOperationExclusiveScan = 2,
827     SpvGroupOperationClusteredReduce = 3,
828     SpvGroupOperationPartitionedReduceNV = 6,
829     SpvGroupOperationPartitionedInclusiveScanNV = 7,
830     SpvGroupOperationPartitionedExclusiveScanNV = 8,
831     SpvGroupOperationMax = 0x7fffffff,
832 } SpvGroupOperation;
833 
834 typedef enum SpvKernelEnqueueFlags_ {
835     SpvKernelEnqueueFlagsNoWait = 0,
836     SpvKernelEnqueueFlagsWaitKernel = 1,
837     SpvKernelEnqueueFlagsWaitWorkGroup = 2,
838     SpvKernelEnqueueFlagsMax = 0x7fffffff,
839 } SpvKernelEnqueueFlags;
840 
841 typedef enum SpvKernelProfilingInfoShift_ {
842     SpvKernelProfilingInfoCmdExecTimeShift = 0,
843     SpvKernelProfilingInfoMax = 0x7fffffff,
844 } SpvKernelProfilingInfoShift;
845 
846 typedef enum SpvKernelProfilingInfoMask_ {
847     SpvKernelProfilingInfoMaskNone = 0,
848     SpvKernelProfilingInfoCmdExecTimeMask = 0x00000001,
849 } SpvKernelProfilingInfoMask;
850 
851 typedef enum SpvCapability_ {
852     SpvCapabilityMatrix = 0,
853     SpvCapabilityShader = 1,
854     SpvCapabilityGeometry = 2,
855     SpvCapabilityTessellation = 3,
856     SpvCapabilityAddresses = 4,
857     SpvCapabilityLinkage = 5,
858     SpvCapabilityKernel = 6,
859     SpvCapabilityVector16 = 7,
860     SpvCapabilityFloat16Buffer = 8,
861     SpvCapabilityFloat16 = 9,
862     SpvCapabilityFloat64 = 10,
863     SpvCapabilityInt64 = 11,
864     SpvCapabilityInt64Atomics = 12,
865     SpvCapabilityImageBasic = 13,
866     SpvCapabilityImageReadWrite = 14,
867     SpvCapabilityImageMipmap = 15,
868     SpvCapabilityPipes = 17,
869     SpvCapabilityGroups = 18,
870     SpvCapabilityDeviceEnqueue = 19,
871     SpvCapabilityLiteralSampler = 20,
872     SpvCapabilityAtomicStorage = 21,
873     SpvCapabilityInt16 = 22,
874     SpvCapabilityTessellationPointSize = 23,
875     SpvCapabilityGeometryPointSize = 24,
876     SpvCapabilityImageGatherExtended = 25,
877     SpvCapabilityStorageImageMultisample = 27,
878     SpvCapabilityUniformBufferArrayDynamicIndexing = 28,
879     SpvCapabilitySampledImageArrayDynamicIndexing = 29,
880     SpvCapabilityStorageBufferArrayDynamicIndexing = 30,
881     SpvCapabilityStorageImageArrayDynamicIndexing = 31,
882     SpvCapabilityClipDistance = 32,
883     SpvCapabilityCullDistance = 33,
884     SpvCapabilityImageCubeArray = 34,
885     SpvCapabilitySampleRateShading = 35,
886     SpvCapabilityImageRect = 36,
887     SpvCapabilitySampledRect = 37,
888     SpvCapabilityGenericPointer = 38,
889     SpvCapabilityInt8 = 39,
890     SpvCapabilityInputAttachment = 40,
891     SpvCapabilitySparseResidency = 41,
892     SpvCapabilityMinLod = 42,
893     SpvCapabilitySampled1D = 43,
894     SpvCapabilityImage1D = 44,
895     SpvCapabilitySampledCubeArray = 45,
896     SpvCapabilitySampledBuffer = 46,
897     SpvCapabilityImageBuffer = 47,
898     SpvCapabilityImageMSArray = 48,
899     SpvCapabilityStorageImageExtendedFormats = 49,
900     SpvCapabilityImageQuery = 50,
901     SpvCapabilityDerivativeControl = 51,
902     SpvCapabilityInterpolationFunction = 52,
903     SpvCapabilityTransformFeedback = 53,
904     SpvCapabilityGeometryStreams = 54,
905     SpvCapabilityStorageImageReadWithoutFormat = 55,
906     SpvCapabilityStorageImageWriteWithoutFormat = 56,
907     SpvCapabilityMultiViewport = 57,
908     SpvCapabilitySubgroupDispatch = 58,
909     SpvCapabilityNamedBarrier = 59,
910     SpvCapabilityPipeStorage = 60,
911     SpvCapabilityGroupNonUniform = 61,
912     SpvCapabilityGroupNonUniformVote = 62,
913     SpvCapabilityGroupNonUniformArithmetic = 63,
914     SpvCapabilityGroupNonUniformBallot = 64,
915     SpvCapabilityGroupNonUniformShuffle = 65,
916     SpvCapabilityGroupNonUniformShuffleRelative = 66,
917     SpvCapabilityGroupNonUniformClustered = 67,
918     SpvCapabilityGroupNonUniformQuad = 68,
919     SpvCapabilityShaderLayer = 69,
920     SpvCapabilityShaderViewportIndex = 70,
921     SpvCapabilityFragmentShadingRateKHR = 4422,
922     SpvCapabilitySubgroupBallotKHR = 4423,
923     SpvCapabilityDrawParameters = 4427,
924     SpvCapabilityWorkgroupMemoryExplicitLayoutKHR = 4428,
925     SpvCapabilityWorkgroupMemoryExplicitLayout8BitAccessKHR = 4429,
926     SpvCapabilityWorkgroupMemoryExplicitLayout16BitAccessKHR = 4430,
927     SpvCapabilitySubgroupVoteKHR = 4431,
928     SpvCapabilityStorageBuffer16BitAccess = 4433,
929     SpvCapabilityStorageUniformBufferBlock16 = 4433,
930     SpvCapabilityStorageUniform16 = 4434,
931     SpvCapabilityUniformAndStorageBuffer16BitAccess = 4434,
932     SpvCapabilityStoragePushConstant16 = 4435,
933     SpvCapabilityStorageInputOutput16 = 4436,
934     SpvCapabilityDeviceGroup = 4437,
935     SpvCapabilityMultiView = 4439,
936     SpvCapabilityVariablePointersStorageBuffer = 4441,
937     SpvCapabilityVariablePointers = 4442,
938     SpvCapabilityAtomicStorageOps = 4445,
939     SpvCapabilitySampleMaskPostDepthCoverage = 4447,
940     SpvCapabilityStorageBuffer8BitAccess = 4448,
941     SpvCapabilityUniformAndStorageBuffer8BitAccess = 4449,
942     SpvCapabilityStoragePushConstant8 = 4450,
943     SpvCapabilityDenormPreserve = 4464,
944     SpvCapabilityDenormFlushToZero = 4465,
945     SpvCapabilitySignedZeroInfNanPreserve = 4466,
946     SpvCapabilityRoundingModeRTE = 4467,
947     SpvCapabilityRoundingModeRTZ = 4468,
948     SpvCapabilityRayQueryProvisionalKHR = 4471,
949     SpvCapabilityRayQueryKHR = 4472,
950     SpvCapabilityRayTraversalPrimitiveCullingKHR = 4478,
951     SpvCapabilityRayTracingKHR = 4479,
952     SpvCapabilityFloat16ImageAMD = 5008,
953     SpvCapabilityImageGatherBiasLodAMD = 5009,
954     SpvCapabilityFragmentMaskAMD = 5010,
955     SpvCapabilityStencilExportEXT = 5013,
956     SpvCapabilityImageReadWriteLodAMD = 5015,
957     SpvCapabilityInt64ImageEXT = 5016,
958     SpvCapabilityShaderClockKHR = 5055,
959     SpvCapabilitySampleMaskOverrideCoverageNV = 5249,
960     SpvCapabilityGeometryShaderPassthroughNV = 5251,
961     SpvCapabilityShaderViewportIndexLayerEXT = 5254,
962     SpvCapabilityShaderViewportIndexLayerNV = 5254,
963     SpvCapabilityShaderViewportMaskNV = 5255,
964     SpvCapabilityShaderStereoViewNV = 5259,
965     SpvCapabilityPerViewAttributesNV = 5260,
966     SpvCapabilityFragmentFullyCoveredEXT = 5265,
967     SpvCapabilityMeshShadingNV = 5266,
968     SpvCapabilityImageFootprintNV = 5282,
969     SpvCapabilityFragmentBarycentricNV = 5284,
970     SpvCapabilityComputeDerivativeGroupQuadsNV = 5288,
971     SpvCapabilityFragmentDensityEXT = 5291,
972     SpvCapabilityShadingRateNV = 5291,
973     SpvCapabilityGroupNonUniformPartitionedNV = 5297,
974     SpvCapabilityShaderNonUniform = 5301,
975     SpvCapabilityShaderNonUniformEXT = 5301,
976     SpvCapabilityRuntimeDescriptorArray = 5302,
977     SpvCapabilityRuntimeDescriptorArrayEXT = 5302,
978     SpvCapabilityInputAttachmentArrayDynamicIndexing = 5303,
979     SpvCapabilityInputAttachmentArrayDynamicIndexingEXT = 5303,
980     SpvCapabilityUniformTexelBufferArrayDynamicIndexing = 5304,
981     SpvCapabilityUniformTexelBufferArrayDynamicIndexingEXT = 5304,
982     SpvCapabilityStorageTexelBufferArrayDynamicIndexing = 5305,
983     SpvCapabilityStorageTexelBufferArrayDynamicIndexingEXT = 5305,
984     SpvCapabilityUniformBufferArrayNonUniformIndexing = 5306,
985     SpvCapabilityUniformBufferArrayNonUniformIndexingEXT = 5306,
986     SpvCapabilitySampledImageArrayNonUniformIndexing = 5307,
987     SpvCapabilitySampledImageArrayNonUniformIndexingEXT = 5307,
988     SpvCapabilityStorageBufferArrayNonUniformIndexing = 5308,
989     SpvCapabilityStorageBufferArrayNonUniformIndexingEXT = 5308,
990     SpvCapabilityStorageImageArrayNonUniformIndexing = 5309,
991     SpvCapabilityStorageImageArrayNonUniformIndexingEXT = 5309,
992     SpvCapabilityInputAttachmentArrayNonUniformIndexing = 5310,
993     SpvCapabilityInputAttachmentArrayNonUniformIndexingEXT = 5310,
994     SpvCapabilityUniformTexelBufferArrayNonUniformIndexing = 5311,
995     SpvCapabilityUniformTexelBufferArrayNonUniformIndexingEXT = 5311,
996     SpvCapabilityStorageTexelBufferArrayNonUniformIndexing = 5312,
997     SpvCapabilityStorageTexelBufferArrayNonUniformIndexingEXT = 5312,
998     SpvCapabilityRayTracingNV = 5340,
999     SpvCapabilityRayTracingMotionBlurNV = 5341,
1000     SpvCapabilityVulkanMemoryModel = 5345,
1001     SpvCapabilityVulkanMemoryModelKHR = 5345,
1002     SpvCapabilityVulkanMemoryModelDeviceScope = 5346,
1003     SpvCapabilityVulkanMemoryModelDeviceScopeKHR = 5346,
1004     SpvCapabilityPhysicalStorageBufferAddresses = 5347,
1005     SpvCapabilityPhysicalStorageBufferAddressesEXT = 5347,
1006     SpvCapabilityComputeDerivativeGroupLinearNV = 5350,
1007     SpvCapabilityRayTracingProvisionalKHR = 5353,
1008     SpvCapabilityCooperativeMatrixNV = 5357,
1009     SpvCapabilityFragmentShaderSampleInterlockEXT = 5363,
1010     SpvCapabilityFragmentShaderShadingRateInterlockEXT = 5372,
1011     SpvCapabilityShaderSMBuiltinsNV = 5373,
1012     SpvCapabilityFragmentShaderPixelInterlockEXT = 5378,
1013     SpvCapabilityDemoteToHelperInvocationEXT = 5379,
1014     SpvCapabilitySubgroupShuffleINTEL = 5568,
1015     SpvCapabilitySubgroupBufferBlockIOINTEL = 5569,
1016     SpvCapabilitySubgroupImageBlockIOINTEL = 5570,
1017     SpvCapabilitySubgroupImageMediaBlockIOINTEL = 5579,
1018     SpvCapabilityRoundToInfinityINTEL = 5582,
1019     SpvCapabilityFloatingPointModeINTEL = 5583,
1020     SpvCapabilityIntegerFunctions2INTEL = 5584,
1021     SpvCapabilityFunctionPointersINTEL = 5603,
1022     SpvCapabilityIndirectReferencesINTEL = 5604,
1023     SpvCapabilityAsmINTEL = 5606,
1024     SpvCapabilityAtomicFloat32MinMaxEXT = 5612,
1025     SpvCapabilityAtomicFloat64MinMaxEXT = 5613,
1026     SpvCapabilityAtomicFloat16MinMaxEXT = 5616,
1027     SpvCapabilityVectorComputeINTEL = 5617,
1028     SpvCapabilityVectorAnyINTEL = 5619,
1029     SpvCapabilityExpectAssumeKHR = 5629,
1030     SpvCapabilitySubgroupAvcMotionEstimationINTEL = 5696,
1031     SpvCapabilitySubgroupAvcMotionEstimationIntraINTEL = 5697,
1032     SpvCapabilitySubgroupAvcMotionEstimationChromaINTEL = 5698,
1033     SpvCapabilityVariableLengthArrayINTEL = 5817,
1034     SpvCapabilityFunctionFloatControlINTEL = 5821,
1035     SpvCapabilityFPGAMemoryAttributesINTEL = 5824,
1036     SpvCapabilityFPFastMathModeINTEL = 5837,
1037     SpvCapabilityArbitraryPrecisionIntegersINTEL = 5844,
1038     SpvCapabilityArbitraryPrecisionFloatingPointINTEL = 5845,
1039     SpvCapabilityUnstructuredLoopControlsINTEL = 5886,
1040     SpvCapabilityFPGALoopControlsINTEL = 5888,
1041     SpvCapabilityKernelAttributesINTEL = 5892,
1042     SpvCapabilityFPGAKernelAttributesINTEL = 5897,
1043     SpvCapabilityFPGAMemoryAccessesINTEL = 5898,
1044     SpvCapabilityFPGAClusterAttributesINTEL = 5904,
1045     SpvCapabilityLoopFuseINTEL = 5906,
1046     SpvCapabilityFPGABufferLocationINTEL = 5920,
1047     SpvCapabilityArbitraryPrecisionFixedPointINTEL = 5922,
1048     SpvCapabilityUSMStorageClassesINTEL = 5935,
1049     SpvCapabilityIOPipesINTEL = 5943,
1050     SpvCapabilityBlockingPipesINTEL = 5945,
1051     SpvCapabilityFPGARegINTEL = 5948,
1052     SpvCapabilityDotProductInputAllKHR = 6016,
1053     SpvCapabilityDotProductInput4x8BitKHR = 6017,
1054     SpvCapabilityDotProductInput4x8BitPackedKHR = 6018,
1055     SpvCapabilityDotProductKHR = 6019,
1056     SpvCapabilityBitInstructions = 6025,
1057     SpvCapabilityAtomicFloat32AddEXT = 6033,
1058     SpvCapabilityAtomicFloat64AddEXT = 6034,
1059     SpvCapabilityLongConstantCompositeINTEL = 6089,
1060     SpvCapabilityOptNoneINTEL = 6094,
1061     SpvCapabilityAtomicFloat16AddEXT = 6095,
1062     SpvCapabilityDebugInfoModuleINTEL = 6114,
1063     SpvCapabilityMax = 0x7fffffff,
1064 } SpvCapability;
1065 
1066 typedef enum SpvRayFlagsShift_ {
1067     SpvRayFlagsOpaqueKHRShift = 0,
1068     SpvRayFlagsNoOpaqueKHRShift = 1,
1069     SpvRayFlagsTerminateOnFirstHitKHRShift = 2,
1070     SpvRayFlagsSkipClosestHitShaderKHRShift = 3,
1071     SpvRayFlagsCullBackFacingTrianglesKHRShift = 4,
1072     SpvRayFlagsCullFrontFacingTrianglesKHRShift = 5,
1073     SpvRayFlagsCullOpaqueKHRShift = 6,
1074     SpvRayFlagsCullNoOpaqueKHRShift = 7,
1075     SpvRayFlagsSkipTrianglesKHRShift = 8,
1076     SpvRayFlagsSkipAABBsKHRShift = 9,
1077     SpvRayFlagsMax = 0x7fffffff,
1078 } SpvRayFlagsShift;
1079 
1080 typedef enum SpvRayFlagsMask_ {
1081     SpvRayFlagsMaskNone = 0,
1082     SpvRayFlagsOpaqueKHRMask = 0x00000001,
1083     SpvRayFlagsNoOpaqueKHRMask = 0x00000002,
1084     SpvRayFlagsTerminateOnFirstHitKHRMask = 0x00000004,
1085     SpvRayFlagsSkipClosestHitShaderKHRMask = 0x00000008,
1086     SpvRayFlagsCullBackFacingTrianglesKHRMask = 0x00000010,
1087     SpvRayFlagsCullFrontFacingTrianglesKHRMask = 0x00000020,
1088     SpvRayFlagsCullOpaqueKHRMask = 0x00000040,
1089     SpvRayFlagsCullNoOpaqueKHRMask = 0x00000080,
1090     SpvRayFlagsSkipTrianglesKHRMask = 0x00000100,
1091     SpvRayFlagsSkipAABBsKHRMask = 0x00000200,
1092 } SpvRayFlagsMask;
1093 
1094 typedef enum SpvRayQueryIntersection_ {
1095     SpvRayQueryIntersectionRayQueryCandidateIntersectionKHR = 0,
1096     SpvRayQueryIntersectionRayQueryCommittedIntersectionKHR = 1,
1097     SpvRayQueryIntersectionMax = 0x7fffffff,
1098 } SpvRayQueryIntersection;
1099 
1100 typedef enum SpvRayQueryCommittedIntersectionType_ {
1101     SpvRayQueryCommittedIntersectionTypeRayQueryCommittedIntersectionNoneKHR = 0,
1102     SpvRayQueryCommittedIntersectionTypeRayQueryCommittedIntersectionTriangleKHR = 1,
1103     SpvRayQueryCommittedIntersectionTypeRayQueryCommittedIntersectionGeneratedKHR = 2,
1104     SpvRayQueryCommittedIntersectionTypeMax = 0x7fffffff,
1105 } SpvRayQueryCommittedIntersectionType;
1106 
1107 typedef enum SpvRayQueryCandidateIntersectionType_ {
1108     SpvRayQueryCandidateIntersectionTypeRayQueryCandidateIntersectionTriangleKHR = 0,
1109     SpvRayQueryCandidateIntersectionTypeRayQueryCandidateIntersectionAABBKHR = 1,
1110     SpvRayQueryCandidateIntersectionTypeMax = 0x7fffffff,
1111 } SpvRayQueryCandidateIntersectionType;
1112 
1113 typedef enum SpvFragmentShadingRateShift_ {
1114     SpvFragmentShadingRateVertical2PixelsShift = 0,
1115     SpvFragmentShadingRateVertical4PixelsShift = 1,
1116     SpvFragmentShadingRateHorizontal2PixelsShift = 2,
1117     SpvFragmentShadingRateHorizontal4PixelsShift = 3,
1118     SpvFragmentShadingRateMax = 0x7fffffff,
1119 } SpvFragmentShadingRateShift;
1120 
1121 typedef enum SpvFragmentShadingRateMask_ {
1122     SpvFragmentShadingRateMaskNone = 0,
1123     SpvFragmentShadingRateVertical2PixelsMask = 0x00000001,
1124     SpvFragmentShadingRateVertical4PixelsMask = 0x00000002,
1125     SpvFragmentShadingRateHorizontal2PixelsMask = 0x00000004,
1126     SpvFragmentShadingRateHorizontal4PixelsMask = 0x00000008,
1127 } SpvFragmentShadingRateMask;
1128 
1129 typedef enum SpvFPDenormMode_ {
1130     SpvFPDenormModePreserve = 0,
1131     SpvFPDenormModeFlushToZero = 1,
1132     SpvFPDenormModeMax = 0x7fffffff,
1133 } SpvFPDenormMode;
1134 
1135 typedef enum SpvFPOperationMode_ {
1136     SpvFPOperationModeIEEE = 0,
1137     SpvFPOperationModeALT = 1,
1138     SpvFPOperationModeMax = 0x7fffffff,
1139 } SpvFPOperationMode;
1140 
1141 typedef enum SpvQuantizationModes_ {
1142     SpvQuantizationModesTRN = 0,
1143     SpvQuantizationModesTRN_ZERO = 1,
1144     SpvQuantizationModesRND = 2,
1145     SpvQuantizationModesRND_ZERO = 3,
1146     SpvQuantizationModesRND_INF = 4,
1147     SpvQuantizationModesRND_MIN_INF = 5,
1148     SpvQuantizationModesRND_CONV = 6,
1149     SpvQuantizationModesRND_CONV_ODD = 7,
1150     SpvQuantizationModesMax = 0x7fffffff,
1151 } SpvQuantizationModes;
1152 
1153 typedef enum SpvOverflowModes_ {
1154     SpvOverflowModesWRAP = 0,
1155     SpvOverflowModesSAT = 1,
1156     SpvOverflowModesSAT_ZERO = 2,
1157     SpvOverflowModesSAT_SYM = 3,
1158     SpvOverflowModesMax = 0x7fffffff,
1159 } SpvOverflowModes;
1160 
1161 typedef enum SpvPackedVectorFormat_ {
1162     SpvPackedVectorFormatPackedVectorFormat4x8BitKHR = 0,
1163     SpvPackedVectorFormatMax = 0x7fffffff,
1164 } SpvPackedVectorFormat;
1165 
1166 typedef enum SpvOp_ {
1167     SpvOpNop = 0,
1168     SpvOpUndef = 1,
1169     SpvOpSourceContinued = 2,
1170     SpvOpSource = 3,
1171     SpvOpSourceExtension = 4,
1172     SpvOpName = 5,
1173     SpvOpMemberName = 6,
1174     SpvOpString = 7,
1175     SpvOpLine = 8,
1176     SpvOpExtension = 10,
1177     SpvOpExtInstImport = 11,
1178     SpvOpExtInst = 12,
1179     SpvOpMemoryModel = 14,
1180     SpvOpEntryPoint = 15,
1181     SpvOpExecutionMode = 16,
1182     SpvOpCapability = 17,
1183     SpvOpTypeVoid = 19,
1184     SpvOpTypeBool = 20,
1185     SpvOpTypeInt = 21,
1186     SpvOpTypeFloat = 22,
1187     SpvOpTypeVector = 23,
1188     SpvOpTypeMatrix = 24,
1189     SpvOpTypeImage = 25,
1190     SpvOpTypeSampler = 26,
1191     SpvOpTypeSampledImage = 27,
1192     SpvOpTypeArray = 28,
1193     SpvOpTypeRuntimeArray = 29,
1194     SpvOpTypeStruct = 30,
1195     SpvOpTypeOpaque = 31,
1196     SpvOpTypePointer = 32,
1197     SpvOpTypeFunction = 33,
1198     SpvOpTypeEvent = 34,
1199     SpvOpTypeDeviceEvent = 35,
1200     SpvOpTypeReserveId = 36,
1201     SpvOpTypeQueue = 37,
1202     SpvOpTypePipe = 38,
1203     SpvOpTypeForwardPointer = 39,
1204     SpvOpConstantTrue = 41,
1205     SpvOpConstantFalse = 42,
1206     SpvOpConstant = 43,
1207     SpvOpConstantComposite = 44,
1208     SpvOpConstantSampler = 45,
1209     SpvOpConstantNull = 46,
1210     SpvOpSpecConstantTrue = 48,
1211     SpvOpSpecConstantFalse = 49,
1212     SpvOpSpecConstant = 50,
1213     SpvOpSpecConstantComposite = 51,
1214     SpvOpSpecConstantOp = 52,
1215     SpvOpFunction = 54,
1216     SpvOpFunctionParameter = 55,
1217     SpvOpFunctionEnd = 56,
1218     SpvOpFunctionCall = 57,
1219     SpvOpVariable = 59,
1220     SpvOpImageTexelPointer = 60,
1221     SpvOpLoad = 61,
1222     SpvOpStore = 62,
1223     SpvOpCopyMemory = 63,
1224     SpvOpCopyMemorySized = 64,
1225     SpvOpAccessChain = 65,
1226     SpvOpInBoundsAccessChain = 66,
1227     SpvOpPtrAccessChain = 67,
1228     SpvOpArrayLength = 68,
1229     SpvOpGenericPtrMemSemantics = 69,
1230     SpvOpInBoundsPtrAccessChain = 70,
1231     SpvOpDecorate = 71,
1232     SpvOpMemberDecorate = 72,
1233     SpvOpDecorationGroup = 73,
1234     SpvOpGroupDecorate = 74,
1235     SpvOpGroupMemberDecorate = 75,
1236     SpvOpVectorExtractDynamic = 77,
1237     SpvOpVectorInsertDynamic = 78,
1238     SpvOpVectorShuffle = 79,
1239     SpvOpCompositeConstruct = 80,
1240     SpvOpCompositeExtract = 81,
1241     SpvOpCompositeInsert = 82,
1242     SpvOpCopyObject = 83,
1243     SpvOpTranspose = 84,
1244     SpvOpSampledImage = 86,
1245     SpvOpImageSampleImplicitLod = 87,
1246     SpvOpImageSampleExplicitLod = 88,
1247     SpvOpImageSampleDrefImplicitLod = 89,
1248     SpvOpImageSampleDrefExplicitLod = 90,
1249     SpvOpImageSampleProjImplicitLod = 91,
1250     SpvOpImageSampleProjExplicitLod = 92,
1251     SpvOpImageSampleProjDrefImplicitLod = 93,
1252     SpvOpImageSampleProjDrefExplicitLod = 94,
1253     SpvOpImageFetch = 95,
1254     SpvOpImageGather = 96,
1255     SpvOpImageDrefGather = 97,
1256     SpvOpImageRead = 98,
1257     SpvOpImageWrite = 99,
1258     SpvOpImage = 100,
1259     SpvOpImageQueryFormat = 101,
1260     SpvOpImageQueryOrder = 102,
1261     SpvOpImageQuerySizeLod = 103,
1262     SpvOpImageQuerySize = 104,
1263     SpvOpImageQueryLod = 105,
1264     SpvOpImageQueryLevels = 106,
1265     SpvOpImageQuerySamples = 107,
1266     SpvOpConvertFToU = 109,
1267     SpvOpConvertFToS = 110,
1268     SpvOpConvertSToF = 111,
1269     SpvOpConvertUToF = 112,
1270     SpvOpUConvert = 113,
1271     SpvOpSConvert = 114,
1272     SpvOpFConvert = 115,
1273     SpvOpQuantizeToF16 = 116,
1274     SpvOpConvertPtrToU = 117,
1275     SpvOpSatConvertSToU = 118,
1276     SpvOpSatConvertUToS = 119,
1277     SpvOpConvertUToPtr = 120,
1278     SpvOpPtrCastToGeneric = 121,
1279     SpvOpGenericCastToPtr = 122,
1280     SpvOpGenericCastToPtrExplicit = 123,
1281     SpvOpBitcast = 124,
1282     SpvOpSNegate = 126,
1283     SpvOpFNegate = 127,
1284     SpvOpIAdd = 128,
1285     SpvOpFAdd = 129,
1286     SpvOpISub = 130,
1287     SpvOpFSub = 131,
1288     SpvOpIMul = 132,
1289     SpvOpFMul = 133,
1290     SpvOpUDiv = 134,
1291     SpvOpSDiv = 135,
1292     SpvOpFDiv = 136,
1293     SpvOpUMod = 137,
1294     SpvOpSRem = 138,
1295     SpvOpSMod = 139,
1296     SpvOpFRem = 140,
1297     SpvOpFMod = 141,
1298     SpvOpVectorTimesScalar = 142,
1299     SpvOpMatrixTimesScalar = 143,
1300     SpvOpVectorTimesMatrix = 144,
1301     SpvOpMatrixTimesVector = 145,
1302     SpvOpMatrixTimesMatrix = 146,
1303     SpvOpOuterProduct = 147,
1304     SpvOpDot = 148,
1305     SpvOpIAddCarry = 149,
1306     SpvOpISubBorrow = 150,
1307     SpvOpUMulExtended = 151,
1308     SpvOpSMulExtended = 152,
1309     SpvOpAny = 154,
1310     SpvOpAll = 155,
1311     SpvOpIsNan = 156,
1312     SpvOpIsInf = 157,
1313     SpvOpIsFinite = 158,
1314     SpvOpIsNormal = 159,
1315     SpvOpSignBitSet = 160,
1316     SpvOpLessOrGreater = 161,
1317     SpvOpOrdered = 162,
1318     SpvOpUnordered = 163,
1319     SpvOpLogicalEqual = 164,
1320     SpvOpLogicalNotEqual = 165,
1321     SpvOpLogicalOr = 166,
1322     SpvOpLogicalAnd = 167,
1323     SpvOpLogicalNot = 168,
1324     SpvOpSelect = 169,
1325     SpvOpIEqual = 170,
1326     SpvOpINotEqual = 171,
1327     SpvOpUGreaterThan = 172,
1328     SpvOpSGreaterThan = 173,
1329     SpvOpUGreaterThanEqual = 174,
1330     SpvOpSGreaterThanEqual = 175,
1331     SpvOpULessThan = 176,
1332     SpvOpSLessThan = 177,
1333     SpvOpULessThanEqual = 178,
1334     SpvOpSLessThanEqual = 179,
1335     SpvOpFOrdEqual = 180,
1336     SpvOpFUnordEqual = 181,
1337     SpvOpFOrdNotEqual = 182,
1338     SpvOpFUnordNotEqual = 183,
1339     SpvOpFOrdLessThan = 184,
1340     SpvOpFUnordLessThan = 185,
1341     SpvOpFOrdGreaterThan = 186,
1342     SpvOpFUnordGreaterThan = 187,
1343     SpvOpFOrdLessThanEqual = 188,
1344     SpvOpFUnordLessThanEqual = 189,
1345     SpvOpFOrdGreaterThanEqual = 190,
1346     SpvOpFUnordGreaterThanEqual = 191,
1347     SpvOpShiftRightLogical = 194,
1348     SpvOpShiftRightArithmetic = 195,
1349     SpvOpShiftLeftLogical = 196,
1350     SpvOpBitwiseOr = 197,
1351     SpvOpBitwiseXor = 198,
1352     SpvOpBitwiseAnd = 199,
1353     SpvOpNot = 200,
1354     SpvOpBitFieldInsert = 201,
1355     SpvOpBitFieldSExtract = 202,
1356     SpvOpBitFieldUExtract = 203,
1357     SpvOpBitReverse = 204,
1358     SpvOpBitCount = 205,
1359     SpvOpDPdx = 207,
1360     SpvOpDPdy = 208,
1361     SpvOpFwidth = 209,
1362     SpvOpDPdxFine = 210,
1363     SpvOpDPdyFine = 211,
1364     SpvOpFwidthFine = 212,
1365     SpvOpDPdxCoarse = 213,
1366     SpvOpDPdyCoarse = 214,
1367     SpvOpFwidthCoarse = 215,
1368     SpvOpEmitVertex = 218,
1369     SpvOpEndPrimitive = 219,
1370     SpvOpEmitStreamVertex = 220,
1371     SpvOpEndStreamPrimitive = 221,
1372     SpvOpControlBarrier = 224,
1373     SpvOpMemoryBarrier = 225,
1374     SpvOpAtomicLoad = 227,
1375     SpvOpAtomicStore = 228,
1376     SpvOpAtomicExchange = 229,
1377     SpvOpAtomicCompareExchange = 230,
1378     SpvOpAtomicCompareExchangeWeak = 231,
1379     SpvOpAtomicIIncrement = 232,
1380     SpvOpAtomicIDecrement = 233,
1381     SpvOpAtomicIAdd = 234,
1382     SpvOpAtomicISub = 235,
1383     SpvOpAtomicSMin = 236,
1384     SpvOpAtomicUMin = 237,
1385     SpvOpAtomicSMax = 238,
1386     SpvOpAtomicUMax = 239,
1387     SpvOpAtomicAnd = 240,
1388     SpvOpAtomicOr = 241,
1389     SpvOpAtomicXor = 242,
1390     SpvOpPhi = 245,
1391     SpvOpLoopMerge = 246,
1392     SpvOpSelectionMerge = 247,
1393     SpvOpLabel = 248,
1394     SpvOpBranch = 249,
1395     SpvOpBranchConditional = 250,
1396     SpvOpSwitch = 251,
1397     SpvOpKill = 252,
1398     SpvOpReturn = 253,
1399     SpvOpReturnValue = 254,
1400     SpvOpUnreachable = 255,
1401     SpvOpLifetimeStart = 256,
1402     SpvOpLifetimeStop = 257,
1403     SpvOpGroupAsyncCopy = 259,
1404     SpvOpGroupWaitEvents = 260,
1405     SpvOpGroupAll = 261,
1406     SpvOpGroupAny = 262,
1407     SpvOpGroupBroadcast = 263,
1408     SpvOpGroupIAdd = 264,
1409     SpvOpGroupFAdd = 265,
1410     SpvOpGroupFMin = 266,
1411     SpvOpGroupUMin = 267,
1412     SpvOpGroupSMin = 268,
1413     SpvOpGroupFMax = 269,
1414     SpvOpGroupUMax = 270,
1415     SpvOpGroupSMax = 271,
1416     SpvOpReadPipe = 274,
1417     SpvOpWritePipe = 275,
1418     SpvOpReservedReadPipe = 276,
1419     SpvOpReservedWritePipe = 277,
1420     SpvOpReserveReadPipePackets = 278,
1421     SpvOpReserveWritePipePackets = 279,
1422     SpvOpCommitReadPipe = 280,
1423     SpvOpCommitWritePipe = 281,
1424     SpvOpIsValidReserveId = 282,
1425     SpvOpGetNumPipePackets = 283,
1426     SpvOpGetMaxPipePackets = 284,
1427     SpvOpGroupReserveReadPipePackets = 285,
1428     SpvOpGroupReserveWritePipePackets = 286,
1429     SpvOpGroupCommitReadPipe = 287,
1430     SpvOpGroupCommitWritePipe = 288,
1431     SpvOpEnqueueMarker = 291,
1432     SpvOpEnqueueKernel = 292,
1433     SpvOpGetKernelNDrangeSubGroupCount = 293,
1434     SpvOpGetKernelNDrangeMaxSubGroupSize = 294,
1435     SpvOpGetKernelWorkGroupSize = 295,
1436     SpvOpGetKernelPreferredWorkGroupSizeMultiple = 296,
1437     SpvOpRetainEvent = 297,
1438     SpvOpReleaseEvent = 298,
1439     SpvOpCreateUserEvent = 299,
1440     SpvOpIsValidEvent = 300,
1441     SpvOpSetUserEventStatus = 301,
1442     SpvOpCaptureEventProfilingInfo = 302,
1443     SpvOpGetDefaultQueue = 303,
1444     SpvOpBuildNDRange = 304,
1445     SpvOpImageSparseSampleImplicitLod = 305,
1446     SpvOpImageSparseSampleExplicitLod = 306,
1447     SpvOpImageSparseSampleDrefImplicitLod = 307,
1448     SpvOpImageSparseSampleDrefExplicitLod = 308,
1449     SpvOpImageSparseSampleProjImplicitLod = 309,
1450     SpvOpImageSparseSampleProjExplicitLod = 310,
1451     SpvOpImageSparseSampleProjDrefImplicitLod = 311,
1452     SpvOpImageSparseSampleProjDrefExplicitLod = 312,
1453     SpvOpImageSparseFetch = 313,
1454     SpvOpImageSparseGather = 314,
1455     SpvOpImageSparseDrefGather = 315,
1456     SpvOpImageSparseTexelsResident = 316,
1457     SpvOpNoLine = 317,
1458     SpvOpAtomicFlagTestAndSet = 318,
1459     SpvOpAtomicFlagClear = 319,
1460     SpvOpImageSparseRead = 320,
1461     SpvOpSizeOf = 321,
1462     SpvOpTypePipeStorage = 322,
1463     SpvOpConstantPipeStorage = 323,
1464     SpvOpCreatePipeFromPipeStorage = 324,
1465     SpvOpGetKernelLocalSizeForSubgroupCount = 325,
1466     SpvOpGetKernelMaxNumSubgroups = 326,
1467     SpvOpTypeNamedBarrier = 327,
1468     SpvOpNamedBarrierInitialize = 328,
1469     SpvOpMemoryNamedBarrier = 329,
1470     SpvOpModuleProcessed = 330,
1471     SpvOpExecutionModeId = 331,
1472     SpvOpDecorateId = 332,
1473     SpvOpGroupNonUniformElect = 333,
1474     SpvOpGroupNonUniformAll = 334,
1475     SpvOpGroupNonUniformAny = 335,
1476     SpvOpGroupNonUniformAllEqual = 336,
1477     SpvOpGroupNonUniformBroadcast = 337,
1478     SpvOpGroupNonUniformBroadcastFirst = 338,
1479     SpvOpGroupNonUniformBallot = 339,
1480     SpvOpGroupNonUniformInverseBallot = 340,
1481     SpvOpGroupNonUniformBallotBitExtract = 341,
1482     SpvOpGroupNonUniformBallotBitCount = 342,
1483     SpvOpGroupNonUniformBallotFindLSB = 343,
1484     SpvOpGroupNonUniformBallotFindMSB = 344,
1485     SpvOpGroupNonUniformShuffle = 345,
1486     SpvOpGroupNonUniformShuffleXor = 346,
1487     SpvOpGroupNonUniformShuffleUp = 347,
1488     SpvOpGroupNonUniformShuffleDown = 348,
1489     SpvOpGroupNonUniformIAdd = 349,
1490     SpvOpGroupNonUniformFAdd = 350,
1491     SpvOpGroupNonUniformIMul = 351,
1492     SpvOpGroupNonUniformFMul = 352,
1493     SpvOpGroupNonUniformSMin = 353,
1494     SpvOpGroupNonUniformUMin = 354,
1495     SpvOpGroupNonUniformFMin = 355,
1496     SpvOpGroupNonUniformSMax = 356,
1497     SpvOpGroupNonUniformUMax = 357,
1498     SpvOpGroupNonUniformFMax = 358,
1499     SpvOpGroupNonUniformBitwiseAnd = 359,
1500     SpvOpGroupNonUniformBitwiseOr = 360,
1501     SpvOpGroupNonUniformBitwiseXor = 361,
1502     SpvOpGroupNonUniformLogicalAnd = 362,
1503     SpvOpGroupNonUniformLogicalOr = 363,
1504     SpvOpGroupNonUniformLogicalXor = 364,
1505     SpvOpGroupNonUniformQuadBroadcast = 365,
1506     SpvOpGroupNonUniformQuadSwap = 366,
1507     SpvOpCopyLogical = 400,
1508     SpvOpPtrEqual = 401,
1509     SpvOpPtrNotEqual = 402,
1510     SpvOpPtrDiff = 403,
1511     SpvOpTerminateInvocation = 4416,
1512     SpvOpSubgroupBallotKHR = 4421,
1513     SpvOpSubgroupFirstInvocationKHR = 4422,
1514     SpvOpSubgroupAllKHR = 4428,
1515     SpvOpSubgroupAnyKHR = 4429,
1516     SpvOpSubgroupAllEqualKHR = 4430,
1517     SpvOpSubgroupReadInvocationKHR = 4432,
1518     SpvOpTraceRayKHR = 4445,
1519     SpvOpExecuteCallableKHR = 4446,
1520     SpvOpConvertUToAccelerationStructureKHR = 4447,
1521     SpvOpIgnoreIntersectionKHR = 4448,
1522     SpvOpTerminateRayKHR = 4449,
1523     SpvOpSDotKHR = 4450,
1524     SpvOpUDotKHR = 4451,
1525     SpvOpSUDotKHR = 4452,
1526     SpvOpSDotAccSatKHR = 4453,
1527     SpvOpUDotAccSatKHR = 4454,
1528     SpvOpSUDotAccSatKHR = 4455,
1529     SpvOpTypeRayQueryKHR = 4472,
1530     SpvOpRayQueryInitializeKHR = 4473,
1531     SpvOpRayQueryTerminateKHR = 4474,
1532     SpvOpRayQueryGenerateIntersectionKHR = 4475,
1533     SpvOpRayQueryConfirmIntersectionKHR = 4476,
1534     SpvOpRayQueryProceedKHR = 4477,
1535     SpvOpRayQueryGetIntersectionTypeKHR = 4479,
1536     SpvOpGroupIAddNonUniformAMD = 5000,
1537     SpvOpGroupFAddNonUniformAMD = 5001,
1538     SpvOpGroupFMinNonUniformAMD = 5002,
1539     SpvOpGroupUMinNonUniformAMD = 5003,
1540     SpvOpGroupSMinNonUniformAMD = 5004,
1541     SpvOpGroupFMaxNonUniformAMD = 5005,
1542     SpvOpGroupUMaxNonUniformAMD = 5006,
1543     SpvOpGroupSMaxNonUniformAMD = 5007,
1544     SpvOpFragmentMaskFetchAMD = 5011,
1545     SpvOpFragmentFetchAMD = 5012,
1546     SpvOpReadClockKHR = 5056,
1547     SpvOpImageSampleFootprintNV = 5283,
1548     SpvOpGroupNonUniformPartitionNV = 5296,
1549     SpvOpWritePackedPrimitiveIndices4x8NV = 5299,
1550     SpvOpReportIntersectionKHR = 5334,
1551     SpvOpReportIntersectionNV = 5334,
1552     SpvOpIgnoreIntersectionNV = 5335,
1553     SpvOpTerminateRayNV = 5336,
1554     SpvOpTraceNV = 5337,
1555     SpvOpTraceMotionNV = 5338,
1556     SpvOpTraceRayMotionNV = 5339,
1557     SpvOpTypeAccelerationStructureKHR = 5341,
1558     SpvOpTypeAccelerationStructureNV = 5341,
1559     SpvOpExecuteCallableNV = 5344,
1560     SpvOpTypeCooperativeMatrixNV = 5358,
1561     SpvOpCooperativeMatrixLoadNV = 5359,
1562     SpvOpCooperativeMatrixStoreNV = 5360,
1563     SpvOpCooperativeMatrixMulAddNV = 5361,
1564     SpvOpCooperativeMatrixLengthNV = 5362,
1565     SpvOpBeginInvocationInterlockEXT = 5364,
1566     SpvOpEndInvocationInterlockEXT = 5365,
1567     SpvOpDemoteToHelperInvocationEXT = 5380,
1568     SpvOpIsHelperInvocationEXT = 5381,
1569     SpvOpSubgroupShuffleINTEL = 5571,
1570     SpvOpSubgroupShuffleDownINTEL = 5572,
1571     SpvOpSubgroupShuffleUpINTEL = 5573,
1572     SpvOpSubgroupShuffleXorINTEL = 5574,
1573     SpvOpSubgroupBlockReadINTEL = 5575,
1574     SpvOpSubgroupBlockWriteINTEL = 5576,
1575     SpvOpSubgroupImageBlockReadINTEL = 5577,
1576     SpvOpSubgroupImageBlockWriteINTEL = 5578,
1577     SpvOpSubgroupImageMediaBlockReadINTEL = 5580,
1578     SpvOpSubgroupImageMediaBlockWriteINTEL = 5581,
1579     SpvOpUCountLeadingZerosINTEL = 5585,
1580     SpvOpUCountTrailingZerosINTEL = 5586,
1581     SpvOpAbsISubINTEL = 5587,
1582     SpvOpAbsUSubINTEL = 5588,
1583     SpvOpIAddSatINTEL = 5589,
1584     SpvOpUAddSatINTEL = 5590,
1585     SpvOpIAverageINTEL = 5591,
1586     SpvOpUAverageINTEL = 5592,
1587     SpvOpIAverageRoundedINTEL = 5593,
1588     SpvOpUAverageRoundedINTEL = 5594,
1589     SpvOpISubSatINTEL = 5595,
1590     SpvOpUSubSatINTEL = 5596,
1591     SpvOpIMul32x16INTEL = 5597,
1592     SpvOpUMul32x16INTEL = 5598,
1593     SpvOpConstFunctionPointerINTEL = 5600,
1594     SpvOpFunctionPointerCallINTEL = 5601,
1595     SpvOpAsmTargetINTEL = 5609,
1596     SpvOpAsmINTEL = 5610,
1597     SpvOpAsmCallINTEL = 5611,
1598     SpvOpAtomicFMinEXT = 5614,
1599     SpvOpAtomicFMaxEXT = 5615,
1600     SpvOpAssumeTrueKHR = 5630,
1601     SpvOpExpectKHR = 5631,
1602     SpvOpDecorateString = 5632,
1603     SpvOpDecorateStringGOOGLE = 5632,
1604     SpvOpMemberDecorateString = 5633,
1605     SpvOpMemberDecorateStringGOOGLE = 5633,
1606     SpvOpVmeImageINTEL = 5699,
1607     SpvOpTypeVmeImageINTEL = 5700,
1608     SpvOpTypeAvcImePayloadINTEL = 5701,
1609     SpvOpTypeAvcRefPayloadINTEL = 5702,
1610     SpvOpTypeAvcSicPayloadINTEL = 5703,
1611     SpvOpTypeAvcMcePayloadINTEL = 5704,
1612     SpvOpTypeAvcMceResultINTEL = 5705,
1613     SpvOpTypeAvcImeResultINTEL = 5706,
1614     SpvOpTypeAvcImeResultSingleReferenceStreamoutINTEL = 5707,
1615     SpvOpTypeAvcImeResultDualReferenceStreamoutINTEL = 5708,
1616     SpvOpTypeAvcImeSingleReferenceStreaminINTEL = 5709,
1617     SpvOpTypeAvcImeDualReferenceStreaminINTEL = 5710,
1618     SpvOpTypeAvcRefResultINTEL = 5711,
1619     SpvOpTypeAvcSicResultINTEL = 5712,
1620     SpvOpSubgroupAvcMceGetDefaultInterBaseMultiReferencePenaltyINTEL = 5713,
1621     SpvOpSubgroupAvcMceSetInterBaseMultiReferencePenaltyINTEL = 5714,
1622     SpvOpSubgroupAvcMceGetDefaultInterShapePenaltyINTEL = 5715,
1623     SpvOpSubgroupAvcMceSetInterShapePenaltyINTEL = 5716,
1624     SpvOpSubgroupAvcMceGetDefaultInterDirectionPenaltyINTEL = 5717,
1625     SpvOpSubgroupAvcMceSetInterDirectionPenaltyINTEL = 5718,
1626     SpvOpSubgroupAvcMceGetDefaultIntraLumaShapePenaltyINTEL = 5719,
1627     SpvOpSubgroupAvcMceGetDefaultInterMotionVectorCostTableINTEL = 5720,
1628     SpvOpSubgroupAvcMceGetDefaultHighPenaltyCostTableINTEL = 5721,
1629     SpvOpSubgroupAvcMceGetDefaultMediumPenaltyCostTableINTEL = 5722,
1630     SpvOpSubgroupAvcMceGetDefaultLowPenaltyCostTableINTEL = 5723,
1631     SpvOpSubgroupAvcMceSetMotionVectorCostFunctionINTEL = 5724,
1632     SpvOpSubgroupAvcMceGetDefaultIntraLumaModePenaltyINTEL = 5725,
1633     SpvOpSubgroupAvcMceGetDefaultNonDcLumaIntraPenaltyINTEL = 5726,
1634     SpvOpSubgroupAvcMceGetDefaultIntraChromaModeBasePenaltyINTEL = 5727,
1635     SpvOpSubgroupAvcMceSetAcOnlyHaarINTEL = 5728,
1636     SpvOpSubgroupAvcMceSetSourceInterlacedFieldPolarityINTEL = 5729,
1637     SpvOpSubgroupAvcMceSetSingleReferenceInterlacedFieldPolarityINTEL = 5730,
1638     SpvOpSubgroupAvcMceSetDualReferenceInterlacedFieldPolaritiesINTEL = 5731,
1639     SpvOpSubgroupAvcMceConvertToImePayloadINTEL = 5732,
1640     SpvOpSubgroupAvcMceConvertToImeResultINTEL = 5733,
1641     SpvOpSubgroupAvcMceConvertToRefPayloadINTEL = 5734,
1642     SpvOpSubgroupAvcMceConvertToRefResultINTEL = 5735,
1643     SpvOpSubgroupAvcMceConvertToSicPayloadINTEL = 5736,
1644     SpvOpSubgroupAvcMceConvertToSicResultINTEL = 5737,
1645     SpvOpSubgroupAvcMceGetMotionVectorsINTEL = 5738,
1646     SpvOpSubgroupAvcMceGetInterDistortionsINTEL = 5739,
1647     SpvOpSubgroupAvcMceGetBestInterDistortionsINTEL = 5740,
1648     SpvOpSubgroupAvcMceGetInterMajorShapeINTEL = 5741,
1649     SpvOpSubgroupAvcMceGetInterMinorShapeINTEL = 5742,
1650     SpvOpSubgroupAvcMceGetInterDirectionsINTEL = 5743,
1651     SpvOpSubgroupAvcMceGetInterMotionVectorCountINTEL = 5744,
1652     SpvOpSubgroupAvcMceGetInterReferenceIdsINTEL = 5745,
1653     SpvOpSubgroupAvcMceGetInterReferenceInterlacedFieldPolaritiesINTEL = 5746,
1654     SpvOpSubgroupAvcImeInitializeINTEL = 5747,
1655     SpvOpSubgroupAvcImeSetSingleReferenceINTEL = 5748,
1656     SpvOpSubgroupAvcImeSetDualReferenceINTEL = 5749,
1657     SpvOpSubgroupAvcImeRefWindowSizeINTEL = 5750,
1658     SpvOpSubgroupAvcImeAdjustRefOffsetINTEL = 5751,
1659     SpvOpSubgroupAvcImeConvertToMcePayloadINTEL = 5752,
1660     SpvOpSubgroupAvcImeSetMaxMotionVectorCountINTEL = 5753,
1661     SpvOpSubgroupAvcImeSetUnidirectionalMixDisableINTEL = 5754,
1662     SpvOpSubgroupAvcImeSetEarlySearchTerminationThresholdINTEL = 5755,
1663     SpvOpSubgroupAvcImeSetWeightedSadINTEL = 5756,
1664     SpvOpSubgroupAvcImeEvaluateWithSingleReferenceINTEL = 5757,
1665     SpvOpSubgroupAvcImeEvaluateWithDualReferenceINTEL = 5758,
1666     SpvOpSubgroupAvcImeEvaluateWithSingleReferenceStreaminINTEL = 5759,
1667     SpvOpSubgroupAvcImeEvaluateWithDualReferenceStreaminINTEL = 5760,
1668     SpvOpSubgroupAvcImeEvaluateWithSingleReferenceStreamoutINTEL = 5761,
1669     SpvOpSubgroupAvcImeEvaluateWithDualReferenceStreamoutINTEL = 5762,
1670     SpvOpSubgroupAvcImeEvaluateWithSingleReferenceStreaminoutINTEL = 5763,
1671     SpvOpSubgroupAvcImeEvaluateWithDualReferenceStreaminoutINTEL = 5764,
1672     SpvOpSubgroupAvcImeConvertToMceResultINTEL = 5765,
1673     SpvOpSubgroupAvcImeGetSingleReferenceStreaminINTEL = 5766,
1674     SpvOpSubgroupAvcImeGetDualReferenceStreaminINTEL = 5767,
1675     SpvOpSubgroupAvcImeStripSingleReferenceStreamoutINTEL = 5768,
1676     SpvOpSubgroupAvcImeStripDualReferenceStreamoutINTEL = 5769,
1677     SpvOpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeMotionVectorsINTEL = 5770,
1678     SpvOpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeDistortionsINTEL = 5771,
1679     SpvOpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeReferenceIdsINTEL = 5772,
1680     SpvOpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeMotionVectorsINTEL = 5773,
1681     SpvOpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeDistortionsINTEL = 5774,
1682     SpvOpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeReferenceIdsINTEL = 5775,
1683     SpvOpSubgroupAvcImeGetBorderReachedINTEL = 5776,
1684     SpvOpSubgroupAvcImeGetTruncatedSearchIndicationINTEL = 5777,
1685     SpvOpSubgroupAvcImeGetUnidirectionalEarlySearchTerminationINTEL = 5778,
1686     SpvOpSubgroupAvcImeGetWeightingPatternMinimumMotionVectorINTEL = 5779,
1687     SpvOpSubgroupAvcImeGetWeightingPatternMinimumDistortionINTEL = 5780,
1688     SpvOpSubgroupAvcFmeInitializeINTEL = 5781,
1689     SpvOpSubgroupAvcBmeInitializeINTEL = 5782,
1690     SpvOpSubgroupAvcRefConvertToMcePayloadINTEL = 5783,
1691     SpvOpSubgroupAvcRefSetBidirectionalMixDisableINTEL = 5784,
1692     SpvOpSubgroupAvcRefSetBilinearFilterEnableINTEL = 5785,
1693     SpvOpSubgroupAvcRefEvaluateWithSingleReferenceINTEL = 5786,
1694     SpvOpSubgroupAvcRefEvaluateWithDualReferenceINTEL = 5787,
1695     SpvOpSubgroupAvcRefEvaluateWithMultiReferenceINTEL = 5788,
1696     SpvOpSubgroupAvcRefEvaluateWithMultiReferenceInterlacedINTEL = 5789,
1697     SpvOpSubgroupAvcRefConvertToMceResultINTEL = 5790,
1698     SpvOpSubgroupAvcSicInitializeINTEL = 5791,
1699     SpvOpSubgroupAvcSicConfigureSkcINTEL = 5792,
1700     SpvOpSubgroupAvcSicConfigureIpeLumaINTEL = 5793,
1701     SpvOpSubgroupAvcSicConfigureIpeLumaChromaINTEL = 5794,
1702     SpvOpSubgroupAvcSicGetMotionVectorMaskINTEL = 5795,
1703     SpvOpSubgroupAvcSicConvertToMcePayloadINTEL = 5796,
1704     SpvOpSubgroupAvcSicSetIntraLumaShapePenaltyINTEL = 5797,
1705     SpvOpSubgroupAvcSicSetIntraLumaModeCostFunctionINTEL = 5798,
1706     SpvOpSubgroupAvcSicSetIntraChromaModeCostFunctionINTEL = 5799,
1707     SpvOpSubgroupAvcSicSetBilinearFilterEnableINTEL = 5800,
1708     SpvOpSubgroupAvcSicSetSkcForwardTransformEnableINTEL = 5801,
1709     SpvOpSubgroupAvcSicSetBlockBasedRawSkipSadINTEL = 5802,
1710     SpvOpSubgroupAvcSicEvaluateIpeINTEL = 5803,
1711     SpvOpSubgroupAvcSicEvaluateWithSingleReferenceINTEL = 5804,
1712     SpvOpSubgroupAvcSicEvaluateWithDualReferenceINTEL = 5805,
1713     SpvOpSubgroupAvcSicEvaluateWithMultiReferenceINTEL = 5806,
1714     SpvOpSubgroupAvcSicEvaluateWithMultiReferenceInterlacedINTEL = 5807,
1715     SpvOpSubgroupAvcSicConvertToMceResultINTEL = 5808,
1716     SpvOpSubgroupAvcSicGetIpeLumaShapeINTEL = 5809,
1717     SpvOpSubgroupAvcSicGetBestIpeLumaDistortionINTEL = 5810,
1718     SpvOpSubgroupAvcSicGetBestIpeChromaDistortionINTEL = 5811,
1719     SpvOpSubgroupAvcSicGetPackedIpeLumaModesINTEL = 5812,
1720     SpvOpSubgroupAvcSicGetIpeChromaModeINTEL = 5813,
1721     SpvOpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL = 5814,
1722     SpvOpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL = 5815,
1723     SpvOpSubgroupAvcSicGetInterRawSadsINTEL = 5816,
1724     SpvOpVariableLengthArrayINTEL = 5818,
1725     SpvOpSaveMemoryINTEL = 5819,
1726     SpvOpRestoreMemoryINTEL = 5820,
1727     SpvOpArbitraryFloatSinCosPiINTEL = 5840,
1728     SpvOpArbitraryFloatCastINTEL = 5841,
1729     SpvOpArbitraryFloatCastFromIntINTEL = 5842,
1730     SpvOpArbitraryFloatCastToIntINTEL = 5843,
1731     SpvOpArbitraryFloatAddINTEL = 5846,
1732     SpvOpArbitraryFloatSubINTEL = 5847,
1733     SpvOpArbitraryFloatMulINTEL = 5848,
1734     SpvOpArbitraryFloatDivINTEL = 5849,
1735     SpvOpArbitraryFloatGTINTEL = 5850,
1736     SpvOpArbitraryFloatGEINTEL = 5851,
1737     SpvOpArbitraryFloatLTINTEL = 5852,
1738     SpvOpArbitraryFloatLEINTEL = 5853,
1739     SpvOpArbitraryFloatEQINTEL = 5854,
1740     SpvOpArbitraryFloatRecipINTEL = 5855,
1741     SpvOpArbitraryFloatRSqrtINTEL = 5856,
1742     SpvOpArbitraryFloatCbrtINTEL = 5857,
1743     SpvOpArbitraryFloatHypotINTEL = 5858,
1744     SpvOpArbitraryFloatSqrtINTEL = 5859,
1745     SpvOpArbitraryFloatLogINTEL = 5860,
1746     SpvOpArbitraryFloatLog2INTEL = 5861,
1747     SpvOpArbitraryFloatLog10INTEL = 5862,
1748     SpvOpArbitraryFloatLog1pINTEL = 5863,
1749     SpvOpArbitraryFloatExpINTEL = 5864,
1750     SpvOpArbitraryFloatExp2INTEL = 5865,
1751     SpvOpArbitraryFloatExp10INTEL = 5866,
1752     SpvOpArbitraryFloatExpm1INTEL = 5867,
1753     SpvOpArbitraryFloatSinINTEL = 5868,
1754     SpvOpArbitraryFloatCosINTEL = 5869,
1755     SpvOpArbitraryFloatSinCosINTEL = 5870,
1756     SpvOpArbitraryFloatSinPiINTEL = 5871,
1757     SpvOpArbitraryFloatCosPiINTEL = 5872,
1758     SpvOpArbitraryFloatASinINTEL = 5873,
1759     SpvOpArbitraryFloatASinPiINTEL = 5874,
1760     SpvOpArbitraryFloatACosINTEL = 5875,
1761     SpvOpArbitraryFloatACosPiINTEL = 5876,
1762     SpvOpArbitraryFloatATanINTEL = 5877,
1763     SpvOpArbitraryFloatATanPiINTEL = 5878,
1764     SpvOpArbitraryFloatATan2INTEL = 5879,
1765     SpvOpArbitraryFloatPowINTEL = 5880,
1766     SpvOpArbitraryFloatPowRINTEL = 5881,
1767     SpvOpArbitraryFloatPowNINTEL = 5882,
1768     SpvOpLoopControlINTEL = 5887,
1769     SpvOpFixedSqrtINTEL = 5923,
1770     SpvOpFixedRecipINTEL = 5924,
1771     SpvOpFixedRsqrtINTEL = 5925,
1772     SpvOpFixedSinINTEL = 5926,
1773     SpvOpFixedCosINTEL = 5927,
1774     SpvOpFixedSinCosINTEL = 5928,
1775     SpvOpFixedSinPiINTEL = 5929,
1776     SpvOpFixedCosPiINTEL = 5930,
1777     SpvOpFixedSinCosPiINTEL = 5931,
1778     SpvOpFixedLogINTEL = 5932,
1779     SpvOpFixedExpINTEL = 5933,
1780     SpvOpPtrCastToCrossWorkgroupINTEL = 5934,
1781     SpvOpCrossWorkgroupCastToPtrINTEL = 5938,
1782     SpvOpReadPipeBlockingINTEL = 5946,
1783     SpvOpWritePipeBlockingINTEL = 5947,
1784     SpvOpFPGARegINTEL = 5949,
1785     SpvOpRayQueryGetRayTMinKHR = 6016,
1786     SpvOpRayQueryGetRayFlagsKHR = 6017,
1787     SpvOpRayQueryGetIntersectionTKHR = 6018,
1788     SpvOpRayQueryGetIntersectionInstanceCustomIndexKHR = 6019,
1789     SpvOpRayQueryGetIntersectionInstanceIdKHR = 6020,
1790     SpvOpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR = 6021,
1791     SpvOpRayQueryGetIntersectionGeometryIndexKHR = 6022,
1792     SpvOpRayQueryGetIntersectionPrimitiveIndexKHR = 6023,
1793     SpvOpRayQueryGetIntersectionBarycentricsKHR = 6024,
1794     SpvOpRayQueryGetIntersectionFrontFaceKHR = 6025,
1795     SpvOpRayQueryGetIntersectionCandidateAABBOpaqueKHR = 6026,
1796     SpvOpRayQueryGetIntersectionObjectRayDirectionKHR = 6027,
1797     SpvOpRayQueryGetIntersectionObjectRayOriginKHR = 6028,
1798     SpvOpRayQueryGetWorldRayDirectionKHR = 6029,
1799     SpvOpRayQueryGetWorldRayOriginKHR = 6030,
1800     SpvOpRayQueryGetIntersectionObjectToWorldKHR = 6031,
1801     SpvOpRayQueryGetIntersectionWorldToObjectKHR = 6032,
1802     SpvOpAtomicFAddEXT = 6035,
1803     SpvOpTypeBufferSurfaceINTEL = 6086,
1804     SpvOpTypeStructContinuedINTEL = 6090,
1805     SpvOpConstantCompositeContinuedINTEL = 6091,
1806     SpvOpSpecConstantCompositeContinuedINTEL = 6092,
1807     SpvOpMax = 0x7fffffff,
1808 } SpvOp;
1809 
1810 #ifdef SPV_ENABLE_UTILITY_CODE
SpvHasResultAndType(SpvOp opcode,bool * hasResult,bool * hasResultType)1811 inline void SpvHasResultAndType(SpvOp opcode, bool *hasResult, bool *hasResultType) {
1812     *hasResult = *hasResultType = false;
1813     switch (opcode) {
1814     default: /* unknown opcode */ break;
1815     case SpvOpNop: *hasResult = false; *hasResultType = false; break;
1816     case SpvOpUndef: *hasResult = true; *hasResultType = true; break;
1817     case SpvOpSourceContinued: *hasResult = false; *hasResultType = false; break;
1818     case SpvOpSource: *hasResult = false; *hasResultType = false; break;
1819     case SpvOpSourceExtension: *hasResult = false; *hasResultType = false; break;
1820     case SpvOpName: *hasResult = false; *hasResultType = false; break;
1821     case SpvOpMemberName: *hasResult = false; *hasResultType = false; break;
1822     case SpvOpString: *hasResult = true; *hasResultType = false; break;
1823     case SpvOpLine: *hasResult = false; *hasResultType = false; break;
1824     case SpvOpExtension: *hasResult = false; *hasResultType = false; break;
1825     case SpvOpExtInstImport: *hasResult = true; *hasResultType = false; break;
1826     case SpvOpExtInst: *hasResult = true; *hasResultType = true; break;
1827     case SpvOpMemoryModel: *hasResult = false; *hasResultType = false; break;
1828     case SpvOpEntryPoint: *hasResult = false; *hasResultType = false; break;
1829     case SpvOpExecutionMode: *hasResult = false; *hasResultType = false; break;
1830     case SpvOpCapability: *hasResult = false; *hasResultType = false; break;
1831     case SpvOpTypeVoid: *hasResult = true; *hasResultType = false; break;
1832     case SpvOpTypeBool: *hasResult = true; *hasResultType = false; break;
1833     case SpvOpTypeInt: *hasResult = true; *hasResultType = false; break;
1834     case SpvOpTypeFloat: *hasResult = true; *hasResultType = false; break;
1835     case SpvOpTypeVector: *hasResult = true; *hasResultType = false; break;
1836     case SpvOpTypeMatrix: *hasResult = true; *hasResultType = false; break;
1837     case SpvOpTypeImage: *hasResult = true; *hasResultType = false; break;
1838     case SpvOpTypeSampler: *hasResult = true; *hasResultType = false; break;
1839     case SpvOpTypeSampledImage: *hasResult = true; *hasResultType = false; break;
1840     case SpvOpTypeArray: *hasResult = true; *hasResultType = false; break;
1841     case SpvOpTypeRuntimeArray: *hasResult = true; *hasResultType = false; break;
1842     case SpvOpTypeStruct: *hasResult = true; *hasResultType = false; break;
1843     case SpvOpTypeOpaque: *hasResult = true; *hasResultType = false; break;
1844     case SpvOpTypePointer: *hasResult = true; *hasResultType = false; break;
1845     case SpvOpTypeFunction: *hasResult = true; *hasResultType = false; break;
1846     case SpvOpTypeEvent: *hasResult = true; *hasResultType = false; break;
1847     case SpvOpTypeDeviceEvent: *hasResult = true; *hasResultType = false; break;
1848     case SpvOpTypeReserveId: *hasResult = true; *hasResultType = false; break;
1849     case SpvOpTypeQueue: *hasResult = true; *hasResultType = false; break;
1850     case SpvOpTypePipe: *hasResult = true; *hasResultType = false; break;
1851     case SpvOpTypeForwardPointer: *hasResult = false; *hasResultType = false; break;
1852     case SpvOpConstantTrue: *hasResult = true; *hasResultType = true; break;
1853     case SpvOpConstantFalse: *hasResult = true; *hasResultType = true; break;
1854     case SpvOpConstant: *hasResult = true; *hasResultType = true; break;
1855     case SpvOpConstantComposite: *hasResult = true; *hasResultType = true; break;
1856     case SpvOpConstantSampler: *hasResult = true; *hasResultType = true; break;
1857     case SpvOpConstantNull: *hasResult = true; *hasResultType = true; break;
1858     case SpvOpSpecConstantTrue: *hasResult = true; *hasResultType = true; break;
1859     case SpvOpSpecConstantFalse: *hasResult = true; *hasResultType = true; break;
1860     case SpvOpSpecConstant: *hasResult = true; *hasResultType = true; break;
1861     case SpvOpSpecConstantComposite: *hasResult = true; *hasResultType = true; break;
1862     case SpvOpSpecConstantOp: *hasResult = true; *hasResultType = true; break;
1863     case SpvOpFunction: *hasResult = true; *hasResultType = true; break;
1864     case SpvOpFunctionParameter: *hasResult = true; *hasResultType = true; break;
1865     case SpvOpFunctionEnd: *hasResult = false; *hasResultType = false; break;
1866     case SpvOpFunctionCall: *hasResult = true; *hasResultType = true; break;
1867     case SpvOpVariable: *hasResult = true; *hasResultType = true; break;
1868     case SpvOpImageTexelPointer: *hasResult = true; *hasResultType = true; break;
1869     case SpvOpLoad: *hasResult = true; *hasResultType = true; break;
1870     case SpvOpStore: *hasResult = false; *hasResultType = false; break;
1871     case SpvOpCopyMemory: *hasResult = false; *hasResultType = false; break;
1872     case SpvOpCopyMemorySized: *hasResult = false; *hasResultType = false; break;
1873     case SpvOpAccessChain: *hasResult = true; *hasResultType = true; break;
1874     case SpvOpInBoundsAccessChain: *hasResult = true; *hasResultType = true; break;
1875     case SpvOpPtrAccessChain: *hasResult = true; *hasResultType = true; break;
1876     case SpvOpArrayLength: *hasResult = true; *hasResultType = true; break;
1877     case SpvOpGenericPtrMemSemantics: *hasResult = true; *hasResultType = true; break;
1878     case SpvOpInBoundsPtrAccessChain: *hasResult = true; *hasResultType = true; break;
1879     case SpvOpDecorate: *hasResult = false; *hasResultType = false; break;
1880     case SpvOpMemberDecorate: *hasResult = false; *hasResultType = false; break;
1881     case SpvOpDecorationGroup: *hasResult = true; *hasResultType = false; break;
1882     case SpvOpGroupDecorate: *hasResult = false; *hasResultType = false; break;
1883     case SpvOpGroupMemberDecorate: *hasResult = false; *hasResultType = false; break;
1884     case SpvOpVectorExtractDynamic: *hasResult = true; *hasResultType = true; break;
1885     case SpvOpVectorInsertDynamic: *hasResult = true; *hasResultType = true; break;
1886     case SpvOpVectorShuffle: *hasResult = true; *hasResultType = true; break;
1887     case SpvOpCompositeConstruct: *hasResult = true; *hasResultType = true; break;
1888     case SpvOpCompositeExtract: *hasResult = true; *hasResultType = true; break;
1889     case SpvOpCompositeInsert: *hasResult = true; *hasResultType = true; break;
1890     case SpvOpCopyObject: *hasResult = true; *hasResultType = true; break;
1891     case SpvOpTranspose: *hasResult = true; *hasResultType = true; break;
1892     case SpvOpSampledImage: *hasResult = true; *hasResultType = true; break;
1893     case SpvOpImageSampleImplicitLod: *hasResult = true; *hasResultType = true; break;
1894     case SpvOpImageSampleExplicitLod: *hasResult = true; *hasResultType = true; break;
1895     case SpvOpImageSampleDrefImplicitLod: *hasResult = true; *hasResultType = true; break;
1896     case SpvOpImageSampleDrefExplicitLod: *hasResult = true; *hasResultType = true; break;
1897     case SpvOpImageSampleProjImplicitLod: *hasResult = true; *hasResultType = true; break;
1898     case SpvOpImageSampleProjExplicitLod: *hasResult = true; *hasResultType = true; break;
1899     case SpvOpImageSampleProjDrefImplicitLod: *hasResult = true; *hasResultType = true; break;
1900     case SpvOpImageSampleProjDrefExplicitLod: *hasResult = true; *hasResultType = true; break;
1901     case SpvOpImageFetch: *hasResult = true; *hasResultType = true; break;
1902     case SpvOpImageGather: *hasResult = true; *hasResultType = true; break;
1903     case SpvOpImageDrefGather: *hasResult = true; *hasResultType = true; break;
1904     case SpvOpImageRead: *hasResult = true; *hasResultType = true; break;
1905     case SpvOpImageWrite: *hasResult = false; *hasResultType = false; break;
1906     case SpvOpImage: *hasResult = true; *hasResultType = true; break;
1907     case SpvOpImageQueryFormat: *hasResult = true; *hasResultType = true; break;
1908     case SpvOpImageQueryOrder: *hasResult = true; *hasResultType = true; break;
1909     case SpvOpImageQuerySizeLod: *hasResult = true; *hasResultType = true; break;
1910     case SpvOpImageQuerySize: *hasResult = true; *hasResultType = true; break;
1911     case SpvOpImageQueryLod: *hasResult = true; *hasResultType = true; break;
1912     case SpvOpImageQueryLevels: *hasResult = true; *hasResultType = true; break;
1913     case SpvOpImageQuerySamples: *hasResult = true; *hasResultType = true; break;
1914     case SpvOpConvertFToU: *hasResult = true; *hasResultType = true; break;
1915     case SpvOpConvertFToS: *hasResult = true; *hasResultType = true; break;
1916     case SpvOpConvertSToF: *hasResult = true; *hasResultType = true; break;
1917     case SpvOpConvertUToF: *hasResult = true; *hasResultType = true; break;
1918     case SpvOpUConvert: *hasResult = true; *hasResultType = true; break;
1919     case SpvOpSConvert: *hasResult = true; *hasResultType = true; break;
1920     case SpvOpFConvert: *hasResult = true; *hasResultType = true; break;
1921     case SpvOpQuantizeToF16: *hasResult = true; *hasResultType = true; break;
1922     case SpvOpConvertPtrToU: *hasResult = true; *hasResultType = true; break;
1923     case SpvOpSatConvertSToU: *hasResult = true; *hasResultType = true; break;
1924     case SpvOpSatConvertUToS: *hasResult = true; *hasResultType = true; break;
1925     case SpvOpConvertUToPtr: *hasResult = true; *hasResultType = true; break;
1926     case SpvOpPtrCastToGeneric: *hasResult = true; *hasResultType = true; break;
1927     case SpvOpGenericCastToPtr: *hasResult = true; *hasResultType = true; break;
1928     case SpvOpGenericCastToPtrExplicit: *hasResult = true; *hasResultType = true; break;
1929     case SpvOpBitcast: *hasResult = true; *hasResultType = true; break;
1930     case SpvOpSNegate: *hasResult = true; *hasResultType = true; break;
1931     case SpvOpFNegate: *hasResult = true; *hasResultType = true; break;
1932     case SpvOpIAdd: *hasResult = true; *hasResultType = true; break;
1933     case SpvOpFAdd: *hasResult = true; *hasResultType = true; break;
1934     case SpvOpISub: *hasResult = true; *hasResultType = true; break;
1935     case SpvOpFSub: *hasResult = true; *hasResultType = true; break;
1936     case SpvOpIMul: *hasResult = true; *hasResultType = true; break;
1937     case SpvOpFMul: *hasResult = true; *hasResultType = true; break;
1938     case SpvOpUDiv: *hasResult = true; *hasResultType = true; break;
1939     case SpvOpSDiv: *hasResult = true; *hasResultType = true; break;
1940     case SpvOpFDiv: *hasResult = true; *hasResultType = true; break;
1941     case SpvOpUMod: *hasResult = true; *hasResultType = true; break;
1942     case SpvOpSRem: *hasResult = true; *hasResultType = true; break;
1943     case SpvOpSMod: *hasResult = true; *hasResultType = true; break;
1944     case SpvOpFRem: *hasResult = true; *hasResultType = true; break;
1945     case SpvOpFMod: *hasResult = true; *hasResultType = true; break;
1946     case SpvOpVectorTimesScalar: *hasResult = true; *hasResultType = true; break;
1947     case SpvOpMatrixTimesScalar: *hasResult = true; *hasResultType = true; break;
1948     case SpvOpVectorTimesMatrix: *hasResult = true; *hasResultType = true; break;
1949     case SpvOpMatrixTimesVector: *hasResult = true; *hasResultType = true; break;
1950     case SpvOpMatrixTimesMatrix: *hasResult = true; *hasResultType = true; break;
1951     case SpvOpOuterProduct: *hasResult = true; *hasResultType = true; break;
1952     case SpvOpDot: *hasResult = true; *hasResultType = true; break;
1953     case SpvOpIAddCarry: *hasResult = true; *hasResultType = true; break;
1954     case SpvOpISubBorrow: *hasResult = true; *hasResultType = true; break;
1955     case SpvOpUMulExtended: *hasResult = true; *hasResultType = true; break;
1956     case SpvOpSMulExtended: *hasResult = true; *hasResultType = true; break;
1957     case SpvOpAny: *hasResult = true; *hasResultType = true; break;
1958     case SpvOpAll: *hasResult = true; *hasResultType = true; break;
1959     case SpvOpIsNan: *hasResult = true; *hasResultType = true; break;
1960     case SpvOpIsInf: *hasResult = true; *hasResultType = true; break;
1961     case SpvOpIsFinite: *hasResult = true; *hasResultType = true; break;
1962     case SpvOpIsNormal: *hasResult = true; *hasResultType = true; break;
1963     case SpvOpSignBitSet: *hasResult = true; *hasResultType = true; break;
1964     case SpvOpLessOrGreater: *hasResult = true; *hasResultType = true; break;
1965     case SpvOpOrdered: *hasResult = true; *hasResultType = true; break;
1966     case SpvOpUnordered: *hasResult = true; *hasResultType = true; break;
1967     case SpvOpLogicalEqual: *hasResult = true; *hasResultType = true; break;
1968     case SpvOpLogicalNotEqual: *hasResult = true; *hasResultType = true; break;
1969     case SpvOpLogicalOr: *hasResult = true; *hasResultType = true; break;
1970     case SpvOpLogicalAnd: *hasResult = true; *hasResultType = true; break;
1971     case SpvOpLogicalNot: *hasResult = true; *hasResultType = true; break;
1972     case SpvOpSelect: *hasResult = true; *hasResultType = true; break;
1973     case SpvOpIEqual: *hasResult = true; *hasResultType = true; break;
1974     case SpvOpINotEqual: *hasResult = true; *hasResultType = true; break;
1975     case SpvOpUGreaterThan: *hasResult = true; *hasResultType = true; break;
1976     case SpvOpSGreaterThan: *hasResult = true; *hasResultType = true; break;
1977     case SpvOpUGreaterThanEqual: *hasResult = true; *hasResultType = true; break;
1978     case SpvOpSGreaterThanEqual: *hasResult = true; *hasResultType = true; break;
1979     case SpvOpULessThan: *hasResult = true; *hasResultType = true; break;
1980     case SpvOpSLessThan: *hasResult = true; *hasResultType = true; break;
1981     case SpvOpULessThanEqual: *hasResult = true; *hasResultType = true; break;
1982     case SpvOpSLessThanEqual: *hasResult = true; *hasResultType = true; break;
1983     case SpvOpFOrdEqual: *hasResult = true; *hasResultType = true; break;
1984     case SpvOpFUnordEqual: *hasResult = true; *hasResultType = true; break;
1985     case SpvOpFOrdNotEqual: *hasResult = true; *hasResultType = true; break;
1986     case SpvOpFUnordNotEqual: *hasResult = true; *hasResultType = true; break;
1987     case SpvOpFOrdLessThan: *hasResult = true; *hasResultType = true; break;
1988     case SpvOpFUnordLessThan: *hasResult = true; *hasResultType = true; break;
1989     case SpvOpFOrdGreaterThan: *hasResult = true; *hasResultType = true; break;
1990     case SpvOpFUnordGreaterThan: *hasResult = true; *hasResultType = true; break;
1991     case SpvOpFOrdLessThanEqual: *hasResult = true; *hasResultType = true; break;
1992     case SpvOpFUnordLessThanEqual: *hasResult = true; *hasResultType = true; break;
1993     case SpvOpFOrdGreaterThanEqual: *hasResult = true; *hasResultType = true; break;
1994     case SpvOpFUnordGreaterThanEqual: *hasResult = true; *hasResultType = true; break;
1995     case SpvOpShiftRightLogical: *hasResult = true; *hasResultType = true; break;
1996     case SpvOpShiftRightArithmetic: *hasResult = true; *hasResultType = true; break;
1997     case SpvOpShiftLeftLogical: *hasResult = true; *hasResultType = true; break;
1998     case SpvOpBitwiseOr: *hasResult = true; *hasResultType = true; break;
1999     case SpvOpBitwiseXor: *hasResult = true; *hasResultType = true; break;
2000     case SpvOpBitwiseAnd: *hasResult = true; *hasResultType = true; break;
2001     case SpvOpNot: *hasResult = true; *hasResultType = true; break;
2002     case SpvOpBitFieldInsert: *hasResult = true; *hasResultType = true; break;
2003     case SpvOpBitFieldSExtract: *hasResult = true; *hasResultType = true; break;
2004     case SpvOpBitFieldUExtract: *hasResult = true; *hasResultType = true; break;
2005     case SpvOpBitReverse: *hasResult = true; *hasResultType = true; break;
2006     case SpvOpBitCount: *hasResult = true; *hasResultType = true; break;
2007     case SpvOpDPdx: *hasResult = true; *hasResultType = true; break;
2008     case SpvOpDPdy: *hasResult = true; *hasResultType = true; break;
2009     case SpvOpFwidth: *hasResult = true; *hasResultType = true; break;
2010     case SpvOpDPdxFine: *hasResult = true; *hasResultType = true; break;
2011     case SpvOpDPdyFine: *hasResult = true; *hasResultType = true; break;
2012     case SpvOpFwidthFine: *hasResult = true; *hasResultType = true; break;
2013     case SpvOpDPdxCoarse: *hasResult = true; *hasResultType = true; break;
2014     case SpvOpDPdyCoarse: *hasResult = true; *hasResultType = true; break;
2015     case SpvOpFwidthCoarse: *hasResult = true; *hasResultType = true; break;
2016     case SpvOpEmitVertex: *hasResult = false; *hasResultType = false; break;
2017     case SpvOpEndPrimitive: *hasResult = false; *hasResultType = false; break;
2018     case SpvOpEmitStreamVertex: *hasResult = false; *hasResultType = false; break;
2019     case SpvOpEndStreamPrimitive: *hasResult = false; *hasResultType = false; break;
2020     case SpvOpControlBarrier: *hasResult = false; *hasResultType = false; break;
2021     case SpvOpMemoryBarrier: *hasResult = false; *hasResultType = false; break;
2022     case SpvOpAtomicLoad: *hasResult = true; *hasResultType = true; break;
2023     case SpvOpAtomicStore: *hasResult = false; *hasResultType = false; break;
2024     case SpvOpAtomicExchange: *hasResult = true; *hasResultType = true; break;
2025     case SpvOpAtomicCompareExchange: *hasResult = true; *hasResultType = true; break;
2026     case SpvOpAtomicCompareExchangeWeak: *hasResult = true; *hasResultType = true; break;
2027     case SpvOpAtomicIIncrement: *hasResult = true; *hasResultType = true; break;
2028     case SpvOpAtomicIDecrement: *hasResult = true; *hasResultType = true; break;
2029     case SpvOpAtomicIAdd: *hasResult = true; *hasResultType = true; break;
2030     case SpvOpAtomicISub: *hasResult = true; *hasResultType = true; break;
2031     case SpvOpAtomicSMin: *hasResult = true; *hasResultType = true; break;
2032     case SpvOpAtomicUMin: *hasResult = true; *hasResultType = true; break;
2033     case SpvOpAtomicSMax: *hasResult = true; *hasResultType = true; break;
2034     case SpvOpAtomicUMax: *hasResult = true; *hasResultType = true; break;
2035     case SpvOpAtomicAnd: *hasResult = true; *hasResultType = true; break;
2036     case SpvOpAtomicOr: *hasResult = true; *hasResultType = true; break;
2037     case SpvOpAtomicXor: *hasResult = true; *hasResultType = true; break;
2038     case SpvOpPhi: *hasResult = true; *hasResultType = true; break;
2039     case SpvOpLoopMerge: *hasResult = false; *hasResultType = false; break;
2040     case SpvOpSelectionMerge: *hasResult = false; *hasResultType = false; break;
2041     case SpvOpLabel: *hasResult = true; *hasResultType = false; break;
2042     case SpvOpBranch: *hasResult = false; *hasResultType = false; break;
2043     case SpvOpBranchConditional: *hasResult = false; *hasResultType = false; break;
2044     case SpvOpSwitch: *hasResult = false; *hasResultType = false; break;
2045     case SpvOpKill: *hasResult = false; *hasResultType = false; break;
2046     case SpvOpReturn: *hasResult = false; *hasResultType = false; break;
2047     case SpvOpReturnValue: *hasResult = false; *hasResultType = false; break;
2048     case SpvOpUnreachable: *hasResult = false; *hasResultType = false; break;
2049     case SpvOpLifetimeStart: *hasResult = false; *hasResultType = false; break;
2050     case SpvOpLifetimeStop: *hasResult = false; *hasResultType = false; break;
2051     case SpvOpGroupAsyncCopy: *hasResult = true; *hasResultType = true; break;
2052     case SpvOpGroupWaitEvents: *hasResult = false; *hasResultType = false; break;
2053     case SpvOpGroupAll: *hasResult = true; *hasResultType = true; break;
2054     case SpvOpGroupAny: *hasResult = true; *hasResultType = true; break;
2055     case SpvOpGroupBroadcast: *hasResult = true; *hasResultType = true; break;
2056     case SpvOpGroupIAdd: *hasResult = true; *hasResultType = true; break;
2057     case SpvOpGroupFAdd: *hasResult = true; *hasResultType = true; break;
2058     case SpvOpGroupFMin: *hasResult = true; *hasResultType = true; break;
2059     case SpvOpGroupUMin: *hasResult = true; *hasResultType = true; break;
2060     case SpvOpGroupSMin: *hasResult = true; *hasResultType = true; break;
2061     case SpvOpGroupFMax: *hasResult = true; *hasResultType = true; break;
2062     case SpvOpGroupUMax: *hasResult = true; *hasResultType = true; break;
2063     case SpvOpGroupSMax: *hasResult = true; *hasResultType = true; break;
2064     case SpvOpReadPipe: *hasResult = true; *hasResultType = true; break;
2065     case SpvOpWritePipe: *hasResult = true; *hasResultType = true; break;
2066     case SpvOpReservedReadPipe: *hasResult = true; *hasResultType = true; break;
2067     case SpvOpReservedWritePipe: *hasResult = true; *hasResultType = true; break;
2068     case SpvOpReserveReadPipePackets: *hasResult = true; *hasResultType = true; break;
2069     case SpvOpReserveWritePipePackets: *hasResult = true; *hasResultType = true; break;
2070     case SpvOpCommitReadPipe: *hasResult = false; *hasResultType = false; break;
2071     case SpvOpCommitWritePipe: *hasResult = false; *hasResultType = false; break;
2072     case SpvOpIsValidReserveId: *hasResult = true; *hasResultType = true; break;
2073     case SpvOpGetNumPipePackets: *hasResult = true; *hasResultType = true; break;
2074     case SpvOpGetMaxPipePackets: *hasResult = true; *hasResultType = true; break;
2075     case SpvOpGroupReserveReadPipePackets: *hasResult = true; *hasResultType = true; break;
2076     case SpvOpGroupReserveWritePipePackets: *hasResult = true; *hasResultType = true; break;
2077     case SpvOpGroupCommitReadPipe: *hasResult = false; *hasResultType = false; break;
2078     case SpvOpGroupCommitWritePipe: *hasResult = false; *hasResultType = false; break;
2079     case SpvOpEnqueueMarker: *hasResult = true; *hasResultType = true; break;
2080     case SpvOpEnqueueKernel: *hasResult = true; *hasResultType = true; break;
2081     case SpvOpGetKernelNDrangeSubGroupCount: *hasResult = true; *hasResultType = true; break;
2082     case SpvOpGetKernelNDrangeMaxSubGroupSize: *hasResult = true; *hasResultType = true; break;
2083     case SpvOpGetKernelWorkGroupSize: *hasResult = true; *hasResultType = true; break;
2084     case SpvOpGetKernelPreferredWorkGroupSizeMultiple: *hasResult = true; *hasResultType = true; break;
2085     case SpvOpRetainEvent: *hasResult = false; *hasResultType = false; break;
2086     case SpvOpReleaseEvent: *hasResult = false; *hasResultType = false; break;
2087     case SpvOpCreateUserEvent: *hasResult = true; *hasResultType = true; break;
2088     case SpvOpIsValidEvent: *hasResult = true; *hasResultType = true; break;
2089     case SpvOpSetUserEventStatus: *hasResult = false; *hasResultType = false; break;
2090     case SpvOpCaptureEventProfilingInfo: *hasResult = false; *hasResultType = false; break;
2091     case SpvOpGetDefaultQueue: *hasResult = true; *hasResultType = true; break;
2092     case SpvOpBuildNDRange: *hasResult = true; *hasResultType = true; break;
2093     case SpvOpImageSparseSampleImplicitLod: *hasResult = true; *hasResultType = true; break;
2094     case SpvOpImageSparseSampleExplicitLod: *hasResult = true; *hasResultType = true; break;
2095     case SpvOpImageSparseSampleDrefImplicitLod: *hasResult = true; *hasResultType = true; break;
2096     case SpvOpImageSparseSampleDrefExplicitLod: *hasResult = true; *hasResultType = true; break;
2097     case SpvOpImageSparseSampleProjImplicitLod: *hasResult = true; *hasResultType = true; break;
2098     case SpvOpImageSparseSampleProjExplicitLod: *hasResult = true; *hasResultType = true; break;
2099     case SpvOpImageSparseSampleProjDrefImplicitLod: *hasResult = true; *hasResultType = true; break;
2100     case SpvOpImageSparseSampleProjDrefExplicitLod: *hasResult = true; *hasResultType = true; break;
2101     case SpvOpImageSparseFetch: *hasResult = true; *hasResultType = true; break;
2102     case SpvOpImageSparseGather: *hasResult = true; *hasResultType = true; break;
2103     case SpvOpImageSparseDrefGather: *hasResult = true; *hasResultType = true; break;
2104     case SpvOpImageSparseTexelsResident: *hasResult = true; *hasResultType = true; break;
2105     case SpvOpNoLine: *hasResult = false; *hasResultType = false; break;
2106     case SpvOpAtomicFlagTestAndSet: *hasResult = true; *hasResultType = true; break;
2107     case SpvOpAtomicFlagClear: *hasResult = false; *hasResultType = false; break;
2108     case SpvOpImageSparseRead: *hasResult = true; *hasResultType = true; break;
2109     case SpvOpSizeOf: *hasResult = true; *hasResultType = true; break;
2110     case SpvOpTypePipeStorage: *hasResult = true; *hasResultType = false; break;
2111     case SpvOpConstantPipeStorage: *hasResult = true; *hasResultType = true; break;
2112     case SpvOpCreatePipeFromPipeStorage: *hasResult = true; *hasResultType = true; break;
2113     case SpvOpGetKernelLocalSizeForSubgroupCount: *hasResult = true; *hasResultType = true; break;
2114     case SpvOpGetKernelMaxNumSubgroups: *hasResult = true; *hasResultType = true; break;
2115     case SpvOpTypeNamedBarrier: *hasResult = true; *hasResultType = false; break;
2116     case SpvOpNamedBarrierInitialize: *hasResult = true; *hasResultType = true; break;
2117     case SpvOpMemoryNamedBarrier: *hasResult = false; *hasResultType = false; break;
2118     case SpvOpModuleProcessed: *hasResult = false; *hasResultType = false; break;
2119     case SpvOpExecutionModeId: *hasResult = false; *hasResultType = false; break;
2120     case SpvOpDecorateId: *hasResult = false; *hasResultType = false; break;
2121     case SpvOpGroupNonUniformElect: *hasResult = true; *hasResultType = true; break;
2122     case SpvOpGroupNonUniformAll: *hasResult = true; *hasResultType = true; break;
2123     case SpvOpGroupNonUniformAny: *hasResult = true; *hasResultType = true; break;
2124     case SpvOpGroupNonUniformAllEqual: *hasResult = true; *hasResultType = true; break;
2125     case SpvOpGroupNonUniformBroadcast: *hasResult = true; *hasResultType = true; break;
2126     case SpvOpGroupNonUniformBroadcastFirst: *hasResult = true; *hasResultType = true; break;
2127     case SpvOpGroupNonUniformBallot: *hasResult = true; *hasResultType = true; break;
2128     case SpvOpGroupNonUniformInverseBallot: *hasResult = true; *hasResultType = true; break;
2129     case SpvOpGroupNonUniformBallotBitExtract: *hasResult = true; *hasResultType = true; break;
2130     case SpvOpGroupNonUniformBallotBitCount: *hasResult = true; *hasResultType = true; break;
2131     case SpvOpGroupNonUniformBallotFindLSB: *hasResult = true; *hasResultType = true; break;
2132     case SpvOpGroupNonUniformBallotFindMSB: *hasResult = true; *hasResultType = true; break;
2133     case SpvOpGroupNonUniformShuffle: *hasResult = true; *hasResultType = true; break;
2134     case SpvOpGroupNonUniformShuffleXor: *hasResult = true; *hasResultType = true; break;
2135     case SpvOpGroupNonUniformShuffleUp: *hasResult = true; *hasResultType = true; break;
2136     case SpvOpGroupNonUniformShuffleDown: *hasResult = true; *hasResultType = true; break;
2137     case SpvOpGroupNonUniformIAdd: *hasResult = true; *hasResultType = true; break;
2138     case SpvOpGroupNonUniformFAdd: *hasResult = true; *hasResultType = true; break;
2139     case SpvOpGroupNonUniformIMul: *hasResult = true; *hasResultType = true; break;
2140     case SpvOpGroupNonUniformFMul: *hasResult = true; *hasResultType = true; break;
2141     case SpvOpGroupNonUniformSMin: *hasResult = true; *hasResultType = true; break;
2142     case SpvOpGroupNonUniformUMin: *hasResult = true; *hasResultType = true; break;
2143     case SpvOpGroupNonUniformFMin: *hasResult = true; *hasResultType = true; break;
2144     case SpvOpGroupNonUniformSMax: *hasResult = true; *hasResultType = true; break;
2145     case SpvOpGroupNonUniformUMax: *hasResult = true; *hasResultType = true; break;
2146     case SpvOpGroupNonUniformFMax: *hasResult = true; *hasResultType = true; break;
2147     case SpvOpGroupNonUniformBitwiseAnd: *hasResult = true; *hasResultType = true; break;
2148     case SpvOpGroupNonUniformBitwiseOr: *hasResult = true; *hasResultType = true; break;
2149     case SpvOpGroupNonUniformBitwiseXor: *hasResult = true; *hasResultType = true; break;
2150     case SpvOpGroupNonUniformLogicalAnd: *hasResult = true; *hasResultType = true; break;
2151     case SpvOpGroupNonUniformLogicalOr: *hasResult = true; *hasResultType = true; break;
2152     case SpvOpGroupNonUniformLogicalXor: *hasResult = true; *hasResultType = true; break;
2153     case SpvOpGroupNonUniformQuadBroadcast: *hasResult = true; *hasResultType = true; break;
2154     case SpvOpGroupNonUniformQuadSwap: *hasResult = true; *hasResultType = true; break;
2155     case SpvOpCopyLogical: *hasResult = true; *hasResultType = true; break;
2156     case SpvOpPtrEqual: *hasResult = true; *hasResultType = true; break;
2157     case SpvOpPtrNotEqual: *hasResult = true; *hasResultType = true; break;
2158     case SpvOpPtrDiff: *hasResult = true; *hasResultType = true; break;
2159     case SpvOpTerminateInvocation: *hasResult = false; *hasResultType = false; break;
2160     case SpvOpSubgroupBallotKHR: *hasResult = true; *hasResultType = true; break;
2161     case SpvOpSubgroupFirstInvocationKHR: *hasResult = true; *hasResultType = true; break;
2162     case SpvOpSubgroupAllKHR: *hasResult = true; *hasResultType = true; break;
2163     case SpvOpSubgroupAnyKHR: *hasResult = true; *hasResultType = true; break;
2164     case SpvOpSubgroupAllEqualKHR: *hasResult = true; *hasResultType = true; break;
2165     case SpvOpSubgroupReadInvocationKHR: *hasResult = true; *hasResultType = true; break;
2166     case SpvOpTraceRayKHR: *hasResult = false; *hasResultType = false; break;
2167     case SpvOpExecuteCallableKHR: *hasResult = false; *hasResultType = false; break;
2168     case SpvOpConvertUToAccelerationStructureKHR: *hasResult = true; *hasResultType = true; break;
2169     case SpvOpIgnoreIntersectionKHR: *hasResult = false; *hasResultType = false; break;
2170     case SpvOpTerminateRayKHR: *hasResult = false; *hasResultType = false; break;
2171     case SpvOpSDotKHR: *hasResult = true; *hasResultType = true; break;
2172     case SpvOpUDotKHR: *hasResult = true; *hasResultType = true; break;
2173     case SpvOpSUDotKHR: *hasResult = true; *hasResultType = true; break;
2174     case SpvOpSDotAccSatKHR: *hasResult = true; *hasResultType = true; break;
2175     case SpvOpUDotAccSatKHR: *hasResult = true; *hasResultType = true; break;
2176     case SpvOpSUDotAccSatKHR: *hasResult = true; *hasResultType = true; break;
2177     case SpvOpTypeRayQueryKHR: *hasResult = true; *hasResultType = false; break;
2178     case SpvOpRayQueryInitializeKHR: *hasResult = false; *hasResultType = false; break;
2179     case SpvOpRayQueryTerminateKHR: *hasResult = false; *hasResultType = false; break;
2180     case SpvOpRayQueryGenerateIntersectionKHR: *hasResult = false; *hasResultType = false; break;
2181     case SpvOpRayQueryConfirmIntersectionKHR: *hasResult = false; *hasResultType = false; break;
2182     case SpvOpRayQueryProceedKHR: *hasResult = true; *hasResultType = true; break;
2183     case SpvOpRayQueryGetIntersectionTypeKHR: *hasResult = true; *hasResultType = true; break;
2184     case SpvOpGroupIAddNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2185     case SpvOpGroupFAddNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2186     case SpvOpGroupFMinNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2187     case SpvOpGroupUMinNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2188     case SpvOpGroupSMinNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2189     case SpvOpGroupFMaxNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2190     case SpvOpGroupUMaxNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2191     case SpvOpGroupSMaxNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2192     case SpvOpFragmentMaskFetchAMD: *hasResult = true; *hasResultType = true; break;
2193     case SpvOpFragmentFetchAMD: *hasResult = true; *hasResultType = true; break;
2194     case SpvOpReadClockKHR: *hasResult = true; *hasResultType = true; break;
2195     case SpvOpImageSampleFootprintNV: *hasResult = true; *hasResultType = true; break;
2196     case SpvOpGroupNonUniformPartitionNV: *hasResult = true; *hasResultType = true; break;
2197     case SpvOpWritePackedPrimitiveIndices4x8NV: *hasResult = false; *hasResultType = false; break;
2198     case SpvOpReportIntersectionNV: *hasResult = true; *hasResultType = true; break;
2199     case SpvOpIgnoreIntersectionNV: *hasResult = false; *hasResultType = false; break;
2200     case SpvOpTerminateRayNV: *hasResult = false; *hasResultType = false; break;
2201     case SpvOpTraceNV: *hasResult = false; *hasResultType = false; break;
2202     case SpvOpTraceMotionNV: *hasResult = false; *hasResultType = false; break;
2203     case SpvOpTraceRayMotionNV: *hasResult = false; *hasResultType = false; break;
2204     case SpvOpTypeAccelerationStructureNV: *hasResult = true; *hasResultType = false; break;
2205     case SpvOpExecuteCallableNV: *hasResult = false; *hasResultType = false; break;
2206     case SpvOpTypeCooperativeMatrixNV: *hasResult = true; *hasResultType = false; break;
2207     case SpvOpCooperativeMatrixLoadNV: *hasResult = true; *hasResultType = true; break;
2208     case SpvOpCooperativeMatrixStoreNV: *hasResult = false; *hasResultType = false; break;
2209     case SpvOpCooperativeMatrixMulAddNV: *hasResult = true; *hasResultType = true; break;
2210     case SpvOpCooperativeMatrixLengthNV: *hasResult = true; *hasResultType = true; break;
2211     case SpvOpBeginInvocationInterlockEXT: *hasResult = false; *hasResultType = false; break;
2212     case SpvOpEndInvocationInterlockEXT: *hasResult = false; *hasResultType = false; break;
2213     case SpvOpDemoteToHelperInvocationEXT: *hasResult = false; *hasResultType = false; break;
2214     case SpvOpIsHelperInvocationEXT: *hasResult = true; *hasResultType = true; break;
2215     case SpvOpSubgroupShuffleINTEL: *hasResult = true; *hasResultType = true; break;
2216     case SpvOpSubgroupShuffleDownINTEL: *hasResult = true; *hasResultType = true; break;
2217     case SpvOpSubgroupShuffleUpINTEL: *hasResult = true; *hasResultType = true; break;
2218     case SpvOpSubgroupShuffleXorINTEL: *hasResult = true; *hasResultType = true; break;
2219     case SpvOpSubgroupBlockReadINTEL: *hasResult = true; *hasResultType = true; break;
2220     case SpvOpSubgroupBlockWriteINTEL: *hasResult = false; *hasResultType = false; break;
2221     case SpvOpSubgroupImageBlockReadINTEL: *hasResult = true; *hasResultType = true; break;
2222     case SpvOpSubgroupImageBlockWriteINTEL: *hasResult = false; *hasResultType = false; break;
2223     case SpvOpSubgroupImageMediaBlockReadINTEL: *hasResult = true; *hasResultType = true; break;
2224     case SpvOpSubgroupImageMediaBlockWriteINTEL: *hasResult = false; *hasResultType = false; break;
2225     case SpvOpUCountLeadingZerosINTEL: *hasResult = true; *hasResultType = true; break;
2226     case SpvOpUCountTrailingZerosINTEL: *hasResult = true; *hasResultType = true; break;
2227     case SpvOpAbsISubINTEL: *hasResult = true; *hasResultType = true; break;
2228     case SpvOpAbsUSubINTEL: *hasResult = true; *hasResultType = true; break;
2229     case SpvOpIAddSatINTEL: *hasResult = true; *hasResultType = true; break;
2230     case SpvOpUAddSatINTEL: *hasResult = true; *hasResultType = true; break;
2231     case SpvOpIAverageINTEL: *hasResult = true; *hasResultType = true; break;
2232     case SpvOpUAverageINTEL: *hasResult = true; *hasResultType = true; break;
2233     case SpvOpIAverageRoundedINTEL: *hasResult = true; *hasResultType = true; break;
2234     case SpvOpUAverageRoundedINTEL: *hasResult = true; *hasResultType = true; break;
2235     case SpvOpISubSatINTEL: *hasResult = true; *hasResultType = true; break;
2236     case SpvOpUSubSatINTEL: *hasResult = true; *hasResultType = true; break;
2237     case SpvOpIMul32x16INTEL: *hasResult = true; *hasResultType = true; break;
2238     case SpvOpUMul32x16INTEL: *hasResult = true; *hasResultType = true; break;
2239     case SpvOpConstFunctionPointerINTEL: *hasResult = true; *hasResultType = true; break;
2240     case SpvOpFunctionPointerCallINTEL: *hasResult = true; *hasResultType = true; break;
2241     case SpvOpAsmTargetINTEL: *hasResult = true; *hasResultType = true; break;
2242     case SpvOpAsmINTEL: *hasResult = true; *hasResultType = true; break;
2243     case SpvOpAsmCallINTEL: *hasResult = true; *hasResultType = true; break;
2244     case SpvOpAtomicFMinEXT: *hasResult = true; *hasResultType = true; break;
2245     case SpvOpAtomicFMaxEXT: *hasResult = true; *hasResultType = true; break;
2246     case SpvOpAssumeTrueKHR: *hasResult = false; *hasResultType = false; break;
2247     case SpvOpExpectKHR: *hasResult = true; *hasResultType = true; break;
2248     case SpvOpDecorateString: *hasResult = false; *hasResultType = false; break;
2249     case SpvOpMemberDecorateString: *hasResult = false; *hasResultType = false; break;
2250     case SpvOpVmeImageINTEL: *hasResult = true; *hasResultType = true; break;
2251     case SpvOpTypeVmeImageINTEL: *hasResult = true; *hasResultType = false; break;
2252     case SpvOpTypeAvcImePayloadINTEL: *hasResult = true; *hasResultType = false; break;
2253     case SpvOpTypeAvcRefPayloadINTEL: *hasResult = true; *hasResultType = false; break;
2254     case SpvOpTypeAvcSicPayloadINTEL: *hasResult = true; *hasResultType = false; break;
2255     case SpvOpTypeAvcMcePayloadINTEL: *hasResult = true; *hasResultType = false; break;
2256     case SpvOpTypeAvcMceResultINTEL: *hasResult = true; *hasResultType = false; break;
2257     case SpvOpTypeAvcImeResultINTEL: *hasResult = true; *hasResultType = false; break;
2258     case SpvOpTypeAvcImeResultSingleReferenceStreamoutINTEL: *hasResult = true; *hasResultType = false; break;
2259     case SpvOpTypeAvcImeResultDualReferenceStreamoutINTEL: *hasResult = true; *hasResultType = false; break;
2260     case SpvOpTypeAvcImeSingleReferenceStreaminINTEL: *hasResult = true; *hasResultType = false; break;
2261     case SpvOpTypeAvcImeDualReferenceStreaminINTEL: *hasResult = true; *hasResultType = false; break;
2262     case SpvOpTypeAvcRefResultINTEL: *hasResult = true; *hasResultType = false; break;
2263     case SpvOpTypeAvcSicResultINTEL: *hasResult = true; *hasResultType = false; break;
2264     case SpvOpSubgroupAvcMceGetDefaultInterBaseMultiReferencePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2265     case SpvOpSubgroupAvcMceSetInterBaseMultiReferencePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2266     case SpvOpSubgroupAvcMceGetDefaultInterShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2267     case SpvOpSubgroupAvcMceSetInterShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2268     case SpvOpSubgroupAvcMceGetDefaultInterDirectionPenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2269     case SpvOpSubgroupAvcMceSetInterDirectionPenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2270     case SpvOpSubgroupAvcMceGetDefaultIntraLumaShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2271     case SpvOpSubgroupAvcMceGetDefaultInterMotionVectorCostTableINTEL: *hasResult = true; *hasResultType = true; break;
2272     case SpvOpSubgroupAvcMceGetDefaultHighPenaltyCostTableINTEL: *hasResult = true; *hasResultType = true; break;
2273     case SpvOpSubgroupAvcMceGetDefaultMediumPenaltyCostTableINTEL: *hasResult = true; *hasResultType = true; break;
2274     case SpvOpSubgroupAvcMceGetDefaultLowPenaltyCostTableINTEL: *hasResult = true; *hasResultType = true; break;
2275     case SpvOpSubgroupAvcMceSetMotionVectorCostFunctionINTEL: *hasResult = true; *hasResultType = true; break;
2276     case SpvOpSubgroupAvcMceGetDefaultIntraLumaModePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2277     case SpvOpSubgroupAvcMceGetDefaultNonDcLumaIntraPenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2278     case SpvOpSubgroupAvcMceGetDefaultIntraChromaModeBasePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2279     case SpvOpSubgroupAvcMceSetAcOnlyHaarINTEL: *hasResult = true; *hasResultType = true; break;
2280     case SpvOpSubgroupAvcMceSetSourceInterlacedFieldPolarityINTEL: *hasResult = true; *hasResultType = true; break;
2281     case SpvOpSubgroupAvcMceSetSingleReferenceInterlacedFieldPolarityINTEL: *hasResult = true; *hasResultType = true; break;
2282     case SpvOpSubgroupAvcMceSetDualReferenceInterlacedFieldPolaritiesINTEL: *hasResult = true; *hasResultType = true; break;
2283     case SpvOpSubgroupAvcMceConvertToImePayloadINTEL: *hasResult = true; *hasResultType = true; break;
2284     case SpvOpSubgroupAvcMceConvertToImeResultINTEL: *hasResult = true; *hasResultType = true; break;
2285     case SpvOpSubgroupAvcMceConvertToRefPayloadINTEL: *hasResult = true; *hasResultType = true; break;
2286     case SpvOpSubgroupAvcMceConvertToRefResultINTEL: *hasResult = true; *hasResultType = true; break;
2287     case SpvOpSubgroupAvcMceConvertToSicPayloadINTEL: *hasResult = true; *hasResultType = true; break;
2288     case SpvOpSubgroupAvcMceConvertToSicResultINTEL: *hasResult = true; *hasResultType = true; break;
2289     case SpvOpSubgroupAvcMceGetMotionVectorsINTEL: *hasResult = true; *hasResultType = true; break;
2290     case SpvOpSubgroupAvcMceGetInterDistortionsINTEL: *hasResult = true; *hasResultType = true; break;
2291     case SpvOpSubgroupAvcMceGetBestInterDistortionsINTEL: *hasResult = true; *hasResultType = true; break;
2292     case SpvOpSubgroupAvcMceGetInterMajorShapeINTEL: *hasResult = true; *hasResultType = true; break;
2293     case SpvOpSubgroupAvcMceGetInterMinorShapeINTEL: *hasResult = true; *hasResultType = true; break;
2294     case SpvOpSubgroupAvcMceGetInterDirectionsINTEL: *hasResult = true; *hasResultType = true; break;
2295     case SpvOpSubgroupAvcMceGetInterMotionVectorCountINTEL: *hasResult = true; *hasResultType = true; break;
2296     case SpvOpSubgroupAvcMceGetInterReferenceIdsINTEL: *hasResult = true; *hasResultType = true; break;
2297     case SpvOpSubgroupAvcMceGetInterReferenceInterlacedFieldPolaritiesINTEL: *hasResult = true; *hasResultType = true; break;
2298     case SpvOpSubgroupAvcImeInitializeINTEL: *hasResult = true; *hasResultType = true; break;
2299     case SpvOpSubgroupAvcImeSetSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2300     case SpvOpSubgroupAvcImeSetDualReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2301     case SpvOpSubgroupAvcImeRefWindowSizeINTEL: *hasResult = true; *hasResultType = true; break;
2302     case SpvOpSubgroupAvcImeAdjustRefOffsetINTEL: *hasResult = true; *hasResultType = true; break;
2303     case SpvOpSubgroupAvcImeConvertToMcePayloadINTEL: *hasResult = true; *hasResultType = true; break;
2304     case SpvOpSubgroupAvcImeSetMaxMotionVectorCountINTEL: *hasResult = true; *hasResultType = true; break;
2305     case SpvOpSubgroupAvcImeSetUnidirectionalMixDisableINTEL: *hasResult = true; *hasResultType = true; break;
2306     case SpvOpSubgroupAvcImeSetEarlySearchTerminationThresholdINTEL: *hasResult = true; *hasResultType = true; break;
2307     case SpvOpSubgroupAvcImeSetWeightedSadINTEL: *hasResult = true; *hasResultType = true; break;
2308     case SpvOpSubgroupAvcImeEvaluateWithSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2309     case SpvOpSubgroupAvcImeEvaluateWithDualReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2310     case SpvOpSubgroupAvcImeEvaluateWithSingleReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break;
2311     case SpvOpSubgroupAvcImeEvaluateWithDualReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break;
2312     case SpvOpSubgroupAvcImeEvaluateWithSingleReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break;
2313     case SpvOpSubgroupAvcImeEvaluateWithDualReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break;
2314     case SpvOpSubgroupAvcImeEvaluateWithSingleReferenceStreaminoutINTEL: *hasResult = true; *hasResultType = true; break;
2315     case SpvOpSubgroupAvcImeEvaluateWithDualReferenceStreaminoutINTEL: *hasResult = true; *hasResultType = true; break;
2316     case SpvOpSubgroupAvcImeConvertToMceResultINTEL: *hasResult = true; *hasResultType = true; break;
2317     case SpvOpSubgroupAvcImeGetSingleReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break;
2318     case SpvOpSubgroupAvcImeGetDualReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break;
2319     case SpvOpSubgroupAvcImeStripSingleReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break;
2320     case SpvOpSubgroupAvcImeStripDualReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break;
2321     case SpvOpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeMotionVectorsINTEL: *hasResult = true; *hasResultType = true; break;
2322     case SpvOpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeDistortionsINTEL: *hasResult = true; *hasResultType = true; break;
2323     case SpvOpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeReferenceIdsINTEL: *hasResult = true; *hasResultType = true; break;
2324     case SpvOpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeMotionVectorsINTEL: *hasResult = true; *hasResultType = true; break;
2325     case SpvOpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeDistortionsINTEL: *hasResult = true; *hasResultType = true; break;
2326     case SpvOpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeReferenceIdsINTEL: *hasResult = true; *hasResultType = true; break;
2327     case SpvOpSubgroupAvcImeGetBorderReachedINTEL: *hasResult = true; *hasResultType = true; break;
2328     case SpvOpSubgroupAvcImeGetTruncatedSearchIndicationINTEL: *hasResult = true; *hasResultType = true; break;
2329     case SpvOpSubgroupAvcImeGetUnidirectionalEarlySearchTerminationINTEL: *hasResult = true; *hasResultType = true; break;
2330     case SpvOpSubgroupAvcImeGetWeightingPatternMinimumMotionVectorINTEL: *hasResult = true; *hasResultType = true; break;
2331     case SpvOpSubgroupAvcImeGetWeightingPatternMinimumDistortionINTEL: *hasResult = true; *hasResultType = true; break;
2332     case SpvOpSubgroupAvcFmeInitializeINTEL: *hasResult = true; *hasResultType = true; break;
2333     case SpvOpSubgroupAvcBmeInitializeINTEL: *hasResult = true; *hasResultType = true; break;
2334     case SpvOpSubgroupAvcRefConvertToMcePayloadINTEL: *hasResult = true; *hasResultType = true; break;
2335     case SpvOpSubgroupAvcRefSetBidirectionalMixDisableINTEL: *hasResult = true; *hasResultType = true; break;
2336     case SpvOpSubgroupAvcRefSetBilinearFilterEnableINTEL: *hasResult = true; *hasResultType = true; break;
2337     case SpvOpSubgroupAvcRefEvaluateWithSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2338     case SpvOpSubgroupAvcRefEvaluateWithDualReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2339     case SpvOpSubgroupAvcRefEvaluateWithMultiReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2340     case SpvOpSubgroupAvcRefEvaluateWithMultiReferenceInterlacedINTEL: *hasResult = true; *hasResultType = true; break;
2341     case SpvOpSubgroupAvcRefConvertToMceResultINTEL: *hasResult = true; *hasResultType = true; break;
2342     case SpvOpSubgroupAvcSicInitializeINTEL: *hasResult = true; *hasResultType = true; break;
2343     case SpvOpSubgroupAvcSicConfigureSkcINTEL: *hasResult = true; *hasResultType = true; break;
2344     case SpvOpSubgroupAvcSicConfigureIpeLumaINTEL: *hasResult = true; *hasResultType = true; break;
2345     case SpvOpSubgroupAvcSicConfigureIpeLumaChromaINTEL: *hasResult = true; *hasResultType = true; break;
2346     case SpvOpSubgroupAvcSicGetMotionVectorMaskINTEL: *hasResult = true; *hasResultType = true; break;
2347     case SpvOpSubgroupAvcSicConvertToMcePayloadINTEL: *hasResult = true; *hasResultType = true; break;
2348     case SpvOpSubgroupAvcSicSetIntraLumaShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2349     case SpvOpSubgroupAvcSicSetIntraLumaModeCostFunctionINTEL: *hasResult = true; *hasResultType = true; break;
2350     case SpvOpSubgroupAvcSicSetIntraChromaModeCostFunctionINTEL: *hasResult = true; *hasResultType = true; break;
2351     case SpvOpSubgroupAvcSicSetBilinearFilterEnableINTEL: *hasResult = true; *hasResultType = true; break;
2352     case SpvOpSubgroupAvcSicSetSkcForwardTransformEnableINTEL: *hasResult = true; *hasResultType = true; break;
2353     case SpvOpSubgroupAvcSicSetBlockBasedRawSkipSadINTEL: *hasResult = true; *hasResultType = true; break;
2354     case SpvOpSubgroupAvcSicEvaluateIpeINTEL: *hasResult = true; *hasResultType = true; break;
2355     case SpvOpSubgroupAvcSicEvaluateWithSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2356     case SpvOpSubgroupAvcSicEvaluateWithDualReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2357     case SpvOpSubgroupAvcSicEvaluateWithMultiReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2358     case SpvOpSubgroupAvcSicEvaluateWithMultiReferenceInterlacedINTEL: *hasResult = true; *hasResultType = true; break;
2359     case SpvOpSubgroupAvcSicConvertToMceResultINTEL: *hasResult = true; *hasResultType = true; break;
2360     case SpvOpSubgroupAvcSicGetIpeLumaShapeINTEL: *hasResult = true; *hasResultType = true; break;
2361     case SpvOpSubgroupAvcSicGetBestIpeLumaDistortionINTEL: *hasResult = true; *hasResultType = true; break;
2362     case SpvOpSubgroupAvcSicGetBestIpeChromaDistortionINTEL: *hasResult = true; *hasResultType = true; break;
2363     case SpvOpSubgroupAvcSicGetPackedIpeLumaModesINTEL: *hasResult = true; *hasResultType = true; break;
2364     case SpvOpSubgroupAvcSicGetIpeChromaModeINTEL: *hasResult = true; *hasResultType = true; break;
2365     case SpvOpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL: *hasResult = true; *hasResultType = true; break;
2366     case SpvOpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL: *hasResult = true; *hasResultType = true; break;
2367     case SpvOpSubgroupAvcSicGetInterRawSadsINTEL: *hasResult = true; *hasResultType = true; break;
2368     case SpvOpVariableLengthArrayINTEL: *hasResult = true; *hasResultType = true; break;
2369     case SpvOpSaveMemoryINTEL: *hasResult = true; *hasResultType = true; break;
2370     case SpvOpRestoreMemoryINTEL: *hasResult = false; *hasResultType = false; break;
2371     case SpvOpArbitraryFloatSinCosPiINTEL: *hasResult = true; *hasResultType = true; break;
2372     case SpvOpArbitraryFloatCastINTEL: *hasResult = true; *hasResultType = true; break;
2373     case SpvOpArbitraryFloatCastFromIntINTEL: *hasResult = true; *hasResultType = true; break;
2374     case SpvOpArbitraryFloatCastToIntINTEL: *hasResult = true; *hasResultType = true; break;
2375     case SpvOpArbitraryFloatAddINTEL: *hasResult = true; *hasResultType = true; break;
2376     case SpvOpArbitraryFloatSubINTEL: *hasResult = true; *hasResultType = true; break;
2377     case SpvOpArbitraryFloatMulINTEL: *hasResult = true; *hasResultType = true; break;
2378     case SpvOpArbitraryFloatDivINTEL: *hasResult = true; *hasResultType = true; break;
2379     case SpvOpArbitraryFloatGTINTEL: *hasResult = true; *hasResultType = true; break;
2380     case SpvOpArbitraryFloatGEINTEL: *hasResult = true; *hasResultType = true; break;
2381     case SpvOpArbitraryFloatLTINTEL: *hasResult = true; *hasResultType = true; break;
2382     case SpvOpArbitraryFloatLEINTEL: *hasResult = true; *hasResultType = true; break;
2383     case SpvOpArbitraryFloatEQINTEL: *hasResult = true; *hasResultType = true; break;
2384     case SpvOpArbitraryFloatRecipINTEL: *hasResult = true; *hasResultType = true; break;
2385     case SpvOpArbitraryFloatRSqrtINTEL: *hasResult = true; *hasResultType = true; break;
2386     case SpvOpArbitraryFloatCbrtINTEL: *hasResult = true; *hasResultType = true; break;
2387     case SpvOpArbitraryFloatHypotINTEL: *hasResult = true; *hasResultType = true; break;
2388     case SpvOpArbitraryFloatSqrtINTEL: *hasResult = true; *hasResultType = true; break;
2389     case SpvOpArbitraryFloatLogINTEL: *hasResult = true; *hasResultType = true; break;
2390     case SpvOpArbitraryFloatLog2INTEL: *hasResult = true; *hasResultType = true; break;
2391     case SpvOpArbitraryFloatLog10INTEL: *hasResult = true; *hasResultType = true; break;
2392     case SpvOpArbitraryFloatLog1pINTEL: *hasResult = true; *hasResultType = true; break;
2393     case SpvOpArbitraryFloatExpINTEL: *hasResult = true; *hasResultType = true; break;
2394     case SpvOpArbitraryFloatExp2INTEL: *hasResult = true; *hasResultType = true; break;
2395     case SpvOpArbitraryFloatExp10INTEL: *hasResult = true; *hasResultType = true; break;
2396     case SpvOpArbitraryFloatExpm1INTEL: *hasResult = true; *hasResultType = true; break;
2397     case SpvOpArbitraryFloatSinINTEL: *hasResult = true; *hasResultType = true; break;
2398     case SpvOpArbitraryFloatCosINTEL: *hasResult = true; *hasResultType = true; break;
2399     case SpvOpArbitraryFloatSinCosINTEL: *hasResult = true; *hasResultType = true; break;
2400     case SpvOpArbitraryFloatSinPiINTEL: *hasResult = true; *hasResultType = true; break;
2401     case SpvOpArbitraryFloatCosPiINTEL: *hasResult = true; *hasResultType = true; break;
2402     case SpvOpArbitraryFloatASinINTEL: *hasResult = true; *hasResultType = true; break;
2403     case SpvOpArbitraryFloatASinPiINTEL: *hasResult = true; *hasResultType = true; break;
2404     case SpvOpArbitraryFloatACosINTEL: *hasResult = true; *hasResultType = true; break;
2405     case SpvOpArbitraryFloatACosPiINTEL: *hasResult = true; *hasResultType = true; break;
2406     case SpvOpArbitraryFloatATanINTEL: *hasResult = true; *hasResultType = true; break;
2407     case SpvOpArbitraryFloatATanPiINTEL: *hasResult = true; *hasResultType = true; break;
2408     case SpvOpArbitraryFloatATan2INTEL: *hasResult = true; *hasResultType = true; break;
2409     case SpvOpArbitraryFloatPowINTEL: *hasResult = true; *hasResultType = true; break;
2410     case SpvOpArbitraryFloatPowRINTEL: *hasResult = true; *hasResultType = true; break;
2411     case SpvOpArbitraryFloatPowNINTEL: *hasResult = true; *hasResultType = true; break;
2412     case SpvOpLoopControlINTEL: *hasResult = false; *hasResultType = false; break;
2413     case SpvOpFixedSqrtINTEL: *hasResult = true; *hasResultType = true; break;
2414     case SpvOpFixedRecipINTEL: *hasResult = true; *hasResultType = true; break;
2415     case SpvOpFixedRsqrtINTEL: *hasResult = true; *hasResultType = true; break;
2416     case SpvOpFixedSinINTEL: *hasResult = true; *hasResultType = true; break;
2417     case SpvOpFixedCosINTEL: *hasResult = true; *hasResultType = true; break;
2418     case SpvOpFixedSinCosINTEL: *hasResult = true; *hasResultType = true; break;
2419     case SpvOpFixedSinPiINTEL: *hasResult = true; *hasResultType = true; break;
2420     case SpvOpFixedCosPiINTEL: *hasResult = true; *hasResultType = true; break;
2421     case SpvOpFixedSinCosPiINTEL: *hasResult = true; *hasResultType = true; break;
2422     case SpvOpFixedLogINTEL: *hasResult = true; *hasResultType = true; break;
2423     case SpvOpFixedExpINTEL: *hasResult = true; *hasResultType = true; break;
2424     case SpvOpPtrCastToCrossWorkgroupINTEL: *hasResult = true; *hasResultType = true; break;
2425     case SpvOpCrossWorkgroupCastToPtrINTEL: *hasResult = true; *hasResultType = true; break;
2426     case SpvOpReadPipeBlockingINTEL: *hasResult = true; *hasResultType = true; break;
2427     case SpvOpWritePipeBlockingINTEL: *hasResult = true; *hasResultType = true; break;
2428     case SpvOpFPGARegINTEL: *hasResult = true; *hasResultType = true; break;
2429     case SpvOpRayQueryGetRayTMinKHR: *hasResult = true; *hasResultType = true; break;
2430     case SpvOpRayQueryGetRayFlagsKHR: *hasResult = true; *hasResultType = true; break;
2431     case SpvOpRayQueryGetIntersectionTKHR: *hasResult = true; *hasResultType = true; break;
2432     case SpvOpRayQueryGetIntersectionInstanceCustomIndexKHR: *hasResult = true; *hasResultType = true; break;
2433     case SpvOpRayQueryGetIntersectionInstanceIdKHR: *hasResult = true; *hasResultType = true; break;
2434     case SpvOpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR: *hasResult = true; *hasResultType = true; break;
2435     case SpvOpRayQueryGetIntersectionGeometryIndexKHR: *hasResult = true; *hasResultType = true; break;
2436     case SpvOpRayQueryGetIntersectionPrimitiveIndexKHR: *hasResult = true; *hasResultType = true; break;
2437     case SpvOpRayQueryGetIntersectionBarycentricsKHR: *hasResult = true; *hasResultType = true; break;
2438     case SpvOpRayQueryGetIntersectionFrontFaceKHR: *hasResult = true; *hasResultType = true; break;
2439     case SpvOpRayQueryGetIntersectionCandidateAABBOpaqueKHR: *hasResult = true; *hasResultType = true; break;
2440     case SpvOpRayQueryGetIntersectionObjectRayDirectionKHR: *hasResult = true; *hasResultType = true; break;
2441     case SpvOpRayQueryGetIntersectionObjectRayOriginKHR: *hasResult = true; *hasResultType = true; break;
2442     case SpvOpRayQueryGetWorldRayDirectionKHR: *hasResult = true; *hasResultType = true; break;
2443     case SpvOpRayQueryGetWorldRayOriginKHR: *hasResult = true; *hasResultType = true; break;
2444     case SpvOpRayQueryGetIntersectionObjectToWorldKHR: *hasResult = true; *hasResultType = true; break;
2445     case SpvOpRayQueryGetIntersectionWorldToObjectKHR: *hasResult = true; *hasResultType = true; break;
2446     case SpvOpAtomicFAddEXT: *hasResult = true; *hasResultType = true; break;
2447     case SpvOpTypeBufferSurfaceINTEL: *hasResult = true; *hasResultType = false; break;
2448     case SpvOpTypeStructContinuedINTEL: *hasResult = false; *hasResultType = false; break;
2449     case SpvOpConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
2450     case SpvOpSpecConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
2451     }
2452 }
2453 #endif /* SPV_ENABLE_UTILITY_CODE */
2454 
2455 #endif
2456 
2457