1 // Copyright (c) 2014-2020 The Khronos Group Inc.
2 //
3 // Permission is hereby granted, free of charge, to any person obtaining a copy
4 // of this software and/or associated documentation files (the "Materials"),
5 // to deal in the Materials without restriction, including without limitation
6 // the rights to use, copy, modify, merge, publish, distribute, sublicense,
7 // and/or sell copies of the Materials, and to permit persons to whom the
8 // Materials are furnished to do so, subject to the following conditions:
9 //
10 // The above copyright notice and this permission notice shall be included in
11 // all copies or substantial portions of the Materials.
12 //
13 // MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS KHRONOS
14 // STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS SPECIFICATIONS AND
15 // HEADER INFORMATION ARE LOCATED AT https://www.khronos.org/registry/
16 //
17 // THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
18 // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
20 // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22 // FROM,OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE USE OR OTHER DEALINGS
23 // IN THE MATERIALS.
24
25 // This header is automatically generated by the same tool that creates
26 // the Binary Section of the SPIR-V specification.
27
28 // Enumeration tokens for SPIR-V, in various styles:
29 // C, C++, C++11, JSON, Lua, Python, C#, D
30 //
31 // - C will have tokens with a "Spv" prefix, e.g.: SpvSourceLanguageGLSL
32 // - C++ will have tokens in the "spv" name space, e.g.: spv::SourceLanguageGLSL
33 // - C++11 will use enum classes in the spv namespace, e.g.: spv::SourceLanguage::GLSL
34 // - Lua will use tables, e.g.: spv.SourceLanguage.GLSL
35 // - Python will use dictionaries, e.g.: spv['SourceLanguage']['GLSL']
36 // - C# will use enum classes in the Specification class located in the "Spv" namespace,
37 // e.g.: Spv.Specification.SourceLanguage.GLSL
38 // - D will have tokens under the "spv" module, e.g: spv.SourceLanguage.GLSL
39 //
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.
44
45 #ifndef spirv_HPP
46 #define spirv_HPP
47
48 namespace spv {
49
50 typedef unsigned int Id;
51
52 #define SPV_VERSION 0x10500
53 #define SPV_REVISION 1
54
55 static const unsigned int MagicNumber = 0x07230203;
56 static const unsigned int Version = 0x00010500;
57 static const unsigned int Revision = 1;
58 static const unsigned int OpCodeMask = 0xffff;
59 static const unsigned int WordCountShift = 16;
60
61 enum SourceLanguage {
62 SourceLanguageUnknown = 0,
63 SourceLanguageESSL = 1,
64 SourceLanguageGLSL = 2,
65 SourceLanguageOpenCL_C = 3,
66 SourceLanguageOpenCL_CPP = 4,
67 SourceLanguageHLSL = 5,
68 SourceLanguageMax = 0x7fffffff,
69 };
70
71 enum ExecutionModel {
72 ExecutionModelVertex = 0,
73 ExecutionModelTessellationControl = 1,
74 ExecutionModelTessellationEvaluation = 2,
75 ExecutionModelGeometry = 3,
76 ExecutionModelFragment = 4,
77 ExecutionModelGLCompute = 5,
78 ExecutionModelKernel = 6,
79 ExecutionModelTaskNV = 5267,
80 ExecutionModelMeshNV = 5268,
81 ExecutionModelRayGenerationKHR = 5313,
82 ExecutionModelRayGenerationNV = 5313,
83 ExecutionModelIntersectionKHR = 5314,
84 ExecutionModelIntersectionNV = 5314,
85 ExecutionModelAnyHitKHR = 5315,
86 ExecutionModelAnyHitNV = 5315,
87 ExecutionModelClosestHitKHR = 5316,
88 ExecutionModelClosestHitNV = 5316,
89 ExecutionModelMissKHR = 5317,
90 ExecutionModelMissNV = 5317,
91 ExecutionModelCallableKHR = 5318,
92 ExecutionModelCallableNV = 5318,
93 ExecutionModelMax = 0x7fffffff,
94 };
95
96 enum AddressingModel {
97 AddressingModelLogical = 0,
98 AddressingModelPhysical32 = 1,
99 AddressingModelPhysical64 = 2,
100 AddressingModelPhysicalStorageBuffer64 = 5348,
101 AddressingModelPhysicalStorageBuffer64EXT = 5348,
102 AddressingModelMax = 0x7fffffff,
103 };
104
105 enum MemoryModel {
106 MemoryModelSimple = 0,
107 MemoryModelGLSL450 = 1,
108 MemoryModelOpenCL = 2,
109 MemoryModelVulkan = 3,
110 MemoryModelVulkanKHR = 3,
111 MemoryModelMax = 0x7fffffff,
112 };
113
114 enum ExecutionMode {
115 ExecutionModeInvocations = 0,
116 ExecutionModeSpacingEqual = 1,
117 ExecutionModeSpacingFractionalEven = 2,
118 ExecutionModeSpacingFractionalOdd = 3,
119 ExecutionModeVertexOrderCw = 4,
120 ExecutionModeVertexOrderCcw = 5,
121 ExecutionModePixelCenterInteger = 6,
122 ExecutionModeOriginUpperLeft = 7,
123 ExecutionModeOriginLowerLeft = 8,
124 ExecutionModeEarlyFragmentTests = 9,
125 ExecutionModePointMode = 10,
126 ExecutionModeXfb = 11,
127 ExecutionModeDepthReplacing = 12,
128 ExecutionModeDepthGreater = 14,
129 ExecutionModeDepthLess = 15,
130 ExecutionModeDepthUnchanged = 16,
131 ExecutionModeLocalSize = 17,
132 ExecutionModeLocalSizeHint = 18,
133 ExecutionModeInputPoints = 19,
134 ExecutionModeInputLines = 20,
135 ExecutionModeInputLinesAdjacency = 21,
136 ExecutionModeTriangles = 22,
137 ExecutionModeInputTrianglesAdjacency = 23,
138 ExecutionModeQuads = 24,
139 ExecutionModeIsolines = 25,
140 ExecutionModeOutputVertices = 26,
141 ExecutionModeOutputPoints = 27,
142 ExecutionModeOutputLineStrip = 28,
143 ExecutionModeOutputTriangleStrip = 29,
144 ExecutionModeVecTypeHint = 30,
145 ExecutionModeContractionOff = 31,
146 ExecutionModeInitializer = 33,
147 ExecutionModeFinalizer = 34,
148 ExecutionModeSubgroupSize = 35,
149 ExecutionModeSubgroupsPerWorkgroup = 36,
150 ExecutionModeSubgroupsPerWorkgroupId = 37,
151 ExecutionModeLocalSizeId = 38,
152 ExecutionModeLocalSizeHintId = 39,
153 ExecutionModePostDepthCoverage = 4446,
154 ExecutionModeDenormPreserve = 4459,
155 ExecutionModeDenormFlushToZero = 4460,
156 ExecutionModeSignedZeroInfNanPreserve = 4461,
157 ExecutionModeRoundingModeRTE = 4462,
158 ExecutionModeRoundingModeRTZ = 4463,
159 ExecutionModeStencilRefReplacingEXT = 5027,
160 ExecutionModeOutputLinesNV = 5269,
161 ExecutionModeOutputPrimitivesNV = 5270,
162 ExecutionModeDerivativeGroupQuadsNV = 5289,
163 ExecutionModeDerivativeGroupLinearNV = 5290,
164 ExecutionModeOutputTrianglesNV = 5298,
165 ExecutionModePixelInterlockOrderedEXT = 5366,
166 ExecutionModePixelInterlockUnorderedEXT = 5367,
167 ExecutionModeSampleInterlockOrderedEXT = 5368,
168 ExecutionModeSampleInterlockUnorderedEXT = 5369,
169 ExecutionModeShadingRateInterlockOrderedEXT = 5370,
170 ExecutionModeShadingRateInterlockUnorderedEXT = 5371,
171 ExecutionModeMax = 0x7fffffff,
172 };
173
174 enum StorageClass {
175 StorageClassUniformConstant = 0,
176 StorageClassInput = 1,
177 StorageClassUniform = 2,
178 StorageClassOutput = 3,
179 StorageClassWorkgroup = 4,
180 StorageClassCrossWorkgroup = 5,
181 StorageClassPrivate = 6,
182 StorageClassFunction = 7,
183 StorageClassGeneric = 8,
184 StorageClassPushConstant = 9,
185 StorageClassAtomicCounter = 10,
186 StorageClassImage = 11,
187 StorageClassStorageBuffer = 12,
188 StorageClassCallableDataKHR = 5328,
189 StorageClassCallableDataNV = 5328,
190 StorageClassIncomingCallableDataKHR = 5329,
191 StorageClassIncomingCallableDataNV = 5329,
192 StorageClassRayPayloadKHR = 5338,
193 StorageClassRayPayloadNV = 5338,
194 StorageClassHitAttributeKHR = 5339,
195 StorageClassHitAttributeNV = 5339,
196 StorageClassIncomingRayPayloadKHR = 5342,
197 StorageClassIncomingRayPayloadNV = 5342,
198 StorageClassShaderRecordBufferKHR = 5343,
199 StorageClassShaderRecordBufferNV = 5343,
200 StorageClassPhysicalStorageBuffer = 5349,
201 StorageClassPhysicalStorageBufferEXT = 5349,
202 StorageClassMax = 0x7fffffff,
203 };
204
205 enum Dim {
206 Dim1D = 0,
207 Dim2D = 1,
208 Dim3D = 2,
209 DimCube = 3,
210 DimRect = 4,
211 DimBuffer = 5,
212 DimSubpassData = 6,
213 DimMax = 0x7fffffff,
214 };
215
216 enum SamplerAddressingMode {
217 SamplerAddressingModeNone = 0,
218 SamplerAddressingModeClampToEdge = 1,
219 SamplerAddressingModeClamp = 2,
220 SamplerAddressingModeRepeat = 3,
221 SamplerAddressingModeRepeatMirrored = 4,
222 SamplerAddressingModeMax = 0x7fffffff,
223 };
224
225 enum SamplerFilterMode {
226 SamplerFilterModeNearest = 0,
227 SamplerFilterModeLinear = 1,
228 SamplerFilterModeMax = 0x7fffffff,
229 };
230
231 enum ImageFormat {
232 ImageFormatUnknown = 0,
233 ImageFormatRgba32f = 1,
234 ImageFormatRgba16f = 2,
235 ImageFormatR32f = 3,
236 ImageFormatRgba8 = 4,
237 ImageFormatRgba8Snorm = 5,
238 ImageFormatRg32f = 6,
239 ImageFormatRg16f = 7,
240 ImageFormatR11fG11fB10f = 8,
241 ImageFormatR16f = 9,
242 ImageFormatRgba16 = 10,
243 ImageFormatRgb10A2 = 11,
244 ImageFormatRg16 = 12,
245 ImageFormatRg8 = 13,
246 ImageFormatR16 = 14,
247 ImageFormatR8 = 15,
248 ImageFormatRgba16Snorm = 16,
249 ImageFormatRg16Snorm = 17,
250 ImageFormatRg8Snorm = 18,
251 ImageFormatR16Snorm = 19,
252 ImageFormatR8Snorm = 20,
253 ImageFormatRgba32i = 21,
254 ImageFormatRgba16i = 22,
255 ImageFormatRgba8i = 23,
256 ImageFormatR32i = 24,
257 ImageFormatRg32i = 25,
258 ImageFormatRg16i = 26,
259 ImageFormatRg8i = 27,
260 ImageFormatR16i = 28,
261 ImageFormatR8i = 29,
262 ImageFormatRgba32ui = 30,
263 ImageFormatRgba16ui = 31,
264 ImageFormatRgba8ui = 32,
265 ImageFormatR32ui = 33,
266 ImageFormatRgb10a2ui = 34,
267 ImageFormatRg32ui = 35,
268 ImageFormatRg16ui = 36,
269 ImageFormatRg8ui = 37,
270 ImageFormatR16ui = 38,
271 ImageFormatR8ui = 39,
272 ImageFormatMax = 0x7fffffff,
273 };
274
275 enum ImageChannelOrder {
276 ImageChannelOrderR = 0,
277 ImageChannelOrderA = 1,
278 ImageChannelOrderRG = 2,
279 ImageChannelOrderRA = 3,
280 ImageChannelOrderRGB = 4,
281 ImageChannelOrderRGBA = 5,
282 ImageChannelOrderBGRA = 6,
283 ImageChannelOrderARGB = 7,
284 ImageChannelOrderIntensity = 8,
285 ImageChannelOrderLuminance = 9,
286 ImageChannelOrderRx = 10,
287 ImageChannelOrderRGx = 11,
288 ImageChannelOrderRGBx = 12,
289 ImageChannelOrderDepth = 13,
290 ImageChannelOrderDepthStencil = 14,
291 ImageChannelOrdersRGB = 15,
292 ImageChannelOrdersRGBx = 16,
293 ImageChannelOrdersRGBA = 17,
294 ImageChannelOrdersBGRA = 18,
295 ImageChannelOrderABGR = 19,
296 ImageChannelOrderMax = 0x7fffffff,
297 };
298
299 enum ImageChannelDataType {
300 ImageChannelDataTypeSnormInt8 = 0,
301 ImageChannelDataTypeSnormInt16 = 1,
302 ImageChannelDataTypeUnormInt8 = 2,
303 ImageChannelDataTypeUnormInt16 = 3,
304 ImageChannelDataTypeUnormShort565 = 4,
305 ImageChannelDataTypeUnormShort555 = 5,
306 ImageChannelDataTypeUnormInt101010 = 6,
307 ImageChannelDataTypeSignedInt8 = 7,
308 ImageChannelDataTypeSignedInt16 = 8,
309 ImageChannelDataTypeSignedInt32 = 9,
310 ImageChannelDataTypeUnsignedInt8 = 10,
311 ImageChannelDataTypeUnsignedInt16 = 11,
312 ImageChannelDataTypeUnsignedInt32 = 12,
313 ImageChannelDataTypeHalfFloat = 13,
314 ImageChannelDataTypeFloat = 14,
315 ImageChannelDataTypeUnormInt24 = 15,
316 ImageChannelDataTypeUnormInt101010_2 = 16,
317 ImageChannelDataTypeMax = 0x7fffffff,
318 };
319
320 enum ImageOperandsShift {
321 ImageOperandsBiasShift = 0,
322 ImageOperandsLodShift = 1,
323 ImageOperandsGradShift = 2,
324 ImageOperandsConstOffsetShift = 3,
325 ImageOperandsOffsetShift = 4,
326 ImageOperandsConstOffsetsShift = 5,
327 ImageOperandsSampleShift = 6,
328 ImageOperandsMinLodShift = 7,
329 ImageOperandsMakeTexelAvailableShift = 8,
330 ImageOperandsMakeTexelAvailableKHRShift = 8,
331 ImageOperandsMakeTexelVisibleShift = 9,
332 ImageOperandsMakeTexelVisibleKHRShift = 9,
333 ImageOperandsNonPrivateTexelShift = 10,
334 ImageOperandsNonPrivateTexelKHRShift = 10,
335 ImageOperandsVolatileTexelShift = 11,
336 ImageOperandsVolatileTexelKHRShift = 11,
337 ImageOperandsSignExtendShift = 12,
338 ImageOperandsZeroExtendShift = 13,
339 ImageOperandsMax = 0x7fffffff,
340 };
341
342 enum ImageOperandsMask {
343 ImageOperandsMaskNone = 0,
344 ImageOperandsBiasMask = 0x00000001,
345 ImageOperandsLodMask = 0x00000002,
346 ImageOperandsGradMask = 0x00000004,
347 ImageOperandsConstOffsetMask = 0x00000008,
348 ImageOperandsOffsetMask = 0x00000010,
349 ImageOperandsConstOffsetsMask = 0x00000020,
350 ImageOperandsSampleMask = 0x00000040,
351 ImageOperandsMinLodMask = 0x00000080,
352 ImageOperandsMakeTexelAvailableMask = 0x00000100,
353 ImageOperandsMakeTexelAvailableKHRMask = 0x00000100,
354 ImageOperandsMakeTexelVisibleMask = 0x00000200,
355 ImageOperandsMakeTexelVisibleKHRMask = 0x00000200,
356 ImageOperandsNonPrivateTexelMask = 0x00000400,
357 ImageOperandsNonPrivateTexelKHRMask = 0x00000400,
358 ImageOperandsVolatileTexelMask = 0x00000800,
359 ImageOperandsVolatileTexelKHRMask = 0x00000800,
360 ImageOperandsSignExtendMask = 0x00001000,
361 ImageOperandsZeroExtendMask = 0x00002000,
362 };
363
364 enum FPFastMathModeShift {
365 FPFastMathModeNotNaNShift = 0,
366 FPFastMathModeNotInfShift = 1,
367 FPFastMathModeNSZShift = 2,
368 FPFastMathModeAllowRecipShift = 3,
369 FPFastMathModeFastShift = 4,
370 FPFastMathModeMax = 0x7fffffff,
371 };
372
373 enum FPFastMathModeMask {
374 FPFastMathModeMaskNone = 0,
375 FPFastMathModeNotNaNMask = 0x00000001,
376 FPFastMathModeNotInfMask = 0x00000002,
377 FPFastMathModeNSZMask = 0x00000004,
378 FPFastMathModeAllowRecipMask = 0x00000008,
379 FPFastMathModeFastMask = 0x00000010,
380 };
381
382 enum FPRoundingMode {
383 FPRoundingModeRTE = 0,
384 FPRoundingModeRTZ = 1,
385 FPRoundingModeRTP = 2,
386 FPRoundingModeRTN = 3,
387 FPRoundingModeMax = 0x7fffffff,
388 };
389
390 enum LinkageType {
391 LinkageTypeExport = 0,
392 LinkageTypeImport = 1,
393 LinkageTypeMax = 0x7fffffff,
394 };
395
396 enum AccessQualifier {
397 AccessQualifierReadOnly = 0,
398 AccessQualifierWriteOnly = 1,
399 AccessQualifierReadWrite = 2,
400 AccessQualifierMax = 0x7fffffff,
401 };
402
403 enum FunctionParameterAttribute {
404 FunctionParameterAttributeZext = 0,
405 FunctionParameterAttributeSext = 1,
406 FunctionParameterAttributeByVal = 2,
407 FunctionParameterAttributeSret = 3,
408 FunctionParameterAttributeNoAlias = 4,
409 FunctionParameterAttributeNoCapture = 5,
410 FunctionParameterAttributeNoWrite = 6,
411 FunctionParameterAttributeNoReadWrite = 7,
412 FunctionParameterAttributeMax = 0x7fffffff,
413 };
414
415 enum Decoration {
416 DecorationRelaxedPrecision = 0,
417 DecorationSpecId = 1,
418 DecorationBlock = 2,
419 DecorationBufferBlock = 3,
420 DecorationRowMajor = 4,
421 DecorationColMajor = 5,
422 DecorationArrayStride = 6,
423 DecorationMatrixStride = 7,
424 DecorationGLSLShared = 8,
425 DecorationGLSLPacked = 9,
426 DecorationCPacked = 10,
427 DecorationBuiltIn = 11,
428 DecorationNoPerspective = 13,
429 DecorationFlat = 14,
430 DecorationPatch = 15,
431 DecorationCentroid = 16,
432 DecorationSample = 17,
433 DecorationInvariant = 18,
434 DecorationRestrict = 19,
435 DecorationAliased = 20,
436 DecorationVolatile = 21,
437 DecorationConstant = 22,
438 DecorationCoherent = 23,
439 DecorationNonWritable = 24,
440 DecorationNonReadable = 25,
441 DecorationUniform = 26,
442 DecorationUniformId = 27,
443 DecorationSaturatedConversion = 28,
444 DecorationStream = 29,
445 DecorationLocation = 30,
446 DecorationComponent = 31,
447 DecorationIndex = 32,
448 DecorationBinding = 33,
449 DecorationDescriptorSet = 34,
450 DecorationOffset = 35,
451 DecorationXfbBuffer = 36,
452 DecorationXfbStride = 37,
453 DecorationFuncParamAttr = 38,
454 DecorationFPRoundingMode = 39,
455 DecorationFPFastMathMode = 40,
456 DecorationLinkageAttributes = 41,
457 DecorationNoContraction = 42,
458 DecorationInputAttachmentIndex = 43,
459 DecorationAlignment = 44,
460 DecorationMaxByteOffset = 45,
461 DecorationAlignmentId = 46,
462 DecorationMaxByteOffsetId = 47,
463 DecorationNoSignedWrap = 4469,
464 DecorationNoUnsignedWrap = 4470,
465 DecorationExplicitInterpAMD = 4999,
466 DecorationOverrideCoverageNV = 5248,
467 DecorationPassthroughNV = 5250,
468 DecorationViewportRelativeNV = 5252,
469 DecorationSecondaryViewportRelativeNV = 5256,
470 DecorationPerPrimitiveNV = 5271,
471 DecorationPerViewNV = 5272,
472 DecorationPerTaskNV = 5273,
473 DecorationPerVertexNV = 5285,
474 DecorationNonUniform = 5300,
475 DecorationNonUniformEXT = 5300,
476 DecorationRestrictPointer = 5355,
477 DecorationRestrictPointerEXT = 5355,
478 DecorationAliasedPointer = 5356,
479 DecorationAliasedPointerEXT = 5356,
480 DecorationCounterBuffer = 5634,
481 DecorationHlslCounterBufferGOOGLE = 5634,
482 DecorationHlslSemanticGOOGLE = 5635,
483 DecorationUserSemantic = 5635,
484 DecorationUserTypeGOOGLE = 5636,
485 DecorationMax = 0x7fffffff,
486 };
487
488 enum BuiltIn {
489 BuiltInPosition = 0,
490 BuiltInPointSize = 1,
491 BuiltInClipDistance = 3,
492 BuiltInCullDistance = 4,
493 BuiltInVertexId = 5,
494 BuiltInInstanceId = 6,
495 BuiltInPrimitiveId = 7,
496 BuiltInInvocationId = 8,
497 BuiltInLayer = 9,
498 BuiltInViewportIndex = 10,
499 BuiltInTessLevelOuter = 11,
500 BuiltInTessLevelInner = 12,
501 BuiltInTessCoord = 13,
502 BuiltInPatchVertices = 14,
503 BuiltInFragCoord = 15,
504 BuiltInPointCoord = 16,
505 BuiltInFrontFacing = 17,
506 BuiltInSampleId = 18,
507 BuiltInSamplePosition = 19,
508 BuiltInSampleMask = 20,
509 BuiltInFragDepth = 22,
510 BuiltInHelperInvocation = 23,
511 BuiltInNumWorkgroups = 24,
512 BuiltInWorkgroupSize = 25,
513 BuiltInWorkgroupId = 26,
514 BuiltInLocalInvocationId = 27,
515 BuiltInGlobalInvocationId = 28,
516 BuiltInLocalInvocationIndex = 29,
517 BuiltInWorkDim = 30,
518 BuiltInGlobalSize = 31,
519 BuiltInEnqueuedWorkgroupSize = 32,
520 BuiltInGlobalOffset = 33,
521 BuiltInGlobalLinearId = 34,
522 BuiltInSubgroupSize = 36,
523 BuiltInSubgroupMaxSize = 37,
524 BuiltInNumSubgroups = 38,
525 BuiltInNumEnqueuedSubgroups = 39,
526 BuiltInSubgroupId = 40,
527 BuiltInSubgroupLocalInvocationId = 41,
528 BuiltInVertexIndex = 42,
529 BuiltInInstanceIndex = 43,
530 BuiltInSubgroupEqMask = 4416,
531 BuiltInSubgroupEqMaskKHR = 4416,
532 BuiltInSubgroupGeMask = 4417,
533 BuiltInSubgroupGeMaskKHR = 4417,
534 BuiltInSubgroupGtMask = 4418,
535 BuiltInSubgroupGtMaskKHR = 4418,
536 BuiltInSubgroupLeMask = 4419,
537 BuiltInSubgroupLeMaskKHR = 4419,
538 BuiltInSubgroupLtMask = 4420,
539 BuiltInSubgroupLtMaskKHR = 4420,
540 BuiltInBaseVertex = 4424,
541 BuiltInBaseInstance = 4425,
542 BuiltInDrawIndex = 4426,
543 BuiltInDeviceIndex = 4438,
544 BuiltInViewIndex = 4440,
545 BuiltInBaryCoordNoPerspAMD = 4992,
546 BuiltInBaryCoordNoPerspCentroidAMD = 4993,
547 BuiltInBaryCoordNoPerspSampleAMD = 4994,
548 BuiltInBaryCoordSmoothAMD = 4995,
549 BuiltInBaryCoordSmoothCentroidAMD = 4996,
550 BuiltInBaryCoordSmoothSampleAMD = 4997,
551 BuiltInBaryCoordPullModelAMD = 4998,
552 BuiltInFragStencilRefEXT = 5014,
553 BuiltInViewportMaskNV = 5253,
554 BuiltInSecondaryPositionNV = 5257,
555 BuiltInSecondaryViewportMaskNV = 5258,
556 BuiltInPositionPerViewNV = 5261,
557 BuiltInViewportMaskPerViewNV = 5262,
558 BuiltInFullyCoveredEXT = 5264,
559 BuiltInTaskCountNV = 5274,
560 BuiltInPrimitiveCountNV = 5275,
561 BuiltInPrimitiveIndicesNV = 5276,
562 BuiltInClipDistancePerViewNV = 5277,
563 BuiltInCullDistancePerViewNV = 5278,
564 BuiltInLayerPerViewNV = 5279,
565 BuiltInMeshViewCountNV = 5280,
566 BuiltInMeshViewIndicesNV = 5281,
567 BuiltInBaryCoordNV = 5286,
568 BuiltInBaryCoordNoPerspNV = 5287,
569 BuiltInFragSizeEXT = 5292,
570 BuiltInFragmentSizeNV = 5292,
571 BuiltInFragInvocationCountEXT = 5293,
572 BuiltInInvocationsPerPixelNV = 5293,
573 BuiltInLaunchIdKHR = 5319,
574 BuiltInLaunchIdNV = 5319,
575 BuiltInLaunchSizeKHR = 5320,
576 BuiltInLaunchSizeNV = 5320,
577 BuiltInWorldRayOriginKHR = 5321,
578 BuiltInWorldRayOriginNV = 5321,
579 BuiltInWorldRayDirectionKHR = 5322,
580 BuiltInWorldRayDirectionNV = 5322,
581 BuiltInObjectRayOriginKHR = 5323,
582 BuiltInObjectRayOriginNV = 5323,
583 BuiltInObjectRayDirectionKHR = 5324,
584 BuiltInObjectRayDirectionNV = 5324,
585 BuiltInRayTminKHR = 5325,
586 BuiltInRayTminNV = 5325,
587 BuiltInRayTmaxKHR = 5326,
588 BuiltInRayTmaxNV = 5326,
589 BuiltInInstanceCustomIndexKHR = 5327,
590 BuiltInInstanceCustomIndexNV = 5327,
591 BuiltInObjectToWorldKHR = 5330,
592 BuiltInObjectToWorldNV = 5330,
593 BuiltInWorldToObjectKHR = 5331,
594 BuiltInWorldToObjectNV = 5331,
595 BuiltInHitTKHR = 5332,
596 BuiltInHitTNV = 5332,
597 BuiltInHitKindKHR = 5333,
598 BuiltInHitKindNV = 5333,
599 BuiltInIncomingRayFlagsKHR = 5351,
600 BuiltInIncomingRayFlagsNV = 5351,
601 BuiltInRayGeometryIndexKHR = 5352,
602 BuiltInWarpsPerSMNV = 5374,
603 BuiltInSMCountNV = 5375,
604 BuiltInWarpIDNV = 5376,
605 BuiltInSMIDNV = 5377,
606 BuiltInMax = 0x7fffffff,
607 };
608
609 enum SelectionControlShift {
610 SelectionControlFlattenShift = 0,
611 SelectionControlDontFlattenShift = 1,
612 SelectionControlMax = 0x7fffffff,
613 };
614
615 enum SelectionControlMask {
616 SelectionControlMaskNone = 0,
617 SelectionControlFlattenMask = 0x00000001,
618 SelectionControlDontFlattenMask = 0x00000002,
619 };
620
621 enum LoopControlShift {
622 LoopControlUnrollShift = 0,
623 LoopControlDontUnrollShift = 1,
624 LoopControlDependencyInfiniteShift = 2,
625 LoopControlDependencyLengthShift = 3,
626 LoopControlMinIterationsShift = 4,
627 LoopControlMaxIterationsShift = 5,
628 LoopControlIterationMultipleShift = 6,
629 LoopControlPeelCountShift = 7,
630 LoopControlPartialCountShift = 8,
631 LoopControlMax = 0x7fffffff,
632 };
633
634 enum LoopControlMask {
635 LoopControlMaskNone = 0,
636 LoopControlUnrollMask = 0x00000001,
637 LoopControlDontUnrollMask = 0x00000002,
638 LoopControlDependencyInfiniteMask = 0x00000004,
639 LoopControlDependencyLengthMask = 0x00000008,
640 LoopControlMinIterationsMask = 0x00000010,
641 LoopControlMaxIterationsMask = 0x00000020,
642 LoopControlIterationMultipleMask = 0x00000040,
643 LoopControlPeelCountMask = 0x00000080,
644 LoopControlPartialCountMask = 0x00000100,
645 };
646
647 enum FunctionControlShift {
648 FunctionControlInlineShift = 0,
649 FunctionControlDontInlineShift = 1,
650 FunctionControlPureShift = 2,
651 FunctionControlConstShift = 3,
652 FunctionControlMax = 0x7fffffff,
653 };
654
655 enum FunctionControlMask {
656 FunctionControlMaskNone = 0,
657 FunctionControlInlineMask = 0x00000001,
658 FunctionControlDontInlineMask = 0x00000002,
659 FunctionControlPureMask = 0x00000004,
660 FunctionControlConstMask = 0x00000008,
661 };
662
663 enum MemorySemanticsShift {
664 MemorySemanticsAcquireShift = 1,
665 MemorySemanticsReleaseShift = 2,
666 MemorySemanticsAcquireReleaseShift = 3,
667 MemorySemanticsSequentiallyConsistentShift = 4,
668 MemorySemanticsUniformMemoryShift = 6,
669 MemorySemanticsSubgroupMemoryShift = 7,
670 MemorySemanticsWorkgroupMemoryShift = 8,
671 MemorySemanticsCrossWorkgroupMemoryShift = 9,
672 MemorySemanticsAtomicCounterMemoryShift = 10,
673 MemorySemanticsImageMemoryShift = 11,
674 MemorySemanticsOutputMemoryShift = 12,
675 MemorySemanticsOutputMemoryKHRShift = 12,
676 MemorySemanticsMakeAvailableShift = 13,
677 MemorySemanticsMakeAvailableKHRShift = 13,
678 MemorySemanticsMakeVisibleShift = 14,
679 MemorySemanticsMakeVisibleKHRShift = 14,
680 MemorySemanticsVolatileShift = 15,
681 MemorySemanticsMax = 0x7fffffff,
682 };
683
684 enum MemorySemanticsMask {
685 MemorySemanticsMaskNone = 0,
686 MemorySemanticsAcquireMask = 0x00000002,
687 MemorySemanticsReleaseMask = 0x00000004,
688 MemorySemanticsAcquireReleaseMask = 0x00000008,
689 MemorySemanticsSequentiallyConsistentMask = 0x00000010,
690 MemorySemanticsUniformMemoryMask = 0x00000040,
691 MemorySemanticsSubgroupMemoryMask = 0x00000080,
692 MemorySemanticsWorkgroupMemoryMask = 0x00000100,
693 MemorySemanticsCrossWorkgroupMemoryMask = 0x00000200,
694 MemorySemanticsAtomicCounterMemoryMask = 0x00000400,
695 MemorySemanticsImageMemoryMask = 0x00000800,
696 MemorySemanticsOutputMemoryMask = 0x00001000,
697 MemorySemanticsOutputMemoryKHRMask = 0x00001000,
698 MemorySemanticsMakeAvailableMask = 0x00002000,
699 MemorySemanticsMakeAvailableKHRMask = 0x00002000,
700 MemorySemanticsMakeVisibleMask = 0x00004000,
701 MemorySemanticsMakeVisibleKHRMask = 0x00004000,
702 MemorySemanticsVolatileMask = 0x00008000,
703 };
704
705 enum MemoryAccessShift {
706 MemoryAccessVolatileShift = 0,
707 MemoryAccessAlignedShift = 1,
708 MemoryAccessNontemporalShift = 2,
709 MemoryAccessMakePointerAvailableShift = 3,
710 MemoryAccessMakePointerAvailableKHRShift = 3,
711 MemoryAccessMakePointerVisibleShift = 4,
712 MemoryAccessMakePointerVisibleKHRShift = 4,
713 MemoryAccessNonPrivatePointerShift = 5,
714 MemoryAccessNonPrivatePointerKHRShift = 5,
715 MemoryAccessMax = 0x7fffffff,
716 };
717
718 enum MemoryAccessMask {
719 MemoryAccessMaskNone = 0,
720 MemoryAccessVolatileMask = 0x00000001,
721 MemoryAccessAlignedMask = 0x00000002,
722 MemoryAccessNontemporalMask = 0x00000004,
723 MemoryAccessMakePointerAvailableMask = 0x00000008,
724 MemoryAccessMakePointerAvailableKHRMask = 0x00000008,
725 MemoryAccessMakePointerVisibleMask = 0x00000010,
726 MemoryAccessMakePointerVisibleKHRMask = 0x00000010,
727 MemoryAccessNonPrivatePointerMask = 0x00000020,
728 MemoryAccessNonPrivatePointerKHRMask = 0x00000020,
729 };
730
731 enum Scope {
732 ScopeCrossDevice = 0,
733 ScopeDevice = 1,
734 ScopeWorkgroup = 2,
735 ScopeSubgroup = 3,
736 ScopeInvocation = 4,
737 ScopeQueueFamily = 5,
738 ScopeQueueFamilyKHR = 5,
739 ScopeShaderCallKHR = 6,
740 ScopeMax = 0x7fffffff,
741 };
742
743 enum GroupOperation {
744 GroupOperationReduce = 0,
745 GroupOperationInclusiveScan = 1,
746 GroupOperationExclusiveScan = 2,
747 GroupOperationClusteredReduce = 3,
748 GroupOperationPartitionedReduceNV = 6,
749 GroupOperationPartitionedInclusiveScanNV = 7,
750 GroupOperationPartitionedExclusiveScanNV = 8,
751 GroupOperationMax = 0x7fffffff,
752 };
753
754 enum KernelEnqueueFlags {
755 KernelEnqueueFlagsNoWait = 0,
756 KernelEnqueueFlagsWaitKernel = 1,
757 KernelEnqueueFlagsWaitWorkGroup = 2,
758 KernelEnqueueFlagsMax = 0x7fffffff,
759 };
760
761 enum KernelProfilingInfoShift {
762 KernelProfilingInfoCmdExecTimeShift = 0,
763 KernelProfilingInfoMax = 0x7fffffff,
764 };
765
766 enum KernelProfilingInfoMask {
767 KernelProfilingInfoMaskNone = 0,
768 KernelProfilingInfoCmdExecTimeMask = 0x00000001,
769 };
770
771 enum Capability {
772 CapabilityMatrix = 0,
773 CapabilityShader = 1,
774 CapabilityGeometry = 2,
775 CapabilityTessellation = 3,
776 CapabilityAddresses = 4,
777 CapabilityLinkage = 5,
778 CapabilityKernel = 6,
779 CapabilityVector16 = 7,
780 CapabilityFloat16Buffer = 8,
781 CapabilityFloat16 = 9,
782 CapabilityFloat64 = 10,
783 CapabilityInt64 = 11,
784 CapabilityInt64Atomics = 12,
785 CapabilityImageBasic = 13,
786 CapabilityImageReadWrite = 14,
787 CapabilityImageMipmap = 15,
788 CapabilityPipes = 17,
789 CapabilityGroups = 18,
790 CapabilityDeviceEnqueue = 19,
791 CapabilityLiteralSampler = 20,
792 CapabilityAtomicStorage = 21,
793 CapabilityInt16 = 22,
794 CapabilityTessellationPointSize = 23,
795 CapabilityGeometryPointSize = 24,
796 CapabilityImageGatherExtended = 25,
797 CapabilityStorageImageMultisample = 27,
798 CapabilityUniformBufferArrayDynamicIndexing = 28,
799 CapabilitySampledImageArrayDynamicIndexing = 29,
800 CapabilityStorageBufferArrayDynamicIndexing = 30,
801 CapabilityStorageImageArrayDynamicIndexing = 31,
802 CapabilityClipDistance = 32,
803 CapabilityCullDistance = 33,
804 CapabilityImageCubeArray = 34,
805 CapabilitySampleRateShading = 35,
806 CapabilityImageRect = 36,
807 CapabilitySampledRect = 37,
808 CapabilityGenericPointer = 38,
809 CapabilityInt8 = 39,
810 CapabilityInputAttachment = 40,
811 CapabilitySparseResidency = 41,
812 CapabilityMinLod = 42,
813 CapabilitySampled1D = 43,
814 CapabilityImage1D = 44,
815 CapabilitySampledCubeArray = 45,
816 CapabilitySampledBuffer = 46,
817 CapabilityImageBuffer = 47,
818 CapabilityImageMSArray = 48,
819 CapabilityStorageImageExtendedFormats = 49,
820 CapabilityImageQuery = 50,
821 CapabilityDerivativeControl = 51,
822 CapabilityInterpolationFunction = 52,
823 CapabilityTransformFeedback = 53,
824 CapabilityGeometryStreams = 54,
825 CapabilityStorageImageReadWithoutFormat = 55,
826 CapabilityStorageImageWriteWithoutFormat = 56,
827 CapabilityMultiViewport = 57,
828 CapabilitySubgroupDispatch = 58,
829 CapabilityNamedBarrier = 59,
830 CapabilityPipeStorage = 60,
831 CapabilityGroupNonUniform = 61,
832 CapabilityGroupNonUniformVote = 62,
833 CapabilityGroupNonUniformArithmetic = 63,
834 CapabilityGroupNonUniformBallot = 64,
835 CapabilityGroupNonUniformShuffle = 65,
836 CapabilityGroupNonUniformShuffleRelative = 66,
837 CapabilityGroupNonUniformClustered = 67,
838 CapabilityGroupNonUniformQuad = 68,
839 CapabilityShaderLayer = 69,
840 CapabilityShaderViewportIndex = 70,
841 CapabilitySubgroupBallotKHR = 4423,
842 CapabilityDrawParameters = 4427,
843 CapabilitySubgroupVoteKHR = 4431,
844 CapabilityStorageBuffer16BitAccess = 4433,
845 CapabilityStorageUniformBufferBlock16 = 4433,
846 CapabilityStorageUniform16 = 4434,
847 CapabilityUniformAndStorageBuffer16BitAccess = 4434,
848 CapabilityStoragePushConstant16 = 4435,
849 CapabilityStorageInputOutput16 = 4436,
850 CapabilityDeviceGroup = 4437,
851 CapabilityMultiView = 4439,
852 CapabilityVariablePointersStorageBuffer = 4441,
853 CapabilityVariablePointers = 4442,
854 CapabilityAtomicStorageOps = 4445,
855 CapabilitySampleMaskPostDepthCoverage = 4447,
856 CapabilityStorageBuffer8BitAccess = 4448,
857 CapabilityUniformAndStorageBuffer8BitAccess = 4449,
858 CapabilityStoragePushConstant8 = 4450,
859 CapabilityDenormPreserve = 4464,
860 CapabilityDenormFlushToZero = 4465,
861 CapabilitySignedZeroInfNanPreserve = 4466,
862 CapabilityRoundingModeRTE = 4467,
863 CapabilityRoundingModeRTZ = 4468,
864 CapabilityRayQueryProvisionalKHR = 4471,
865 CapabilityRayTraversalPrimitiveCullingProvisionalKHR = 4478,
866 CapabilityFloat16ImageAMD = 5008,
867 CapabilityImageGatherBiasLodAMD = 5009,
868 CapabilityFragmentMaskAMD = 5010,
869 CapabilityStencilExportEXT = 5013,
870 CapabilityImageReadWriteLodAMD = 5015,
871 CapabilityShaderClockKHR = 5055,
872 CapabilitySampleMaskOverrideCoverageNV = 5249,
873 CapabilityGeometryShaderPassthroughNV = 5251,
874 CapabilityShaderViewportIndexLayerEXT = 5254,
875 CapabilityShaderViewportIndexLayerNV = 5254,
876 CapabilityShaderViewportMaskNV = 5255,
877 CapabilityShaderStereoViewNV = 5259,
878 CapabilityPerViewAttributesNV = 5260,
879 CapabilityFragmentFullyCoveredEXT = 5265,
880 CapabilityMeshShadingNV = 5266,
881 CapabilityImageFootprintNV = 5282,
882 CapabilityFragmentBarycentricNV = 5284,
883 CapabilityComputeDerivativeGroupQuadsNV = 5288,
884 CapabilityFragmentDensityEXT = 5291,
885 CapabilityShadingRateNV = 5291,
886 CapabilityGroupNonUniformPartitionedNV = 5297,
887 CapabilityShaderNonUniform = 5301,
888 CapabilityShaderNonUniformEXT = 5301,
889 CapabilityRuntimeDescriptorArray = 5302,
890 CapabilityRuntimeDescriptorArrayEXT = 5302,
891 CapabilityInputAttachmentArrayDynamicIndexing = 5303,
892 CapabilityInputAttachmentArrayDynamicIndexingEXT = 5303,
893 CapabilityUniformTexelBufferArrayDynamicIndexing = 5304,
894 CapabilityUniformTexelBufferArrayDynamicIndexingEXT = 5304,
895 CapabilityStorageTexelBufferArrayDynamicIndexing = 5305,
896 CapabilityStorageTexelBufferArrayDynamicIndexingEXT = 5305,
897 CapabilityUniformBufferArrayNonUniformIndexing = 5306,
898 CapabilityUniformBufferArrayNonUniformIndexingEXT = 5306,
899 CapabilitySampledImageArrayNonUniformIndexing = 5307,
900 CapabilitySampledImageArrayNonUniformIndexingEXT = 5307,
901 CapabilityStorageBufferArrayNonUniformIndexing = 5308,
902 CapabilityStorageBufferArrayNonUniformIndexingEXT = 5308,
903 CapabilityStorageImageArrayNonUniformIndexing = 5309,
904 CapabilityStorageImageArrayNonUniformIndexingEXT = 5309,
905 CapabilityInputAttachmentArrayNonUniformIndexing = 5310,
906 CapabilityInputAttachmentArrayNonUniformIndexingEXT = 5310,
907 CapabilityUniformTexelBufferArrayNonUniformIndexing = 5311,
908 CapabilityUniformTexelBufferArrayNonUniformIndexingEXT = 5311,
909 CapabilityStorageTexelBufferArrayNonUniformIndexing = 5312,
910 CapabilityStorageTexelBufferArrayNonUniformIndexingEXT = 5312,
911 CapabilityRayTracingNV = 5340,
912 CapabilityVulkanMemoryModel = 5345,
913 CapabilityVulkanMemoryModelKHR = 5345,
914 CapabilityVulkanMemoryModelDeviceScope = 5346,
915 CapabilityVulkanMemoryModelDeviceScopeKHR = 5346,
916 CapabilityPhysicalStorageBufferAddresses = 5347,
917 CapabilityPhysicalStorageBufferAddressesEXT = 5347,
918 CapabilityComputeDerivativeGroupLinearNV = 5350,
919 CapabilityRayTracingProvisionalKHR = 5353,
920 CapabilityCooperativeMatrixNV = 5357,
921 CapabilityFragmentShaderSampleInterlockEXT = 5363,
922 CapabilityFragmentShaderShadingRateInterlockEXT = 5372,
923 CapabilityShaderSMBuiltinsNV = 5373,
924 CapabilityFragmentShaderPixelInterlockEXT = 5378,
925 CapabilityDemoteToHelperInvocationEXT = 5379,
926 CapabilitySubgroupShuffleINTEL = 5568,
927 CapabilitySubgroupBufferBlockIOINTEL = 5569,
928 CapabilitySubgroupImageBlockIOINTEL = 5570,
929 CapabilitySubgroupImageMediaBlockIOINTEL = 5579,
930 CapabilityIntegerFunctions2INTEL = 5584,
931 CapabilitySubgroupAvcMotionEstimationINTEL = 5696,
932 CapabilitySubgroupAvcMotionEstimationIntraINTEL = 5697,
933 CapabilitySubgroupAvcMotionEstimationChromaINTEL = 5698,
934 CapabilityMax = 0x7fffffff,
935 };
936
937 enum RayFlagsShift {
938 RayFlagsOpaqueKHRShift = 0,
939 RayFlagsNoOpaqueKHRShift = 1,
940 RayFlagsTerminateOnFirstHitKHRShift = 2,
941 RayFlagsSkipClosestHitShaderKHRShift = 3,
942 RayFlagsCullBackFacingTrianglesKHRShift = 4,
943 RayFlagsCullFrontFacingTrianglesKHRShift = 5,
944 RayFlagsCullOpaqueKHRShift = 6,
945 RayFlagsCullNoOpaqueKHRShift = 7,
946 RayFlagsSkipTrianglesKHRShift = 8,
947 RayFlagsSkipAABBsKHRShift = 9,
948 RayFlagsMax = 0x7fffffff,
949 };
950
951 enum RayFlagsMask {
952 RayFlagsMaskNone = 0,
953 RayFlagsOpaqueKHRMask = 0x00000001,
954 RayFlagsNoOpaqueKHRMask = 0x00000002,
955 RayFlagsTerminateOnFirstHitKHRMask = 0x00000004,
956 RayFlagsSkipClosestHitShaderKHRMask = 0x00000008,
957 RayFlagsCullBackFacingTrianglesKHRMask = 0x00000010,
958 RayFlagsCullFrontFacingTrianglesKHRMask = 0x00000020,
959 RayFlagsCullOpaqueKHRMask = 0x00000040,
960 RayFlagsCullNoOpaqueKHRMask = 0x00000080,
961 RayFlagsSkipTrianglesKHRMask = 0x00000100,
962 RayFlagsSkipAABBsKHRMask = 0x00000200,
963 };
964
965 enum RayQueryIntersection {
966 RayQueryIntersectionRayQueryCandidateIntersectionKHR = 0,
967 RayQueryIntersectionRayQueryCommittedIntersectionKHR = 1,
968 RayQueryIntersectionMax = 0x7fffffff,
969 };
970
971 enum RayQueryCommittedIntersectionType {
972 RayQueryCommittedIntersectionTypeRayQueryCommittedIntersectionNoneKHR = 0,
973 RayQueryCommittedIntersectionTypeRayQueryCommittedIntersectionTriangleKHR = 1,
974 RayQueryCommittedIntersectionTypeRayQueryCommittedIntersectionGeneratedKHR = 2,
975 RayQueryCommittedIntersectionTypeMax = 0x7fffffff,
976 };
977
978 enum RayQueryCandidateIntersectionType {
979 RayQueryCandidateIntersectionTypeRayQueryCandidateIntersectionTriangleKHR = 0,
980 RayQueryCandidateIntersectionTypeRayQueryCandidateIntersectionAABBKHR = 1,
981 RayQueryCandidateIntersectionTypeMax = 0x7fffffff,
982 };
983
984 enum Op {
985 OpNop = 0,
986 OpUndef = 1,
987 OpSourceContinued = 2,
988 OpSource = 3,
989 OpSourceExtension = 4,
990 OpName = 5,
991 OpMemberName = 6,
992 OpString = 7,
993 OpLine = 8,
994 OpExtension = 10,
995 OpExtInstImport = 11,
996 OpExtInst = 12,
997 OpMemoryModel = 14,
998 OpEntryPoint = 15,
999 OpExecutionMode = 16,
1000 OpCapability = 17,
1001 OpTypeVoid = 19,
1002 OpTypeBool = 20,
1003 OpTypeInt = 21,
1004 OpTypeFloat = 22,
1005 OpTypeVector = 23,
1006 OpTypeMatrix = 24,
1007 OpTypeImage = 25,
1008 OpTypeSampler = 26,
1009 OpTypeSampledImage = 27,
1010 OpTypeArray = 28,
1011 OpTypeRuntimeArray = 29,
1012 OpTypeStruct = 30,
1013 OpTypeOpaque = 31,
1014 OpTypePointer = 32,
1015 OpTypeFunction = 33,
1016 OpTypeEvent = 34,
1017 OpTypeDeviceEvent = 35,
1018 OpTypeReserveId = 36,
1019 OpTypeQueue = 37,
1020 OpTypePipe = 38,
1021 OpTypeForwardPointer = 39,
1022 OpConstantTrue = 41,
1023 OpConstantFalse = 42,
1024 OpConstant = 43,
1025 OpConstantComposite = 44,
1026 OpConstantSampler = 45,
1027 OpConstantNull = 46,
1028 OpSpecConstantTrue = 48,
1029 OpSpecConstantFalse = 49,
1030 OpSpecConstant = 50,
1031 OpSpecConstantComposite = 51,
1032 OpSpecConstantOp = 52,
1033 OpFunction = 54,
1034 OpFunctionParameter = 55,
1035 OpFunctionEnd = 56,
1036 OpFunctionCall = 57,
1037 OpVariable = 59,
1038 OpImageTexelPointer = 60,
1039 OpLoad = 61,
1040 OpStore = 62,
1041 OpCopyMemory = 63,
1042 OpCopyMemorySized = 64,
1043 OpAccessChain = 65,
1044 OpInBoundsAccessChain = 66,
1045 OpPtrAccessChain = 67,
1046 OpArrayLength = 68,
1047 OpGenericPtrMemSemantics = 69,
1048 OpInBoundsPtrAccessChain = 70,
1049 OpDecorate = 71,
1050 OpMemberDecorate = 72,
1051 OpDecorationGroup = 73,
1052 OpGroupDecorate = 74,
1053 OpGroupMemberDecorate = 75,
1054 OpVectorExtractDynamic = 77,
1055 OpVectorInsertDynamic = 78,
1056 OpVectorShuffle = 79,
1057 OpCompositeConstruct = 80,
1058 OpCompositeExtract = 81,
1059 OpCompositeInsert = 82,
1060 OpCopyObject = 83,
1061 OpTranspose = 84,
1062 OpSampledImage = 86,
1063 OpImageSampleImplicitLod = 87,
1064 OpImageSampleExplicitLod = 88,
1065 OpImageSampleDrefImplicitLod = 89,
1066 OpImageSampleDrefExplicitLod = 90,
1067 OpImageSampleProjImplicitLod = 91,
1068 OpImageSampleProjExplicitLod = 92,
1069 OpImageSampleProjDrefImplicitLod = 93,
1070 OpImageSampleProjDrefExplicitLod = 94,
1071 OpImageFetch = 95,
1072 OpImageGather = 96,
1073 OpImageDrefGather = 97,
1074 OpImageRead = 98,
1075 OpImageWrite = 99,
1076 OpImage = 100,
1077 OpImageQueryFormat = 101,
1078 OpImageQueryOrder = 102,
1079 OpImageQuerySizeLod = 103,
1080 OpImageQuerySize = 104,
1081 OpImageQueryLod = 105,
1082 OpImageQueryLevels = 106,
1083 OpImageQuerySamples = 107,
1084 OpConvertFToU = 109,
1085 OpConvertFToS = 110,
1086 OpConvertSToF = 111,
1087 OpConvertUToF = 112,
1088 OpUConvert = 113,
1089 OpSConvert = 114,
1090 OpFConvert = 115,
1091 OpQuantizeToF16 = 116,
1092 OpConvertPtrToU = 117,
1093 OpSatConvertSToU = 118,
1094 OpSatConvertUToS = 119,
1095 OpConvertUToPtr = 120,
1096 OpPtrCastToGeneric = 121,
1097 OpGenericCastToPtr = 122,
1098 OpGenericCastToPtrExplicit = 123,
1099 OpBitcast = 124,
1100 OpSNegate = 126,
1101 OpFNegate = 127,
1102 OpIAdd = 128,
1103 OpFAdd = 129,
1104 OpISub = 130,
1105 OpFSub = 131,
1106 OpIMul = 132,
1107 OpFMul = 133,
1108 OpUDiv = 134,
1109 OpSDiv = 135,
1110 OpFDiv = 136,
1111 OpUMod = 137,
1112 OpSRem = 138,
1113 OpSMod = 139,
1114 OpFRem = 140,
1115 OpFMod = 141,
1116 OpVectorTimesScalar = 142,
1117 OpMatrixTimesScalar = 143,
1118 OpVectorTimesMatrix = 144,
1119 OpMatrixTimesVector = 145,
1120 OpMatrixTimesMatrix = 146,
1121 OpOuterProduct = 147,
1122 OpDot = 148,
1123 OpIAddCarry = 149,
1124 OpISubBorrow = 150,
1125 OpUMulExtended = 151,
1126 OpSMulExtended = 152,
1127 OpAny = 154,
1128 OpAll = 155,
1129 OpIsNan = 156,
1130 OpIsInf = 157,
1131 OpIsFinite = 158,
1132 OpIsNormal = 159,
1133 OpSignBitSet = 160,
1134 OpLessOrGreater = 161,
1135 OpOrdered = 162,
1136 OpUnordered = 163,
1137 OpLogicalEqual = 164,
1138 OpLogicalNotEqual = 165,
1139 OpLogicalOr = 166,
1140 OpLogicalAnd = 167,
1141 OpLogicalNot = 168,
1142 OpSelect = 169,
1143 OpIEqual = 170,
1144 OpINotEqual = 171,
1145 OpUGreaterThan = 172,
1146 OpSGreaterThan = 173,
1147 OpUGreaterThanEqual = 174,
1148 OpSGreaterThanEqual = 175,
1149 OpULessThan = 176,
1150 OpSLessThan = 177,
1151 OpULessThanEqual = 178,
1152 OpSLessThanEqual = 179,
1153 OpFOrdEqual = 180,
1154 OpFUnordEqual = 181,
1155 OpFOrdNotEqual = 182,
1156 OpFUnordNotEqual = 183,
1157 OpFOrdLessThan = 184,
1158 OpFUnordLessThan = 185,
1159 OpFOrdGreaterThan = 186,
1160 OpFUnordGreaterThan = 187,
1161 OpFOrdLessThanEqual = 188,
1162 OpFUnordLessThanEqual = 189,
1163 OpFOrdGreaterThanEqual = 190,
1164 OpFUnordGreaterThanEqual = 191,
1165 OpShiftRightLogical = 194,
1166 OpShiftRightArithmetic = 195,
1167 OpShiftLeftLogical = 196,
1168 OpBitwiseOr = 197,
1169 OpBitwiseXor = 198,
1170 OpBitwiseAnd = 199,
1171 OpNot = 200,
1172 OpBitFieldInsert = 201,
1173 OpBitFieldSExtract = 202,
1174 OpBitFieldUExtract = 203,
1175 OpBitReverse = 204,
1176 OpBitCount = 205,
1177 OpDPdx = 207,
1178 OpDPdy = 208,
1179 OpFwidth = 209,
1180 OpDPdxFine = 210,
1181 OpDPdyFine = 211,
1182 OpFwidthFine = 212,
1183 OpDPdxCoarse = 213,
1184 OpDPdyCoarse = 214,
1185 OpFwidthCoarse = 215,
1186 OpEmitVertex = 218,
1187 OpEndPrimitive = 219,
1188 OpEmitStreamVertex = 220,
1189 OpEndStreamPrimitive = 221,
1190 OpControlBarrier = 224,
1191 OpMemoryBarrier = 225,
1192 OpAtomicLoad = 227,
1193 OpAtomicStore = 228,
1194 OpAtomicExchange = 229,
1195 OpAtomicCompareExchange = 230,
1196 OpAtomicCompareExchangeWeak = 231,
1197 OpAtomicIIncrement = 232,
1198 OpAtomicIDecrement = 233,
1199 OpAtomicIAdd = 234,
1200 OpAtomicISub = 235,
1201 OpAtomicSMin = 236,
1202 OpAtomicUMin = 237,
1203 OpAtomicSMax = 238,
1204 OpAtomicUMax = 239,
1205 OpAtomicAnd = 240,
1206 OpAtomicOr = 241,
1207 OpAtomicXor = 242,
1208 OpPhi = 245,
1209 OpLoopMerge = 246,
1210 OpSelectionMerge = 247,
1211 OpLabel = 248,
1212 OpBranch = 249,
1213 OpBranchConditional = 250,
1214 OpSwitch = 251,
1215 OpKill = 252,
1216 OpReturn = 253,
1217 OpReturnValue = 254,
1218 OpUnreachable = 255,
1219 OpLifetimeStart = 256,
1220 OpLifetimeStop = 257,
1221 OpGroupAsyncCopy = 259,
1222 OpGroupWaitEvents = 260,
1223 OpGroupAll = 261,
1224 OpGroupAny = 262,
1225 OpGroupBroadcast = 263,
1226 OpGroupIAdd = 264,
1227 OpGroupFAdd = 265,
1228 OpGroupFMin = 266,
1229 OpGroupUMin = 267,
1230 OpGroupSMin = 268,
1231 OpGroupFMax = 269,
1232 OpGroupUMax = 270,
1233 OpGroupSMax = 271,
1234 OpReadPipe = 274,
1235 OpWritePipe = 275,
1236 OpReservedReadPipe = 276,
1237 OpReservedWritePipe = 277,
1238 OpReserveReadPipePackets = 278,
1239 OpReserveWritePipePackets = 279,
1240 OpCommitReadPipe = 280,
1241 OpCommitWritePipe = 281,
1242 OpIsValidReserveId = 282,
1243 OpGetNumPipePackets = 283,
1244 OpGetMaxPipePackets = 284,
1245 OpGroupReserveReadPipePackets = 285,
1246 OpGroupReserveWritePipePackets = 286,
1247 OpGroupCommitReadPipe = 287,
1248 OpGroupCommitWritePipe = 288,
1249 OpEnqueueMarker = 291,
1250 OpEnqueueKernel = 292,
1251 OpGetKernelNDrangeSubGroupCount = 293,
1252 OpGetKernelNDrangeMaxSubGroupSize = 294,
1253 OpGetKernelWorkGroupSize = 295,
1254 OpGetKernelPreferredWorkGroupSizeMultiple = 296,
1255 OpRetainEvent = 297,
1256 OpReleaseEvent = 298,
1257 OpCreateUserEvent = 299,
1258 OpIsValidEvent = 300,
1259 OpSetUserEventStatus = 301,
1260 OpCaptureEventProfilingInfo = 302,
1261 OpGetDefaultQueue = 303,
1262 OpBuildNDRange = 304,
1263 OpImageSparseSampleImplicitLod = 305,
1264 OpImageSparseSampleExplicitLod = 306,
1265 OpImageSparseSampleDrefImplicitLod = 307,
1266 OpImageSparseSampleDrefExplicitLod = 308,
1267 OpImageSparseSampleProjImplicitLod = 309,
1268 OpImageSparseSampleProjExplicitLod = 310,
1269 OpImageSparseSampleProjDrefImplicitLod = 311,
1270 OpImageSparseSampleProjDrefExplicitLod = 312,
1271 OpImageSparseFetch = 313,
1272 OpImageSparseGather = 314,
1273 OpImageSparseDrefGather = 315,
1274 OpImageSparseTexelsResident = 316,
1275 OpNoLine = 317,
1276 OpAtomicFlagTestAndSet = 318,
1277 OpAtomicFlagClear = 319,
1278 OpImageSparseRead = 320,
1279 OpSizeOf = 321,
1280 OpTypePipeStorage = 322,
1281 OpConstantPipeStorage = 323,
1282 OpCreatePipeFromPipeStorage = 324,
1283 OpGetKernelLocalSizeForSubgroupCount = 325,
1284 OpGetKernelMaxNumSubgroups = 326,
1285 OpTypeNamedBarrier = 327,
1286 OpNamedBarrierInitialize = 328,
1287 OpMemoryNamedBarrier = 329,
1288 OpModuleProcessed = 330,
1289 OpExecutionModeId = 331,
1290 OpDecorateId = 332,
1291 OpGroupNonUniformElect = 333,
1292 OpGroupNonUniformAll = 334,
1293 OpGroupNonUniformAny = 335,
1294 OpGroupNonUniformAllEqual = 336,
1295 OpGroupNonUniformBroadcast = 337,
1296 OpGroupNonUniformBroadcastFirst = 338,
1297 OpGroupNonUniformBallot = 339,
1298 OpGroupNonUniformInverseBallot = 340,
1299 OpGroupNonUniformBallotBitExtract = 341,
1300 OpGroupNonUniformBallotBitCount = 342,
1301 OpGroupNonUniformBallotFindLSB = 343,
1302 OpGroupNonUniformBallotFindMSB = 344,
1303 OpGroupNonUniformShuffle = 345,
1304 OpGroupNonUniformShuffleXor = 346,
1305 OpGroupNonUniformShuffleUp = 347,
1306 OpGroupNonUniformShuffleDown = 348,
1307 OpGroupNonUniformIAdd = 349,
1308 OpGroupNonUniformFAdd = 350,
1309 OpGroupNonUniformIMul = 351,
1310 OpGroupNonUniformFMul = 352,
1311 OpGroupNonUniformSMin = 353,
1312 OpGroupNonUniformUMin = 354,
1313 OpGroupNonUniformFMin = 355,
1314 OpGroupNonUniformSMax = 356,
1315 OpGroupNonUniformUMax = 357,
1316 OpGroupNonUniformFMax = 358,
1317 OpGroupNonUniformBitwiseAnd = 359,
1318 OpGroupNonUniformBitwiseOr = 360,
1319 OpGroupNonUniformBitwiseXor = 361,
1320 OpGroupNonUniformLogicalAnd = 362,
1321 OpGroupNonUniformLogicalOr = 363,
1322 OpGroupNonUniformLogicalXor = 364,
1323 OpGroupNonUniformQuadBroadcast = 365,
1324 OpGroupNonUniformQuadSwap = 366,
1325 OpCopyLogical = 400,
1326 OpPtrEqual = 401,
1327 OpPtrNotEqual = 402,
1328 OpPtrDiff = 403,
1329 OpSubgroupBallotKHR = 4421,
1330 OpSubgroupFirstInvocationKHR = 4422,
1331 OpSubgroupAllKHR = 4428,
1332 OpSubgroupAnyKHR = 4429,
1333 OpSubgroupAllEqualKHR = 4430,
1334 OpSubgroupReadInvocationKHR = 4432,
1335 OpTypeRayQueryProvisionalKHR = 4472,
1336 OpRayQueryInitializeKHR = 4473,
1337 OpRayQueryTerminateKHR = 4474,
1338 OpRayQueryGenerateIntersectionKHR = 4475,
1339 OpRayQueryConfirmIntersectionKHR = 4476,
1340 OpRayQueryProceedKHR = 4477,
1341 OpRayQueryGetIntersectionTypeKHR = 4479,
1342 OpGroupIAddNonUniformAMD = 5000,
1343 OpGroupFAddNonUniformAMD = 5001,
1344 OpGroupFMinNonUniformAMD = 5002,
1345 OpGroupUMinNonUniformAMD = 5003,
1346 OpGroupSMinNonUniformAMD = 5004,
1347 OpGroupFMaxNonUniformAMD = 5005,
1348 OpGroupUMaxNonUniformAMD = 5006,
1349 OpGroupSMaxNonUniformAMD = 5007,
1350 OpFragmentMaskFetchAMD = 5011,
1351 OpFragmentFetchAMD = 5012,
1352 OpReadClockKHR = 5056,
1353 OpImageSampleFootprintNV = 5283,
1354 OpGroupNonUniformPartitionNV = 5296,
1355 OpWritePackedPrimitiveIndices4x8NV = 5299,
1356 OpReportIntersectionKHR = 5334,
1357 OpReportIntersectionNV = 5334,
1358 OpIgnoreIntersectionKHR = 5335,
1359 OpIgnoreIntersectionNV = 5335,
1360 OpTerminateRayKHR = 5336,
1361 OpTerminateRayNV = 5336,
1362 OpTraceNV = 5337,
1363 OpTraceRayKHR = 5337,
1364 OpTypeAccelerationStructureKHR = 5341,
1365 OpTypeAccelerationStructureNV = 5341,
1366 OpExecuteCallableKHR = 5344,
1367 OpExecuteCallableNV = 5344,
1368 OpTypeCooperativeMatrixNV = 5358,
1369 OpCooperativeMatrixLoadNV = 5359,
1370 OpCooperativeMatrixStoreNV = 5360,
1371 OpCooperativeMatrixMulAddNV = 5361,
1372 OpCooperativeMatrixLengthNV = 5362,
1373 OpBeginInvocationInterlockEXT = 5364,
1374 OpEndInvocationInterlockEXT = 5365,
1375 OpDemoteToHelperInvocationEXT = 5380,
1376 OpIsHelperInvocationEXT = 5381,
1377 OpSubgroupShuffleINTEL = 5571,
1378 OpSubgroupShuffleDownINTEL = 5572,
1379 OpSubgroupShuffleUpINTEL = 5573,
1380 OpSubgroupShuffleXorINTEL = 5574,
1381 OpSubgroupBlockReadINTEL = 5575,
1382 OpSubgroupBlockWriteINTEL = 5576,
1383 OpSubgroupImageBlockReadINTEL = 5577,
1384 OpSubgroupImageBlockWriteINTEL = 5578,
1385 OpSubgroupImageMediaBlockReadINTEL = 5580,
1386 OpSubgroupImageMediaBlockWriteINTEL = 5581,
1387 OpUCountLeadingZerosINTEL = 5585,
1388 OpUCountTrailingZerosINTEL = 5586,
1389 OpAbsISubINTEL = 5587,
1390 OpAbsUSubINTEL = 5588,
1391 OpIAddSatINTEL = 5589,
1392 OpUAddSatINTEL = 5590,
1393 OpIAverageINTEL = 5591,
1394 OpUAverageINTEL = 5592,
1395 OpIAverageRoundedINTEL = 5593,
1396 OpUAverageRoundedINTEL = 5594,
1397 OpISubSatINTEL = 5595,
1398 OpUSubSatINTEL = 5596,
1399 OpIMul32x16INTEL = 5597,
1400 OpUMul32x16INTEL = 5598,
1401 OpDecorateString = 5632,
1402 OpDecorateStringGOOGLE = 5632,
1403 OpMemberDecorateString = 5633,
1404 OpMemberDecorateStringGOOGLE = 5633,
1405 OpVmeImageINTEL = 5699,
1406 OpTypeVmeImageINTEL = 5700,
1407 OpTypeAvcImePayloadINTEL = 5701,
1408 OpTypeAvcRefPayloadINTEL = 5702,
1409 OpTypeAvcSicPayloadINTEL = 5703,
1410 OpTypeAvcMcePayloadINTEL = 5704,
1411 OpTypeAvcMceResultINTEL = 5705,
1412 OpTypeAvcImeResultINTEL = 5706,
1413 OpTypeAvcImeResultSingleReferenceStreamoutINTEL = 5707,
1414 OpTypeAvcImeResultDualReferenceStreamoutINTEL = 5708,
1415 OpTypeAvcImeSingleReferenceStreaminINTEL = 5709,
1416 OpTypeAvcImeDualReferenceStreaminINTEL = 5710,
1417 OpTypeAvcRefResultINTEL = 5711,
1418 OpTypeAvcSicResultINTEL = 5712,
1419 OpSubgroupAvcMceGetDefaultInterBaseMultiReferencePenaltyINTEL = 5713,
1420 OpSubgroupAvcMceSetInterBaseMultiReferencePenaltyINTEL = 5714,
1421 OpSubgroupAvcMceGetDefaultInterShapePenaltyINTEL = 5715,
1422 OpSubgroupAvcMceSetInterShapePenaltyINTEL = 5716,
1423 OpSubgroupAvcMceGetDefaultInterDirectionPenaltyINTEL = 5717,
1424 OpSubgroupAvcMceSetInterDirectionPenaltyINTEL = 5718,
1425 OpSubgroupAvcMceGetDefaultIntraLumaShapePenaltyINTEL = 5719,
1426 OpSubgroupAvcMceGetDefaultInterMotionVectorCostTableINTEL = 5720,
1427 OpSubgroupAvcMceGetDefaultHighPenaltyCostTableINTEL = 5721,
1428 OpSubgroupAvcMceGetDefaultMediumPenaltyCostTableINTEL = 5722,
1429 OpSubgroupAvcMceGetDefaultLowPenaltyCostTableINTEL = 5723,
1430 OpSubgroupAvcMceSetMotionVectorCostFunctionINTEL = 5724,
1431 OpSubgroupAvcMceGetDefaultIntraLumaModePenaltyINTEL = 5725,
1432 OpSubgroupAvcMceGetDefaultNonDcLumaIntraPenaltyINTEL = 5726,
1433 OpSubgroupAvcMceGetDefaultIntraChromaModeBasePenaltyINTEL = 5727,
1434 OpSubgroupAvcMceSetAcOnlyHaarINTEL = 5728,
1435 OpSubgroupAvcMceSetSourceInterlacedFieldPolarityINTEL = 5729,
1436 OpSubgroupAvcMceSetSingleReferenceInterlacedFieldPolarityINTEL = 5730,
1437 OpSubgroupAvcMceSetDualReferenceInterlacedFieldPolaritiesINTEL = 5731,
1438 OpSubgroupAvcMceConvertToImePayloadINTEL = 5732,
1439 OpSubgroupAvcMceConvertToImeResultINTEL = 5733,
1440 OpSubgroupAvcMceConvertToRefPayloadINTEL = 5734,
1441 OpSubgroupAvcMceConvertToRefResultINTEL = 5735,
1442 OpSubgroupAvcMceConvertToSicPayloadINTEL = 5736,
1443 OpSubgroupAvcMceConvertToSicResultINTEL = 5737,
1444 OpSubgroupAvcMceGetMotionVectorsINTEL = 5738,
1445 OpSubgroupAvcMceGetInterDistortionsINTEL = 5739,
1446 OpSubgroupAvcMceGetBestInterDistortionsINTEL = 5740,
1447 OpSubgroupAvcMceGetInterMajorShapeINTEL = 5741,
1448 OpSubgroupAvcMceGetInterMinorShapeINTEL = 5742,
1449 OpSubgroupAvcMceGetInterDirectionsINTEL = 5743,
1450 OpSubgroupAvcMceGetInterMotionVectorCountINTEL = 5744,
1451 OpSubgroupAvcMceGetInterReferenceIdsINTEL = 5745,
1452 OpSubgroupAvcMceGetInterReferenceInterlacedFieldPolaritiesINTEL = 5746,
1453 OpSubgroupAvcImeInitializeINTEL = 5747,
1454 OpSubgroupAvcImeSetSingleReferenceINTEL = 5748,
1455 OpSubgroupAvcImeSetDualReferenceINTEL = 5749,
1456 OpSubgroupAvcImeRefWindowSizeINTEL = 5750,
1457 OpSubgroupAvcImeAdjustRefOffsetINTEL = 5751,
1458 OpSubgroupAvcImeConvertToMcePayloadINTEL = 5752,
1459 OpSubgroupAvcImeSetMaxMotionVectorCountINTEL = 5753,
1460 OpSubgroupAvcImeSetUnidirectionalMixDisableINTEL = 5754,
1461 OpSubgroupAvcImeSetEarlySearchTerminationThresholdINTEL = 5755,
1462 OpSubgroupAvcImeSetWeightedSadINTEL = 5756,
1463 OpSubgroupAvcImeEvaluateWithSingleReferenceINTEL = 5757,
1464 OpSubgroupAvcImeEvaluateWithDualReferenceINTEL = 5758,
1465 OpSubgroupAvcImeEvaluateWithSingleReferenceStreaminINTEL = 5759,
1466 OpSubgroupAvcImeEvaluateWithDualReferenceStreaminINTEL = 5760,
1467 OpSubgroupAvcImeEvaluateWithSingleReferenceStreamoutINTEL = 5761,
1468 OpSubgroupAvcImeEvaluateWithDualReferenceStreamoutINTEL = 5762,
1469 OpSubgroupAvcImeEvaluateWithSingleReferenceStreaminoutINTEL = 5763,
1470 OpSubgroupAvcImeEvaluateWithDualReferenceStreaminoutINTEL = 5764,
1471 OpSubgroupAvcImeConvertToMceResultINTEL = 5765,
1472 OpSubgroupAvcImeGetSingleReferenceStreaminINTEL = 5766,
1473 OpSubgroupAvcImeGetDualReferenceStreaminINTEL = 5767,
1474 OpSubgroupAvcImeStripSingleReferenceStreamoutINTEL = 5768,
1475 OpSubgroupAvcImeStripDualReferenceStreamoutINTEL = 5769,
1476 OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeMotionVectorsINTEL = 5770,
1477 OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeDistortionsINTEL = 5771,
1478 OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeReferenceIdsINTEL = 5772,
1479 OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeMotionVectorsINTEL = 5773,
1480 OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeDistortionsINTEL = 5774,
1481 OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeReferenceIdsINTEL = 5775,
1482 OpSubgroupAvcImeGetBorderReachedINTEL = 5776,
1483 OpSubgroupAvcImeGetTruncatedSearchIndicationINTEL = 5777,
1484 OpSubgroupAvcImeGetUnidirectionalEarlySearchTerminationINTEL = 5778,
1485 OpSubgroupAvcImeGetWeightingPatternMinimumMotionVectorINTEL = 5779,
1486 OpSubgroupAvcImeGetWeightingPatternMinimumDistortionINTEL = 5780,
1487 OpSubgroupAvcFmeInitializeINTEL = 5781,
1488 OpSubgroupAvcBmeInitializeINTEL = 5782,
1489 OpSubgroupAvcRefConvertToMcePayloadINTEL = 5783,
1490 OpSubgroupAvcRefSetBidirectionalMixDisableINTEL = 5784,
1491 OpSubgroupAvcRefSetBilinearFilterEnableINTEL = 5785,
1492 OpSubgroupAvcRefEvaluateWithSingleReferenceINTEL = 5786,
1493 OpSubgroupAvcRefEvaluateWithDualReferenceINTEL = 5787,
1494 OpSubgroupAvcRefEvaluateWithMultiReferenceINTEL = 5788,
1495 OpSubgroupAvcRefEvaluateWithMultiReferenceInterlacedINTEL = 5789,
1496 OpSubgroupAvcRefConvertToMceResultINTEL = 5790,
1497 OpSubgroupAvcSicInitializeINTEL = 5791,
1498 OpSubgroupAvcSicConfigureSkcINTEL = 5792,
1499 OpSubgroupAvcSicConfigureIpeLumaINTEL = 5793,
1500 OpSubgroupAvcSicConfigureIpeLumaChromaINTEL = 5794,
1501 OpSubgroupAvcSicGetMotionVectorMaskINTEL = 5795,
1502 OpSubgroupAvcSicConvertToMcePayloadINTEL = 5796,
1503 OpSubgroupAvcSicSetIntraLumaShapePenaltyINTEL = 5797,
1504 OpSubgroupAvcSicSetIntraLumaModeCostFunctionINTEL = 5798,
1505 OpSubgroupAvcSicSetIntraChromaModeCostFunctionINTEL = 5799,
1506 OpSubgroupAvcSicSetBilinearFilterEnableINTEL = 5800,
1507 OpSubgroupAvcSicSetSkcForwardTransformEnableINTEL = 5801,
1508 OpSubgroupAvcSicSetBlockBasedRawSkipSadINTEL = 5802,
1509 OpSubgroupAvcSicEvaluateIpeINTEL = 5803,
1510 OpSubgroupAvcSicEvaluateWithSingleReferenceINTEL = 5804,
1511 OpSubgroupAvcSicEvaluateWithDualReferenceINTEL = 5805,
1512 OpSubgroupAvcSicEvaluateWithMultiReferenceINTEL = 5806,
1513 OpSubgroupAvcSicEvaluateWithMultiReferenceInterlacedINTEL = 5807,
1514 OpSubgroupAvcSicConvertToMceResultINTEL = 5808,
1515 OpSubgroupAvcSicGetIpeLumaShapeINTEL = 5809,
1516 OpSubgroupAvcSicGetBestIpeLumaDistortionINTEL = 5810,
1517 OpSubgroupAvcSicGetBestIpeChromaDistortionINTEL = 5811,
1518 OpSubgroupAvcSicGetPackedIpeLumaModesINTEL = 5812,
1519 OpSubgroupAvcSicGetIpeChromaModeINTEL = 5813,
1520 OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL = 5814,
1521 OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL = 5815,
1522 OpSubgroupAvcSicGetInterRawSadsINTEL = 5816,
1523 OpRayQueryGetRayTMinKHR = 6016,
1524 OpRayQueryGetRayFlagsKHR = 6017,
1525 OpRayQueryGetIntersectionTKHR = 6018,
1526 OpRayQueryGetIntersectionInstanceCustomIndexKHR = 6019,
1527 OpRayQueryGetIntersectionInstanceIdKHR = 6020,
1528 OpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR = 6021,
1529 OpRayQueryGetIntersectionGeometryIndexKHR = 6022,
1530 OpRayQueryGetIntersectionPrimitiveIndexKHR = 6023,
1531 OpRayQueryGetIntersectionBarycentricsKHR = 6024,
1532 OpRayQueryGetIntersectionFrontFaceKHR = 6025,
1533 OpRayQueryGetIntersectionCandidateAABBOpaqueKHR = 6026,
1534 OpRayQueryGetIntersectionObjectRayDirectionKHR = 6027,
1535 OpRayQueryGetIntersectionObjectRayOriginKHR = 6028,
1536 OpRayQueryGetWorldRayDirectionKHR = 6029,
1537 OpRayQueryGetWorldRayOriginKHR = 6030,
1538 OpRayQueryGetIntersectionObjectToWorldKHR = 6031,
1539 OpRayQueryGetIntersectionWorldToObjectKHR = 6032,
1540 OpMax = 0x7fffffff,
1541 };
1542
1543 #ifdef SPV_ENABLE_UTILITY_CODE
HasResultAndType(Op opcode,bool * hasResult,bool * hasResultType)1544 inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) {
1545 *hasResult = *hasResultType = false;
1546 switch (opcode) {
1547 default: /* unknown opcode */ break;
1548 case OpNop: *hasResult = false; *hasResultType = false; break;
1549 case OpUndef: *hasResult = true; *hasResultType = true; break;
1550 case OpSourceContinued: *hasResult = false; *hasResultType = false; break;
1551 case OpSource: *hasResult = false; *hasResultType = false; break;
1552 case OpSourceExtension: *hasResult = false; *hasResultType = false; break;
1553 case OpName: *hasResult = false; *hasResultType = false; break;
1554 case OpMemberName: *hasResult = false; *hasResultType = false; break;
1555 case OpString: *hasResult = true; *hasResultType = false; break;
1556 case OpLine: *hasResult = false; *hasResultType = false; break;
1557 case OpExtension: *hasResult = false; *hasResultType = false; break;
1558 case OpExtInstImport: *hasResult = true; *hasResultType = false; break;
1559 case OpExtInst: *hasResult = true; *hasResultType = true; break;
1560 case OpMemoryModel: *hasResult = false; *hasResultType = false; break;
1561 case OpEntryPoint: *hasResult = false; *hasResultType = false; break;
1562 case OpExecutionMode: *hasResult = false; *hasResultType = false; break;
1563 case OpCapability: *hasResult = false; *hasResultType = false; break;
1564 case OpTypeVoid: *hasResult = true; *hasResultType = false; break;
1565 case OpTypeBool: *hasResult = true; *hasResultType = false; break;
1566 case OpTypeInt: *hasResult = true; *hasResultType = false; break;
1567 case OpTypeFloat: *hasResult = true; *hasResultType = false; break;
1568 case OpTypeVector: *hasResult = true; *hasResultType = false; break;
1569 case OpTypeMatrix: *hasResult = true; *hasResultType = false; break;
1570 case OpTypeImage: *hasResult = true; *hasResultType = false; break;
1571 case OpTypeSampler: *hasResult = true; *hasResultType = false; break;
1572 case OpTypeSampledImage: *hasResult = true; *hasResultType = false; break;
1573 case OpTypeArray: *hasResult = true; *hasResultType = false; break;
1574 case OpTypeRuntimeArray: *hasResult = true; *hasResultType = false; break;
1575 case OpTypeStruct: *hasResult = true; *hasResultType = false; break;
1576 case OpTypeOpaque: *hasResult = true; *hasResultType = false; break;
1577 case OpTypePointer: *hasResult = true; *hasResultType = false; break;
1578 case OpTypeFunction: *hasResult = true; *hasResultType = false; break;
1579 case OpTypeEvent: *hasResult = true; *hasResultType = false; break;
1580 case OpTypeDeviceEvent: *hasResult = true; *hasResultType = false; break;
1581 case OpTypeReserveId: *hasResult = true; *hasResultType = false; break;
1582 case OpTypeQueue: *hasResult = true; *hasResultType = false; break;
1583 case OpTypePipe: *hasResult = true; *hasResultType = false; break;
1584 case OpTypeForwardPointer: *hasResult = false; *hasResultType = false; break;
1585 case OpConstantTrue: *hasResult = true; *hasResultType = true; break;
1586 case OpConstantFalse: *hasResult = true; *hasResultType = true; break;
1587 case OpConstant: *hasResult = true; *hasResultType = true; break;
1588 case OpConstantComposite: *hasResult = true; *hasResultType = true; break;
1589 case OpConstantSampler: *hasResult = true; *hasResultType = true; break;
1590 case OpConstantNull: *hasResult = true; *hasResultType = true; break;
1591 case OpSpecConstantTrue: *hasResult = true; *hasResultType = true; break;
1592 case OpSpecConstantFalse: *hasResult = true; *hasResultType = true; break;
1593 case OpSpecConstant: *hasResult = true; *hasResultType = true; break;
1594 case OpSpecConstantComposite: *hasResult = true; *hasResultType = true; break;
1595 case OpSpecConstantOp: *hasResult = true; *hasResultType = true; break;
1596 case OpFunction: *hasResult = true; *hasResultType = true; break;
1597 case OpFunctionParameter: *hasResult = true; *hasResultType = true; break;
1598 case OpFunctionEnd: *hasResult = false; *hasResultType = false; break;
1599 case OpFunctionCall: *hasResult = true; *hasResultType = true; break;
1600 case OpVariable: *hasResult = true; *hasResultType = true; break;
1601 case OpImageTexelPointer: *hasResult = true; *hasResultType = true; break;
1602 case OpLoad: *hasResult = true; *hasResultType = true; break;
1603 case OpStore: *hasResult = false; *hasResultType = false; break;
1604 case OpCopyMemory: *hasResult = false; *hasResultType = false; break;
1605 case OpCopyMemorySized: *hasResult = false; *hasResultType = false; break;
1606 case OpAccessChain: *hasResult = true; *hasResultType = true; break;
1607 case OpInBoundsAccessChain: *hasResult = true; *hasResultType = true; break;
1608 case OpPtrAccessChain: *hasResult = true; *hasResultType = true; break;
1609 case OpArrayLength: *hasResult = true; *hasResultType = true; break;
1610 case OpGenericPtrMemSemantics: *hasResult = true; *hasResultType = true; break;
1611 case OpInBoundsPtrAccessChain: *hasResult = true; *hasResultType = true; break;
1612 case OpDecorate: *hasResult = false; *hasResultType = false; break;
1613 case OpMemberDecorate: *hasResult = false; *hasResultType = false; break;
1614 case OpDecorationGroup: *hasResult = true; *hasResultType = false; break;
1615 case OpGroupDecorate: *hasResult = false; *hasResultType = false; break;
1616 case OpGroupMemberDecorate: *hasResult = false; *hasResultType = false; break;
1617 case OpVectorExtractDynamic: *hasResult = true; *hasResultType = true; break;
1618 case OpVectorInsertDynamic: *hasResult = true; *hasResultType = true; break;
1619 case OpVectorShuffle: *hasResult = true; *hasResultType = true; break;
1620 case OpCompositeConstruct: *hasResult = true; *hasResultType = true; break;
1621 case OpCompositeExtract: *hasResult = true; *hasResultType = true; break;
1622 case OpCompositeInsert: *hasResult = true; *hasResultType = true; break;
1623 case OpCopyObject: *hasResult = true; *hasResultType = true; break;
1624 case OpTranspose: *hasResult = true; *hasResultType = true; break;
1625 case OpSampledImage: *hasResult = true; *hasResultType = true; break;
1626 case OpImageSampleImplicitLod: *hasResult = true; *hasResultType = true; break;
1627 case OpImageSampleExplicitLod: *hasResult = true; *hasResultType = true; break;
1628 case OpImageSampleDrefImplicitLod: *hasResult = true; *hasResultType = true; break;
1629 case OpImageSampleDrefExplicitLod: *hasResult = true; *hasResultType = true; break;
1630 case OpImageSampleProjImplicitLod: *hasResult = true; *hasResultType = true; break;
1631 case OpImageSampleProjExplicitLod: *hasResult = true; *hasResultType = true; break;
1632 case OpImageSampleProjDrefImplicitLod: *hasResult = true; *hasResultType = true; break;
1633 case OpImageSampleProjDrefExplicitLod: *hasResult = true; *hasResultType = true; break;
1634 case OpImageFetch: *hasResult = true; *hasResultType = true; break;
1635 case OpImageGather: *hasResult = true; *hasResultType = true; break;
1636 case OpImageDrefGather: *hasResult = true; *hasResultType = true; break;
1637 case OpImageRead: *hasResult = true; *hasResultType = true; break;
1638 case OpImageWrite: *hasResult = false; *hasResultType = false; break;
1639 case OpImage: *hasResult = true; *hasResultType = true; break;
1640 case OpImageQueryFormat: *hasResult = true; *hasResultType = true; break;
1641 case OpImageQueryOrder: *hasResult = true; *hasResultType = true; break;
1642 case OpImageQuerySizeLod: *hasResult = true; *hasResultType = true; break;
1643 case OpImageQuerySize: *hasResult = true; *hasResultType = true; break;
1644 case OpImageQueryLod: *hasResult = true; *hasResultType = true; break;
1645 case OpImageQueryLevels: *hasResult = true; *hasResultType = true; break;
1646 case OpImageQuerySamples: *hasResult = true; *hasResultType = true; break;
1647 case OpConvertFToU: *hasResult = true; *hasResultType = true; break;
1648 case OpConvertFToS: *hasResult = true; *hasResultType = true; break;
1649 case OpConvertSToF: *hasResult = true; *hasResultType = true; break;
1650 case OpConvertUToF: *hasResult = true; *hasResultType = true; break;
1651 case OpUConvert: *hasResult = true; *hasResultType = true; break;
1652 case OpSConvert: *hasResult = true; *hasResultType = true; break;
1653 case OpFConvert: *hasResult = true; *hasResultType = true; break;
1654 case OpQuantizeToF16: *hasResult = true; *hasResultType = true; break;
1655 case OpConvertPtrToU: *hasResult = true; *hasResultType = true; break;
1656 case OpSatConvertSToU: *hasResult = true; *hasResultType = true; break;
1657 case OpSatConvertUToS: *hasResult = true; *hasResultType = true; break;
1658 case OpConvertUToPtr: *hasResult = true; *hasResultType = true; break;
1659 case OpPtrCastToGeneric: *hasResult = true; *hasResultType = true; break;
1660 case OpGenericCastToPtr: *hasResult = true; *hasResultType = true; break;
1661 case OpGenericCastToPtrExplicit: *hasResult = true; *hasResultType = true; break;
1662 case OpBitcast: *hasResult = true; *hasResultType = true; break;
1663 case OpSNegate: *hasResult = true; *hasResultType = true; break;
1664 case OpFNegate: *hasResult = true; *hasResultType = true; break;
1665 case OpIAdd: *hasResult = true; *hasResultType = true; break;
1666 case OpFAdd: *hasResult = true; *hasResultType = true; break;
1667 case OpISub: *hasResult = true; *hasResultType = true; break;
1668 case OpFSub: *hasResult = true; *hasResultType = true; break;
1669 case OpIMul: *hasResult = true; *hasResultType = true; break;
1670 case OpFMul: *hasResult = true; *hasResultType = true; break;
1671 case OpUDiv: *hasResult = true; *hasResultType = true; break;
1672 case OpSDiv: *hasResult = true; *hasResultType = true; break;
1673 case OpFDiv: *hasResult = true; *hasResultType = true; break;
1674 case OpUMod: *hasResult = true; *hasResultType = true; break;
1675 case OpSRem: *hasResult = true; *hasResultType = true; break;
1676 case OpSMod: *hasResult = true; *hasResultType = true; break;
1677 case OpFRem: *hasResult = true; *hasResultType = true; break;
1678 case OpFMod: *hasResult = true; *hasResultType = true; break;
1679 case OpVectorTimesScalar: *hasResult = true; *hasResultType = true; break;
1680 case OpMatrixTimesScalar: *hasResult = true; *hasResultType = true; break;
1681 case OpVectorTimesMatrix: *hasResult = true; *hasResultType = true; break;
1682 case OpMatrixTimesVector: *hasResult = true; *hasResultType = true; break;
1683 case OpMatrixTimesMatrix: *hasResult = true; *hasResultType = true; break;
1684 case OpOuterProduct: *hasResult = true; *hasResultType = true; break;
1685 case OpDot: *hasResult = true; *hasResultType = true; break;
1686 case OpIAddCarry: *hasResult = true; *hasResultType = true; break;
1687 case OpISubBorrow: *hasResult = true; *hasResultType = true; break;
1688 case OpUMulExtended: *hasResult = true; *hasResultType = true; break;
1689 case OpSMulExtended: *hasResult = true; *hasResultType = true; break;
1690 case OpAny: *hasResult = true; *hasResultType = true; break;
1691 case OpAll: *hasResult = true; *hasResultType = true; break;
1692 case OpIsNan: *hasResult = true; *hasResultType = true; break;
1693 case OpIsInf: *hasResult = true; *hasResultType = true; break;
1694 case OpIsFinite: *hasResult = true; *hasResultType = true; break;
1695 case OpIsNormal: *hasResult = true; *hasResultType = true; break;
1696 case OpSignBitSet: *hasResult = true; *hasResultType = true; break;
1697 case OpLessOrGreater: *hasResult = true; *hasResultType = true; break;
1698 case OpOrdered: *hasResult = true; *hasResultType = true; break;
1699 case OpUnordered: *hasResult = true; *hasResultType = true; break;
1700 case OpLogicalEqual: *hasResult = true; *hasResultType = true; break;
1701 case OpLogicalNotEqual: *hasResult = true; *hasResultType = true; break;
1702 case OpLogicalOr: *hasResult = true; *hasResultType = true; break;
1703 case OpLogicalAnd: *hasResult = true; *hasResultType = true; break;
1704 case OpLogicalNot: *hasResult = true; *hasResultType = true; break;
1705 case OpSelect: *hasResult = true; *hasResultType = true; break;
1706 case OpIEqual: *hasResult = true; *hasResultType = true; break;
1707 case OpINotEqual: *hasResult = true; *hasResultType = true; break;
1708 case OpUGreaterThan: *hasResult = true; *hasResultType = true; break;
1709 case OpSGreaterThan: *hasResult = true; *hasResultType = true; break;
1710 case OpUGreaterThanEqual: *hasResult = true; *hasResultType = true; break;
1711 case OpSGreaterThanEqual: *hasResult = true; *hasResultType = true; break;
1712 case OpULessThan: *hasResult = true; *hasResultType = true; break;
1713 case OpSLessThan: *hasResult = true; *hasResultType = true; break;
1714 case OpULessThanEqual: *hasResult = true; *hasResultType = true; break;
1715 case OpSLessThanEqual: *hasResult = true; *hasResultType = true; break;
1716 case OpFOrdEqual: *hasResult = true; *hasResultType = true; break;
1717 case OpFUnordEqual: *hasResult = true; *hasResultType = true; break;
1718 case OpFOrdNotEqual: *hasResult = true; *hasResultType = true; break;
1719 case OpFUnordNotEqual: *hasResult = true; *hasResultType = true; break;
1720 case OpFOrdLessThan: *hasResult = true; *hasResultType = true; break;
1721 case OpFUnordLessThan: *hasResult = true; *hasResultType = true; break;
1722 case OpFOrdGreaterThan: *hasResult = true; *hasResultType = true; break;
1723 case OpFUnordGreaterThan: *hasResult = true; *hasResultType = true; break;
1724 case OpFOrdLessThanEqual: *hasResult = true; *hasResultType = true; break;
1725 case OpFUnordLessThanEqual: *hasResult = true; *hasResultType = true; break;
1726 case OpFOrdGreaterThanEqual: *hasResult = true; *hasResultType = true; break;
1727 case OpFUnordGreaterThanEqual: *hasResult = true; *hasResultType = true; break;
1728 case OpShiftRightLogical: *hasResult = true; *hasResultType = true; break;
1729 case OpShiftRightArithmetic: *hasResult = true; *hasResultType = true; break;
1730 case OpShiftLeftLogical: *hasResult = true; *hasResultType = true; break;
1731 case OpBitwiseOr: *hasResult = true; *hasResultType = true; break;
1732 case OpBitwiseXor: *hasResult = true; *hasResultType = true; break;
1733 case OpBitwiseAnd: *hasResult = true; *hasResultType = true; break;
1734 case OpNot: *hasResult = true; *hasResultType = true; break;
1735 case OpBitFieldInsert: *hasResult = true; *hasResultType = true; break;
1736 case OpBitFieldSExtract: *hasResult = true; *hasResultType = true; break;
1737 case OpBitFieldUExtract: *hasResult = true; *hasResultType = true; break;
1738 case OpBitReverse: *hasResult = true; *hasResultType = true; break;
1739 case OpBitCount: *hasResult = true; *hasResultType = true; break;
1740 case OpDPdx: *hasResult = true; *hasResultType = true; break;
1741 case OpDPdy: *hasResult = true; *hasResultType = true; break;
1742 case OpFwidth: *hasResult = true; *hasResultType = true; break;
1743 case OpDPdxFine: *hasResult = true; *hasResultType = true; break;
1744 case OpDPdyFine: *hasResult = true; *hasResultType = true; break;
1745 case OpFwidthFine: *hasResult = true; *hasResultType = true; break;
1746 case OpDPdxCoarse: *hasResult = true; *hasResultType = true; break;
1747 case OpDPdyCoarse: *hasResult = true; *hasResultType = true; break;
1748 case OpFwidthCoarse: *hasResult = true; *hasResultType = true; break;
1749 case OpEmitVertex: *hasResult = false; *hasResultType = false; break;
1750 case OpEndPrimitive: *hasResult = false; *hasResultType = false; break;
1751 case OpEmitStreamVertex: *hasResult = false; *hasResultType = false; break;
1752 case OpEndStreamPrimitive: *hasResult = false; *hasResultType = false; break;
1753 case OpControlBarrier: *hasResult = false; *hasResultType = false; break;
1754 case OpMemoryBarrier: *hasResult = false; *hasResultType = false; break;
1755 case OpAtomicLoad: *hasResult = true; *hasResultType = true; break;
1756 case OpAtomicStore: *hasResult = false; *hasResultType = false; break;
1757 case OpAtomicExchange: *hasResult = true; *hasResultType = true; break;
1758 case OpAtomicCompareExchange: *hasResult = true; *hasResultType = true; break;
1759 case OpAtomicCompareExchangeWeak: *hasResult = true; *hasResultType = true; break;
1760 case OpAtomicIIncrement: *hasResult = true; *hasResultType = true; break;
1761 case OpAtomicIDecrement: *hasResult = true; *hasResultType = true; break;
1762 case OpAtomicIAdd: *hasResult = true; *hasResultType = true; break;
1763 case OpAtomicISub: *hasResult = true; *hasResultType = true; break;
1764 case OpAtomicSMin: *hasResult = true; *hasResultType = true; break;
1765 case OpAtomicUMin: *hasResult = true; *hasResultType = true; break;
1766 case OpAtomicSMax: *hasResult = true; *hasResultType = true; break;
1767 case OpAtomicUMax: *hasResult = true; *hasResultType = true; break;
1768 case OpAtomicAnd: *hasResult = true; *hasResultType = true; break;
1769 case OpAtomicOr: *hasResult = true; *hasResultType = true; break;
1770 case OpAtomicXor: *hasResult = true; *hasResultType = true; break;
1771 case OpPhi: *hasResult = true; *hasResultType = true; break;
1772 case OpLoopMerge: *hasResult = false; *hasResultType = false; break;
1773 case OpSelectionMerge: *hasResult = false; *hasResultType = false; break;
1774 case OpLabel: *hasResult = true; *hasResultType = false; break;
1775 case OpBranch: *hasResult = false; *hasResultType = false; break;
1776 case OpBranchConditional: *hasResult = false; *hasResultType = false; break;
1777 case OpSwitch: *hasResult = false; *hasResultType = false; break;
1778 case OpKill: *hasResult = false; *hasResultType = false; break;
1779 case OpReturn: *hasResult = false; *hasResultType = false; break;
1780 case OpReturnValue: *hasResult = false; *hasResultType = false; break;
1781 case OpUnreachable: *hasResult = false; *hasResultType = false; break;
1782 case OpLifetimeStart: *hasResult = false; *hasResultType = false; break;
1783 case OpLifetimeStop: *hasResult = false; *hasResultType = false; break;
1784 case OpGroupAsyncCopy: *hasResult = true; *hasResultType = true; break;
1785 case OpGroupWaitEvents: *hasResult = false; *hasResultType = false; break;
1786 case OpGroupAll: *hasResult = true; *hasResultType = true; break;
1787 case OpGroupAny: *hasResult = true; *hasResultType = true; break;
1788 case OpGroupBroadcast: *hasResult = true; *hasResultType = true; break;
1789 case OpGroupIAdd: *hasResult = true; *hasResultType = true; break;
1790 case OpGroupFAdd: *hasResult = true; *hasResultType = true; break;
1791 case OpGroupFMin: *hasResult = true; *hasResultType = true; break;
1792 case OpGroupUMin: *hasResult = true; *hasResultType = true; break;
1793 case OpGroupSMin: *hasResult = true; *hasResultType = true; break;
1794 case OpGroupFMax: *hasResult = true; *hasResultType = true; break;
1795 case OpGroupUMax: *hasResult = true; *hasResultType = true; break;
1796 case OpGroupSMax: *hasResult = true; *hasResultType = true; break;
1797 case OpReadPipe: *hasResult = true; *hasResultType = true; break;
1798 case OpWritePipe: *hasResult = true; *hasResultType = true; break;
1799 case OpReservedReadPipe: *hasResult = true; *hasResultType = true; break;
1800 case OpReservedWritePipe: *hasResult = true; *hasResultType = true; break;
1801 case OpReserveReadPipePackets: *hasResult = true; *hasResultType = true; break;
1802 case OpReserveWritePipePackets: *hasResult = true; *hasResultType = true; break;
1803 case OpCommitReadPipe: *hasResult = false; *hasResultType = false; break;
1804 case OpCommitWritePipe: *hasResult = false; *hasResultType = false; break;
1805 case OpIsValidReserveId: *hasResult = true; *hasResultType = true; break;
1806 case OpGetNumPipePackets: *hasResult = true; *hasResultType = true; break;
1807 case OpGetMaxPipePackets: *hasResult = true; *hasResultType = true; break;
1808 case OpGroupReserveReadPipePackets: *hasResult = true; *hasResultType = true; break;
1809 case OpGroupReserveWritePipePackets: *hasResult = true; *hasResultType = true; break;
1810 case OpGroupCommitReadPipe: *hasResult = false; *hasResultType = false; break;
1811 case OpGroupCommitWritePipe: *hasResult = false; *hasResultType = false; break;
1812 case OpEnqueueMarker: *hasResult = true; *hasResultType = true; break;
1813 case OpEnqueueKernel: *hasResult = true; *hasResultType = true; break;
1814 case OpGetKernelNDrangeSubGroupCount: *hasResult = true; *hasResultType = true; break;
1815 case OpGetKernelNDrangeMaxSubGroupSize: *hasResult = true; *hasResultType = true; break;
1816 case OpGetKernelWorkGroupSize: *hasResult = true; *hasResultType = true; break;
1817 case OpGetKernelPreferredWorkGroupSizeMultiple: *hasResult = true; *hasResultType = true; break;
1818 case OpRetainEvent: *hasResult = false; *hasResultType = false; break;
1819 case OpReleaseEvent: *hasResult = false; *hasResultType = false; break;
1820 case OpCreateUserEvent: *hasResult = true; *hasResultType = true; break;
1821 case OpIsValidEvent: *hasResult = true; *hasResultType = true; break;
1822 case OpSetUserEventStatus: *hasResult = false; *hasResultType = false; break;
1823 case OpCaptureEventProfilingInfo: *hasResult = false; *hasResultType = false; break;
1824 case OpGetDefaultQueue: *hasResult = true; *hasResultType = true; break;
1825 case OpBuildNDRange: *hasResult = true; *hasResultType = true; break;
1826 case OpImageSparseSampleImplicitLod: *hasResult = true; *hasResultType = true; break;
1827 case OpImageSparseSampleExplicitLod: *hasResult = true; *hasResultType = true; break;
1828 case OpImageSparseSampleDrefImplicitLod: *hasResult = true; *hasResultType = true; break;
1829 case OpImageSparseSampleDrefExplicitLod: *hasResult = true; *hasResultType = true; break;
1830 case OpImageSparseSampleProjImplicitLod: *hasResult = true; *hasResultType = true; break;
1831 case OpImageSparseSampleProjExplicitLod: *hasResult = true; *hasResultType = true; break;
1832 case OpImageSparseSampleProjDrefImplicitLod: *hasResult = true; *hasResultType = true; break;
1833 case OpImageSparseSampleProjDrefExplicitLod: *hasResult = true; *hasResultType = true; break;
1834 case OpImageSparseFetch: *hasResult = true; *hasResultType = true; break;
1835 case OpImageSparseGather: *hasResult = true; *hasResultType = true; break;
1836 case OpImageSparseDrefGather: *hasResult = true; *hasResultType = true; break;
1837 case OpImageSparseTexelsResident: *hasResult = true; *hasResultType = true; break;
1838 case OpNoLine: *hasResult = false; *hasResultType = false; break;
1839 case OpAtomicFlagTestAndSet: *hasResult = true; *hasResultType = true; break;
1840 case OpAtomicFlagClear: *hasResult = false; *hasResultType = false; break;
1841 case OpImageSparseRead: *hasResult = true; *hasResultType = true; break;
1842 case OpSizeOf: *hasResult = true; *hasResultType = true; break;
1843 case OpTypePipeStorage: *hasResult = true; *hasResultType = false; break;
1844 case OpConstantPipeStorage: *hasResult = true; *hasResultType = true; break;
1845 case OpCreatePipeFromPipeStorage: *hasResult = true; *hasResultType = true; break;
1846 case OpGetKernelLocalSizeForSubgroupCount: *hasResult = true; *hasResultType = true; break;
1847 case OpGetKernelMaxNumSubgroups: *hasResult = true; *hasResultType = true; break;
1848 case OpTypeNamedBarrier: *hasResult = true; *hasResultType = false; break;
1849 case OpNamedBarrierInitialize: *hasResult = true; *hasResultType = true; break;
1850 case OpMemoryNamedBarrier: *hasResult = false; *hasResultType = false; break;
1851 case OpModuleProcessed: *hasResult = false; *hasResultType = false; break;
1852 case OpExecutionModeId: *hasResult = false; *hasResultType = false; break;
1853 case OpDecorateId: *hasResult = false; *hasResultType = false; break;
1854 case OpGroupNonUniformElect: *hasResult = true; *hasResultType = true; break;
1855 case OpGroupNonUniformAll: *hasResult = true; *hasResultType = true; break;
1856 case OpGroupNonUniformAny: *hasResult = true; *hasResultType = true; break;
1857 case OpGroupNonUniformAllEqual: *hasResult = true; *hasResultType = true; break;
1858 case OpGroupNonUniformBroadcast: *hasResult = true; *hasResultType = true; break;
1859 case OpGroupNonUniformBroadcastFirst: *hasResult = true; *hasResultType = true; break;
1860 case OpGroupNonUniformBallot: *hasResult = true; *hasResultType = true; break;
1861 case OpGroupNonUniformInverseBallot: *hasResult = true; *hasResultType = true; break;
1862 case OpGroupNonUniformBallotBitExtract: *hasResult = true; *hasResultType = true; break;
1863 case OpGroupNonUniformBallotBitCount: *hasResult = true; *hasResultType = true; break;
1864 case OpGroupNonUniformBallotFindLSB: *hasResult = true; *hasResultType = true; break;
1865 case OpGroupNonUniformBallotFindMSB: *hasResult = true; *hasResultType = true; break;
1866 case OpGroupNonUniformShuffle: *hasResult = true; *hasResultType = true; break;
1867 case OpGroupNonUniformShuffleXor: *hasResult = true; *hasResultType = true; break;
1868 case OpGroupNonUniformShuffleUp: *hasResult = true; *hasResultType = true; break;
1869 case OpGroupNonUniformShuffleDown: *hasResult = true; *hasResultType = true; break;
1870 case OpGroupNonUniformIAdd: *hasResult = true; *hasResultType = true; break;
1871 case OpGroupNonUniformFAdd: *hasResult = true; *hasResultType = true; break;
1872 case OpGroupNonUniformIMul: *hasResult = true; *hasResultType = true; break;
1873 case OpGroupNonUniformFMul: *hasResult = true; *hasResultType = true; break;
1874 case OpGroupNonUniformSMin: *hasResult = true; *hasResultType = true; break;
1875 case OpGroupNonUniformUMin: *hasResult = true; *hasResultType = true; break;
1876 case OpGroupNonUniformFMin: *hasResult = true; *hasResultType = true; break;
1877 case OpGroupNonUniformSMax: *hasResult = true; *hasResultType = true; break;
1878 case OpGroupNonUniformUMax: *hasResult = true; *hasResultType = true; break;
1879 case OpGroupNonUniformFMax: *hasResult = true; *hasResultType = true; break;
1880 case OpGroupNonUniformBitwiseAnd: *hasResult = true; *hasResultType = true; break;
1881 case OpGroupNonUniformBitwiseOr: *hasResult = true; *hasResultType = true; break;
1882 case OpGroupNonUniformBitwiseXor: *hasResult = true; *hasResultType = true; break;
1883 case OpGroupNonUniformLogicalAnd: *hasResult = true; *hasResultType = true; break;
1884 case OpGroupNonUniformLogicalOr: *hasResult = true; *hasResultType = true; break;
1885 case OpGroupNonUniformLogicalXor: *hasResult = true; *hasResultType = true; break;
1886 case OpGroupNonUniformQuadBroadcast: *hasResult = true; *hasResultType = true; break;
1887 case OpGroupNonUniformQuadSwap: *hasResult = true; *hasResultType = true; break;
1888 case OpCopyLogical: *hasResult = true; *hasResultType = true; break;
1889 case OpPtrEqual: *hasResult = true; *hasResultType = true; break;
1890 case OpPtrNotEqual: *hasResult = true; *hasResultType = true; break;
1891 case OpPtrDiff: *hasResult = true; *hasResultType = true; break;
1892 case OpSubgroupBallotKHR: *hasResult = true; *hasResultType = true; break;
1893 case OpSubgroupFirstInvocationKHR: *hasResult = true; *hasResultType = true; break;
1894 case OpSubgroupAllKHR: *hasResult = true; *hasResultType = true; break;
1895 case OpSubgroupAnyKHR: *hasResult = true; *hasResultType = true; break;
1896 case OpSubgroupAllEqualKHR: *hasResult = true; *hasResultType = true; break;
1897 case OpSubgroupReadInvocationKHR: *hasResult = true; *hasResultType = true; break;
1898 case OpGroupIAddNonUniformAMD: *hasResult = true; *hasResultType = true; break;
1899 case OpGroupFAddNonUniformAMD: *hasResult = true; *hasResultType = true; break;
1900 case OpGroupFMinNonUniformAMD: *hasResult = true; *hasResultType = true; break;
1901 case OpGroupUMinNonUniformAMD: *hasResult = true; *hasResultType = true; break;
1902 case OpGroupSMinNonUniformAMD: *hasResult = true; *hasResultType = true; break;
1903 case OpGroupFMaxNonUniformAMD: *hasResult = true; *hasResultType = true; break;
1904 case OpGroupUMaxNonUniformAMD: *hasResult = true; *hasResultType = true; break;
1905 case OpGroupSMaxNonUniformAMD: *hasResult = true; *hasResultType = true; break;
1906 case OpFragmentMaskFetchAMD: *hasResult = true; *hasResultType = true; break;
1907 case OpFragmentFetchAMD: *hasResult = true; *hasResultType = true; break;
1908 case OpReadClockKHR: *hasResult = true; *hasResultType = true; break;
1909 case OpImageSampleFootprintNV: *hasResult = true; *hasResultType = true; break;
1910 case OpGroupNonUniformPartitionNV: *hasResult = true; *hasResultType = true; break;
1911 case OpWritePackedPrimitiveIndices4x8NV: *hasResult = false; *hasResultType = false; break;
1912 case OpReportIntersectionNV: *hasResult = true; *hasResultType = true; break;
1913 case OpIgnoreIntersectionNV: *hasResult = false; *hasResultType = false; break;
1914 case OpTerminateRayNV: *hasResult = false; *hasResultType = false; break;
1915 case OpTraceNV: *hasResult = false; *hasResultType = false; break;
1916 case OpTypeAccelerationStructureNV: *hasResult = true; *hasResultType = false; break;
1917 case OpTypeRayQueryProvisionalKHR: *hasResult = true; *hasResultType = false; break;
1918 case OpRayQueryInitializeKHR: *hasResult = false; *hasResultType = false; break;
1919 case OpRayQueryTerminateKHR: *hasResult = false; *hasResultType = false; break;
1920 case OpRayQueryGenerateIntersectionKHR: *hasResult = false; *hasResultType = false; break;
1921 case OpRayQueryConfirmIntersectionKHR: *hasResult = false; *hasResultType = false; break;
1922 case OpRayQueryProceedKHR: *hasResult = true; *hasResultType = true; break;
1923 case OpRayQueryGetIntersectionTypeKHR: *hasResult = true; *hasResultType = true; break;
1924 case OpRayQueryGetRayTMinKHR: *hasResult = true; *hasResultType = true; break;
1925 case OpRayQueryGetRayFlagsKHR: *hasResult = true; *hasResultType = true; break;
1926 case OpRayQueryGetIntersectionTKHR: *hasResult = true; *hasResultType = true; break;
1927 case OpRayQueryGetIntersectionInstanceCustomIndexKHR: *hasResult = true; *hasResultType = true; break;
1928 case OpRayQueryGetIntersectionInstanceIdKHR: *hasResult = true; *hasResultType = true; break;
1929 case OpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR: *hasResult = true; *hasResultType = true; break;
1930 case OpRayQueryGetIntersectionGeometryIndexKHR: *hasResult = true; *hasResultType = true; break;
1931 case OpRayQueryGetIntersectionPrimitiveIndexKHR: *hasResult = true; *hasResultType = true; break;
1932 case OpRayQueryGetIntersectionBarycentricsKHR: *hasResult = true; *hasResultType = true; break;
1933 case OpRayQueryGetIntersectionFrontFaceKHR: *hasResult = true; *hasResultType = true; break;
1934 case OpRayQueryGetIntersectionCandidateAABBOpaqueKHR: *hasResult = true; *hasResultType = true; break;
1935 case OpRayQueryGetIntersectionObjectRayDirectionKHR: *hasResult = true; *hasResultType = true; break;
1936 case OpRayQueryGetIntersectionObjectRayOriginKHR: *hasResult = true; *hasResultType = true; break;
1937 case OpRayQueryGetWorldRayDirectionKHR: *hasResult = true; *hasResultType = true; break;
1938 case OpRayQueryGetWorldRayOriginKHR: *hasResult = true; *hasResultType = true; break;
1939 case OpRayQueryGetIntersectionObjectToWorldKHR: *hasResult = true; *hasResultType = true; break;
1940 case OpRayQueryGetIntersectionWorldToObjectKHR: *hasResult = true; *hasResultType = true; break;
1941 case OpExecuteCallableNV: *hasResult = false; *hasResultType = false; break;
1942 case OpTypeCooperativeMatrixNV: *hasResult = true; *hasResultType = false; break;
1943 case OpCooperativeMatrixLoadNV: *hasResult = true; *hasResultType = true; break;
1944 case OpCooperativeMatrixStoreNV: *hasResult = false; *hasResultType = false; break;
1945 case OpCooperativeMatrixMulAddNV: *hasResult = true; *hasResultType = true; break;
1946 case OpCooperativeMatrixLengthNV: *hasResult = true; *hasResultType = true; break;
1947 case OpBeginInvocationInterlockEXT: *hasResult = false; *hasResultType = false; break;
1948 case OpEndInvocationInterlockEXT: *hasResult = false; *hasResultType = false; break;
1949 case OpDemoteToHelperInvocationEXT: *hasResult = false; *hasResultType = false; break;
1950 case OpIsHelperInvocationEXT: *hasResult = true; *hasResultType = true; break;
1951 case OpSubgroupShuffleINTEL: *hasResult = true; *hasResultType = true; break;
1952 case OpSubgroupShuffleDownINTEL: *hasResult = true; *hasResultType = true; break;
1953 case OpSubgroupShuffleUpINTEL: *hasResult = true; *hasResultType = true; break;
1954 case OpSubgroupShuffleXorINTEL: *hasResult = true; *hasResultType = true; break;
1955 case OpSubgroupBlockReadINTEL: *hasResult = true; *hasResultType = true; break;
1956 case OpSubgroupBlockWriteINTEL: *hasResult = false; *hasResultType = false; break;
1957 case OpSubgroupImageBlockReadINTEL: *hasResult = true; *hasResultType = true; break;
1958 case OpSubgroupImageBlockWriteINTEL: *hasResult = false; *hasResultType = false; break;
1959 case OpSubgroupImageMediaBlockReadINTEL: *hasResult = true; *hasResultType = true; break;
1960 case OpSubgroupImageMediaBlockWriteINTEL: *hasResult = false; *hasResultType = false; break;
1961 case OpUCountLeadingZerosINTEL: *hasResult = true; *hasResultType = true; break;
1962 case OpUCountTrailingZerosINTEL: *hasResult = true; *hasResultType = true; break;
1963 case OpAbsISubINTEL: *hasResult = true; *hasResultType = true; break;
1964 case OpAbsUSubINTEL: *hasResult = true; *hasResultType = true; break;
1965 case OpIAddSatINTEL: *hasResult = true; *hasResultType = true; break;
1966 case OpUAddSatINTEL: *hasResult = true; *hasResultType = true; break;
1967 case OpIAverageINTEL: *hasResult = true; *hasResultType = true; break;
1968 case OpUAverageINTEL: *hasResult = true; *hasResultType = true; break;
1969 case OpIAverageRoundedINTEL: *hasResult = true; *hasResultType = true; break;
1970 case OpUAverageRoundedINTEL: *hasResult = true; *hasResultType = true; break;
1971 case OpISubSatINTEL: *hasResult = true; *hasResultType = true; break;
1972 case OpUSubSatINTEL: *hasResult = true; *hasResultType = true; break;
1973 case OpIMul32x16INTEL: *hasResult = true; *hasResultType = true; break;
1974 case OpUMul32x16INTEL: *hasResult = true; *hasResultType = true; break;
1975 case OpDecorateString: *hasResult = false; *hasResultType = false; break;
1976 case OpMemberDecorateString: *hasResult = false; *hasResultType = false; break;
1977 case OpVmeImageINTEL: *hasResult = true; *hasResultType = true; break;
1978 case OpTypeVmeImageINTEL: *hasResult = true; *hasResultType = false; break;
1979 case OpTypeAvcImePayloadINTEL: *hasResult = true; *hasResultType = false; break;
1980 case OpTypeAvcRefPayloadINTEL: *hasResult = true; *hasResultType = false; break;
1981 case OpTypeAvcSicPayloadINTEL: *hasResult = true; *hasResultType = false; break;
1982 case OpTypeAvcMcePayloadINTEL: *hasResult = true; *hasResultType = false; break;
1983 case OpTypeAvcMceResultINTEL: *hasResult = true; *hasResultType = false; break;
1984 case OpTypeAvcImeResultINTEL: *hasResult = true; *hasResultType = false; break;
1985 case OpTypeAvcImeResultSingleReferenceStreamoutINTEL: *hasResult = true; *hasResultType = false; break;
1986 case OpTypeAvcImeResultDualReferenceStreamoutINTEL: *hasResult = true; *hasResultType = false; break;
1987 case OpTypeAvcImeSingleReferenceStreaminINTEL: *hasResult = true; *hasResultType = false; break;
1988 case OpTypeAvcImeDualReferenceStreaminINTEL: *hasResult = true; *hasResultType = false; break;
1989 case OpTypeAvcRefResultINTEL: *hasResult = true; *hasResultType = false; break;
1990 case OpTypeAvcSicResultINTEL: *hasResult = true; *hasResultType = false; break;
1991 case OpSubgroupAvcMceGetDefaultInterBaseMultiReferencePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
1992 case OpSubgroupAvcMceSetInterBaseMultiReferencePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
1993 case OpSubgroupAvcMceGetDefaultInterShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
1994 case OpSubgroupAvcMceSetInterShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
1995 case OpSubgroupAvcMceGetDefaultInterDirectionPenaltyINTEL: *hasResult = true; *hasResultType = true; break;
1996 case OpSubgroupAvcMceSetInterDirectionPenaltyINTEL: *hasResult = true; *hasResultType = true; break;
1997 case OpSubgroupAvcMceGetDefaultIntraLumaShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
1998 case OpSubgroupAvcMceGetDefaultInterMotionVectorCostTableINTEL: *hasResult = true; *hasResultType = true; break;
1999 case OpSubgroupAvcMceGetDefaultHighPenaltyCostTableINTEL: *hasResult = true; *hasResultType = true; break;
2000 case OpSubgroupAvcMceGetDefaultMediumPenaltyCostTableINTEL: *hasResult = true; *hasResultType = true; break;
2001 case OpSubgroupAvcMceGetDefaultLowPenaltyCostTableINTEL: *hasResult = true; *hasResultType = true; break;
2002 case OpSubgroupAvcMceSetMotionVectorCostFunctionINTEL: *hasResult = true; *hasResultType = true; break;
2003 case OpSubgroupAvcMceGetDefaultIntraLumaModePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2004 case OpSubgroupAvcMceGetDefaultNonDcLumaIntraPenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2005 case OpSubgroupAvcMceGetDefaultIntraChromaModeBasePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2006 case OpSubgroupAvcMceSetAcOnlyHaarINTEL: *hasResult = true; *hasResultType = true; break;
2007 case OpSubgroupAvcMceSetSourceInterlacedFieldPolarityINTEL: *hasResult = true; *hasResultType = true; break;
2008 case OpSubgroupAvcMceSetSingleReferenceInterlacedFieldPolarityINTEL: *hasResult = true; *hasResultType = true; break;
2009 case OpSubgroupAvcMceSetDualReferenceInterlacedFieldPolaritiesINTEL: *hasResult = true; *hasResultType = true; break;
2010 case OpSubgroupAvcMceConvertToImePayloadINTEL: *hasResult = true; *hasResultType = true; break;
2011 case OpSubgroupAvcMceConvertToImeResultINTEL: *hasResult = true; *hasResultType = true; break;
2012 case OpSubgroupAvcMceConvertToRefPayloadINTEL: *hasResult = true; *hasResultType = true; break;
2013 case OpSubgroupAvcMceConvertToRefResultINTEL: *hasResult = true; *hasResultType = true; break;
2014 case OpSubgroupAvcMceConvertToSicPayloadINTEL: *hasResult = true; *hasResultType = true; break;
2015 case OpSubgroupAvcMceConvertToSicResultINTEL: *hasResult = true; *hasResultType = true; break;
2016 case OpSubgroupAvcMceGetMotionVectorsINTEL: *hasResult = true; *hasResultType = true; break;
2017 case OpSubgroupAvcMceGetInterDistortionsINTEL: *hasResult = true; *hasResultType = true; break;
2018 case OpSubgroupAvcMceGetBestInterDistortionsINTEL: *hasResult = true; *hasResultType = true; break;
2019 case OpSubgroupAvcMceGetInterMajorShapeINTEL: *hasResult = true; *hasResultType = true; break;
2020 case OpSubgroupAvcMceGetInterMinorShapeINTEL: *hasResult = true; *hasResultType = true; break;
2021 case OpSubgroupAvcMceGetInterDirectionsINTEL: *hasResult = true; *hasResultType = true; break;
2022 case OpSubgroupAvcMceGetInterMotionVectorCountINTEL: *hasResult = true; *hasResultType = true; break;
2023 case OpSubgroupAvcMceGetInterReferenceIdsINTEL: *hasResult = true; *hasResultType = true; break;
2024 case OpSubgroupAvcMceGetInterReferenceInterlacedFieldPolaritiesINTEL: *hasResult = true; *hasResultType = true; break;
2025 case OpSubgroupAvcImeInitializeINTEL: *hasResult = true; *hasResultType = true; break;
2026 case OpSubgroupAvcImeSetSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2027 case OpSubgroupAvcImeSetDualReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2028 case OpSubgroupAvcImeRefWindowSizeINTEL: *hasResult = true; *hasResultType = true; break;
2029 case OpSubgroupAvcImeAdjustRefOffsetINTEL: *hasResult = true; *hasResultType = true; break;
2030 case OpSubgroupAvcImeConvertToMcePayloadINTEL: *hasResult = true; *hasResultType = true; break;
2031 case OpSubgroupAvcImeSetMaxMotionVectorCountINTEL: *hasResult = true; *hasResultType = true; break;
2032 case OpSubgroupAvcImeSetUnidirectionalMixDisableINTEL: *hasResult = true; *hasResultType = true; break;
2033 case OpSubgroupAvcImeSetEarlySearchTerminationThresholdINTEL: *hasResult = true; *hasResultType = true; break;
2034 case OpSubgroupAvcImeSetWeightedSadINTEL: *hasResult = true; *hasResultType = true; break;
2035 case OpSubgroupAvcImeEvaluateWithSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2036 case OpSubgroupAvcImeEvaluateWithDualReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2037 case OpSubgroupAvcImeEvaluateWithSingleReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break;
2038 case OpSubgroupAvcImeEvaluateWithDualReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break;
2039 case OpSubgroupAvcImeEvaluateWithSingleReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break;
2040 case OpSubgroupAvcImeEvaluateWithDualReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break;
2041 case OpSubgroupAvcImeEvaluateWithSingleReferenceStreaminoutINTEL: *hasResult = true; *hasResultType = true; break;
2042 case OpSubgroupAvcImeEvaluateWithDualReferenceStreaminoutINTEL: *hasResult = true; *hasResultType = true; break;
2043 case OpSubgroupAvcImeConvertToMceResultINTEL: *hasResult = true; *hasResultType = true; break;
2044 case OpSubgroupAvcImeGetSingleReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break;
2045 case OpSubgroupAvcImeGetDualReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break;
2046 case OpSubgroupAvcImeStripSingleReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break;
2047 case OpSubgroupAvcImeStripDualReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break;
2048 case OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeMotionVectorsINTEL: *hasResult = true; *hasResultType = true; break;
2049 case OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeDistortionsINTEL: *hasResult = true; *hasResultType = true; break;
2050 case OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeReferenceIdsINTEL: *hasResult = true; *hasResultType = true; break;
2051 case OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeMotionVectorsINTEL: *hasResult = true; *hasResultType = true; break;
2052 case OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeDistortionsINTEL: *hasResult = true; *hasResultType = true; break;
2053 case OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeReferenceIdsINTEL: *hasResult = true; *hasResultType = true; break;
2054 case OpSubgroupAvcImeGetBorderReachedINTEL: *hasResult = true; *hasResultType = true; break;
2055 case OpSubgroupAvcImeGetTruncatedSearchIndicationINTEL: *hasResult = true; *hasResultType = true; break;
2056 case OpSubgroupAvcImeGetUnidirectionalEarlySearchTerminationINTEL: *hasResult = true; *hasResultType = true; break;
2057 case OpSubgroupAvcImeGetWeightingPatternMinimumMotionVectorINTEL: *hasResult = true; *hasResultType = true; break;
2058 case OpSubgroupAvcImeGetWeightingPatternMinimumDistortionINTEL: *hasResult = true; *hasResultType = true; break;
2059 case OpSubgroupAvcFmeInitializeINTEL: *hasResult = true; *hasResultType = true; break;
2060 case OpSubgroupAvcBmeInitializeINTEL: *hasResult = true; *hasResultType = true; break;
2061 case OpSubgroupAvcRefConvertToMcePayloadINTEL: *hasResult = true; *hasResultType = true; break;
2062 case OpSubgroupAvcRefSetBidirectionalMixDisableINTEL: *hasResult = true; *hasResultType = true; break;
2063 case OpSubgroupAvcRefSetBilinearFilterEnableINTEL: *hasResult = true; *hasResultType = true; break;
2064 case OpSubgroupAvcRefEvaluateWithSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2065 case OpSubgroupAvcRefEvaluateWithDualReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2066 case OpSubgroupAvcRefEvaluateWithMultiReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2067 case OpSubgroupAvcRefEvaluateWithMultiReferenceInterlacedINTEL: *hasResult = true; *hasResultType = true; break;
2068 case OpSubgroupAvcRefConvertToMceResultINTEL: *hasResult = true; *hasResultType = true; break;
2069 case OpSubgroupAvcSicInitializeINTEL: *hasResult = true; *hasResultType = true; break;
2070 case OpSubgroupAvcSicConfigureSkcINTEL: *hasResult = true; *hasResultType = true; break;
2071 case OpSubgroupAvcSicConfigureIpeLumaINTEL: *hasResult = true; *hasResultType = true; break;
2072 case OpSubgroupAvcSicConfigureIpeLumaChromaINTEL: *hasResult = true; *hasResultType = true; break;
2073 case OpSubgroupAvcSicGetMotionVectorMaskINTEL: *hasResult = true; *hasResultType = true; break;
2074 case OpSubgroupAvcSicConvertToMcePayloadINTEL: *hasResult = true; *hasResultType = true; break;
2075 case OpSubgroupAvcSicSetIntraLumaShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2076 case OpSubgroupAvcSicSetIntraLumaModeCostFunctionINTEL: *hasResult = true; *hasResultType = true; break;
2077 case OpSubgroupAvcSicSetIntraChromaModeCostFunctionINTEL: *hasResult = true; *hasResultType = true; break;
2078 case OpSubgroupAvcSicSetBilinearFilterEnableINTEL: *hasResult = true; *hasResultType = true; break;
2079 case OpSubgroupAvcSicSetSkcForwardTransformEnableINTEL: *hasResult = true; *hasResultType = true; break;
2080 case OpSubgroupAvcSicSetBlockBasedRawSkipSadINTEL: *hasResult = true; *hasResultType = true; break;
2081 case OpSubgroupAvcSicEvaluateIpeINTEL: *hasResult = true; *hasResultType = true; break;
2082 case OpSubgroupAvcSicEvaluateWithSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2083 case OpSubgroupAvcSicEvaluateWithDualReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2084 case OpSubgroupAvcSicEvaluateWithMultiReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2085 case OpSubgroupAvcSicEvaluateWithMultiReferenceInterlacedINTEL: *hasResult = true; *hasResultType = true; break;
2086 case OpSubgroupAvcSicConvertToMceResultINTEL: *hasResult = true; *hasResultType = true; break;
2087 case OpSubgroupAvcSicGetIpeLumaShapeINTEL: *hasResult = true; *hasResultType = true; break;
2088 case OpSubgroupAvcSicGetBestIpeLumaDistortionINTEL: *hasResult = true; *hasResultType = true; break;
2089 case OpSubgroupAvcSicGetBestIpeChromaDistortionINTEL: *hasResult = true; *hasResultType = true; break;
2090 case OpSubgroupAvcSicGetPackedIpeLumaModesINTEL: *hasResult = true; *hasResultType = true; break;
2091 case OpSubgroupAvcSicGetIpeChromaModeINTEL: *hasResult = true; *hasResultType = true; break;
2092 case OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL: *hasResult = true; *hasResultType = true; break;
2093 case OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL: *hasResult = true; *hasResultType = true; break;
2094 case OpSubgroupAvcSicGetInterRawSadsINTEL: *hasResult = true; *hasResultType = true; break;
2095 }
2096 }
2097 #endif /* SPV_ENABLE_UTILITY_CODE */
2098
2099 // Overload operator| for mask bit combining
2100
operator |(ImageOperandsMask a,ImageOperandsMask b)2101 inline ImageOperandsMask operator|(ImageOperandsMask a, ImageOperandsMask b) { return ImageOperandsMask(unsigned(a) | unsigned(b)); }
operator |(FPFastMathModeMask a,FPFastMathModeMask b)2102 inline FPFastMathModeMask operator|(FPFastMathModeMask a, FPFastMathModeMask b) { return FPFastMathModeMask(unsigned(a) | unsigned(b)); }
operator |(SelectionControlMask a,SelectionControlMask b)2103 inline SelectionControlMask operator|(SelectionControlMask a, SelectionControlMask b) { return SelectionControlMask(unsigned(a) | unsigned(b)); }
operator |(LoopControlMask a,LoopControlMask b)2104 inline LoopControlMask operator|(LoopControlMask a, LoopControlMask b) { return LoopControlMask(unsigned(a) | unsigned(b)); }
operator |(FunctionControlMask a,FunctionControlMask b)2105 inline FunctionControlMask operator|(FunctionControlMask a, FunctionControlMask b) { return FunctionControlMask(unsigned(a) | unsigned(b)); }
operator |(MemorySemanticsMask a,MemorySemanticsMask b)2106 inline MemorySemanticsMask operator|(MemorySemanticsMask a, MemorySemanticsMask b) { return MemorySemanticsMask(unsigned(a) | unsigned(b)); }
operator |(MemoryAccessMask a,MemoryAccessMask b)2107 inline MemoryAccessMask operator|(MemoryAccessMask a, MemoryAccessMask b) { return MemoryAccessMask(unsigned(a) | unsigned(b)); }
operator |(KernelProfilingInfoMask a,KernelProfilingInfoMask b)2108 inline KernelProfilingInfoMask operator|(KernelProfilingInfoMask a, KernelProfilingInfoMask b) { return KernelProfilingInfoMask(unsigned(a) | unsigned(b)); }
operator |(RayFlagsMask a,RayFlagsMask b)2109 inline RayFlagsMask operator|(RayFlagsMask a, RayFlagsMask b) { return RayFlagsMask(unsigned(a) | unsigned(b)); }
2110
2111 } // end namespace spv
2112
2113 #endif // #ifndef spirv_HPP
2114