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