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