Debian Codegraph @

third_party/spirv-tools/external/spirv-headers/include/spirv/unified1/spirv.hpp11

raw
1 // Copyright (c) 2014-2020 The Khronos Group Inc.
2 //
3 // Permission is hereby granted, free of charge, to any person obtaining a copy
4 // of this software and/or associated documentation files (the "Materials"),
5 // to deal in the Materials without restriction, including without limitation
6 // the rights to use, copy, modify, merge, publish, distribute, sublicense,
7 // and/or sell copies of the Materials, and to permit persons to whom the
8 // Materials are furnished to do so, subject to the following conditions:
9 //
10 // The above copyright notice and this permission notice shall be included in
11 // all copies or substantial portions of the Materials.
12 //
13 // MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS KHRONOS
14 // STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS SPECIFICATIONS AND
15 // HEADER INFORMATION ARE LOCATED AT https://www.khronos.org/registry/
16 //
17 // THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
18 // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
20 // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22 // FROM,OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE USE OR OTHER DEALINGS
23 // IN THE MATERIALS.
24
25 // This header is automatically generated by the same tool that creates
26 // the Binary Section of the SPIR-V specification.
27
28 // Enumeration tokens for SPIR-V, in various styles:
29 // C, C++, C++11, JSON, Lua, Python, C#, D
30 //
31 // - C will have tokens with a "Spv" prefix, e.g.: SpvSourceLanguageGLSL
32 // - C++ will have tokens in the "spv" name space, e.g.: spv::SourceLanguageGLSL
33 // - C++11 will use enum classes in the spv namespace, e.g.: spv::SourceLanguage::GLSL
34 // - Lua will use tables, e.g.: spv.SourceLanguage.GLSL
35 // - Python will use dictionaries, e.g.: spv['SourceLanguage']['GLSL']
36 // - C# will use enum classes in the Specification class located in the "Spv" namespace,
37 // e.g.: Spv.Specification.SourceLanguage.GLSL
38 // - D will have tokens under the "spv" module, e.g: spv.SourceLanguage.GLSL
39 //
40 // Some tokens act like mask values, which can be OR'd together,
41 // while others are mutually exclusive. The mask-like ones have
42 // "Mask" in their name, and a parallel enum that has the shift
43 // amount (1 << x) for each corresponding enumerant.
44
45 #ifndef spirv_HPP
46 #define spirv_HPP
47
48 namespace spv {
49
50 typedef unsigned int Id;
51
52 #define SPV_VERSION 0x10500
53 #define SPV_REVISION 4
54
55 static const unsigned int MagicNumber = 0x07230203;
56 static const unsigned int Version = 0x00010500;
57 static const unsigned int Revision = 4;
58 static const unsigned int OpCodeMask = 0xffff;
59 static const unsigned int WordCountShift = 16;
60
61 enum class SourceLanguage : unsigned {
62 Unknown = 0,
63 ESSL = 1,
64 GLSL = 2,
65 OpenCL_C = 3,
66 OpenCL_CPP = 4,
67 HLSL = 5,
68 Max = 0x7fffffff,
69 };
70
71 enum class ExecutionModel : unsigned {
72 Vertex = 0,
73 TessellationControl = 1,
74 TessellationEvaluation = 2,
75 Geometry = 3,
76 Fragment = 4,
77 GLCompute = 5,
78 Kernel = 6,
79 TaskNV = 5267,
80 MeshNV = 5268,
81 RayGenerationKHR = 5313,
82 RayGenerationNV = 5313,
83 IntersectionKHR = 5314,
84 IntersectionNV = 5314,
85 AnyHitKHR = 5315,
86 AnyHitNV = 5315,
87 ClosestHitKHR = 5316,
88 ClosestHitNV = 5316,
89 MissKHR = 5317,
90 MissNV = 5317,
91 CallableKHR = 5318,
92 CallableNV = 5318,
93 Max = 0x7fffffff,
94 };
95
96 enum class AddressingModel : unsigned {
97 Logical = 0,
98 Physical32 = 1,
99 Physical64 = 2,
100 PhysicalStorageBuffer64 = 5348,
101 PhysicalStorageBuffer64EXT = 5348,
102 Max = 0x7fffffff,
103 };
104
105 enum class MemoryModel : unsigned {
106 Simple = 0,
107 GLSL450 = 1,
108 OpenCL = 2,
109 Vulkan = 3,
110 VulkanKHR = 3,
111 Max = 0x7fffffff,
112 };
113
114 enum class ExecutionMode : unsigned {
115 Invocations = 0,
116 SpacingEqual = 1,
117 SpacingFractionalEven = 2,
118 SpacingFractionalOdd = 3,
119 VertexOrderCw = 4,
120 VertexOrderCcw = 5,
121 PixelCenterInteger = 6,
122 OriginUpperLeft = 7,
123 OriginLowerLeft = 8,
124 EarlyFragmentTests = 9,
125 PointMode = 10,
126 Xfb = 11,
127 DepthReplacing = 12,
128 DepthGreater = 14,
129 DepthLess = 15,
130 DepthUnchanged = 16,
131 LocalSize = 17,
132 LocalSizeHint = 18,
133 InputPoints = 19,
134 InputLines = 20,
135 InputLinesAdjacency = 21,
136 Triangles = 22,
137 InputTrianglesAdjacency = 23,
138 Quads = 24,
139 Isolines = 25,
140 OutputVertices = 26,
141 OutputPoints = 27,
142 OutputLineStrip = 28,
143 OutputTriangleStrip = 29,
144 VecTypeHint = 30,
145 ContractionOff = 31,
146 Initializer = 33,
147 Finalizer = 34,
148 SubgroupSize = 35,
149 SubgroupsPerWorkgroup = 36,
150 SubgroupsPerWorkgroupId = 37,
151 LocalSizeId = 38,
152 LocalSizeHintId = 39,
153 PostDepthCoverage = 4446,
154 DenormPreserve = 4459,
155 DenormFlushToZero = 4460,
156 SignedZeroInfNanPreserve = 4461,
157 RoundingModeRTE = 4462,
158 RoundingModeRTZ = 4463,
159 StencilRefReplacingEXT = 5027,
160 OutputLinesNV = 5269,
161 OutputPrimitivesNV = 5270,
162 DerivativeGroupQuadsNV = 5289,
163 DerivativeGroupLinearNV = 5290,
164 OutputTrianglesNV = 5298,
165 PixelInterlockOrderedEXT = 5366,
166 PixelInterlockUnorderedEXT = 5367,
167 SampleInterlockOrderedEXT = 5368,
168 SampleInterlockUnorderedEXT = 5369,
169 ShadingRateInterlockOrderedEXT = 5370,
170 ShadingRateInterlockUnorderedEXT = 5371,
171 MaxWorkgroupSizeINTEL = 5893,
172 MaxWorkDimINTEL = 5894,
173 NoGlobalOffsetINTEL = 5895,
174 NumSIMDWorkitemsINTEL = 5896,
175 Max = 0x7fffffff,
176 };
177
178 enum class StorageClass : unsigned {
179 UniformConstant = 0,
180 Input = 1,
181 Uniform = 2,
182 Output = 3,
183 Workgroup = 4,
184 CrossWorkgroup = 5,
185 Private = 6,
186 Function = 7,
187 Generic = 8,
188 PushConstant = 9,
189 AtomicCounter = 10,
190 Image = 11,
191 StorageBuffer = 12,
192 CallableDataKHR = 5328,
193 CallableDataNV = 5328,
194 IncomingCallableDataKHR = 5329,
195 IncomingCallableDataNV = 5329,
196 RayPayloadKHR = 5338,
197 RayPayloadNV = 5338,
198 HitAttributeKHR = 5339,
199 HitAttributeNV = 5339,
200 IncomingRayPayloadKHR = 5342,
201 IncomingRayPayloadNV = 5342,
202 ShaderRecordBufferKHR = 5343,
203 ShaderRecordBufferNV = 5343,
204 PhysicalStorageBuffer = 5349,
205 PhysicalStorageBufferEXT = 5349,
206 CodeSectionINTEL = 5605,
207 Max = 0x7fffffff,
208 };
209
210 enum class Dim : unsigned {
211 Dim1D = 0,
212 Dim2D = 1,
213 Dim3D = 2,
214 Cube = 3,
215 Rect = 4,
216 Buffer = 5,
217 SubpassData = 6,
218 Max = 0x7fffffff,
219 };
220
221 enum class SamplerAddressingMode : unsigned {
222 None = 0,
223 ClampToEdge = 1,
224 Clamp = 2,
225 Repeat = 3,
226 RepeatMirrored = 4,
227 Max = 0x7fffffff,
228 };
229
230 enum class SamplerFilterMode : unsigned {
231 Nearest = 0,
232 Linear = 1,
233 Max = 0x7fffffff,
234 };
235
236 enum class ImageFormat : unsigned {
237 Unknown = 0,
238 Rgba32f = 1,
239 Rgba16f = 2,
240 R32f = 3,
241 Rgba8 = 4,
242 Rgba8Snorm = 5,
243 Rg32f = 6,
244 Rg16f = 7,
245 R11fG11fB10f = 8,
246 R16f = 9,
247 Rgba16 = 10,
248 Rgb10A2 = 11,
249 Rg16 = 12,
250 Rg8 = 13,
251 R16 = 14,
252 R8 = 15,
253 Rgba16Snorm = 16,
254 Rg16Snorm = 17,
255 Rg8Snorm = 18,
256 R16Snorm = 19,
257 R8Snorm = 20,
258 Rgba32i = 21,
259 Rgba16i = 22,
260 Rgba8i = 23,
261 R32i = 24,
262 Rg32i = 25,
263 Rg16i = 26,
264 Rg8i = 27,
265 R16i = 28,
266 R8i = 29,
267 Rgba32ui = 30,
268 Rgba16ui = 31,
269 Rgba8ui = 32,
270 R32ui = 33,
271 Rgb10a2ui = 34,
272 Rg32ui = 35,
273 Rg16ui = 36,
274 Rg8ui = 37,
275 R16ui = 38,
276 R8ui = 39,
277 R64ui = 40,
278 R64i = 41,
279 Max = 0x7fffffff,
280 };
281
282 enum class ImageChannelOrder : unsigned {
283 R = 0,
284 A = 1,
285 RG = 2,
286 RA = 3,
287 RGB = 4,
288 RGBA = 5,
289 BGRA = 6,
290 ARGB = 7,
291 Intensity = 8,
292 Luminance = 9,
293 Rx = 10,
294 RGx = 11,
295 RGBx = 12,
296 Depth = 13,
297 DepthStencil = 14,
298 sRGB = 15,
299 sRGBx = 16,
300 sRGBA = 17,
301 sBGRA = 18,
302 ABGR = 19,
303 Max = 0x7fffffff,
304 };
305
306 enum class ImageChannelDataType : unsigned {
307 SnormInt8 = 0,
308 SnormInt16 = 1,
309 UnormInt8 = 2,
310 UnormInt16 = 3,
311 UnormShort565 = 4,
312 UnormShort555 = 5,
313 UnormInt101010 = 6,
314 SignedInt8 = 7,
315 SignedInt16 = 8,
316 SignedInt32 = 9,
317 UnsignedInt8 = 10,
318 UnsignedInt16 = 11,
319 UnsignedInt32 = 12,
320 HalfFloat = 13,
321 Float = 14,
322 UnormInt24 = 15,
323 UnormInt101010_2 = 16,
324 Max = 0x7fffffff,
325 };
326
327 enum class ImageOperandsShift : unsigned {
328 Bias = 0,
329 Lod = 1,
330 Grad = 2,
331 ConstOffset = 3,
332 Offset = 4,
333 ConstOffsets = 5,
334 Sample = 6,
335 MinLod = 7,
336 MakeTexelAvailable = 8,
337 MakeTexelAvailableKHR = 8,
338 MakeTexelVisible = 9,
339 MakeTexelVisibleKHR = 9,
340 NonPrivateTexel = 10,
341 NonPrivateTexelKHR = 10,
342 VolatileTexel = 11,
343 VolatileTexelKHR = 11,
344 SignExtend = 12,
345 ZeroExtend = 13,
346 Max = 0x7fffffff,
347 };
348
349 enum class ImageOperandsMask : unsigned {
350 MaskNone = 0,
351 Bias = 0x00000001,
352 Lod = 0x00000002,
353 Grad = 0x00000004,
354 ConstOffset = 0x00000008,
355 Offset = 0x00000010,
356 ConstOffsets = 0x00000020,
357 Sample = 0x00000040,
358 MinLod = 0x00000080,
359 MakeTexelAvailable = 0x00000100,
360 MakeTexelAvailableKHR = 0x00000100,
361 MakeTexelVisible = 0x00000200,
362 MakeTexelVisibleKHR = 0x00000200,
363 NonPrivateTexel = 0x00000400,
364 NonPrivateTexelKHR = 0x00000400,
365 VolatileTexel = 0x00000800,
366 VolatileTexelKHR = 0x00000800,
367 SignExtend = 0x00001000,
368 ZeroExtend = 0x00002000,
369 };
370
371 enum class FPFastMathModeShift : unsigned {
372 NotNaN = 0,
373 NotInf = 1,
374 NSZ = 2,
375 AllowRecip = 3,
376 Fast = 4,
377 Max = 0x7fffffff,
378 };
379
380 enum class FPFastMathModeMask : unsigned {
381 MaskNone = 0,
382 NotNaN = 0x00000001,
383 NotInf = 0x00000002,
384 NSZ = 0x00000004,
385 AllowRecip = 0x00000008,
386 Fast = 0x00000010,
387 };
388
389 enum class FPRoundingMode : unsigned {
390 RTE = 0,
391 RTZ = 1,
392 RTP = 2,
393 RTN = 3,
394 Max = 0x7fffffff,
395 };
396
397 enum class LinkageType : unsigned {
398 Export = 0,
399 Import = 1,
400 Max = 0x7fffffff,
401 };
402
403 enum class AccessQualifier : unsigned {
404 ReadOnly = 0,
405 WriteOnly = 1,
406 ReadWrite = 2,
407 Max = 0x7fffffff,
408 };
409
410 enum class FunctionParameterAttribute : unsigned {
411 Zext = 0,
412 Sext = 1,
413 ByVal = 2,
414 Sret = 3,
415 NoAlias = 4,
416 NoCapture = 5,
417 NoWrite = 6,
418 NoReadWrite = 7,
419 Max = 0x7fffffff,
420 };
421
422 enum class Decoration : unsigned {
423 RelaxedPrecision = 0,
424 SpecId = 1,
425 Block = 2,
426 BufferBlock = 3,
427 RowMajor = 4,
428 ColMajor = 5,
429 ArrayStride = 6,
430 MatrixStride = 7,
431 GLSLShared = 8,
432 GLSLPacked = 9,
433 CPacked = 10,
434 BuiltIn = 11,
435 NoPerspective = 13,
436 Flat = 14,
437 Patch = 15,
438 Centroid = 16,
439 Sample = 17,
440 Invariant = 18,
441 Restrict = 19,
442 Aliased = 20,
443 Volatile = 21,
444 Constant = 22,
445 Coherent = 23,
446 NonWritable = 24,
447 NonReadable = 25,
448 Uniform = 26,
449 UniformId = 27,
450 SaturatedConversion = 28,
451 Stream = 29,
452 Location = 30,
453 Component = 31,
454 Index = 32,
455 Binding = 33,
456 DescriptorSet = 34,
457 Offset = 35,
458 XfbBuffer = 36,
459 XfbStride = 37,
460 FuncParamAttr = 38,
461 FPRoundingMode = 39,
462 FPFastMathMode = 40,
463 LinkageAttributes = 41,
464 NoContraction = 42,
465 InputAttachmentIndex = 43,
466 Alignment = 44,
467 MaxByteOffset = 45,
468 AlignmentId = 46,
469 MaxByteOffsetId = 47,
470 NoSignedWrap = 4469,
471 NoUnsignedWrap = 4470,
472 ExplicitInterpAMD = 4999,
473 OverrideCoverageNV = 5248,
474 PassthroughNV = 5250,
475 ViewportRelativeNV = 5252,
476 SecondaryViewportRelativeNV = 5256,
477 PerPrimitiveNV = 5271,
478 PerViewNV = 5272,
479 PerTaskNV = 5273,
480 PerVertexNV = 5285,
481 NonUniform = 5300,
482 NonUniformEXT = 5300,
483 RestrictPointer = 5355,
484 RestrictPointerEXT = 5355,
485 AliasedPointer = 5356,
486 AliasedPointerEXT = 5356,
487 ReferencedIndirectlyINTEL = 5602,
488 CounterBuffer = 5634,
489 HlslCounterBufferGOOGLE = 5634,
490 HlslSemanticGOOGLE = 5635,
491 UserSemantic = 5635,
492 UserTypeGOOGLE = 5636,
493 RegisterINTEL = 5825,
494 MemoryINTEL = 5826,
495 NumbanksINTEL = 5827,
496 BankwidthINTEL = 5828,
497 MaxPrivateCopiesINTEL = 5829,
498 SinglepumpINTEL = 5830,
499 DoublepumpINTEL = 5831,
500 MaxReplicatesINTEL = 5832,
501 SimpleDualPortINTEL = 5833,
502 MergeINTEL = 5834,
503 BankBitsINTEL = 5835,
504 ForcePow2DepthINTEL = 5836,
505 Max = 0x7fffffff,
506 };
507
508 enum class BuiltIn : unsigned {
509 Position = 0,
510 PointSize = 1,
511 ClipDistance = 3,
512 CullDistance = 4,
513 VertexId = 5,
514 InstanceId = 6,
515 PrimitiveId = 7,
516 InvocationId = 8,
517 Layer = 9,
518 ViewportIndex = 10,
519 TessLevelOuter = 11,
520 TessLevelInner = 12,
521 TessCoord = 13,
522 PatchVertices = 14,
523 FragCoord = 15,
524 PointCoord = 16,
525 FrontFacing = 17,
526 SampleId = 18,
527 SamplePosition = 19,
528 SampleMask = 20,
529 FragDepth = 22,
530 HelperInvocation = 23,
531 NumWorkgroups = 24,
532 WorkgroupSize = 25,
533 WorkgroupId = 26,
534 LocalInvocationId = 27,
535 GlobalInvocationId = 28,
536 LocalInvocationIndex = 29,
537 WorkDim = 30,
538 GlobalSize = 31,
539 EnqueuedWorkgroupSize = 32,
540 GlobalOffset = 33,
541 GlobalLinearId = 34,
542 SubgroupSize = 36,
543 SubgroupMaxSize = 37,
544 NumSubgroups = 38,
545 NumEnqueuedSubgroups = 39,
546 SubgroupId = 40,
547 SubgroupLocalInvocationId = 41,
548 VertexIndex = 42,
549 InstanceIndex = 43,
550 SubgroupEqMask = 4416,
551 SubgroupEqMaskKHR = 4416,
552 SubgroupGeMask = 4417,
553 SubgroupGeMaskKHR = 4417,
554 SubgroupGtMask = 4418,
555 SubgroupGtMaskKHR = 4418,
556 SubgroupLeMask = 4419,
557 SubgroupLeMaskKHR = 4419,
558 SubgroupLtMask = 4420,
559 SubgroupLtMaskKHR = 4420,
560 BaseVertex = 4424,
561 BaseInstance = 4425,
562 DrawIndex = 4426,
563 PrimitiveShadingRateKHR = 4432,
564 DeviceIndex = 4438,
565 ViewIndex = 4440,
566 ShadingRateKHR = 4444,
567 BaryCoordNoPerspAMD = 4992,
568 BaryCoordNoPerspCentroidAMD = 4993,
569 BaryCoordNoPerspSampleAMD = 4994,
570 BaryCoordSmoothAMD = 4995,
571 BaryCoordSmoothCentroidAMD = 4996,
572 BaryCoordSmoothSampleAMD = 4997,
573 BaryCoordPullModelAMD = 4998,
574 FragStencilRefEXT = 5014,
575 ViewportMaskNV = 5253,
576 SecondaryPositionNV = 5257,
577 SecondaryViewportMaskNV = 5258,
578 PositionPerViewNV = 5261,
579 ViewportMaskPerViewNV = 5262,
580 FullyCoveredEXT = 5264,
581 TaskCountNV = 5274,
582 PrimitiveCountNV = 5275,
583 PrimitiveIndicesNV = 5276,
584 ClipDistancePerViewNV = 5277,
585 CullDistancePerViewNV = 5278,
586 LayerPerViewNV = 5279,
587 MeshViewCountNV = 5280,
588 MeshViewIndicesNV = 5281,
589 BaryCoordNV = 5286,
590 BaryCoordNoPerspNV = 5287,
591 FragSizeEXT = 5292,
592 FragmentSizeNV = 5292,
593 FragInvocationCountEXT = 5293,
594 InvocationsPerPixelNV = 5293,
595 LaunchIdKHR = 5319,
596 LaunchIdNV = 5319,
597 LaunchSizeKHR = 5320,
598 LaunchSizeNV = 5320,
599 WorldRayOriginKHR = 5321,
600 WorldRayOriginNV = 5321,
601 WorldRayDirectionKHR = 5322,
602 WorldRayDirectionNV = 5322,
603 ObjectRayOriginKHR = 5323,
604 ObjectRayOriginNV = 5323,
605 ObjectRayDirectionKHR = 5324,
606 ObjectRayDirectionNV = 5324,
607 RayTminKHR = 5325,
608 RayTminNV = 5325,
609 RayTmaxKHR = 5326,
610 RayTmaxNV = 5326,
611 InstanceCustomIndexKHR = 5327,
612 InstanceCustomIndexNV = 5327,
613 ObjectToWorldKHR = 5330,
614 ObjectToWorldNV = 5330,
615 WorldToObjectKHR = 5331,
616 WorldToObjectNV = 5331,
617 HitTKHR = 5332,
618 HitTNV = 5332,
619 HitKindKHR = 5333,
620 HitKindNV = 5333,
621 IncomingRayFlagsKHR = 5351,
622 IncomingRayFlagsNV = 5351,
623 RayGeometryIndexKHR = 5352,
624 WarpsPerSMNV = 5374,
625 SMCountNV = 5375,
626 WarpIDNV = 5376,
627 SMIDNV = 5377,
628 Max = 0x7fffffff,
629 };
630
631 enum class SelectionControlShift : unsigned {
632 Flatten = 0,
633 DontFlatten = 1,
634 Max = 0x7fffffff,
635 };
636
637 enum class SelectionControlMask : unsigned {
638 MaskNone = 0,
639 Flatten = 0x00000001,
640 DontFlatten = 0x00000002,
641 };
642
643 enum class LoopControlShift : unsigned {
644 Unroll = 0,
645 DontUnroll = 1,
646 DependencyInfinite = 2,
647 DependencyLength = 3,
648 MinIterations = 4,
649 MaxIterations = 5,
650 IterationMultiple = 6,
651 PeelCount = 7,
652 PartialCount = 8,
653 InitiationIntervalINTEL = 16,
654 MaxConcurrencyINTEL = 17,
655 DependencyArrayINTEL = 18,
656 PipelineEnableINTEL = 19,
657 LoopCoalesceINTEL = 20,
658 MaxInterleavingINTEL = 21,
659 SpeculatedIterationsINTEL = 22,
660 Max = 0x7fffffff,
661 };
662
663 enum class LoopControlMask : unsigned {
664 MaskNone = 0,
665 Unroll = 0x00000001,
666 DontUnroll = 0x00000002,
667 DependencyInfinite = 0x00000004,
668 DependencyLength = 0x00000008,
669 MinIterations = 0x00000010,
670 MaxIterations = 0x00000020,
671 IterationMultiple = 0x00000040,
672 PeelCount = 0x00000080,
673 PartialCount = 0x00000100,
674 InitiationIntervalINTEL = 0x00010000,
675 MaxConcurrencyINTEL = 0x00020000,
676 DependencyArrayINTEL = 0x00040000,
677 PipelineEnableINTEL = 0x00080000,
678 LoopCoalesceINTEL = 0x00100000,
679 MaxInterleavingINTEL = 0x00200000,
680 SpeculatedIterationsINTEL = 0x00400000,
681 };
682
683 enum class FunctionControlShift : unsigned {
684 Inline = 0,
685 DontInline = 1,
686 Pure = 2,
687 Const = 3,
688 Max = 0x7fffffff,
689 };
690
691 enum class FunctionControlMask : unsigned {
692 MaskNone = 0,
693 Inline = 0x00000001,
694 DontInline = 0x00000002,
695 Pure = 0x00000004,
696 Const = 0x00000008,
697 };
698
699 enum class MemorySemanticsShift : unsigned {
700 Acquire = 1,
701 Release = 2,
702 AcquireRelease = 3,
703 SequentiallyConsistent = 4,
704 UniformMemory = 6,
705 SubgroupMemory = 7,
706 WorkgroupMemory = 8,
707 CrossWorkgroupMemory = 9,
708 AtomicCounterMemory = 10,
709 ImageMemory = 11,
710 OutputMemory = 12,
711 OutputMemoryKHR = 12,
712 MakeAvailable = 13,
713 MakeAvailableKHR = 13,
714 MakeVisible = 14,
715 MakeVisibleKHR = 14,
716 Volatile = 15,
717 Max = 0x7fffffff,
718 };
719
720 enum class MemorySemanticsMask : unsigned {
721 MaskNone = 0,
722 Acquire = 0x00000002,
723 Release = 0x00000004,
724 AcquireRelease = 0x00000008,
725 SequentiallyConsistent = 0x00000010,
726 UniformMemory = 0x00000040,
727 SubgroupMemory = 0x00000080,
728 WorkgroupMemory = 0x00000100,
729 CrossWorkgroupMemory = 0x00000200,
730 AtomicCounterMemory = 0x00000400,
731 ImageMemory = 0x00000800,
732 OutputMemory = 0x00001000,
733 OutputMemoryKHR = 0x00001000,
734 MakeAvailable = 0x00002000,
735 MakeAvailableKHR = 0x00002000,
736 MakeVisible = 0x00004000,
737 MakeVisibleKHR = 0x00004000,
738 Volatile = 0x00008000,
739 };
740
741 enum class MemoryAccessShift : unsigned {
742 Volatile = 0,
743 Aligned = 1,
744 Nontemporal = 2,
745 MakePointerAvailable = 3,
746 MakePointerAvailableKHR = 3,
747 MakePointerVisible = 4,
748 MakePointerVisibleKHR = 4,
749 NonPrivatePointer = 5,
750 NonPrivatePointerKHR = 5,
751 Max = 0x7fffffff,
752 };
753
754 enum class MemoryAccessMask : unsigned {
755 MaskNone = 0,
756 Volatile = 0x00000001,
757 Aligned = 0x00000002,
758 Nontemporal = 0x00000004,
759 MakePointerAvailable = 0x00000008,
760 MakePointerAvailableKHR = 0x00000008,
761 MakePointerVisible = 0x00000010,
762 MakePointerVisibleKHR = 0x00000010,
763 NonPrivatePointer = 0x00000020,
764 NonPrivatePointerKHR = 0x00000020,
765 };
766
767 enum class Scope : unsigned {
768 CrossDevice = 0,
769 Device = 1,
770 Workgroup = 2,
771 Subgroup = 3,
772 Invocation = 4,
773 QueueFamily = 5,
774 QueueFamilyKHR = 5,
775 ShaderCallKHR = 6,
776 Max = 0x7fffffff,
777 };
778
779 enum class GroupOperation : unsigned {
780 Reduce = 0,
781 InclusiveScan = 1,
782 ExclusiveScan = 2,
783 ClusteredReduce = 3,
784 PartitionedReduceNV = 6,
785 PartitionedInclusiveScanNV = 7,
786 PartitionedExclusiveScanNV = 8,
787 Max = 0x7fffffff,
788 };
789
790 enum class KernelEnqueueFlags : unsigned {
791 NoWait = 0,
792 WaitKernel = 1,
793 WaitWorkGroup = 2,
794 Max = 0x7fffffff,
795 };
796
797 enum class KernelProfilingInfoShift : unsigned {
798 CmdExecTime = 0,
799 Max = 0x7fffffff,
800 };
801
802 enum class KernelProfilingInfoMask : unsigned {
803 MaskNone = 0,
804 CmdExecTime = 0x00000001,
805 };
806
807 enum class Capability : unsigned {
808 Matrix = 0,
809 Shader = 1,
810 Geometry = 2,
811 Tessellation = 3,
812 Addresses = 4,
813 Linkage = 5,
814 Kernel = 6,
815 Vector16 = 7,
816 Float16Buffer = 8,
817 Float16 = 9,
818 Float64 = 10,
819 Int64 = 11,
820 Int64Atomics = 12,
821 ImageBasic = 13,
822 ImageReadWrite = 14,
823 ImageMipmap = 15,
824 Pipes = 17,
825 Groups = 18,
826 DeviceEnqueue = 19,
827 LiteralSampler = 20,
828 AtomicStorage = 21,
829 Int16 = 22,
830 TessellationPointSize = 23,
831 GeometryPointSize = 24,
832 ImageGatherExtended = 25,
833 StorageImageMultisample = 27,
834 UniformBufferArrayDynamicIndexing = 28,
835 SampledImageArrayDynamicIndexing = 29,
836 StorageBufferArrayDynamicIndexing = 30,
837 StorageImageArrayDynamicIndexing = 31,
838 ClipDistance = 32,
839 CullDistance = 33,
840 ImageCubeArray = 34,
841 SampleRateShading = 35,
842 ImageRect = 36,
843 SampledRect = 37,
844 GenericPointer = 38,
845 Int8 = 39,
846 InputAttachment = 40,
847 SparseResidency = 41,
848 MinLod = 42,
849 Sampled1D = 43,
850 Image1D = 44,
851 SampledCubeArray = 45,
852 SampledBuffer = 46,
853 ImageBuffer = 47,
854 ImageMSArray = 48,
855 StorageImageExtendedFormats = 49,
856 ImageQuery = 50,
857 DerivativeControl = 51,
858 InterpolationFunction = 52,
859 TransformFeedback = 53,
860 GeometryStreams = 54,
861 StorageImageReadWithoutFormat = 55,
862 StorageImageWriteWithoutFormat = 56,
863 MultiViewport = 57,
864 SubgroupDispatch = 58,
865 NamedBarrier = 59,
866 PipeStorage = 60,
867 GroupNonUniform = 61,
868 GroupNonUniformVote = 62,
869 GroupNonUniformArithmetic = 63,
870 GroupNonUniformBallot = 64,
871 GroupNonUniformShuffle = 65,
872 GroupNonUniformShuffleRelative = 66,
873 GroupNonUniformClustered = 67,
874 GroupNonUniformQuad = 68,
875 ShaderLayer = 69,
876 ShaderViewportIndex = 70,
877 FragmentShadingRateKHR = 4422,
878 SubgroupBallotKHR = 4423,
879 DrawParameters = 4427,
880 SubgroupVoteKHR = 4431,
881 StorageBuffer16BitAccess = 4433,
882 StorageUniformBufferBlock16 = 4433,
883 StorageUniform16 = 4434,
884 UniformAndStorageBuffer16BitAccess = 4434,
885 StoragePushConstant16 = 4435,
886 StorageInputOutput16 = 4436,
887 DeviceGroup = 4437,
888 MultiView = 4439,
889 VariablePointersStorageBuffer = 4441,
890 VariablePointers = 4442,
891 AtomicStorageOps = 4445,
892 SampleMaskPostDepthCoverage = 4447,
893 StorageBuffer8BitAccess = 4448,
894 UniformAndStorageBuffer8BitAccess = 4449,
895 StoragePushConstant8 = 4450,
896 DenormPreserve = 4464,
897 DenormFlushToZero = 4465,
898 SignedZeroInfNanPreserve = 4466,
899 RoundingModeRTE = 4467,
900 RoundingModeRTZ = 4468,
901 RayQueryProvisionalKHR = 4471,
902 RayTraversalPrimitiveCullingProvisionalKHR = 4478,
903 Float16ImageAMD = 5008,
904 ImageGatherBiasLodAMD = 5009,
905 FragmentMaskAMD = 5010,
906 StencilExportEXT = 5013,
907 ImageReadWriteLodAMD = 5015,
908 Int64ImageEXT = 5016,
909 ShaderClockKHR = 5055,
910 SampleMaskOverrideCoverageNV = 5249,
911 GeometryShaderPassthroughNV = 5251,
912 ShaderViewportIndexLayerEXT = 5254,
913 ShaderViewportIndexLayerNV = 5254,
914 ShaderViewportMaskNV = 5255,
915 ShaderStereoViewNV = 5259,
916 PerViewAttributesNV = 5260,
917 FragmentFullyCoveredEXT = 5265,
918 MeshShadingNV = 5266,
919 ImageFootprintNV = 5282,
920 FragmentBarycentricNV = 5284,
921 ComputeDerivativeGroupQuadsNV = 5288,
922 FragmentDensityEXT = 5291,
923 ShadingRateNV = 5291,
924 GroupNonUniformPartitionedNV = 5297,
925 ShaderNonUniform = 5301,
926 ShaderNonUniformEXT = 5301,
927 RuntimeDescriptorArray = 5302,
928 RuntimeDescriptorArrayEXT = 5302,
929 InputAttachmentArrayDynamicIndexing = 5303,
930 InputAttachmentArrayDynamicIndexingEXT = 5303,
931 UniformTexelBufferArrayDynamicIndexing = 5304,
932 UniformTexelBufferArrayDynamicIndexingEXT = 5304,
933 StorageTexelBufferArrayDynamicIndexing = 5305,
934 StorageTexelBufferArrayDynamicIndexingEXT = 5305,
935 UniformBufferArrayNonUniformIndexing = 5306,
936 UniformBufferArrayNonUniformIndexingEXT = 5306,
937 SampledImageArrayNonUniformIndexing = 5307,
938 SampledImageArrayNonUniformIndexingEXT = 5307,
939 StorageBufferArrayNonUniformIndexing = 5308,
940 StorageBufferArrayNonUniformIndexingEXT = 5308,
941 StorageImageArrayNonUniformIndexing = 5309,
942 StorageImageArrayNonUniformIndexingEXT = 5309,
943 InputAttachmentArrayNonUniformIndexing = 5310,
944 InputAttachmentArrayNonUniformIndexingEXT = 5310,
945 UniformTexelBufferArrayNonUniformIndexing = 5311,
946 UniformTexelBufferArrayNonUniformIndexingEXT = 5311,
947 StorageTexelBufferArrayNonUniformIndexing = 5312,
948 StorageTexelBufferArrayNonUniformIndexingEXT = 5312,
949 RayTracingNV = 5340,
950 VulkanMemoryModel = 5345,
951 VulkanMemoryModelKHR = 5345,
952 VulkanMemoryModelDeviceScope = 5346,
953 VulkanMemoryModelDeviceScopeKHR = 5346,
954 PhysicalStorageBufferAddresses = 5347,
955 PhysicalStorageBufferAddressesEXT = 5347,
956 ComputeDerivativeGroupLinearNV = 5350,
957 RayTracingProvisionalKHR = 5353,
958 CooperativeMatrixNV = 5357,
959 FragmentShaderSampleInterlockEXT = 5363,
960 FragmentShaderShadingRateInterlockEXT = 5372,
961 ShaderSMBuiltinsNV = 5373,
962 FragmentShaderPixelInterlockEXT = 5378,
963 DemoteToHelperInvocationEXT = 5379,
964 SubgroupShuffleINTEL = 5568,
965 SubgroupBufferBlockIOINTEL = 5569,
966 SubgroupImageBlockIOINTEL = 5570,
967 SubgroupImageMediaBlockIOINTEL = 5579,
968 IntegerFunctions2INTEL = 5584,
969 FunctionPointersINTEL = 5603,
970 IndirectReferencesINTEL = 5604,
971 SubgroupAvcMotionEstimationINTEL = 5696,
972 SubgroupAvcMotionEstimationIntraINTEL = 5697,
973 SubgroupAvcMotionEstimationChromaINTEL = 5698,
974 FPGAMemoryAttributesINTEL = 5824,
975 UnstructuredLoopControlsINTEL = 5886,
976 FPGALoopControlsINTEL = 5888,
977 KernelAttributesINTEL = 5892,
978 FPGAKernelAttributesINTEL = 5897,
979 BlockingPipesINTEL = 5945,
980 FPGARegINTEL = 5948,
981 AtomicFloat32AddEXT = 6033,
982 AtomicFloat64AddEXT = 6034,
983 Max = 0x7fffffff,
984 };
985
986 enum class RayFlagsShift : unsigned {
987 OpaqueKHR = 0,
988 NoOpaqueKHR = 1,
989 TerminateOnFirstHitKHR = 2,
990 SkipClosestHitShaderKHR = 3,
991 CullBackFacingTrianglesKHR = 4,
992 CullFrontFacingTrianglesKHR = 5,
993 CullOpaqueKHR = 6,
994 CullNoOpaqueKHR = 7,
995 SkipTrianglesKHR = 8,
996 SkipAABBsKHR = 9,
997 Max = 0x7fffffff,
998 };
999
1000 enum class RayFlagsMask : unsigned {
1001 MaskNone = 0,
1002 OpaqueKHR = 0x00000001,
1003 NoOpaqueKHR = 0x00000002,
1004 TerminateOnFirstHitKHR = 0x00000004,
1005 SkipClosestHitShaderKHR = 0x00000008,
1006 CullBackFacingTrianglesKHR = 0x00000010,
1007 CullFrontFacingTrianglesKHR = 0x00000020,
1008 CullOpaqueKHR = 0x00000040,
1009 CullNoOpaqueKHR = 0x00000080,
1010 SkipTrianglesKHR = 0x00000100,
1011 SkipAABBsKHR = 0x00000200,
1012 };
1013
1014 enum class RayQueryIntersection : unsigned {
1015 RayQueryCandidateIntersectionKHR = 0,
1016 RayQueryCommittedIntersectionKHR = 1,
1017 Max = 0x7fffffff,
1018 };
1019
1020 enum class RayQueryCommittedIntersectionType : unsigned {
1021 RayQueryCommittedIntersectionNoneKHR = 0,
1022 RayQueryCommittedIntersectionTriangleKHR = 1,
1023 RayQueryCommittedIntersectionGeneratedKHR = 2,
1024 Max = 0x7fffffff,
1025 };
1026
1027 enum class RayQueryCandidateIntersectionType : unsigned {
1028 RayQueryCandidateIntersectionTriangleKHR = 0,
1029 RayQueryCandidateIntersectionAABBKHR = 1,
1030 Max = 0x7fffffff,
1031 };
1032
1033 enum class FragmentShadingRateShift : unsigned {
1034 Vertical2Pixels = 0,
1035 Vertical4Pixels = 1,
1036 Horizontal2Pixels = 2,
1037 Horizontal4Pixels = 3,
1038 Max = 0x7fffffff,
1039 };
1040
1041 enum class FragmentShadingRateMask : unsigned {
1042 MaskNone = 0,
1043 Vertical2Pixels = 0x00000001,
1044 Vertical4Pixels = 0x00000002,
1045 Horizontal2Pixels = 0x00000004,
1046 Horizontal4Pixels = 0x00000008,
1047 };
1048
1049 enum class Op : unsigned {
1050 OpNop = 0,
1051 OpUndef = 1,
1052 OpSourceContinued = 2,
1053 OpSource = 3,
1054 OpSourceExtension = 4,
1055 OpName = 5,
1056 OpMemberName = 6,
1057 OpString = 7,
1058 OpLine = 8,
1059 OpExtension = 10,
1060 OpExtInstImport = 11,
1061 OpExtInst = 12,
1062 OpMemoryModel = 14,
1063 OpEntryPoint = 15,
1064 OpExecutionMode = 16,
1065 OpCapability = 17,
1066 OpTypeVoid = 19,
1067 OpTypeBool = 20,
1068 OpTypeInt = 21,
1069 OpTypeFloat = 22,
1070 OpTypeVector = 23,
1071 OpTypeMatrix = 24,
1072 OpTypeImage = 25,
1073 OpTypeSampler = 26,
1074 OpTypeSampledImage = 27,
1075 OpTypeArray = 28,
1076 OpTypeRuntimeArray = 29,
1077 OpTypeStruct = 30,
1078 OpTypeOpaque = 31,
1079 OpTypePointer = 32,
1080 OpTypeFunction = 33,
1081 OpTypeEvent = 34,
1082 OpTypeDeviceEvent = 35,
1083 OpTypeReserveId = 36,
1084 OpTypeQueue = 37,
1085 OpTypePipe = 38,
1086 OpTypeForwardPointer = 39,
1087 OpConstantTrue = 41,
1088 OpConstantFalse = 42,
1089 OpConstant = 43,
1090 OpConstantComposite = 44,
1091 OpConstantSampler = 45,
1092 OpConstantNull = 46,
1093 OpSpecConstantTrue = 48,
1094 OpSpecConstantFalse = 49,
1095 OpSpecConstant = 50,
1096 OpSpecConstantComposite = 51,
1097 OpSpecConstantOp = 52,
1098 OpFunction = 54,
1099 OpFunctionParameter = 55,
1100 OpFunctionEnd = 56,
1101 OpFunctionCall = 57,
1102 OpVariable = 59,
1103 OpImageTexelPointer = 60,
1104 OpLoad = 61,
1105 OpStore = 62,
1106 OpCopyMemory = 63,
1107 OpCopyMemorySized = 64,
1108 OpAccessChain = 65,
1109 OpInBoundsAccessChain = 66,
1110 OpPtrAccessChain = 67,
1111 OpArrayLength = 68,
1112 OpGenericPtrMemSemantics = 69,
1113 OpInBoundsPtrAccessChain = 70,
1114 OpDecorate = 71,
1115 OpMemberDecorate = 72,
1116 OpDecorationGroup = 73,
1117 OpGroupDecorate = 74,
1118 OpGroupMemberDecorate = 75,
1119 OpVectorExtractDynamic = 77,
1120 OpVectorInsertDynamic = 78,
1121 OpVectorShuffle = 79,
1122 OpCompositeConstruct = 80,
1123 OpCompositeExtract = 81,
1124 OpCompositeInsert = 82,
1125 OpCopyObject = 83,
1126 OpTranspose = 84,
1127 OpSampledImage = 86,
1128 OpImageSampleImplicitLod = 87,
1129 OpImageSampleExplicitLod = 88,
1130 OpImageSampleDrefImplicitLod = 89,
1131 OpImageSampleDrefExplicitLod = 90,
1132 OpImageSampleProjImplicitLod = 91,
1133 OpImageSampleProjExplicitLod = 92,
1134 OpImageSampleProjDrefImplicitLod = 93,
1135 OpImageSampleProjDrefExplicitLod = 94,
1136 OpImageFetch = 95,
1137 OpImageGather = 96,
1138 OpImageDrefGather = 97,
1139 OpImageRead = 98,
1140 OpImageWrite = 99,
1141 OpImage = 100,
1142 OpImageQueryFormat = 101,
1143 OpImageQueryOrder = 102,
1144 OpImageQuerySizeLod = 103,
1145 OpImageQuerySize = 104,
1146 OpImageQueryLod = 105,
1147 OpImageQueryLevels = 106,
1148 OpImageQuerySamples = 107,
1149 OpConvertFToU = 109,
1150 OpConvertFToS = 110,
1151 OpConvertSToF = 111,
1152 OpConvertUToF = 112,
1153 OpUConvert = 113,
1154 OpSConvert = 114,
1155 OpFConvert = 115,
1156 OpQuantizeToF16 = 116,
1157 OpConvertPtrToU = 117,
1158 OpSatConvertSToU = 118,
1159 OpSatConvertUToS = 119,
1160 OpConvertUToPtr = 120,
1161 OpPtrCastToGeneric = 121,
1162 OpGenericCastToPtr = 122,
1163 OpGenericCastToPtrExplicit = 123,
1164 OpBitcast = 124,
1165 OpSNegate = 126,
1166 OpFNegate = 127,
1167 OpIAdd = 128,
1168 OpFAdd = 129,
1169 OpISub = 130,
1170 OpFSub = 131,
1171 OpIMul = 132,
1172 OpFMul = 133,
1173 OpUDiv = 134,
1174 OpSDiv = 135,
1175 OpFDiv = 136,
1176 OpUMod = 137,
1177 OpSRem = 138,
1178 OpSMod = 139,
1179 OpFRem = 140,
1180 OpFMod = 141,
1181 OpVectorTimesScalar = 142,
1182 OpMatrixTimesScalar = 143,
1183 OpVectorTimesMatrix = 144,
1184 OpMatrixTimesVector = 145,
1185 OpMatrixTimesMatrix = 146,
1186 OpOuterProduct = 147,
1187 OpDot = 148,
1188 OpIAddCarry = 149,
1189 OpISubBorrow = 150,
1190 OpUMulExtended = 151,
1191 OpSMulExtended = 152,
1192 OpAny = 154,
1193 OpAll = 155,
1194 OpIsNan = 156,
1195 OpIsInf = 157,
1196 OpIsFinite = 158,
1197 OpIsNormal = 159,
1198 OpSignBitSet = 160,
1199 OpLessOrGreater = 161,
1200 OpOrdered = 162,
1201 OpUnordered = 163,
1202 OpLogicalEqual = 164,
1203 OpLogicalNotEqual = 165,
1204 OpLogicalOr = 166,
1205 OpLogicalAnd = 167,
1206 OpLogicalNot = 168,
1207 OpSelect = 169,
1208 OpIEqual = 170,
1209 OpINotEqual = 171,
1210 OpUGreaterThan = 172,
1211 OpSGreaterThan = 173,
1212 OpUGreaterThanEqual = 174,
1213 OpSGreaterThanEqual = 175,
1214 OpULessThan = 176,
1215 OpSLessThan = 177,
1216 OpULessThanEqual = 178,
1217 OpSLessThanEqual = 179,
1218 OpFOrdEqual = 180,
1219 OpFUnordEqual = 181,
1220 OpFOrdNotEqual = 182,
1221 OpFUnordNotEqual = 183,
1222 OpFOrdLessThan = 184,
1223 OpFUnordLessThan = 185,
1224 OpFOrdGreaterThan = 186,
1225 OpFUnordGreaterThan = 187,
1226 OpFOrdLessThanEqual = 188,
1227 OpFUnordLessThanEqual = 189,
1228 OpFOrdGreaterThanEqual = 190,
1229 OpFUnordGreaterThanEqual = 191,
1230 OpShiftRightLogical = 194,
1231 OpShiftRightArithmetic = 195,
1232 OpShiftLeftLogical = 196,
1233 OpBitwiseOr = 197,
1234 OpBitwiseXor = 198,
1235 OpBitwiseAnd = 199,
1236 OpNot = 200,
1237 OpBitFieldInsert = 201,
1238 OpBitFieldSExtract = 202,
1239 OpBitFieldUExtract = 203,
1240 OpBitReverse = 204,
1241 OpBitCount = 205,
1242 OpDPdx = 207,
1243 OpDPdy = 208,
1244 OpFwidth = 209,
1245 OpDPdxFine = 210,
1246 OpDPdyFine = 211,
1247 OpFwidthFine = 212,
1248 OpDPdxCoarse = 213,
1249 OpDPdyCoarse = 214,
1250 OpFwidthCoarse = 215,
1251 OpEmitVertex = 218,
1252 OpEndPrimitive = 219,
1253 OpEmitStreamVertex = 220,
1254 OpEndStreamPrimitive = 221,
1255 OpControlBarrier = 224,
1256 OpMemoryBarrier = 225,
1257 OpAtomicLoad = 227,
1258 OpAtomicStore = 228,
1259 OpAtomicExchange = 229,
1260 OpAtomicCompareExchange = 230,
1261 OpAtomicCompareExchangeWeak = 231,
1262 OpAtomicIIncrement = 232,
1263 OpAtomicIDecrement = 233,
1264 OpAtomicIAdd = 234,
1265 OpAtomicISub = 235,
1266 OpAtomicSMin = 236,
1267 OpAtomicUMin = 237,
1268 OpAtomicSMax = 238,
1269 OpAtomicUMax = 239,
1270 OpAtomicAnd = 240,
1271 OpAtomicOr = 241,
1272 OpAtomicXor = 242,
1273 OpPhi = 245,
1274 OpLoopMerge = 246,
1275 OpSelectionMerge = 247,
1276 OpLabel = 248,
1277 OpBranch = 249,
1278 OpBranchConditional = 250,
1279 OpSwitch = 251,
1280 OpKill = 252,
1281 OpReturn = 253,
1282 OpReturnValue = 254,
1283 OpUnreachable = 255,
1284 OpLifetimeStart = 256,
1285 OpLifetimeStop = 257,
1286 OpGroupAsyncCopy = 259,
1287 OpGroupWaitEvents = 260,
1288 OpGroupAll = 261,
1289 OpGroupAny = 262,
1290 OpGroupBroadcast = 263,
1291 OpGroupIAdd = 264,
1292 OpGroupFAdd = 265,
1293 OpGroupFMin = 266,
1294 OpGroupUMin = 267,
1295 OpGroupSMin = 268,
1296 OpGroupFMax = 269,
1297 OpGroupUMax = 270,
1298 OpGroupSMax = 271,
1299 OpReadPipe = 274,
1300 OpWritePipe = 275,
1301 OpReservedReadPipe = 276,
1302 OpReservedWritePipe = 277,
1303 OpReserveReadPipePackets = 278,
1304 OpReserveWritePipePackets = 279,
1305 OpCommitReadPipe = 280,
1306 OpCommitWritePipe = 281,
1307 OpIsValidReserveId = 282,
1308 OpGetNumPipePackets = 283,
1309 OpGetMaxPipePackets = 284,
1310 OpGroupReserveReadPipePackets = 285,
1311 OpGroupReserveWritePipePackets = 286,
1312 OpGroupCommitReadPipe = 287,
1313 OpGroupCommitWritePipe = 288,
1314 OpEnqueueMarker = 291,
1315 OpEnqueueKernel = 292,
1316 OpGetKernelNDrangeSubGroupCount = 293,
1317 OpGetKernelNDrangeMaxSubGroupSize = 294,
1318 OpGetKernelWorkGroupSize = 295,
1319 OpGetKernelPreferredWorkGroupSizeMultiple = 296,
1320 OpRetainEvent = 297,
1321 OpReleaseEvent = 298,
1322 OpCreateUserEvent = 299,
1323 OpIsValidEvent = 300,
1324 OpSetUserEventStatus = 301,
1325 OpCaptureEventProfilingInfo = 302,
1326 OpGetDefaultQueue = 303,
1327 OpBuildNDRange = 304,
1328 OpImageSparseSampleImplicitLod = 305,
1329 OpImageSparseSampleExplicitLod = 306,
1330 OpImageSparseSampleDrefImplicitLod = 307,
1331 OpImageSparseSampleDrefExplicitLod = 308,
1332 OpImageSparseSampleProjImplicitLod = 309,
1333 OpImageSparseSampleProjExplicitLod = 310,
1334 OpImageSparseSampleProjDrefImplicitLod = 311,
1335 OpImageSparseSampleProjDrefExplicitLod = 312,
1336 OpImageSparseFetch = 313,
1337 OpImageSparseGather = 314,
1338 OpImageSparseDrefGather = 315,
1339 OpImageSparseTexelsResident = 316,
1340 OpNoLine = 317,
1341 OpAtomicFlagTestAndSet = 318,
1342 OpAtomicFlagClear = 319,
1343 OpImageSparseRead = 320,
1344 OpSizeOf = 321,
1345 OpTypePipeStorage = 322,
1346 OpConstantPipeStorage = 323,
1347 OpCreatePipeFromPipeStorage = 324,
1348 OpGetKernelLocalSizeForSubgroupCount = 325,
1349 OpGetKernelMaxNumSubgroups = 326,
1350 OpTypeNamedBarrier = 327,
1351 OpNamedBarrierInitialize = 328,
1352 OpMemoryNamedBarrier = 329,
1353 OpModuleProcessed = 330,
1354 OpExecutionModeId = 331,
1355 OpDecorateId = 332,
1356 OpGroupNonUniformElect = 333,
1357 OpGroupNonUniformAll = 334,
1358 OpGroupNonUniformAny = 335,
1359 OpGroupNonUniformAllEqual = 336,
1360 OpGroupNonUniformBroadcast = 337,
1361 OpGroupNonUniformBroadcastFirst = 338,
1362 OpGroupNonUniformBallot = 339,
1363 OpGroupNonUniformInverseBallot = 340,
1364 OpGroupNonUniformBallotBitExtract = 341,
1365 OpGroupNonUniformBallotBitCount = 342,
1366 OpGroupNonUniformBallotFindLSB = 343,
1367 OpGroupNonUniformBallotFindMSB = 344,
1368 OpGroupNonUniformShuffle = 345,
1369 OpGroupNonUniformShuffleXor = 346,
1370 OpGroupNonUniformShuffleUp = 347,
1371 OpGroupNonUniformShuffleDown = 348,
1372 OpGroupNonUniformIAdd = 349,
1373 OpGroupNonUniformFAdd = 350,
1374 OpGroupNonUniformIMul = 351,
1375 OpGroupNonUniformFMul = 352,
1376 OpGroupNonUniformSMin = 353,
1377 OpGroupNonUniformUMin = 354,
1378 OpGroupNonUniformFMin = 355,
1379 OpGroupNonUniformSMax = 356,
1380 OpGroupNonUniformUMax = 357,
1381 OpGroupNonUniformFMax = 358,
1382 OpGroupNonUniformBitwiseAnd = 359,
1383 OpGroupNonUniformBitwiseOr = 360,
1384 OpGroupNonUniformBitwiseXor = 361,
1385 OpGroupNonUniformLogicalAnd = 362,
1386 OpGroupNonUniformLogicalOr = 363,
1387 OpGroupNonUniformLogicalXor = 364,
1388 OpGroupNonUniformQuadBroadcast = 365,
1389 OpGroupNonUniformQuadSwap = 366,
1390 OpCopyLogical = 400,
1391 OpPtrEqual = 401,
1392 OpPtrNotEqual = 402,
1393 OpPtrDiff = 403,
1394 OpTerminateInvocation = 4416,
1395 OpSubgroupBallotKHR = 4421,
1396 OpSubgroupFirstInvocationKHR = 4422,
1397 OpSubgroupAllKHR = 4428,
1398 OpSubgroupAnyKHR = 4429,
1399 OpSubgroupAllEqualKHR = 4430,
1400 OpSubgroupReadInvocationKHR = 4432,
1401 OpTypeRayQueryProvisionalKHR = 4472,
1402 OpRayQueryInitializeKHR = 4473,
1403 OpRayQueryTerminateKHR = 4474,
1404 OpRayQueryGenerateIntersectionKHR = 4475,
1405 OpRayQueryConfirmIntersectionKHR = 4476,
1406 OpRayQueryProceedKHR = 4477,
1407 OpRayQueryGetIntersectionTypeKHR = 4479,
1408 OpGroupIAddNonUniformAMD = 5000,
1409 OpGroupFAddNonUniformAMD = 5001,
1410 OpGroupFMinNonUniformAMD = 5002,
1411 OpGroupUMinNonUniformAMD = 5003,
1412 OpGroupSMinNonUniformAMD = 5004,
1413 OpGroupFMaxNonUniformAMD = 5005,
1414 OpGroupUMaxNonUniformAMD = 5006,
1415 OpGroupSMaxNonUniformAMD = 5007,
1416 OpFragmentMaskFetchAMD = 5011,
1417 OpFragmentFetchAMD = 5012,
1418 OpReadClockKHR = 5056,
1419 OpImageSampleFootprintNV = 5283,
1420 OpGroupNonUniformPartitionNV = 5296,
1421 OpWritePackedPrimitiveIndices4x8NV = 5299,
1422 OpReportIntersectionKHR = 5334,
1423 OpReportIntersectionNV = 5334,
1424 OpIgnoreIntersectionKHR = 5335,
1425 OpIgnoreIntersectionNV = 5335,
1426 OpTerminateRayKHR = 5336,
1427 OpTerminateRayNV = 5336,
1428 OpTraceNV = 5337,
1429 OpTraceRayKHR = 5337,
1430 OpTypeAccelerationStructureKHR = 5341,
1431 OpTypeAccelerationStructureNV = 5341,
1432 OpExecuteCallableKHR = 5344,
1433 OpExecuteCallableNV = 5344,
1434 OpTypeCooperativeMatrixNV = 5358,
1435 OpCooperativeMatrixLoadNV = 5359,
1436 OpCooperativeMatrixStoreNV = 5360,
1437 OpCooperativeMatrixMulAddNV = 5361,
1438 OpCooperativeMatrixLengthNV = 5362,
1439 OpBeginInvocationInterlockEXT = 5364,
1440 OpEndInvocationInterlockEXT = 5365,
1441 OpDemoteToHelperInvocationEXT = 5380,
1442 OpIsHelperInvocationEXT = 5381,
1443 OpSubgroupShuffleINTEL = 5571,
1444 OpSubgroupShuffleDownINTEL = 5572,
1445 OpSubgroupShuffleUpINTEL = 5573,
1446 OpSubgroupShuffleXorINTEL = 5574,
1447 OpSubgroupBlockReadINTEL = 5575,
1448 OpSubgroupBlockWriteINTEL = 5576,
1449 OpSubgroupImageBlockReadINTEL = 5577,
1450 OpSubgroupImageBlockWriteINTEL = 5578,
1451 OpSubgroupImageMediaBlockReadINTEL = 5580,
1452 OpSubgroupImageMediaBlockWriteINTEL = 5581,
1453 OpUCountLeadingZerosINTEL = 5585,
1454 OpUCountTrailingZerosINTEL = 5586,
1455 OpAbsISubINTEL = 5587,
1456 OpAbsUSubINTEL = 5588,
1457 OpIAddSatINTEL = 5589,
1458 OpUAddSatINTEL = 5590,
1459 OpIAverageINTEL = 5591,
1460 OpUAverageINTEL = 5592,
1461 OpIAverageRoundedINTEL = 5593,
1462 OpUAverageRoundedINTEL = 5594,
1463 OpISubSatINTEL = 5595,
1464 OpUSubSatINTEL = 5596,
1465 OpIMul32x16INTEL = 5597,
1466 OpUMul32x16INTEL = 5598,
1467 OpFunctionPointerINTEL = 5600,
1468 OpFunctionPointerCallINTEL = 5601,
1469 OpDecorateString = 5632,
1470 OpDecorateStringGOOGLE = 5632,
1471 OpMemberDecorateString = 5633,
1472 OpMemberDecorateStringGOOGLE = 5633,
1473 OpVmeImageINTEL = 5699,
1474 OpTypeVmeImageINTEL = 5700,
1475 OpTypeAvcImePayloadINTEL = 5701,
1476 OpTypeAvcRefPayloadINTEL = 5702,
1477 OpTypeAvcSicPayloadINTEL = 5703,
1478 OpTypeAvcMcePayloadINTEL = 5704,
1479 OpTypeAvcMceResultINTEL = 5705,
1480 OpTypeAvcImeResultINTEL = 5706,
1481 OpTypeAvcImeResultSingleReferenceStreamoutINTEL = 5707,
1482 OpTypeAvcImeResultDualReferenceStreamoutINTEL = 5708,
1483 OpTypeAvcImeSingleReferenceStreaminINTEL = 5709,
1484 OpTypeAvcImeDualReferenceStreaminINTEL = 5710,
1485 OpTypeAvcRefResultINTEL = 5711,
1486 OpTypeAvcSicResultINTEL = 5712,
1487 OpSubgroupAvcMceGetDefaultInterBaseMultiReferencePenaltyINTEL = 5713,
1488 OpSubgroupAvcMceSetInterBaseMultiReferencePenaltyINTEL = 5714,
1489 OpSubgroupAvcMceGetDefaultInterShapePenaltyINTEL = 5715,
1490 OpSubgroupAvcMceSetInterShapePenaltyINTEL = 5716,
1491 OpSubgroupAvcMceGetDefaultInterDirectionPenaltyINTEL = 5717,
1492 OpSubgroupAvcMceSetInterDirectionPenaltyINTEL = 5718,
1493 OpSubgroupAvcMceGetDefaultIntraLumaShapePenaltyINTEL = 5719,
1494 OpSubgroupAvcMceGetDefaultInterMotionVectorCostTableINTEL = 5720,
1495 OpSubgroupAvcMceGetDefaultHighPenaltyCostTableINTEL = 5721,
1496 OpSubgroupAvcMceGetDefaultMediumPenaltyCostTableINTEL = 5722,
1497 OpSubgroupAvcMceGetDefaultLowPenaltyCostTableINTEL = 5723,
1498 OpSubgroupAvcMceSetMotionVectorCostFunctionINTEL = 5724,
1499 OpSubgroupAvcMceGetDefaultIntraLumaModePenaltyINTEL = 5725,
1500 OpSubgroupAvcMceGetDefaultNonDcLumaIntraPenaltyINTEL = 5726,
1501 OpSubgroupAvcMceGetDefaultIntraChromaModeBasePenaltyINTEL = 5727,
1502 OpSubgroupAvcMceSetAcOnlyHaarINTEL = 5728,
1503 OpSubgroupAvcMceSetSourceInterlacedFieldPolarityINTEL = 5729,
1504 OpSubgroupAvcMceSetSingleReferenceInterlacedFieldPolarityINTEL = 5730,
1505 OpSubgroupAvcMceSetDualReferenceInterlacedFieldPolaritiesINTEL = 5731,
1506 OpSubgroupAvcMceConvertToImePayloadINTEL = 5732,
1507 OpSubgroupAvcMceConvertToImeResultINTEL = 5733,
1508 OpSubgroupAvcMceConvertToRefPayloadINTEL = 5734,
1509 OpSubgroupAvcMceConvertToRefResultINTEL = 5735,
1510 OpSubgroupAvcMceConvertToSicPayloadINTEL = 5736,
1511 OpSubgroupAvcMceConvertToSicResultINTEL = 5737,
1512 OpSubgroupAvcMceGetMotionVectorsINTEL = 5738,
1513 OpSubgroupAvcMceGetInterDistortionsINTEL = 5739,
1514 OpSubgroupAvcMceGetBestInterDistortionsINTEL = 5740,
1515 OpSubgroupAvcMceGetInterMajorShapeINTEL = 5741,
1516 OpSubgroupAvcMceGetInterMinorShapeINTEL = 5742,
1517 OpSubgroupAvcMceGetInterDirectionsINTEL = 5743,
1518 OpSubgroupAvcMceGetInterMotionVectorCountINTEL = 5744,
1519 OpSubgroupAvcMceGetInterReferenceIdsINTEL = 5745,
1520 OpSubgroupAvcMceGetInterReferenceInterlacedFieldPolaritiesINTEL = 5746,
1521 OpSubgroupAvcImeInitializeINTEL = 5747,
1522 OpSubgroupAvcImeSetSingleReferenceINTEL = 5748,
1523 OpSubgroupAvcImeSetDualReferenceINTEL = 5749,
1524 OpSubgroupAvcImeRefWindowSizeINTEL = 5750,
1525 OpSubgroupAvcImeAdjustRefOffsetINTEL = 5751,
1526 OpSubgroupAvcImeConvertToMcePayloadINTEL = 5752,
1527 OpSubgroupAvcImeSetMaxMotionVectorCountINTEL = 5753,
1528 OpSubgroupAvcImeSetUnidirectionalMixDisableINTEL = 5754,
1529 OpSubgroupAvcImeSetEarlySearchTerminationThresholdINTEL = 5755,
1530 OpSubgroupAvcImeSetWeightedSadINTEL = 5756,
1531 OpSubgroupAvcImeEvaluateWithSingleReferenceINTEL = 5757,
1532 OpSubgroupAvcImeEvaluateWithDualReferenceINTEL = 5758,
1533 OpSubgroupAvcImeEvaluateWithSingleReferenceStreaminINTEL = 5759,
1534 OpSubgroupAvcImeEvaluateWithDualReferenceStreaminINTEL = 5760,
1535 OpSubgroupAvcImeEvaluateWithSingleReferenceStreamoutINTEL = 5761,
1536 OpSubgroupAvcImeEvaluateWithDualReferenceStreamoutINTEL = 5762,
1537 OpSubgroupAvcImeEvaluateWithSingleReferenceStreaminoutINTEL = 5763,
1538 OpSubgroupAvcImeEvaluateWithDualReferenceStreaminoutINTEL = 5764,
1539 OpSubgroupAvcImeConvertToMceResultINTEL = 5765,
1540 OpSubgroupAvcImeGetSingleReferenceStreaminINTEL = 5766,
1541 OpSubgroupAvcImeGetDualReferenceStreaminINTEL = 5767,
1542 OpSubgroupAvcImeStripSingleReferenceStreamoutINTEL = 5768,
1543 OpSubgroupAvcImeStripDualReferenceStreamoutINTEL = 5769,
1544 OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeMotionVectorsINTEL = 5770,
1545 OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeDistortionsINTEL = 5771,
1546 OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeReferenceIdsINTEL = 5772,
1547 OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeMotionVectorsINTEL = 5773,
1548 OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeDistortionsINTEL = 5774,
1549 OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeReferenceIdsINTEL = 5775,
1550 OpSubgroupAvcImeGetBorderReachedINTEL = 5776,
1551 OpSubgroupAvcImeGetTruncatedSearchIndicationINTEL = 5777,
1552 OpSubgroupAvcImeGetUnidirectionalEarlySearchTerminationINTEL = 5778,
1553 OpSubgroupAvcImeGetWeightingPatternMinimumMotionVectorINTEL = 5779,
1554 OpSubgroupAvcImeGetWeightingPatternMinimumDistortionINTEL = 5780,
1555 OpSubgroupAvcFmeInitializeINTEL = 5781,
1556 OpSubgroupAvcBmeInitializeINTEL = 5782,
1557 OpSubgroupAvcRefConvertToMcePayloadINTEL = 5783,
1558 OpSubgroupAvcRefSetBidirectionalMixDisableINTEL = 5784,
1559 OpSubgroupAvcRefSetBilinearFilterEnableINTEL = 5785,
1560 OpSubgroupAvcRefEvaluateWithSingleReferenceINTEL = 5786,
1561 OpSubgroupAvcRefEvaluateWithDualReferenceINTEL = 5787,
1562 OpSubgroupAvcRefEvaluateWithMultiReferenceINTEL = 5788,
1563 OpSubgroupAvcRefEvaluateWithMultiReferenceInterlacedINTEL = 5789,
1564 OpSubgroupAvcRefConvertToMceResultINTEL = 5790,
1565 OpSubgroupAvcSicInitializeINTEL = 5791,
1566 OpSubgroupAvcSicConfigureSkcINTEL = 5792,
1567 OpSubgroupAvcSicConfigureIpeLumaINTEL = 5793,
1568 OpSubgroupAvcSicConfigureIpeLumaChromaINTEL = 5794,
1569 OpSubgroupAvcSicGetMotionVectorMaskINTEL = 5795,
1570 OpSubgroupAvcSicConvertToMcePayloadINTEL = 5796,
1571 OpSubgroupAvcSicSetIntraLumaShapePenaltyINTEL = 5797,
1572 OpSubgroupAvcSicSetIntraLumaModeCostFunctionINTEL = 5798,
1573 OpSubgroupAvcSicSetIntraChromaModeCostFunctionINTEL = 5799,
1574 OpSubgroupAvcSicSetBilinearFilterEnableINTEL = 5800,
1575 OpSubgroupAvcSicSetSkcForwardTransformEnableINTEL = 5801,
1576 OpSubgroupAvcSicSetBlockBasedRawSkipSadINTEL = 5802,
1577 OpSubgroupAvcSicEvaluateIpeINTEL = 5803,
1578 OpSubgroupAvcSicEvaluateWithSingleReferenceINTEL = 5804,
1579 OpSubgroupAvcSicEvaluateWithDualReferenceINTEL = 5805,
1580 OpSubgroupAvcSicEvaluateWithMultiReferenceINTEL = 5806,
1581 OpSubgroupAvcSicEvaluateWithMultiReferenceInterlacedINTEL = 5807,
1582 OpSubgroupAvcSicConvertToMceResultINTEL = 5808,
1583 OpSubgroupAvcSicGetIpeLumaShapeINTEL = 5809,
1584 OpSubgroupAvcSicGetBestIpeLumaDistortionINTEL = 5810,
1585 OpSubgroupAvcSicGetBestIpeChromaDistortionINTEL = 5811,
1586 OpSubgroupAvcSicGetPackedIpeLumaModesINTEL = 5812,
1587 OpSubgroupAvcSicGetIpeChromaModeINTEL = 5813,
1588 OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL = 5814,
1589 OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL = 5815,
1590 OpSubgroupAvcSicGetInterRawSadsINTEL = 5816,
1591 OpLoopControlINTEL = 5887,
1592 OpReadPipeBlockingINTEL = 5946,
1593 OpWritePipeBlockingINTEL = 5947,
1594 OpFPGARegINTEL = 5949,
1595 OpRayQueryGetRayTMinKHR = 6016,
1596 OpRayQueryGetRayFlagsKHR = 6017,
1597 OpRayQueryGetIntersectionTKHR = 6018,
1598 OpRayQueryGetIntersectionInstanceCustomIndexKHR = 6019,
1599 OpRayQueryGetIntersectionInstanceIdKHR = 6020,
1600 OpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR = 6021,
1601 OpRayQueryGetIntersectionGeometryIndexKHR = 6022,
1602 OpRayQueryGetIntersectionPrimitiveIndexKHR = 6023,
1603 OpRayQueryGetIntersectionBarycentricsKHR = 6024,
1604 OpRayQueryGetIntersectionFrontFaceKHR = 6025,
1605 OpRayQueryGetIntersectionCandidateAABBOpaqueKHR = 6026,
1606 OpRayQueryGetIntersectionObjectRayDirectionKHR = 6027,
1607 OpRayQueryGetIntersectionObjectRayOriginKHR = 6028,
1608 OpRayQueryGetWorldRayDirectionKHR = 6029,
1609 OpRayQueryGetWorldRayOriginKHR = 6030,
1610 OpRayQueryGetIntersectionObjectToWorldKHR = 6031,
1611 OpRayQueryGetIntersectionWorldToObjectKHR = 6032,
1612 OpAtomicFAddEXT = 6035,
1613 Max = 0x7fffffff,
1614 };
1615
1616 #ifdef SPV_ENABLE_UTILITY_CODE
1617 inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) {
1618 *hasResult = *hasResultType = false;
1619 switch (opcode) {
1620 default: /* unknown opcode */ break;
1621 case Op::OpNop: *hasResult = false; *hasResultType = false; break;
1622 case Op::OpUndef: *hasResult = true; *hasResultType = true; break;
1623 case Op::OpSourceContinued: *hasResult = false; *hasResultType = false; break;
1624 case Op::OpSource: *hasResult = false; *hasResultType = false; break;
1625 case Op::OpSourceExtension: *hasResult = false; *hasResultType = false; break;
1626 case Op::OpName: *hasResult = false; *hasResultType = false; break;
1627 case Op::OpMemberName: *hasResult = false; *hasResultType = false; break;
1628 case Op::OpString: *hasResult = true; *hasResultType = false; break;
1629 case Op::OpLine: *hasResult = false; *hasResultType = false; break;
1630 case Op::OpExtension: *hasResult = false; *hasResultType = false; break;
1631 case Op::OpExtInstImport: *hasResult = true; *hasResultType = false; break;
1632 case Op::OpExtInst: *hasResult = true; *hasResultType = true; break;
1633 case Op::OpMemoryModel: *hasResult = false; *hasResultType = false; break;
1634 case Op::OpEntryPoint: *hasResult = false; *hasResultType = false; break;
1635 case Op::OpExecutionMode: *hasResult = false; *hasResultType = false; break;
1636 case Op::OpCapability: *hasResult = false; *hasResultType = false; break;
1637 case Op::OpTypeVoid: *hasResult = true; *hasResultType = false; break;
1638 case Op::OpTypeBool: *hasResult = true; *hasResultType = false; break;
1639 case Op::OpTypeInt: *hasResult = true; *hasResultType = false; break;
1640 case Op::OpTypeFloat: *hasResult = true; *hasResultType = false; break;
1641 case Op::OpTypeVector: *hasResult = true; *hasResultType = false; break;
1642 case Op::OpTypeMatrix: *hasResult = true; *hasResultType = false; break;
1643 case Op::OpTypeImage: *hasResult = true; *hasResultType = false; break;
1644 case Op::OpTypeSampler: *hasResult = true; *hasResultType = false; break;
1645 case Op::OpTypeSampledImage: *hasResult = true; *hasResultType = false; break;
1646 case Op::OpTypeArray: *hasResult = true; *hasResultType = false; break;
1647 case Op::OpTypeRuntimeArray: *hasResult = true; *hasResultType = false; break;
1648 case Op::OpTypeStruct: *hasResult = true; *hasResultType = false; break;
1649 case Op::OpTypeOpaque: *hasResult = true; *hasResultType = false; break;
1650 case Op::OpTypePointer: *hasResult = true; *hasResultType = false; break;
1651 case Op::OpTypeFunction: *hasResult = true; *hasResultType = false; break;
1652 case Op::OpTypeEvent: *hasResult = true; *hasResultType = false; break;
1653 case Op::OpTypeDeviceEvent: *hasResult = true; *hasResultType = false; break;
1654 case Op::OpTypeReserveId: *hasResult = true; *hasResultType = false; break;
1655 case Op::OpTypeQueue: *hasResult = true; *hasResultType = false; break;
1656 case Op::OpTypePipe: *hasResult = true; *hasResultType = false; break;
1657 case Op::OpTypeForwardPointer: *hasResult = false; *hasResultType = false; break;
1658 case Op::OpConstantTrue: *hasResult = true; *hasResultType = true; break;
1659 case Op::OpConstantFalse: *hasResult = true; *hasResultType = true; break;
1660 case Op::OpConstant: *hasResult = true; *hasResultType = true; break;
1661 case Op::OpConstantComposite: *hasResult = true; *hasResultType = true; break;
1662 case Op::OpConstantSampler: *hasResult = true; *hasResultType = true; break;
1663 case Op::OpConstantNull: *hasResult = true; *hasResultType = true; break;
1664 case Op::OpSpecConstantTrue: *hasResult = true; *hasResultType = true; break;
1665 case Op::OpSpecConstantFalse: *hasResult = true; *hasResultType = true; break;
1666 case Op::OpSpecConstant: *hasResult = true; *hasResultType = true; break;
1667 case Op::OpSpecConstantComposite: *hasResult = true; *hasResultType = true; break;
1668 case Op::OpSpecConstantOp: *hasResult = true; *hasResultType = true; break;
1669 case Op::OpFunction: *hasResult = true; *hasResultType = true; break;
1670 case Op::OpFunctionParameter: *hasResult = true; *hasResultType = true; break;
1671 case Op::OpFunctionEnd: *hasResult = false; *hasResultType = false; break;
1672 case Op::OpFunctionCall: *hasResult = true; *hasResultType = true; break;
1673 case Op::OpVariable: *hasResult = true; *hasResultType = true; break;
1674 case Op::OpImageTexelPointer: *hasResult = true; *hasResultType = true; break;
1675 case Op::OpLoad: *hasResult = true; *hasResultType = true; break;
1676 case Op::OpStore: *hasResult = false; *hasResultType = false; break;
1677 case Op::OpCopyMemory: *hasResult = false; *hasResultType = false; break;
1678 case Op::OpCopyMemorySized: *hasResult = false; *hasResultType = false; break;
1679 case Op::OpAccessChain: *hasResult = true; *hasResultType = true; break;
1680 case Op::OpInBoundsAccessChain: *hasResult = true; *hasResultType = true; break;
1681 case Op::OpPtrAccessChain: *hasResult = true; *hasResultType = true; break;
1682 case Op::OpArrayLength: *hasResult = true; *hasResultType = true; break;
1683 case Op::OpGenericPtrMemSemantics: *hasResult = true; *hasResultType = true; break;
1684 case Op::OpInBoundsPtrAccessChain: *hasResult = true; *hasResultType = true; break;
1685 case Op::OpDecorate: *hasResult = false; *hasResultType = false; break;
1686 case Op::OpMemberDecorate: *hasResult = false; *hasResultType = false; break;
1687 case Op::OpDecorationGroup: *hasResult = true; *hasResultType = false; break;
1688 case Op::OpGroupDecorate: *hasResult = false; *hasResultType = false; break;
1689 case Op::OpGroupMemberDecorate: *hasResult = false; *hasResultType = false; break;
1690 case Op::OpVectorExtractDynamic: *hasResult = true; *hasResultType = true; break;
1691 case Op::OpVectorInsertDynamic: *hasResult = true; *hasResultType = true; break;
1692 case Op::OpVectorShuffle: *hasResult = true; *hasResultType = true; break;
1693 case Op::OpCompositeConstruct: *hasResult = true; *hasResultType = true; break;
1694 case Op::OpCompositeExtract: *hasResult = true; *hasResultType = true; break;
1695 case Op::OpCompositeInsert: *hasResult = true; *hasResultType = true; break;
1696 case Op::OpCopyObject: *hasResult = true; *hasResultType = true; break;
1697 case Op::OpTranspose: *hasResult = true; *hasResultType = true; break;
1698 case Op::OpSampledImage: *hasResult = true; *hasResultType = true; break;
1699 case Op::OpImageSampleImplicitLod: *hasResult = true; *hasResultType = true; break;
1700 case Op::OpImageSampleExplicitLod: *hasResult = true; *hasResultType = true; break;
1701 case Op::OpImageSampleDrefImplicitLod: *hasResult = true; *hasResultType = true; break;
1702 case Op::OpImageSampleDrefExplicitLod: *hasResult = true; *hasResultType = true; break;
1703 case Op::OpImageSampleProjImplicitLod: *hasResult = true; *hasResultType = true; break;
1704 case Op::OpImageSampleProjExplicitLod: *hasResult = true; *hasResultType = true; break;
1705 case Op::OpImageSampleProjDrefImplicitLod: *hasResult = true; *hasResultType = true; break;
1706 case Op::OpImageSampleProjDrefExplicitLod: *hasResult = true; *hasResultType = true; break;
1707 case Op::OpImageFetch: *hasResult = true; *hasResultType = true; break;
1708 case Op::OpImageGather: *hasResult = true; *hasResultType = true; break;
1709 case Op::OpImageDrefGather: *hasResult = true; *hasResultType = true; break;
1710 case Op::OpImageRead: *hasResult = true; *hasResultType = true; break;
1711 case Op::OpImageWrite: *hasResult = false; *hasResultType = false; break;
1712 case Op::OpImage: *hasResult = true; *hasResultType = true; break;
1713 case Op::OpImageQueryFormat: *hasResult = true; *hasResultType = true; break;
1714 case Op::OpImageQueryOrder: *hasResult = true; *hasResultType = true; break;
1715 case Op::OpImageQuerySizeLod: *hasResult = true; *hasResultType = true; break;
1716 case Op::OpImageQuerySize: *hasResult = true; *hasResultType = true; break;
1717 case Op::OpImageQueryLod: *hasResult = true; *hasResultType = true; break;
1718 case Op::OpImageQueryLevels: *hasResult = true; *hasResultType = true; break;
1719 case Op::OpImageQuerySamples: *hasResult = true; *hasResultType = true; break;
1720 case Op::OpConvertFToU: *hasResult = true; *hasResultType = true; break;
1721 case Op::OpConvertFToS: *hasResult = true; *hasResultType = true; break;
1722 case Op::OpConvertSToF: *hasResult = true; *hasResultType = true; break;
1723 case Op::OpConvertUToF: *hasResult = true; *hasResultType = true; break;
1724 case Op::OpUConvert: *hasResult = true; *hasResultType = true; break;
1725 case Op::OpSConvert: *hasResult = true; *hasResultType = true; break;
1726 case Op::OpFConvert: *hasResult = true; *hasResultType = true; break;
1727 case Op::OpQuantizeToF16: *hasResult = true; *hasResultType = true; break;
1728 case Op::OpConvertPtrToU: *hasResult = true; *hasResultType = true; break;
1729 case Op::OpSatConvertSToU: *hasResult = true; *hasResultType = true; break;
1730 case Op::OpSatConvertUToS: *hasResult = true; *hasResultType = true; break;
1731 case Op::OpConvertUToPtr: *hasResult = true; *hasResultType = true; break;
1732 case Op::OpPtrCastToGeneric: *hasResult = true; *hasResultType = true; break;
1733 case Op::OpGenericCastToPtr: *hasResult = true; *hasResultType = true; break;
1734 case Op::OpGenericCastToPtrExplicit: *hasResult = true; *hasResultType = true; break;
1735 case Op::OpBitcast: *hasResult = true; *hasResultType = true; break;
1736 case Op::OpSNegate: *hasResult = true; *hasResultType = true; break;
1737 case Op::OpFNegate: *hasResult = true; *hasResultType = true; break;
1738 case Op::OpIAdd: *hasResult = true; *hasResultType = true; break;
1739 case Op::OpFAdd: *hasResult = true; *hasResultType = true; break;
1740 case Op::OpISub: *hasResult = true; *hasResultType = true; break;
1741 case Op::OpFSub: *hasResult = true; *hasResultType = true; break;
1742 case Op::OpIMul: *hasResult = true; *hasResultType = true; break;
1743 case Op::OpFMul: *hasResult = true; *hasResultType = true; break;
1744 case Op::OpUDiv: *hasResult = true; *hasResultType = true; break;
1745 case Op::OpSDiv: *hasResult = true; *hasResultType = true; break;
1746 case Op::OpFDiv: *hasResult = true; *hasResultType = true; break;
1747 case Op::OpUMod: *hasResult = true; *hasResultType = true; break;
1748 case Op::OpSRem: *hasResult = true; *hasResultType = true; break;
1749 case Op::OpSMod: *hasResult = true; *hasResultType = true; break;
1750 case Op::OpFRem: *hasResult = true; *hasResultType = true; break;
1751 case Op::OpFMod: *hasResult = true; *hasResultType = true; break;
1752 case Op::OpVectorTimesScalar: *hasResult = true; *hasResultType = true; break;
1753 case Op::OpMatrixTimesScalar: *hasResult = true; *hasResultType = true; break;
1754 case Op::OpVectorTimesMatrix: *hasResult = true; *hasResultType = true; break;
1755 case Op::OpMatrixTimesVector: *hasResult = true; *hasResultType = true; break;
1756 case Op::OpMatrixTimesMatrix: *hasResult = true; *hasResultType = true; break;
1757 case Op::OpOuterProduct: *hasResult = true; *hasResultType = true; break;
1758 case Op::OpDot: *hasResult = true; *hasResultType = true; break;
1759 case Op::OpIAddCarry: *hasResult = true; *hasResultType = true; break;
1760 case Op::OpISubBorrow: *hasResult = true; *hasResultType = true; break;
1761 case Op::OpUMulExtended: *hasResult = true; *hasResultType = true; break;
1762 case Op::OpSMulExtended: *hasResult = true; *hasResultType = true; break;
1763 case Op::OpAny: *hasResult = true; *hasResultType = true; break;
1764 case Op::OpAll: *hasResult = true; *hasResultType = true; break;
1765 case Op::OpIsNan: *hasResult = true; *hasResultType = true; break;
1766 case Op::OpIsInf: *hasResult = true; *hasResultType = true; break;
1767 case Op::OpIsFinite: *hasResult = true; *hasResultType = true; break;
1768 case Op::OpIsNormal: *hasResult = true; *hasResultType = true; break;
1769 case Op::OpSignBitSet: *hasResult = true; *hasResultType = true; break;
1770 case Op::OpLessOrGreater: *hasResult = true; *hasResultType = true; break;
1771 case Op::OpOrdered: *hasResult = true; *hasResultType = true; break;
1772 case Op::OpUnordered: *hasResult = true; *hasResultType = true; break;
1773 case Op::OpLogicalEqual: *hasResult = true; *hasResultType = true; break;
1774 case Op::OpLogicalNotEqual: *hasResult = true; *hasResultType = true; break;
1775 case Op::OpLogicalOr: *hasResult = true; *hasResultType = true; break;
1776 case Op::OpLogicalAnd: *hasResult = true; *hasResultType = true; break;
1777 case Op::OpLogicalNot: *hasResult = true; *hasResultType = true; break;
1778 case Op::OpSelect: *hasResult = true; *hasResultType = true; break;
1779 case Op::OpIEqual: *hasResult = true; *hasResultType = true; break;
1780 case Op::OpINotEqual: *hasResult = true; *hasResultType = true; break;
1781 case Op::OpUGreaterThan: *hasResult = true; *hasResultType = true; break;
1782 case Op::OpSGreaterThan: *hasResult = true; *hasResultType = true; break;
1783 case Op::OpUGreaterThanEqual: *hasResult = true; *hasResultType = true; break;
1784 case Op::OpSGreaterThanEqual: *hasResult = true; *hasResultType = true; break;
1785 case Op::OpULessThan: *hasResult = true; *hasResultType = true; break;
1786 case Op::OpSLessThan: *hasResult = true; *hasResultType = true; break;
1787 case Op::OpULessThanEqual: *hasResult = true; *hasResultType = true; break;
1788 case Op::OpSLessThanEqual: *hasResult = true; *hasResultType = true; break;
1789 case Op::OpFOrdEqual: *hasResult = true; *hasResultType = true; break;
1790 case Op::OpFUnordEqual: *hasResult = true; *hasResultType = true; break;
1791 case Op::OpFOrdNotEqual: *hasResult = true; *hasResultType = true; break;
1792 case Op::OpFUnordNotEqual: *hasResult = true; *hasResultType = true; break;
1793 case Op::OpFOrdLessThan: *hasResult = true; *hasResultType = true; break;
1794 case Op::OpFUnordLessThan: *hasResult = true; *hasResultType = true; break;
1795 case Op::OpFOrdGreaterThan: *hasResult = true; *hasResultType = true; break;
1796 case Op::OpFUnordGreaterThan: *hasResult = true; *hasResultType = true; break;
1797 case Op::OpFOrdLessThanEqual: *hasResult = true; *hasResultType = true; break;
1798 case Op::OpFUnordLessThanEqual: *hasResult = true; *hasResultType = true; break;
1799 case Op::OpFOrdGreaterThanEqual: *hasResult = true; *hasResultType = true; break;
1800 case Op::OpFUnordGreaterThanEqual: *hasResult = true; *hasResultType = true; break;
1801 case Op::OpShiftRightLogical: *hasResult = true; *hasResultType = true; break;
1802 case Op::OpShiftRightArithmetic: *hasResult = true; *hasResultType = true; break;
1803 case Op::OpShiftLeftLogical: *hasResult = true; *hasResultType = true; break;
1804 case Op::OpBitwiseOr: *hasResult = true; *hasResultType = true; break;
1805 case Op::OpBitwiseXor: *hasResult = true; *hasResultType = true; break;
1806 case Op::OpBitwiseAnd: *hasResult = true; *hasResultType = true; break;
1807 case Op::OpNot: *hasResult = true; *hasResultType = true; break;
1808 case Op::OpBitFieldInsert: *hasResult = true; *hasResultType = true; break;
1809 case Op::OpBitFieldSExtract: *hasResult = true; *hasResultType = true; break;
1810 case Op::OpBitFieldUExtract: *hasResult = true; *hasResultType = true; break;
1811 case Op::OpBitReverse: *hasResult = true; *hasResultType = true; break;
1812 case Op::OpBitCount: *hasResult = true; *hasResultType = true; break;
1813 case Op::OpDPdx: *hasResult = true; *hasResultType = true; break;
1814 case Op::OpDPdy: *hasResult = true; *hasResultType = true; break;
1815 case Op::OpFwidth: *hasResult = true; *hasResultType = true; break;
1816 case Op::OpDPdxFine: *hasResult = true; *hasResultType = true; break;
1817 case Op::OpDPdyFine: *hasResult = true; *hasResultType = true; break;
1818 case Op::OpFwidthFine: *hasResult = true; *hasResultType = true; break;
1819 case Op::OpDPdxCoarse: *hasResult = true; *hasResultType = true; break;
1820 case Op::OpDPdyCoarse: *hasResult = true; *hasResultType = true; break;
1821 case Op::OpFwidthCoarse: *hasResult = true; *hasResultType = true; break;
1822 case Op::OpEmitVertex: *hasResult = false; *hasResultType = false; break;
1823 case Op::OpEndPrimitive: *hasResult = false; *hasResultType = false; break;
1824 case Op::OpEmitStreamVertex: *hasResult = false; *hasResultType = false; break;
1825 case Op::OpEndStreamPrimitive: *hasResult = false; *hasResultType = false; break;
1826 case Op::OpControlBarrier: *hasResult = false; *hasResultType = false; break;
1827 case Op::OpMemoryBarrier: *hasResult = false; *hasResultType = false; break;
1828 case Op::OpAtomicLoad: *hasResult = true; *hasResultType = true; break;
1829 case Op::OpAtomicStore: *hasResult = false; *hasResultType = false; break;
1830 case Op::OpAtomicExchange: *hasResult = true; *hasResultType = true; break;
1831 case Op::OpAtomicCompareExchange: *hasResult = true; *hasResultType = true; break;
1832 case Op::OpAtomicCompareExchangeWeak: *hasResult = true; *hasResultType = true; break;
1833 case Op::OpAtomicIIncrement: *hasResult = true; *hasResultType = true; break;
1834 case Op::OpAtomicIDecrement: *hasResult = true; *hasResultType = true; break;
1835 case Op::OpAtomicIAdd: *hasResult = true; *hasResultType = true; break;
1836 case Op::OpAtomicISub: *hasResult = true; *hasResultType = true; break;
1837 case Op::OpAtomicSMin: *hasResult = true; *hasResultType = true; break;
1838 case Op::OpAtomicUMin: *hasResult = true; *hasResultType = true; break;
1839 case Op::OpAtomicSMax: *hasResult = true; *hasResultType = true; break;
1840 case Op::OpAtomicUMax: *hasResult = true; *hasResultType = true; break;
1841 case Op::OpAtomicAnd: *hasResult = true; *hasResultType = true; break;
1842 case Op::OpAtomicOr: *hasResult = true; *hasResultType = true; break;
1843 case Op::OpAtomicXor: *hasResult = true; *hasResultType = true; break;
1844 case Op::OpPhi: *hasResult = true; *hasResultType = true; break;
1845 case Op::OpLoopMerge: *hasResult = false; *hasResultType = false; break;
1846 case Op::OpSelectionMerge: *hasResult = false; *hasResultType = false; break;
1847 case Op::OpLabel: *hasResult = true; *hasResultType = false; break;
1848 case Op::OpBranch: *hasResult = false; *hasResultType = false; break;
1849 case Op::OpBranchConditional: *hasResult = false; *hasResultType = false; break;
1850 case Op::OpSwitch: *hasResult = false; *hasResultType = false; break;
1851 case Op::OpKill: *hasResult = false; *hasResultType = false; break;
1852 case Op::OpReturn: *hasResult = false; *hasResultType = false; break;
1853 case Op::OpReturnValue: *hasResult = false; *hasResultType = false; break;
1854 case Op::OpUnreachable: *hasResult = false; *hasResultType = false; break;
1855 case Op::OpLifetimeStart: *hasResult = false; *hasResultType = false; break;
1856 case Op::OpLifetimeStop: *hasResult = false; *hasResultType = false; break;
1857 case Op::OpGroupAsyncCopy: *hasResult = true; *hasResultType = true; break;
1858 case Op::OpGroupWaitEvents: *hasResult = false; *hasResultType = false; break;
1859 case Op::OpGroupAll: *hasResult = true; *hasResultType = true; break;
1860 case Op::OpGroupAny: *hasResult = true; *hasResultType = true; break;
1861 case Op::OpGroupBroadcast: *hasResult = true; *hasResultType = true; break;
1862 case Op::OpGroupIAdd: *hasResult = true; *hasResultType = true; break;
1863 case Op::OpGroupFAdd: *hasResult = true; *hasResultType = true; break;
1864 case Op::OpGroupFMin: *hasResult = true; *hasResultType = true; break;
1865 case Op::OpGroupUMin: *hasResult = true; *hasResultType = true; break;
1866 case Op::OpGroupSMin: *hasResult = true; *hasResultType = true; break;
1867 case Op::OpGroupFMax: *hasResult = true; *hasResultType = true; break;
1868 case Op::OpGroupUMax: *hasResult = true; *hasResultType = true; break;
1869 case Op::OpGroupSMax: *hasResult = true; *hasResultType = true; break;
1870 case Op::OpReadPipe: *hasResult = true; *hasResultType = true; break;
1871 case Op::OpWritePipe: *hasResult = true; *hasResultType = true; break;
1872 case Op::OpReservedReadPipe: *hasResult = true; *hasResultType = true; break;
1873 case Op::OpReservedWritePipe: *hasResult = true; *hasResultType = true; break;
1874 case Op::OpReserveReadPipePackets: *hasResult = true; *hasResultType = true; break;
1875 case Op::OpReserveWritePipePackets: *hasResult = true; *hasResultType = true; break;
1876 case Op::OpCommitReadPipe: *hasResult = false; *hasResultType = false; break;
1877 case Op::OpCommitWritePipe: *hasResult = false; *hasResultType = false; break;
1878 case Op::OpIsValidReserveId: *hasResult = true; *hasResultType = true; break;
1879 case Op::OpGetNumPipePackets: *hasResult = true; *hasResultType = true; break;
1880 case Op::OpGetMaxPipePackets: *hasResult = true; *hasResultType = true; break;
1881 case Op::OpGroupReserveReadPipePackets: *hasResult = true; *hasResultType = true; break;
1882 case Op::OpGroupReserveWritePipePackets: *hasResult = true; *hasResultType = true; break;
1883 case Op::OpGroupCommitReadPipe: *hasResult = false; *hasResultType = false; break;
1884 case Op::OpGroupCommitWritePipe: *hasResult = false; *hasResultType = false; break;
1885 case Op::OpEnqueueMarker: *hasResult = true; *hasResultType = true; break;
1886 case Op::OpEnqueueKernel: *hasResult = true; *hasResultType = true; break;
1887 case Op::OpGetKernelNDrangeSubGroupCount: *hasResult = true; *hasResultType = true; break;
1888 case Op::OpGetKernelNDrangeMaxSubGroupSize: *hasResult = true; *hasResultType = true; break;
1889 case Op::OpGetKernelWorkGroupSize: *hasResult = true; *hasResultType = true; break;
1890 case Op::OpGetKernelPreferredWorkGroupSizeMultiple: *hasResult = true; *hasResultType = true; break;
1891 case Op::OpRetainEvent: *hasResult = false; *hasResultType = false; break;
1892 case Op::OpReleaseEvent: *hasResult = false; *hasResultType = false; break;
1893 case Op::OpCreateUserEvent: *hasResult = true; *hasResultType = true; break;
1894 case Op::OpIsValidEvent: *hasResult = true; *hasResultType = true; break;
1895 case Op::OpSetUserEventStatus: *hasResult = false; *hasResultType = false; break;
1896 case Op::OpCaptureEventProfilingInfo: *hasResult = false; *hasResultType = false; break;
1897 case Op::OpGetDefaultQueue: *hasResult = true; *hasResultType = true; break;
1898 case Op::OpBuildNDRange: *hasResult = true; *hasResultType = true; break;
1899 case Op::OpImageSparseSampleImplicitLod: *hasResult = true; *hasResultType = true; break;
1900 case Op::OpImageSparseSampleExplicitLod: *hasResult = true; *hasResultType = true; break;
1901 case Op::OpImageSparseSampleDrefImplicitLod: *hasResult = true; *hasResultType = true; break;
1902 case Op::OpImageSparseSampleDrefExplicitLod: *hasResult = true; *hasResultType = true; break;
1903 case Op::OpImageSparseSampleProjImplicitLod: *hasResult = true; *hasResultType = true; break;
1904 case Op::OpImageSparseSampleProjExplicitLod: *hasResult = true; *hasResultType = true; break;
1905 case Op::OpImageSparseSampleProjDrefImplicitLod: *hasResult = true; *hasResultType = true; break;
1906 case Op::OpImageSparseSampleProjDrefExplicitLod: *hasResult = true; *hasResultType = true; break;
1907 case Op::OpImageSparseFetch: *hasResult = true; *hasResultType = true; break;
1908 case Op::OpImageSparseGather: *hasResult = true; *hasResultType = true; break;
1909 case Op::OpImageSparseDrefGather: *hasResult = true; *hasResultType = true; break;
1910 case Op::OpImageSparseTexelsResident: *hasResult = true; *hasResultType = true; break;
1911 case Op::OpNoLine: *hasResult = false; *hasResultType = false; break;
1912 case Op::OpAtomicFlagTestAndSet: *hasResult = true; *hasResultType = true; break;
1913 case Op::OpAtomicFlagClear: *hasResult = false; *hasResultType = false; break;
1914 case Op::OpImageSparseRead: *hasResult = true; *hasResultType = true; break;
1915 case Op::OpSizeOf: *hasResult = true; *hasResultType = true; break;
1916 case Op::OpTypePipeStorage: *hasResult = true; *hasResultType = false; break;
1917 case Op::OpConstantPipeStorage: *hasResult = true; *hasResultType = true; break;
1918 case Op::OpCreatePipeFromPipeStorage: *hasResult = true; *hasResultType = true; break;
1919 case Op::OpGetKernelLocalSizeForSubgroupCount: *hasResult = true; *hasResultType = true; break;
1920 case Op::OpGetKernelMaxNumSubgroups: *hasResult = true; *hasResultType = true; break;
1921 case Op::OpTypeNamedBarrier: *hasResult = true; *hasResultType = false; break;
1922 case Op::OpNamedBarrierInitialize: *hasResult = true; *hasResultType = true; break;
1923 case Op::OpMemoryNamedBarrier: *hasResult = false; *hasResultType = false; break;
1924 case Op::OpModuleProcessed: *hasResult = false; *hasResultType = false; break;
1925 case Op::OpExecutionModeId: *hasResult = false; *hasResultType = false; break;
1926 case Op::OpDecorateId: *hasResult = false; *hasResultType = false; break;
1927 case Op::OpGroupNonUniformElect: *hasResult = true; *hasResultType = true; break;
1928 case Op::OpGroupNonUniformAll: *hasResult = true; *hasResultType = true; break;
1929 case Op::OpGroupNonUniformAny: *hasResult = true; *hasResultType = true; break;
1930 case Op::OpGroupNonUniformAllEqual: *hasResult = true; *hasResultType = true; break;
1931 case Op::OpGroupNonUniformBroadcast: *hasResult = true; *hasResultType = true; break;
1932 case Op::OpGroupNonUniformBroadcastFirst: *hasResult = true; *hasResultType = true; break;
1933 case Op::OpGroupNonUniformBallot: *hasResult = true; *hasResultType = true; break;
1934 case Op::OpGroupNonUniformInverseBallot: *hasResult = true; *hasResultType = true; break;
1935 case Op::OpGroupNonUniformBallotBitExtract: *hasResult = true; *hasResultType = true; break;
1936 case Op::OpGroupNonUniformBallotBitCount: *hasResult = true; *hasResultType = true; break;
1937 case Op::OpGroupNonUniformBallotFindLSB: *hasResult = true; *hasResultType = true; break;
1938 case Op::OpGroupNonUniformBallotFindMSB: *hasResult = true; *hasResultType = true; break;
1939 case Op::OpGroupNonUniformShuffle: *hasResult = true; *hasResultType = true; break;
1940 case Op::OpGroupNonUniformShuffleXor: *hasResult = true; *hasResultType = true; break;
1941 case Op::OpGroupNonUniformShuffleUp: *hasResult = true; *hasResultType = true; break;
1942 case Op::OpGroupNonUniformShuffleDown: *hasResult = true; *hasResultType = true; break;
1943 case Op::OpGroupNonUniformIAdd: *hasResult = true; *hasResultType = true; break;
1944 case Op::OpGroupNonUniformFAdd: *hasResult = true; *hasResultType = true; break;
1945 case Op::OpGroupNonUniformIMul: *hasResult = true; *hasResultType = true; break;
1946 case Op::OpGroupNonUniformFMul: *hasResult = true; *hasResultType = true; break;
1947 case Op::OpGroupNonUniformSMin: *hasResult = true; *hasResultType = true; break;
1948 case Op::OpGroupNonUniformUMin: *hasResult = true; *hasResultType = true; break;
1949 case Op::OpGroupNonUniformFMin: *hasResult = true; *hasResultType = true; break;
1950 case Op::OpGroupNonUniformSMax: *hasResult = true; *hasResultType = true; break;
1951 case Op::OpGroupNonUniformUMax: *hasResult = true; *hasResultType = true; break;
1952 case Op::OpGroupNonUniformFMax: *hasResult = true; *hasResultType = true; break;
1953 case Op::OpGroupNonUniformBitwiseAnd: *hasResult = true; *hasResultType = true; break;
1954 case Op::OpGroupNonUniformBitwiseOr: *hasResult = true; *hasResultType = true; break;
1955 case Op::OpGroupNonUniformBitwiseXor: *hasResult = true; *hasResultType = true; break;
1956 case Op::OpGroupNonUniformLogicalAnd: *hasResult = true; *hasResultType = true; break;
1957 case Op::OpGroupNonUniformLogicalOr: *hasResult = true; *hasResultType = true; break;
1958 case Op::OpGroupNonUniformLogicalXor: *hasResult = true; *hasResultType = true; break;
1959 case Op::OpGroupNonUniformQuadBroadcast: *hasResult = true; *hasResultType = true; break;
1960 case Op::OpGroupNonUniformQuadSwap: *hasResult = true; *hasResultType = true; break;
1961 case Op::OpCopyLogical: *hasResult = true; *hasResultType = true; break;
1962 case Op::OpPtrEqual: *hasResult = true; *hasResultType = true; break;
1963 case Op::OpPtrNotEqual: *hasResult = true; *hasResultType = true; break;
1964 case Op::OpPtrDiff: *hasResult = true; *hasResultType = true; break;
1965 case Op::OpTerminateInvocation: *hasResult = false; *hasResultType = false; break;
1966 case Op::OpSubgroupBallotKHR: *hasResult = true; *hasResultType = true; break;
1967 case Op::OpSubgroupFirstInvocationKHR: *hasResult = true; *hasResultType = true; break;
1968 case Op::OpSubgroupAllKHR: *hasResult = true; *hasResultType = true; break;
1969 case Op::OpSubgroupAnyKHR: *hasResult = true; *hasResultType = true; break;
1970 case Op::OpSubgroupAllEqualKHR: *hasResult = true; *hasResultType = true; break;
1971 case Op::OpSubgroupReadInvocationKHR: *hasResult = true; *hasResultType = true; break;
1972 case Op::OpTypeRayQueryProvisionalKHR: *hasResult = true; *hasResultType = false; break;
1973 case Op::OpRayQueryInitializeKHR: *hasResult = false; *hasResultType = false; break;
1974 case Op::OpRayQueryTerminateKHR: *hasResult = false; *hasResultType = false; break;
1975 case Op::OpRayQueryGenerateIntersectionKHR: *hasResult = false; *hasResultType = false; break;
1976 case Op::OpRayQueryConfirmIntersectionKHR: *hasResult = false; *hasResultType = false; break;
1977 case Op::OpRayQueryProceedKHR: *hasResult = true; *hasResultType = true; break;
1978 case Op::OpRayQueryGetIntersectionTypeKHR: *hasResult = true; *hasResultType = true; break;
1979 case Op::OpGroupIAddNonUniformAMD: *hasResult = true; *hasResultType = true; break;
1980 case Op::OpGroupFAddNonUniformAMD: *hasResult = true; *hasResultType = true; break;
1981 case Op::OpGroupFMinNonUniformAMD: *hasResult = true; *hasResultType = true; break;
1982 case Op::OpGroupUMinNonUniformAMD: *hasResult = true; *hasResultType = true; break;
1983 case Op::OpGroupSMinNonUniformAMD: *hasResult = true; *hasResultType = true; break;
1984 case Op::OpGroupFMaxNonUniformAMD: *hasResult = true; *hasResultType = true; break;
1985 case Op::OpGroupUMaxNonUniformAMD: *hasResult = true; *hasResultType = true; break;
1986 case Op::OpGroupSMaxNonUniformAMD: *hasResult = true; *hasResultType = true; break;
1987 case Op::OpFragmentMaskFetchAMD: *hasResult = true; *hasResultType = true; break;
1988 case Op::OpFragmentFetchAMD: *hasResult = true; *hasResultType = true; break;
1989 case Op::OpReadClockKHR: *hasResult = true; *hasResultType = true; break;
1990 case Op::OpImageSampleFootprintNV: *hasResult = true; *hasResultType = true; break;
1991 case Op::OpGroupNonUniformPartitionNV: *hasResult = true; *hasResultType = true; break;
1992 case Op::OpWritePackedPrimitiveIndices4x8NV: *hasResult = false; *hasResultType = false; break;
1993 case Op::OpReportIntersectionNV: *hasResult = true; *hasResultType = true; break;
1994 case Op::OpIgnoreIntersectionNV: *hasResult = false; *hasResultType = false; break;
1995 case Op::OpTerminateRayNV: *hasResult = false; *hasResultType = false; break;
1996 case Op::OpTraceNV: *hasResult = false; *hasResultType = false; break;
1997 case Op::OpTypeAccelerationStructureNV: *hasResult = true; *hasResultType = false; break;
1998 case Op::OpExecuteCallableNV: *hasResult = false; *hasResultType = false; break;
1999 case Op::OpTypeCooperativeMatrixNV: *hasResult = true; *hasResultType = false; break;
2000 case Op::OpCooperativeMatrixLoadNV: *hasResult = true; *hasResultType = true; break;
2001 case Op::OpCooperativeMatrixStoreNV: *hasResult = false; *hasResultType = false; break;
2002 case Op::OpCooperativeMatrixMulAddNV: *hasResult = true; *hasResultType = true; break;
2003 case Op::OpCooperativeMatrixLengthNV: *hasResult = true; *hasResultType = true; break;
2004 case Op::OpBeginInvocationInterlockEXT: *hasResult = false; *hasResultType = false; break;
2005 case Op::OpEndInvocationInterlockEXT: *hasResult = false; *hasResultType = false; break;
2006 case Op::OpDemoteToHelperInvocationEXT: *hasResult = false; *hasResultType = false; break;
2007 case Op::OpIsHelperInvocationEXT: *hasResult = true; *hasResultType = true; break;
2008 case Op::OpSubgroupShuffleINTEL: *hasResult = true; *hasResultType = true; break;
2009 case Op::OpSubgroupShuffleDownINTEL: *hasResult = true; *hasResultType = true; break;
2010 case Op::OpSubgroupShuffleUpINTEL: *hasResult = true; *hasResultType = true; break;
2011 case Op::OpSubgroupShuffleXorINTEL: *hasResult = true; *hasResultType = true; break;
2012 case Op::OpSubgroupBlockReadINTEL: *hasResult = true; *hasResultType = true; break;
2013 case Op::OpSubgroupBlockWriteINTEL: *hasResult = false; *hasResultType = false; break;
2014 case Op::OpSubgroupImageBlockReadINTEL: *hasResult = true; *hasResultType = true; break;
2015 case Op::OpSubgroupImageBlockWriteINTEL: *hasResult = false; *hasResultType = false; break;
2016 case Op::OpSubgroupImageMediaBlockReadINTEL: *hasResult = true; *hasResultType = true; break;
2017 case Op::OpSubgroupImageMediaBlockWriteINTEL: *hasResult = false; *hasResultType = false; break;
2018 case Op::OpUCountLeadingZerosINTEL: *hasResult = true; *hasResultType = true; break;
2019 case Op::OpUCountTrailingZerosINTEL: *hasResult = true; *hasResultType = true; break;
2020 case Op::OpAbsISubINTEL: *hasResult = true; *hasResultType = true; break;
2021 case Op::OpAbsUSubINTEL: *hasResult = true; *hasResultType = true; break;
2022 case Op::OpIAddSatINTEL: *hasResult = true; *hasResultType = true; break;
2023 case Op::OpUAddSatINTEL: *hasResult = true; *hasResultType = true; break;
2024 case Op::OpIAverageINTEL: *hasResult = true; *hasResultType = true; break;
2025 case Op::OpUAverageINTEL: *hasResult = true; *hasResultType = true; break;
2026 case Op::OpIAverageRoundedINTEL: *hasResult = true; *hasResultType = true; break;
2027 case Op::OpUAverageRoundedINTEL: *hasResult = true; *hasResultType = true; break;
2028 case Op::OpISubSatINTEL: *hasResult = true; *hasResultType = true; break;
2029 case Op::OpUSubSatINTEL: *hasResult = true; *hasResultType = true; break;
2030 case Op::OpIMul32x16INTEL: *hasResult = true; *hasResultType = true; break;
2031 case Op::OpUMul32x16INTEL: *hasResult = true; *hasResultType = true; break;
2032 case Op::OpFunctionPointerINTEL: *hasResult = true; *hasResultType = true; break;
2033 case Op::OpFunctionPointerCallINTEL: *hasResult = true; *hasResultType = true; break;
2034 case Op::OpDecorateString: *hasResult = false; *hasResultType = false; break;
2035 case Op::OpMemberDecorateString: *hasResult = false; *hasResultType = false; break;
2036 case Op::OpVmeImageINTEL: *hasResult = true; *hasResultType = true; break;
2037 case Op::OpTypeVmeImageINTEL: *hasResult = true; *hasResultType = false; break;
2038 case Op::OpTypeAvcImePayloadINTEL: *hasResult = true; *hasResultType = false; break;
2039 case Op::OpTypeAvcRefPayloadINTEL: *hasResult = true; *hasResultType = false; break;
2040 case Op::OpTypeAvcSicPayloadINTEL: *hasResult = true; *hasResultType = false; break;
2041 case Op::OpTypeAvcMcePayloadINTEL: *hasResult = true; *hasResultType = false; break;
2042 case Op::OpTypeAvcMceResultINTEL: *hasResult = true; *hasResultType = false; break;
2043 case Op::OpTypeAvcImeResultINTEL: *hasResult = true; *hasResultType = false; break;
2044 case Op::OpTypeAvcImeResultSingleReferenceStreamoutINTEL: *hasResult = true; *hasResultType = false; break;
2045 case Op::OpTypeAvcImeResultDualReferenceStreamoutINTEL: *hasResult = true; *hasResultType = false; break;
2046 case Op::OpTypeAvcImeSingleReferenceStreaminINTEL: *hasResult = true; *hasResultType = false; break;
2047 case Op::OpTypeAvcImeDualReferenceStreaminINTEL: *hasResult = true; *hasResultType = false; break;
2048 case Op::OpTypeAvcRefResultINTEL: *hasResult = true; *hasResultType = false; break;
2049 case Op::OpTypeAvcSicResultINTEL: *hasResult = true; *hasResultType = false; break;
2050 case Op::OpSubgroupAvcMceGetDefaultInterBaseMultiReferencePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2051 case Op::OpSubgroupAvcMceSetInterBaseMultiReferencePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2052 case Op::OpSubgroupAvcMceGetDefaultInterShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2053 case Op::OpSubgroupAvcMceSetInterShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2054 case Op::OpSubgroupAvcMceGetDefaultInterDirectionPenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2055 case Op::OpSubgroupAvcMceSetInterDirectionPenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2056 case Op::OpSubgroupAvcMceGetDefaultIntraLumaShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2057 case Op::OpSubgroupAvcMceGetDefaultInterMotionVectorCostTableINTEL: *hasResult = true; *hasResultType = true; break;
2058 case Op::OpSubgroupAvcMceGetDefaultHighPenaltyCostTableINTEL: *hasResult = true; *hasResultType = true; break;
2059 case Op::OpSubgroupAvcMceGetDefaultMediumPenaltyCostTableINTEL: *hasResult = true; *hasResultType = true; break;
2060 case Op::OpSubgroupAvcMceGetDefaultLowPenaltyCostTableINTEL: *hasResult = true; *hasResultType = true; break;
2061 case Op::OpSubgroupAvcMceSetMotionVectorCostFunctionINTEL: *hasResult = true; *hasResultType = true; break;
2062 case Op::OpSubgroupAvcMceGetDefaultIntraLumaModePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2063 case Op::OpSubgroupAvcMceGetDefaultNonDcLumaIntraPenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2064 case Op::OpSubgroupAvcMceGetDefaultIntraChromaModeBasePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2065 case Op::OpSubgroupAvcMceSetAcOnlyHaarINTEL: *hasResult = true; *hasResultType = true; break;
2066 case Op::OpSubgroupAvcMceSetSourceInterlacedFieldPolarityINTEL: *hasResult = true; *hasResultType = true; break;
2067 case Op::OpSubgroupAvcMceSetSingleReferenceInterlacedFieldPolarityINTEL: *hasResult = true; *hasResultType = true; break;
2068 case Op::OpSubgroupAvcMceSetDualReferenceInterlacedFieldPolaritiesINTEL: *hasResult = true; *hasResultType = true; break;
2069 case Op::OpSubgroupAvcMceConvertToImePayloadINTEL: *hasResult = true; *hasResultType = true; break;
2070 case Op::OpSubgroupAvcMceConvertToImeResultINTEL: *hasResult = true; *hasResultType = true; break;
2071 case Op::OpSubgroupAvcMceConvertToRefPayloadINTEL: *hasResult = true; *hasResultType = true; break;
2072 case Op::OpSubgroupAvcMceConvertToRefResultINTEL: *hasResult = true; *hasResultType = true; break;
2073 case Op::OpSubgroupAvcMceConvertToSicPayloadINTEL: *hasResult = true; *hasResultType = true; break;
2074 case Op::OpSubgroupAvcMceConvertToSicResultINTEL: *hasResult = true; *hasResultType = true; break;
2075 case Op::OpSubgroupAvcMceGetMotionVectorsINTEL: *hasResult = true; *hasResultType = true; break;
2076 case Op::OpSubgroupAvcMceGetInterDistortionsINTEL: *hasResult = true; *hasResultType = true; break;
2077 case Op::OpSubgroupAvcMceGetBestInterDistortionsINTEL: *hasResult = true; *hasResultType = true; break;
2078 case Op::OpSubgroupAvcMceGetInterMajorShapeINTEL: *hasResult = true; *hasResultType = true; break;
2079 case Op::OpSubgroupAvcMceGetInterMinorShapeINTEL: *hasResult = true; *hasResultType = true; break;
2080 case Op::OpSubgroupAvcMceGetInterDirectionsINTEL: *hasResult = true; *hasResultType = true; break;
2081 case Op::OpSubgroupAvcMceGetInterMotionVectorCountINTEL: *hasResult = true; *hasResultType = true; break;
2082 case Op::OpSubgroupAvcMceGetInterReferenceIdsINTEL: *hasResult = true; *hasResultType = true; break;
2083 case Op::OpSubgroupAvcMceGetInterReferenceInterlacedFieldPolaritiesINTEL: *hasResult = true; *hasResultType = true; break;
2084 case Op::OpSubgroupAvcImeInitializeINTEL: *hasResult = true; *hasResultType = true; break;
2085 case Op::OpSubgroupAvcImeSetSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2086 case Op::OpSubgroupAvcImeSetDualReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2087 case Op::OpSubgroupAvcImeRefWindowSizeINTEL: *hasResult = true; *hasResultType = true; break;
2088 case Op::OpSubgroupAvcImeAdjustRefOffsetINTEL: *hasResult = true; *hasResultType = true; break;
2089 case Op::OpSubgroupAvcImeConvertToMcePayloadINTEL: *hasResult = true; *hasResultType = true; break;
2090 case Op::OpSubgroupAvcImeSetMaxMotionVectorCountINTEL: *hasResult = true; *hasResultType = true; break;
2091 case Op::OpSubgroupAvcImeSetUnidirectionalMixDisableINTEL: *hasResult = true; *hasResultType = true; break;
2092 case Op::OpSubgroupAvcImeSetEarlySearchTerminationThresholdINTEL: *hasResult = true; *hasResultType = true; break;
2093 case Op::OpSubgroupAvcImeSetWeightedSadINTEL: *hasResult = true; *hasResultType = true; break;
2094 case Op::OpSubgroupAvcImeEvaluateWithSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2095 case Op::OpSubgroupAvcImeEvaluateWithDualReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2096 case Op::OpSubgroupAvcImeEvaluateWithSingleReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break;
2097 case Op::OpSubgroupAvcImeEvaluateWithDualReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break;
2098 case Op::OpSubgroupAvcImeEvaluateWithSingleReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break;
2099 case Op::OpSubgroupAvcImeEvaluateWithDualReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break;
2100 case Op::OpSubgroupAvcImeEvaluateWithSingleReferenceStreaminoutINTEL: *hasResult = true; *hasResultType = true; break;
2101 case Op::OpSubgroupAvcImeEvaluateWithDualReferenceStreaminoutINTEL: *hasResult = true; *hasResultType = true; break;
2102 case Op::OpSubgroupAvcImeConvertToMceResultINTEL: *hasResult = true; *hasResultType = true; break;
2103 case Op::OpSubgroupAvcImeGetSingleReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break;
2104 case Op::OpSubgroupAvcImeGetDualReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break;
2105 case Op::OpSubgroupAvcImeStripSingleReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break;
2106 case Op::OpSubgroupAvcImeStripDualReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break;
2107 case Op::OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeMotionVectorsINTEL: *hasResult = true; *hasResultType = true; break;
2108 case Op::OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeDistortionsINTEL: *hasResult = true; *hasResultType = true; break;
2109 case Op::OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeReferenceIdsINTEL: *hasResult = true; *hasResultType = true; break;
2110 case Op::OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeMotionVectorsINTEL: *hasResult = true; *hasResultType = true; break;
2111 case Op::OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeDistortionsINTEL: *hasResult = true; *hasResultType = true; break;
2112 case Op::OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeReferenceIdsINTEL: *hasResult = true; *hasResultType = true; break;
2113 case Op::OpSubgroupAvcImeGetBorderReachedINTEL: *hasResult = true; *hasResultType = true; break;
2114 case Op::OpSubgroupAvcImeGetTruncatedSearchIndicationINTEL: *hasResult = true; *hasResultType = true; break;
2115 case Op::OpSubgroupAvcImeGetUnidirectionalEarlySearchTerminationINTEL: *hasResult = true; *hasResultType = true; break;
2116 case Op::OpSubgroupAvcImeGetWeightingPatternMinimumMotionVectorINTEL: *hasResult = true; *hasResultType = true; break;
2117 case Op::OpSubgroupAvcImeGetWeightingPatternMinimumDistortionINTEL: *hasResult = true; *hasResultType = true; break;
2118 case Op::OpSubgroupAvcFmeInitializeINTEL: *hasResult = true; *hasResultType = true; break;
2119 case Op::OpSubgroupAvcBmeInitializeINTEL: *hasResult = true; *hasResultType = true; break;
2120 case Op::OpSubgroupAvcRefConvertToMcePayloadINTEL: *hasResult = true; *hasResultType = true; break;
2121 case Op::OpSubgroupAvcRefSetBidirectionalMixDisableINTEL: *hasResult = true; *hasResultType = true; break;
2122 case Op::OpSubgroupAvcRefSetBilinearFilterEnableINTEL: *hasResult = true; *hasResultType = true; break;
2123 case Op::OpSubgroupAvcRefEvaluateWithSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2124 case Op::OpSubgroupAvcRefEvaluateWithDualReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2125 case Op::OpSubgroupAvcRefEvaluateWithMultiReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2126 case Op::OpSubgroupAvcRefEvaluateWithMultiReferenceInterlacedINTEL: *hasResult = true; *hasResultType = true; break;
2127 case Op::OpSubgroupAvcRefConvertToMceResultINTEL: *hasResult = true; *hasResultType = true; break;
2128 case Op::OpSubgroupAvcSicInitializeINTEL: *hasResult = true; *hasResultType = true; break;
2129 case Op::OpSubgroupAvcSicConfigureSkcINTEL: *hasResult = true; *hasResultType = true; break;
2130 case Op::OpSubgroupAvcSicConfigureIpeLumaINTEL: *hasResult = true; *hasResultType = true; break;
2131 case Op::OpSubgroupAvcSicConfigureIpeLumaChromaINTEL: *hasResult = true; *hasResultType = true; break;
2132 case Op::OpSubgroupAvcSicGetMotionVectorMaskINTEL: *hasResult = true; *hasResultType = true; break;
2133 case Op::OpSubgroupAvcSicConvertToMcePayloadINTEL: *hasResult = true; *hasResultType = true; break;
2134 case Op::OpSubgroupAvcSicSetIntraLumaShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2135 case Op::OpSubgroupAvcSicSetIntraLumaModeCostFunctionINTEL: *hasResult = true; *hasResultType = true; break;
2136 case Op::OpSubgroupAvcSicSetIntraChromaModeCostFunctionINTEL: *hasResult = true; *hasResultType = true; break;
2137 case Op::OpSubgroupAvcSicSetBilinearFilterEnableINTEL: *hasResult = true; *hasResultType = true; break;
2138 case Op::OpSubgroupAvcSicSetSkcForwardTransformEnableINTEL: *hasResult = true; *hasResultType = true; break;
2139 case Op::OpSubgroupAvcSicSetBlockBasedRawSkipSadINTEL: *hasResult = true; *hasResultType = true; break;
2140 case Op::OpSubgroupAvcSicEvaluateIpeINTEL: *hasResult = true; *hasResultType = true; break;
2141 case Op::OpSubgroupAvcSicEvaluateWithSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2142 case Op::OpSubgroupAvcSicEvaluateWithDualReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2143 case Op::OpSubgroupAvcSicEvaluateWithMultiReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2144 case Op::OpSubgroupAvcSicEvaluateWithMultiReferenceInterlacedINTEL: *hasResult = true; *hasResultType = true; break;
2145 case Op::OpSubgroupAvcSicConvertToMceResultINTEL: *hasResult = true; *hasResultType = true; break;
2146 case Op::OpSubgroupAvcSicGetIpeLumaShapeINTEL: *hasResult = true; *hasResultType = true; break;
2147 case Op::OpSubgroupAvcSicGetBestIpeLumaDistortionINTEL: *hasResult = true; *hasResultType = true; break;
2148 case Op::OpSubgroupAvcSicGetBestIpeChromaDistortionINTEL: *hasResult = true; *hasResultType = true; break;
2149 case Op::OpSubgroupAvcSicGetPackedIpeLumaModesINTEL: *hasResult = true; *hasResultType = true; break;
2150 case Op::OpSubgroupAvcSicGetIpeChromaModeINTEL: *hasResult = true; *hasResultType = true; break;
2151 case Op::OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL: *hasResult = true; *hasResultType = true; break;
2152 case Op::OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL: *hasResult = true; *hasResultType = true; break;
2153 case Op::OpSubgroupAvcSicGetInterRawSadsINTEL: *hasResult = true; *hasResultType = true; break;
2154 case Op::OpLoopControlINTEL: *hasResult = false; *hasResultType = false; break;
2155 case Op::OpReadPipeBlockingINTEL: *hasResult = true; *hasResultType = true; break;
2156 case Op::OpWritePipeBlockingINTEL: *hasResult = true; *hasResultType = true; break;
2157 case Op::OpFPGARegINTEL: *hasResult = true; *hasResultType = true; break;
2158 case Op::OpRayQueryGetRayTMinKHR: *hasResult = true; *hasResultType = true; break;
2159 case Op::OpRayQueryGetRayFlagsKHR: *hasResult = true; *hasResultType = true; break;
2160 case Op::OpRayQueryGetIntersectionTKHR: *hasResult = true; *hasResultType = true; break;
2161 case Op::OpRayQueryGetIntersectionInstanceCustomIndexKHR: *hasResult = true; *hasResultType = true; break;
2162 case Op::OpRayQueryGetIntersectionInstanceIdKHR: *hasResult = true; *hasResultType = true; break;
2163 case Op::OpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR: *hasResult = true; *hasResultType = true; break;
2164 case Op::OpRayQueryGetIntersectionGeometryIndexKHR: *hasResult = true; *hasResultType = true; break;
2165 case Op::OpRayQueryGetIntersectionPrimitiveIndexKHR: *hasResult = true; *hasResultType = true; break;
2166 case Op::OpRayQueryGetIntersectionBarycentricsKHR: *hasResult = true; *hasResultType = true; break;
2167 case Op::OpRayQueryGetIntersectionFrontFaceKHR: *hasResult = true; *hasResultType = true; break;
2168 case Op::OpRayQueryGetIntersectionCandidateAABBOpaqueKHR: *hasResult = true; *hasResultType = true; break;
2169 case Op::OpRayQueryGetIntersectionObjectRayDirectionKHR: *hasResult = true; *hasResultType = true; break;
2170 case Op::OpRayQueryGetIntersectionObjectRayOriginKHR: *hasResult = true; *hasResultType = true; break;
2171 case Op::OpRayQueryGetWorldRayDirectionKHR: *hasResult = true; *hasResultType = true; break;
2172 case Op::OpRayQueryGetWorldRayOriginKHR: *hasResult = true; *hasResultType = true; break;
2173 case Op::OpRayQueryGetIntersectionObjectToWorldKHR: *hasResult = true; *hasResultType = true; break;
2174 case Op::OpRayQueryGetIntersectionWorldToObjectKHR: *hasResult = true; *hasResultType = true; break;
2175 case Op::OpAtomicFAddEXT: *hasResult = true; *hasResultType = true; break;
2176 }
2177 }
2178 #endif /* SPV_ENABLE_UTILITY_CODE */
2179
2180 // Overload operator| for mask bit combining
2181
2182 inline ImageOperandsMask operator|(ImageOperandsMask a, ImageOperandsMask b) { return ImageOperandsMask(unsigned(a) | unsigned(b)); }
2183 inline FPFastMathModeMask operator|(FPFastMathModeMask a, FPFastMathModeMask b) { return FPFastMathModeMask(unsigned(a) | unsigned(b)); }
2184 inline SelectionControlMask operator|(SelectionControlMask a, SelectionControlMask b) { return SelectionControlMask(unsigned(a) | unsigned(b)); }
2185 inline LoopControlMask operator|(LoopControlMask a, LoopControlMask b) { return LoopControlMask(unsigned(a) | unsigned(b)); }
2186 inline FunctionControlMask operator|(FunctionControlMask a, FunctionControlMask b) { return FunctionControlMask(unsigned(a) | unsigned(b)); }
2187 inline MemorySemanticsMask operator|(MemorySemanticsMask a, MemorySemanticsMask b) { return MemorySemanticsMask(unsigned(a) | unsigned(b)); }
2188 inline MemoryAccessMask operator|(MemoryAccessMask a, MemoryAccessMask b) { return MemoryAccessMask(unsigned(a) | unsigned(b)); }
2189 inline KernelProfilingInfoMask operator|(KernelProfilingInfoMask a, KernelProfilingInfoMask b) { return KernelProfilingInfoMask(unsigned(a) | unsigned(b)); }
2190 inline RayFlagsMask operator|(RayFlagsMask a, RayFlagsMask b) { return RayFlagsMask(unsigned(a) | unsigned(b)); }
2191 inline FragmentShadingRateMask operator|(FragmentShadingRateMask a, FragmentShadingRateMask b) { return FragmentShadingRateMask(unsigned(a) | unsigned(b)); }
2192
2193 } // end namespace spv
2194
2195 #endif // #ifndef spirv_HPP
2196