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

source code of qtshadertools/src/3rdparty/SPIRV-Cross/spirv.hpp