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