1 // Copyright (c) 2014-2020 The Khronos Group Inc.
3 // Permission is hereby granted, free of charge, to any person obtaining a copy
4 // of this software and/or associated documentation files (the "Materials"),
5 // to deal in the Materials without restriction, including without limitation
6 // the rights to use, copy, modify, merge, publish, distribute, sublicense,
7 // and/or sell copies of the Materials, and to permit persons to whom the
8 // Materials are furnished to do so, subject to the following conditions:
10 // The above copyright notice and this permission notice shall be included in
11 // all copies or substantial portions of the Materials.
13 // MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS KHRONOS
14 // STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS SPECIFICATIONS AND
15 // HEADER INFORMATION ARE LOCATED AT https://www.khronos.org/registry/
17 // THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
18 // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
20 // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22 // FROM,OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE USE OR OTHER DEALINGS
25 // This header is automatically generated by the same tool that creates
26 // the Binary Section of the SPIR-V specification.
28 // Enumeration tokens for SPIR-V, in various styles:
29 // C, C++, C++11, JSON, Lua, Python, C#, D, Beef
31 // - C will have tokens with a "Spv" prefix, e.g.: SpvSourceLanguageGLSL
32 // - C++ will have tokens in the "spv" name space, e.g.: spv::SourceLanguageGLSL
33 // - C++11 will use enum classes in the spv namespace, e.g.: spv::SourceLanguage::GLSL
34 // - Lua will use tables, e.g.: spv.SourceLanguage.GLSL
35 // - Python will use dictionaries, e.g.: spv['SourceLanguage']['GLSL']
36 // - C# will use enum classes in the Specification class located in the "Spv" namespace,
37 // e.g.: Spv.Specification.SourceLanguage.GLSL
38 // - D will have tokens under the "spv" module, e.g: spv.SourceLanguage.GLSL
39 // - Beef will use enum classes in the Specification class located in the "Spv" namespace,
40 // e.g.: Spv.Specification.SourceLanguage.GLSL
42 // Some tokens act like mask values, which can be OR'd together,
43 // while others are mutually exclusive. The mask-like ones have
44 // "Mask" in their name, and a parallel enum that has the shift
45 // amount (1 << x) for each corresponding enumerant.
52 typedef unsigned int Id;
54 #define SPV_VERSION 0x10600
55 #define SPV_REVISION 1
57 static const unsigned int MagicNumber = 0x07230203;
58 static const unsigned int Version = 0x00010600;
59 static const unsigned int Revision = 1;
60 static const unsigned int OpCodeMask = 0xffff;
61 static const unsigned int WordCountShift = 16;
63 enum class SourceLanguage : unsigned {
75 enum class ExecutionModel : unsigned {
77 TessellationControl = 1,
78 TessellationEvaluation = 2,
85 RayGenerationKHR = 5313,
86 RayGenerationNV = 5313,
87 IntersectionKHR = 5314,
88 IntersectionNV = 5314,
102 enum class AddressingModel : unsigned {
106 PhysicalStorageBuffer64 = 5348,
107 PhysicalStorageBuffer64EXT = 5348,
111 enum class MemoryModel : unsigned {
120 enum class ExecutionMode : unsigned {
123 SpacingFractionalEven = 2,
124 SpacingFractionalOdd = 3,
127 PixelCenterInteger = 6,
130 EarlyFragmentTests = 9,
141 InputLinesAdjacency = 21,
143 InputTrianglesAdjacency = 23,
148 OutputLineStrip = 28,
149 OutputTriangleStrip = 29,
155 SubgroupsPerWorkgroup = 36,
156 SubgroupsPerWorkgroupId = 37,
158 LocalSizeHintId = 39,
159 SubgroupUniformControlFlowKHR = 4421,
160 PostDepthCoverage = 4446,
161 DenormPreserve = 4459,
162 DenormFlushToZero = 4460,
163 SignedZeroInfNanPreserve = 4461,
164 RoundingModeRTE = 4462,
165 RoundingModeRTZ = 4463,
166 EarlyAndLateFragmentTestsAMD = 5017,
167 StencilRefReplacingEXT = 5027,
168 StencilRefUnchangedFrontAMD = 5079,
169 StencilRefGreaterFrontAMD = 5080,
170 StencilRefLessFrontAMD = 5081,
171 StencilRefUnchangedBackAMD = 5082,
172 StencilRefGreaterBackAMD = 5083,
173 StencilRefLessBackAMD = 5084,
174 OutputLinesEXT = 5269,
175 OutputLinesNV = 5269,
176 OutputPrimitivesEXT = 5270,
177 OutputPrimitivesNV = 5270,
178 DerivativeGroupQuadsNV = 5289,
179 DerivativeGroupLinearNV = 5290,
180 OutputTrianglesEXT = 5298,
181 OutputTrianglesNV = 5298,
182 PixelInterlockOrderedEXT = 5366,
183 PixelInterlockUnorderedEXT = 5367,
184 SampleInterlockOrderedEXT = 5368,
185 SampleInterlockUnorderedEXT = 5369,
186 ShadingRateInterlockOrderedEXT = 5370,
187 ShadingRateInterlockUnorderedEXT = 5371,
188 SharedLocalMemorySizeINTEL = 5618,
189 RoundingModeRTPINTEL = 5620,
190 RoundingModeRTNINTEL = 5621,
191 FloatingPointModeALTINTEL = 5622,
192 FloatingPointModeIEEEINTEL = 5623,
193 MaxWorkgroupSizeINTEL = 5893,
194 MaxWorkDimINTEL = 5894,
195 NoGlobalOffsetINTEL = 5895,
196 NumSIMDWorkitemsINTEL = 5896,
197 SchedulerTargetFmaxMhzINTEL = 5903,
198 NamedBarrierCountINTEL = 6417,
202 enum class StorageClass : unsigned {
216 CallableDataKHR = 5328,
217 CallableDataNV = 5328,
218 IncomingCallableDataKHR = 5329,
219 IncomingCallableDataNV = 5329,
220 RayPayloadKHR = 5338,
222 HitAttributeKHR = 5339,
223 HitAttributeNV = 5339,
224 IncomingRayPayloadKHR = 5342,
225 IncomingRayPayloadNV = 5342,
226 ShaderRecordBufferKHR = 5343,
227 ShaderRecordBufferNV = 5343,
228 PhysicalStorageBuffer = 5349,
229 PhysicalStorageBufferEXT = 5349,
230 HitObjectAttributeNV = 5385,
231 TaskPayloadWorkgroupEXT = 5402,
232 CodeSectionINTEL = 5605,
233 DeviceOnlyINTEL = 5936,
234 HostOnlyINTEL = 5937,
238 enum class Dim : unsigned {
249 enum class SamplerAddressingMode : unsigned {
258 enum class SamplerFilterMode : unsigned {
264 enum class ImageFormat : unsigned {
310 enum class ImageChannelOrder : unsigned {
334 enum class ImageChannelDataType : unsigned {
351 UnormInt101010_2 = 16,
355 enum class ImageOperandsShift : unsigned {
364 MakeTexelAvailable = 8,
365 MakeTexelAvailableKHR = 8,
366 MakeTexelVisible = 9,
367 MakeTexelVisibleKHR = 9,
368 NonPrivateTexel = 10,
369 NonPrivateTexelKHR = 10,
371 VolatileTexelKHR = 11,
379 enum class ImageOperandsMask : unsigned {
384 ConstOffset = 0x00000008,
386 ConstOffsets = 0x00000020,
389 MakeTexelAvailable = 0x00000100,
390 MakeTexelAvailableKHR = 0x00000100,
391 MakeTexelVisible = 0x00000200,
392 MakeTexelVisibleKHR = 0x00000200,
393 NonPrivateTexel = 0x00000400,
394 NonPrivateTexelKHR = 0x00000400,
395 VolatileTexel = 0x00000800,
396 VolatileTexelKHR = 0x00000800,
397 SignExtend = 0x00001000,
398 ZeroExtend = 0x00002000,
399 Nontemporal = 0x00004000,
400 Offsets = 0x00010000,
403 enum class FPFastMathModeShift : unsigned {
409 AllowContractFastINTEL = 16,
410 AllowReassocINTEL = 17,
414 enum class FPFastMathModeMask : unsigned {
419 AllowRecip = 0x00000008,
421 AllowContractFastINTEL = 0x00010000,
422 AllowReassocINTEL = 0x00020000,
425 enum class FPRoundingMode : unsigned {
433 enum class LinkageType : unsigned {
440 enum class AccessQualifier : unsigned {
447 enum class FunctionParameterAttribute : unsigned {
456 RuntimeAlignedINTEL = 5940,
460 enum class Decoration : unsigned {
461 RelaxedPrecision = 0,
488 SaturatedConversion = 28,
501 LinkageAttributes = 41,
503 InputAttachmentIndex = 43,
507 MaxByteOffsetId = 47,
509 NoUnsignedWrap = 4470,
510 ExplicitInterpAMD = 4999,
511 OverrideCoverageNV = 5248,
512 PassthroughNV = 5250,
513 ViewportRelativeNV = 5252,
514 SecondaryViewportRelativeNV = 5256,
515 PerPrimitiveEXT = 5271,
516 PerPrimitiveNV = 5271,
522 NonUniformEXT = 5300,
523 RestrictPointer = 5355,
524 RestrictPointerEXT = 5355,
525 AliasedPointer = 5356,
526 AliasedPointerEXT = 5356,
527 HitObjectShaderRecordBufferNV = 5386,
528 BindlessSamplerNV = 5398,
529 BindlessImageNV = 5399,
530 BoundSamplerNV = 5400,
532 SIMTCallINTEL = 5599,
533 ReferencedIndirectlyINTEL = 5602,
535 SideEffectsINTEL = 5608,
536 VectorComputeVariableINTEL = 5624,
537 FuncParamIOKindINTEL = 5625,
538 VectorComputeFunctionINTEL = 5626,
539 StackCallINTEL = 5627,
540 GlobalVariableOffsetINTEL = 5628,
541 CounterBuffer = 5634,
542 HlslCounterBufferGOOGLE = 5634,
543 HlslSemanticGOOGLE = 5635,
545 UserTypeGOOGLE = 5636,
546 FunctionRoundingModeINTEL = 5822,
547 FunctionDenormModeINTEL = 5823,
548 RegisterINTEL = 5825,
550 NumbanksINTEL = 5827,
551 BankwidthINTEL = 5828,
552 MaxPrivateCopiesINTEL = 5829,
553 SinglepumpINTEL = 5830,
554 DoublepumpINTEL = 5831,
555 MaxReplicatesINTEL = 5832,
556 SimpleDualPortINTEL = 5833,
558 BankBitsINTEL = 5835,
559 ForcePow2DepthINTEL = 5836,
560 BurstCoalesceINTEL = 5899,
561 CacheSizeINTEL = 5900,
562 DontStaticallyCoalesceINTEL = 5901,
563 PrefetchINTEL = 5902,
564 StallEnableINTEL = 5905,
565 FuseLoopsInFunctionINTEL = 5907,
566 MathOpDSPModeINTEL = 5909,
567 AliasScopeINTEL = 5914,
569 InitiationIntervalINTEL = 5917,
570 MaxConcurrencyINTEL = 5918,
571 PipelineEnableINTEL = 5919,
572 BufferLocationINTEL = 5921,
573 IOPipeStorageINTEL = 5944,
574 FunctionFloatingPointModeINTEL = 6080,
575 SingleElementVectorINTEL = 6085,
576 VectorComputeCallableFunctionINTEL = 6087,
577 MediaBlockIOINTEL = 6140,
581 enum class BuiltIn : unsigned {
603 HelperInvocation = 23,
607 LocalInvocationId = 27,
608 GlobalInvocationId = 28,
609 LocalInvocationIndex = 29,
612 EnqueuedWorkgroupSize = 32,
616 SubgroupMaxSize = 37,
618 NumEnqueuedSubgroups = 39,
620 SubgroupLocalInvocationId = 41,
628 SubgroupEqMask = 4416,
629 SubgroupEqMaskKHR = 4416,
630 SubgroupGeMask = 4417,
631 SubgroupGeMaskKHR = 4417,
632 SubgroupGtMask = 4418,
633 SubgroupGtMaskKHR = 4418,
634 SubgroupLeMask = 4419,
635 SubgroupLeMaskKHR = 4419,
636 SubgroupLtMask = 4420,
637 SubgroupLtMaskKHR = 4420,
641 PrimitiveShadingRateKHR = 4432,
644 ShadingRateKHR = 4444,
645 BaryCoordNoPerspAMD = 4992,
646 BaryCoordNoPerspCentroidAMD = 4993,
647 BaryCoordNoPerspSampleAMD = 4994,
648 BaryCoordSmoothAMD = 4995,
649 BaryCoordSmoothCentroidAMD = 4996,
650 BaryCoordSmoothSampleAMD = 4997,
651 BaryCoordPullModelAMD = 4998,
652 FragStencilRefEXT = 5014,
653 ViewportMaskNV = 5253,
654 SecondaryPositionNV = 5257,
655 SecondaryViewportMaskNV = 5258,
656 PositionPerViewNV = 5261,
657 ViewportMaskPerViewNV = 5262,
658 FullyCoveredEXT = 5264,
660 PrimitiveCountNV = 5275,
661 PrimitiveIndicesNV = 5276,
662 ClipDistancePerViewNV = 5277,
663 CullDistancePerViewNV = 5278,
664 LayerPerViewNV = 5279,
665 MeshViewCountNV = 5280,
666 MeshViewIndicesNV = 5281,
669 BaryCoordNoPerspKHR = 5287,
670 BaryCoordNoPerspNV = 5287,
672 FragmentSizeNV = 5292,
673 FragInvocationCountEXT = 5293,
674 InvocationsPerPixelNV = 5293,
675 PrimitivePointIndicesEXT = 5294,
676 PrimitiveLineIndicesEXT = 5295,
677 PrimitiveTriangleIndicesEXT = 5296,
678 CullPrimitiveEXT = 5299,
681 LaunchSizeKHR = 5320,
683 WorldRayOriginKHR = 5321,
684 WorldRayOriginNV = 5321,
685 WorldRayDirectionKHR = 5322,
686 WorldRayDirectionNV = 5322,
687 ObjectRayOriginKHR = 5323,
688 ObjectRayOriginNV = 5323,
689 ObjectRayDirectionKHR = 5324,
690 ObjectRayDirectionNV = 5324,
695 InstanceCustomIndexKHR = 5327,
696 InstanceCustomIndexNV = 5327,
697 ObjectToWorldKHR = 5330,
698 ObjectToWorldNV = 5330,
699 WorldToObjectKHR = 5331,
700 WorldToObjectNV = 5331,
704 CurrentRayTimeNV = 5334,
705 IncomingRayFlagsKHR = 5351,
706 IncomingRayFlagsNV = 5351,
707 RayGeometryIndexKHR = 5352,
716 enum class SelectionControlShift : unsigned {
722 enum class SelectionControlMask : unsigned {
724 Flatten = 0x00000001,
725 DontFlatten = 0x00000002,
728 enum class LoopControlShift : unsigned {
731 DependencyInfinite = 2,
732 DependencyLength = 3,
735 IterationMultiple = 6,
738 InitiationIntervalINTEL = 16,
739 MaxConcurrencyINTEL = 17,
740 DependencyArrayINTEL = 18,
741 PipelineEnableINTEL = 19,
742 LoopCoalesceINTEL = 20,
743 MaxInterleavingINTEL = 21,
744 SpeculatedIterationsINTEL = 22,
747 MaxReinvocationDelayINTEL = 25,
751 enum class LoopControlMask : unsigned {
754 DontUnroll = 0x00000002,
755 DependencyInfinite = 0x00000004,
756 DependencyLength = 0x00000008,
757 MinIterations = 0x00000010,
758 MaxIterations = 0x00000020,
759 IterationMultiple = 0x00000040,
760 PeelCount = 0x00000080,
761 PartialCount = 0x00000100,
762 InitiationIntervalINTEL = 0x00010000,
763 MaxConcurrencyINTEL = 0x00020000,
764 DependencyArrayINTEL = 0x00040000,
765 PipelineEnableINTEL = 0x00080000,
766 LoopCoalesceINTEL = 0x00100000,
767 MaxInterleavingINTEL = 0x00200000,
768 SpeculatedIterationsINTEL = 0x00400000,
769 NoFusionINTEL = 0x00800000,
770 LoopCountINTEL = 0x01000000,
771 MaxReinvocationDelayINTEL = 0x02000000,
774 enum class FunctionControlShift : unsigned {
783 enum class FunctionControlMask : unsigned {
786 DontInline = 0x00000002,
789 OptNoneINTEL = 0x00010000,
792 enum class MemorySemanticsShift : unsigned {
796 SequentiallyConsistent = 4,
800 CrossWorkgroupMemory = 9,
801 AtomicCounterMemory = 10,
804 OutputMemoryKHR = 12,
806 MakeAvailableKHR = 13,
813 enum class MemorySemanticsMask : unsigned {
815 Acquire = 0x00000002,
816 Release = 0x00000004,
817 AcquireRelease = 0x00000008,
818 SequentiallyConsistent = 0x00000010,
819 UniformMemory = 0x00000040,
820 SubgroupMemory = 0x00000080,
821 WorkgroupMemory = 0x00000100,
822 CrossWorkgroupMemory = 0x00000200,
823 AtomicCounterMemory = 0x00000400,
824 ImageMemory = 0x00000800,
825 OutputMemory = 0x00001000,
826 OutputMemoryKHR = 0x00001000,
827 MakeAvailable = 0x00002000,
828 MakeAvailableKHR = 0x00002000,
829 MakeVisible = 0x00004000,
830 MakeVisibleKHR = 0x00004000,
831 Volatile = 0x00008000,
834 enum class MemoryAccessShift : unsigned {
838 MakePointerAvailable = 3,
839 MakePointerAvailableKHR = 3,
840 MakePointerVisible = 4,
841 MakePointerVisibleKHR = 4,
842 NonPrivatePointer = 5,
843 NonPrivatePointerKHR = 5,
844 AliasScopeINTELMask = 16,
845 NoAliasINTELMask = 17,
849 enum class MemoryAccessMask : unsigned {
851 Volatile = 0x00000001,
852 Aligned = 0x00000002,
853 Nontemporal = 0x00000004,
854 MakePointerAvailable = 0x00000008,
855 MakePointerAvailableKHR = 0x00000008,
856 MakePointerVisible = 0x00000010,
857 MakePointerVisibleKHR = 0x00000010,
858 NonPrivatePointer = 0x00000020,
859 NonPrivatePointerKHR = 0x00000020,
860 AliasScopeINTELMask = 0x00010000,
861 NoAliasINTELMask = 0x00020000,
864 enum class Scope : unsigned {
876 enum class GroupOperation : unsigned {
881 PartitionedReduceNV = 6,
882 PartitionedInclusiveScanNV = 7,
883 PartitionedExclusiveScanNV = 8,
887 enum class KernelEnqueueFlags : unsigned {
894 enum class KernelProfilingInfoShift : unsigned {
899 enum class KernelProfilingInfoMask : unsigned {
901 CmdExecTime = 0x00000001,
904 enum class Capability : unsigned {
927 TessellationPointSize = 23,
928 GeometryPointSize = 24,
929 ImageGatherExtended = 25,
930 StorageImageMultisample = 27,
931 UniformBufferArrayDynamicIndexing = 28,
932 SampledImageArrayDynamicIndexing = 29,
933 StorageBufferArrayDynamicIndexing = 30,
934 StorageImageArrayDynamicIndexing = 31,
938 SampleRateShading = 35,
943 InputAttachment = 40,
944 SparseResidency = 41,
948 SampledCubeArray = 45,
952 StorageImageExtendedFormats = 49,
954 DerivativeControl = 51,
955 InterpolationFunction = 52,
956 TransformFeedback = 53,
957 GeometryStreams = 54,
958 StorageImageReadWithoutFormat = 55,
959 StorageImageWriteWithoutFormat = 56,
961 SubgroupDispatch = 58,
964 GroupNonUniform = 61,
965 GroupNonUniformVote = 62,
966 GroupNonUniformArithmetic = 63,
967 GroupNonUniformBallot = 64,
968 GroupNonUniformShuffle = 65,
969 GroupNonUniformShuffleRelative = 66,
970 GroupNonUniformClustered = 67,
971 GroupNonUniformQuad = 68,
973 ShaderViewportIndex = 70,
974 UniformDecoration = 71,
975 CoreBuiltinsARM = 4165,
976 FragmentShadingRateKHR = 4422,
977 SubgroupBallotKHR = 4423,
978 DrawParameters = 4427,
979 WorkgroupMemoryExplicitLayoutKHR = 4428,
980 WorkgroupMemoryExplicitLayout8BitAccessKHR = 4429,
981 WorkgroupMemoryExplicitLayout16BitAccessKHR = 4430,
982 SubgroupVoteKHR = 4431,
983 StorageBuffer16BitAccess = 4433,
984 StorageUniformBufferBlock16 = 4433,
985 StorageUniform16 = 4434,
986 UniformAndStorageBuffer16BitAccess = 4434,
987 StoragePushConstant16 = 4435,
988 StorageInputOutput16 = 4436,
991 VariablePointersStorageBuffer = 4441,
992 VariablePointers = 4442,
993 AtomicStorageOps = 4445,
994 SampleMaskPostDepthCoverage = 4447,
995 StorageBuffer8BitAccess = 4448,
996 UniformAndStorageBuffer8BitAccess = 4449,
997 StoragePushConstant8 = 4450,
998 DenormPreserve = 4464,
999 DenormFlushToZero = 4465,
1000 SignedZeroInfNanPreserve = 4466,
1001 RoundingModeRTE = 4467,
1002 RoundingModeRTZ = 4468,
1003 RayQueryProvisionalKHR = 4471,
1005 RayTraversalPrimitiveCullingKHR = 4478,
1006 RayTracingKHR = 4479,
1007 Float16ImageAMD = 5008,
1008 ImageGatherBiasLodAMD = 5009,
1009 FragmentMaskAMD = 5010,
1010 StencilExportEXT = 5013,
1011 ImageReadWriteLodAMD = 5015,
1012 Int64ImageEXT = 5016,
1013 ShaderClockKHR = 5055,
1014 SampleMaskOverrideCoverageNV = 5249,
1015 GeometryShaderPassthroughNV = 5251,
1016 ShaderViewportIndexLayerEXT = 5254,
1017 ShaderViewportIndexLayerNV = 5254,
1018 ShaderViewportMaskNV = 5255,
1019 ShaderStereoViewNV = 5259,
1020 PerViewAttributesNV = 5260,
1021 FragmentFullyCoveredEXT = 5265,
1022 MeshShadingNV = 5266,
1023 ImageFootprintNV = 5282,
1024 MeshShadingEXT = 5283,
1025 FragmentBarycentricKHR = 5284,
1026 FragmentBarycentricNV = 5284,
1027 ComputeDerivativeGroupQuadsNV = 5288,
1028 FragmentDensityEXT = 5291,
1029 ShadingRateNV = 5291,
1030 GroupNonUniformPartitionedNV = 5297,
1031 ShaderNonUniform = 5301,
1032 ShaderNonUniformEXT = 5301,
1033 RuntimeDescriptorArray = 5302,
1034 RuntimeDescriptorArrayEXT = 5302,
1035 InputAttachmentArrayDynamicIndexing = 5303,
1036 InputAttachmentArrayDynamicIndexingEXT = 5303,
1037 UniformTexelBufferArrayDynamicIndexing = 5304,
1038 UniformTexelBufferArrayDynamicIndexingEXT = 5304,
1039 StorageTexelBufferArrayDynamicIndexing = 5305,
1040 StorageTexelBufferArrayDynamicIndexingEXT = 5305,
1041 UniformBufferArrayNonUniformIndexing = 5306,
1042 UniformBufferArrayNonUniformIndexingEXT = 5306,
1043 SampledImageArrayNonUniformIndexing = 5307,
1044 SampledImageArrayNonUniformIndexingEXT = 5307,
1045 StorageBufferArrayNonUniformIndexing = 5308,
1046 StorageBufferArrayNonUniformIndexingEXT = 5308,
1047 StorageImageArrayNonUniformIndexing = 5309,
1048 StorageImageArrayNonUniformIndexingEXT = 5309,
1049 InputAttachmentArrayNonUniformIndexing = 5310,
1050 InputAttachmentArrayNonUniformIndexingEXT = 5310,
1051 UniformTexelBufferArrayNonUniformIndexing = 5311,
1052 UniformTexelBufferArrayNonUniformIndexingEXT = 5311,
1053 StorageTexelBufferArrayNonUniformIndexing = 5312,
1054 StorageTexelBufferArrayNonUniformIndexingEXT = 5312,
1055 RayTracingNV = 5340,
1056 RayTracingMotionBlurNV = 5341,
1057 VulkanMemoryModel = 5345,
1058 VulkanMemoryModelKHR = 5345,
1059 VulkanMemoryModelDeviceScope = 5346,
1060 VulkanMemoryModelDeviceScopeKHR = 5346,
1061 PhysicalStorageBufferAddresses = 5347,
1062 PhysicalStorageBufferAddressesEXT = 5347,
1063 ComputeDerivativeGroupLinearNV = 5350,
1064 RayTracingProvisionalKHR = 5353,
1065 CooperativeMatrixNV = 5357,
1066 FragmentShaderSampleInterlockEXT = 5363,
1067 FragmentShaderShadingRateInterlockEXT = 5372,
1068 ShaderSMBuiltinsNV = 5373,
1069 FragmentShaderPixelInterlockEXT = 5378,
1070 DemoteToHelperInvocation = 5379,
1071 DemoteToHelperInvocationEXT = 5379,
1072 RayTracingOpacityMicromapEXT = 5381,
1073 ShaderInvocationReorderNV = 5383,
1074 BindlessTextureNV = 5390,
1075 SubgroupShuffleINTEL = 5568,
1076 SubgroupBufferBlockIOINTEL = 5569,
1077 SubgroupImageBlockIOINTEL = 5570,
1078 SubgroupImageMediaBlockIOINTEL = 5579,
1079 RoundToInfinityINTEL = 5582,
1080 FloatingPointModeINTEL = 5583,
1081 IntegerFunctions2INTEL = 5584,
1082 FunctionPointersINTEL = 5603,
1083 IndirectReferencesINTEL = 5604,
1085 AtomicFloat32MinMaxEXT = 5612,
1086 AtomicFloat64MinMaxEXT = 5613,
1087 AtomicFloat16MinMaxEXT = 5616,
1088 VectorComputeINTEL = 5617,
1089 VectorAnyINTEL = 5619,
1090 ExpectAssumeKHR = 5629,
1091 SubgroupAvcMotionEstimationINTEL = 5696,
1092 SubgroupAvcMotionEstimationIntraINTEL = 5697,
1093 SubgroupAvcMotionEstimationChromaINTEL = 5698,
1094 VariableLengthArrayINTEL = 5817,
1095 FunctionFloatControlINTEL = 5821,
1096 FPGAMemoryAttributesINTEL = 5824,
1097 FPFastMathModeINTEL = 5837,
1098 ArbitraryPrecisionIntegersINTEL = 5844,
1099 ArbitraryPrecisionFloatingPointINTEL = 5845,
1100 UnstructuredLoopControlsINTEL = 5886,
1101 FPGALoopControlsINTEL = 5888,
1102 KernelAttributesINTEL = 5892,
1103 FPGAKernelAttributesINTEL = 5897,
1104 FPGAMemoryAccessesINTEL = 5898,
1105 FPGAClusterAttributesINTEL = 5904,
1106 LoopFuseINTEL = 5906,
1107 FPGADSPControlINTEL = 5908,
1108 MemoryAccessAliasingINTEL = 5910,
1109 FPGAInvocationPipeliningAttributesINTEL = 5916,
1110 FPGABufferLocationINTEL = 5920,
1111 ArbitraryPrecisionFixedPointINTEL = 5922,
1112 USMStorageClassesINTEL = 5935,
1113 RuntimeAlignedAttributeINTEL = 5939,
1114 IOPipesINTEL = 5943,
1115 BlockingPipesINTEL = 5945,
1116 FPGARegINTEL = 5948,
1117 DotProductInputAll = 6016,
1118 DotProductInputAllKHR = 6016,
1119 DotProductInput4x8Bit = 6017,
1120 DotProductInput4x8BitKHR = 6017,
1121 DotProductInput4x8BitPacked = 6018,
1122 DotProductInput4x8BitPackedKHR = 6018,
1124 DotProductKHR = 6019,
1125 RayCullMaskKHR = 6020,
1126 BitInstructions = 6025,
1127 GroupNonUniformRotateKHR = 6026,
1128 AtomicFloat32AddEXT = 6033,
1129 AtomicFloat64AddEXT = 6034,
1130 LongConstantCompositeINTEL = 6089,
1131 OptNoneINTEL = 6094,
1132 AtomicFloat16AddEXT = 6095,
1133 DebugInfoModuleINTEL = 6114,
1134 SplitBarrierINTEL = 6141,
1135 GroupUniformArithmeticKHR = 6400,
1139 enum class RayFlagsShift : unsigned {
1142 TerminateOnFirstHitKHR = 2,
1143 SkipClosestHitShaderKHR = 3,
1144 CullBackFacingTrianglesKHR = 4,
1145 CullFrontFacingTrianglesKHR = 5,
1147 CullNoOpaqueKHR = 7,
1148 SkipTrianglesKHR = 8,
1150 ForceOpacityMicromap2StateEXT = 10,
1154 enum class RayFlagsMask : unsigned {
1156 OpaqueKHR = 0x00000001,
1157 NoOpaqueKHR = 0x00000002,
1158 TerminateOnFirstHitKHR = 0x00000004,
1159 SkipClosestHitShaderKHR = 0x00000008,
1160 CullBackFacingTrianglesKHR = 0x00000010,
1161 CullFrontFacingTrianglesKHR = 0x00000020,
1162 CullOpaqueKHR = 0x00000040,
1163 CullNoOpaqueKHR = 0x00000080,
1164 SkipTrianglesKHR = 0x00000100,
1165 SkipAABBsKHR = 0x00000200,
1166 ForceOpacityMicromap2StateEXT = 0x00000400,
1169 enum class RayQueryIntersection : unsigned {
1170 RayQueryCandidateIntersectionKHR = 0,
1171 RayQueryCommittedIntersectionKHR = 1,
1175 enum class RayQueryCommittedIntersectionType : unsigned {
1176 RayQueryCommittedIntersectionNoneKHR = 0,
1177 RayQueryCommittedIntersectionTriangleKHR = 1,
1178 RayQueryCommittedIntersectionGeneratedKHR = 2,
1182 enum class RayQueryCandidateIntersectionType : unsigned {
1183 RayQueryCandidateIntersectionTriangleKHR = 0,
1184 RayQueryCandidateIntersectionAABBKHR = 1,
1188 enum class FragmentShadingRateShift : unsigned {
1189 Vertical2Pixels = 0,
1190 Vertical4Pixels = 1,
1191 Horizontal2Pixels = 2,
1192 Horizontal4Pixels = 3,
1196 enum class FragmentShadingRateMask : unsigned {
1198 Vertical2Pixels = 0x00000001,
1199 Vertical4Pixels = 0x00000002,
1200 Horizontal2Pixels = 0x00000004,
1201 Horizontal4Pixels = 0x00000008,
1204 enum class FPDenormMode : unsigned {
1210 enum class FPOperationMode : unsigned {
1216 enum class QuantizationModes : unsigned {
1228 enum class OverflowModes : unsigned {
1236 enum class PackedVectorFormat : unsigned {
1237 PackedVectorFormat4x8Bit = 0,
1238 PackedVectorFormat4x8BitKHR = 0,
1242 enum class Op : unsigned {
1245 OpSourceContinued = 2,
1247 OpSourceExtension = 4,
1253 OpExtInstImport = 11,
1257 OpExecutionMode = 16,
1267 OpTypeSampledImage = 27,
1269 OpTypeRuntimeArray = 29,
1273 OpTypeFunction = 33,
1275 OpTypeDeviceEvent = 35,
1276 OpTypeReserveId = 36,
1279 OpTypeForwardPointer = 39,
1280 OpConstantTrue = 41,
1281 OpConstantFalse = 42,
1283 OpConstantComposite = 44,
1284 OpConstantSampler = 45,
1285 OpConstantNull = 46,
1286 OpSpecConstantTrue = 48,
1287 OpSpecConstantFalse = 49,
1288 OpSpecConstant = 50,
1289 OpSpecConstantComposite = 51,
1290 OpSpecConstantOp = 52,
1292 OpFunctionParameter = 55,
1294 OpFunctionCall = 57,
1296 OpImageTexelPointer = 60,
1300 OpCopyMemorySized = 64,
1302 OpInBoundsAccessChain = 66,
1303 OpPtrAccessChain = 67,
1305 OpGenericPtrMemSemantics = 69,
1306 OpInBoundsPtrAccessChain = 70,
1308 OpMemberDecorate = 72,
1309 OpDecorationGroup = 73,
1310 OpGroupDecorate = 74,
1311 OpGroupMemberDecorate = 75,
1312 OpVectorExtractDynamic = 77,
1313 OpVectorInsertDynamic = 78,
1314 OpVectorShuffle = 79,
1315 OpCompositeConstruct = 80,
1316 OpCompositeExtract = 81,
1317 OpCompositeInsert = 82,
1320 OpSampledImage = 86,
1321 OpImageSampleImplicitLod = 87,
1322 OpImageSampleExplicitLod = 88,
1323 OpImageSampleDrefImplicitLod = 89,
1324 OpImageSampleDrefExplicitLod = 90,
1325 OpImageSampleProjImplicitLod = 91,
1326 OpImageSampleProjExplicitLod = 92,
1327 OpImageSampleProjDrefImplicitLod = 93,
1328 OpImageSampleProjDrefExplicitLod = 94,
1331 OpImageDrefGather = 97,
1335 OpImageQueryFormat = 101,
1336 OpImageQueryOrder = 102,
1337 OpImageQuerySizeLod = 103,
1338 OpImageQuerySize = 104,
1339 OpImageQueryLod = 105,
1340 OpImageQueryLevels = 106,
1341 OpImageQuerySamples = 107,
1342 OpConvertFToU = 109,
1343 OpConvertFToS = 110,
1344 OpConvertSToF = 111,
1345 OpConvertUToF = 112,
1349 OpQuantizeToF16 = 116,
1350 OpConvertPtrToU = 117,
1351 OpSatConvertSToU = 118,
1352 OpSatConvertUToS = 119,
1353 OpConvertUToPtr = 120,
1354 OpPtrCastToGeneric = 121,
1355 OpGenericCastToPtr = 122,
1356 OpGenericCastToPtrExplicit = 123,
1374 OpVectorTimesScalar = 142,
1375 OpMatrixTimesScalar = 143,
1376 OpVectorTimesMatrix = 144,
1377 OpMatrixTimesVector = 145,
1378 OpMatrixTimesMatrix = 146,
1379 OpOuterProduct = 147,
1383 OpUMulExtended = 151,
1384 OpSMulExtended = 152,
1392 OpLessOrGreater = 161,
1395 OpLogicalEqual = 164,
1396 OpLogicalNotEqual = 165,
1403 OpUGreaterThan = 172,
1404 OpSGreaterThan = 173,
1405 OpUGreaterThanEqual = 174,
1406 OpSGreaterThanEqual = 175,
1409 OpULessThanEqual = 178,
1410 OpSLessThanEqual = 179,
1412 OpFUnordEqual = 181,
1413 OpFOrdNotEqual = 182,
1414 OpFUnordNotEqual = 183,
1415 OpFOrdLessThan = 184,
1416 OpFUnordLessThan = 185,
1417 OpFOrdGreaterThan = 186,
1418 OpFUnordGreaterThan = 187,
1419 OpFOrdLessThanEqual = 188,
1420 OpFUnordLessThanEqual = 189,
1421 OpFOrdGreaterThanEqual = 190,
1422 OpFUnordGreaterThanEqual = 191,
1423 OpShiftRightLogical = 194,
1424 OpShiftRightArithmetic = 195,
1425 OpShiftLeftLogical = 196,
1430 OpBitFieldInsert = 201,
1431 OpBitFieldSExtract = 202,
1432 OpBitFieldUExtract = 203,
1443 OpFwidthCoarse = 215,
1445 OpEndPrimitive = 219,
1446 OpEmitStreamVertex = 220,
1447 OpEndStreamPrimitive = 221,
1448 OpControlBarrier = 224,
1449 OpMemoryBarrier = 225,
1451 OpAtomicStore = 228,
1452 OpAtomicExchange = 229,
1453 OpAtomicCompareExchange = 230,
1454 OpAtomicCompareExchangeWeak = 231,
1455 OpAtomicIIncrement = 232,
1456 OpAtomicIDecrement = 233,
1468 OpSelectionMerge = 247,
1471 OpBranchConditional = 250,
1475 OpReturnValue = 254,
1476 OpUnreachable = 255,
1477 OpLifetimeStart = 256,
1478 OpLifetimeStop = 257,
1479 OpGroupAsyncCopy = 259,
1480 OpGroupWaitEvents = 260,
1483 OpGroupBroadcast = 263,
1494 OpReservedReadPipe = 276,
1495 OpReservedWritePipe = 277,
1496 OpReserveReadPipePackets = 278,
1497 OpReserveWritePipePackets = 279,
1498 OpCommitReadPipe = 280,
1499 OpCommitWritePipe = 281,
1500 OpIsValidReserveId = 282,
1501 OpGetNumPipePackets = 283,
1502 OpGetMaxPipePackets = 284,
1503 OpGroupReserveReadPipePackets = 285,
1504 OpGroupReserveWritePipePackets = 286,
1505 OpGroupCommitReadPipe = 287,
1506 OpGroupCommitWritePipe = 288,
1507 OpEnqueueMarker = 291,
1508 OpEnqueueKernel = 292,
1509 OpGetKernelNDrangeSubGroupCount = 293,
1510 OpGetKernelNDrangeMaxSubGroupSize = 294,
1511 OpGetKernelWorkGroupSize = 295,
1512 OpGetKernelPreferredWorkGroupSizeMultiple = 296,
1513 OpRetainEvent = 297,
1514 OpReleaseEvent = 298,
1515 OpCreateUserEvent = 299,
1516 OpIsValidEvent = 300,
1517 OpSetUserEventStatus = 301,
1518 OpCaptureEventProfilingInfo = 302,
1519 OpGetDefaultQueue = 303,
1520 OpBuildNDRange = 304,
1521 OpImageSparseSampleImplicitLod = 305,
1522 OpImageSparseSampleExplicitLod = 306,
1523 OpImageSparseSampleDrefImplicitLod = 307,
1524 OpImageSparseSampleDrefExplicitLod = 308,
1525 OpImageSparseSampleProjImplicitLod = 309,
1526 OpImageSparseSampleProjExplicitLod = 310,
1527 OpImageSparseSampleProjDrefImplicitLod = 311,
1528 OpImageSparseSampleProjDrefExplicitLod = 312,
1529 OpImageSparseFetch = 313,
1530 OpImageSparseGather = 314,
1531 OpImageSparseDrefGather = 315,
1532 OpImageSparseTexelsResident = 316,
1534 OpAtomicFlagTestAndSet = 318,
1535 OpAtomicFlagClear = 319,
1536 OpImageSparseRead = 320,
1538 OpTypePipeStorage = 322,
1539 OpConstantPipeStorage = 323,
1540 OpCreatePipeFromPipeStorage = 324,
1541 OpGetKernelLocalSizeForSubgroupCount = 325,
1542 OpGetKernelMaxNumSubgroups = 326,
1543 OpTypeNamedBarrier = 327,
1544 OpNamedBarrierInitialize = 328,
1545 OpMemoryNamedBarrier = 329,
1546 OpModuleProcessed = 330,
1547 OpExecutionModeId = 331,
1549 OpGroupNonUniformElect = 333,
1550 OpGroupNonUniformAll = 334,
1551 OpGroupNonUniformAny = 335,
1552 OpGroupNonUniformAllEqual = 336,
1553 OpGroupNonUniformBroadcast = 337,
1554 OpGroupNonUniformBroadcastFirst = 338,
1555 OpGroupNonUniformBallot = 339,
1556 OpGroupNonUniformInverseBallot = 340,
1557 OpGroupNonUniformBallotBitExtract = 341,
1558 OpGroupNonUniformBallotBitCount = 342,
1559 OpGroupNonUniformBallotFindLSB = 343,
1560 OpGroupNonUniformBallotFindMSB = 344,
1561 OpGroupNonUniformShuffle = 345,
1562 OpGroupNonUniformShuffleXor = 346,
1563 OpGroupNonUniformShuffleUp = 347,
1564 OpGroupNonUniformShuffleDown = 348,
1565 OpGroupNonUniformIAdd = 349,
1566 OpGroupNonUniformFAdd = 350,
1567 OpGroupNonUniformIMul = 351,
1568 OpGroupNonUniformFMul = 352,
1569 OpGroupNonUniformSMin = 353,
1570 OpGroupNonUniformUMin = 354,
1571 OpGroupNonUniformFMin = 355,
1572 OpGroupNonUniformSMax = 356,
1573 OpGroupNonUniformUMax = 357,
1574 OpGroupNonUniformFMax = 358,
1575 OpGroupNonUniformBitwiseAnd = 359,
1576 OpGroupNonUniformBitwiseOr = 360,
1577 OpGroupNonUniformBitwiseXor = 361,
1578 OpGroupNonUniformLogicalAnd = 362,
1579 OpGroupNonUniformLogicalOr = 363,
1580 OpGroupNonUniformLogicalXor = 364,
1581 OpGroupNonUniformQuadBroadcast = 365,
1582 OpGroupNonUniformQuadSwap = 366,
1583 OpCopyLogical = 400,
1585 OpPtrNotEqual = 402,
1587 OpTerminateInvocation = 4416,
1588 OpSubgroupBallotKHR = 4421,
1589 OpSubgroupFirstInvocationKHR = 4422,
1590 OpSubgroupAllKHR = 4428,
1591 OpSubgroupAnyKHR = 4429,
1592 OpSubgroupAllEqualKHR = 4430,
1593 OpGroupNonUniformRotateKHR = 4431,
1594 OpSubgroupReadInvocationKHR = 4432,
1595 OpTraceRayKHR = 4445,
1596 OpExecuteCallableKHR = 4446,
1597 OpConvertUToAccelerationStructureKHR = 4447,
1598 OpIgnoreIntersectionKHR = 4448,
1599 OpTerminateRayKHR = 4449,
1606 OpSDotAccSat = 4453,
1607 OpSDotAccSatKHR = 4453,
1608 OpUDotAccSat = 4454,
1609 OpUDotAccSatKHR = 4454,
1610 OpSUDotAccSat = 4455,
1611 OpSUDotAccSatKHR = 4455,
1612 OpTypeRayQueryKHR = 4472,
1613 OpRayQueryInitializeKHR = 4473,
1614 OpRayQueryTerminateKHR = 4474,
1615 OpRayQueryGenerateIntersectionKHR = 4475,
1616 OpRayQueryConfirmIntersectionKHR = 4476,
1617 OpRayQueryProceedKHR = 4477,
1618 OpRayQueryGetIntersectionTypeKHR = 4479,
1619 OpGroupIAddNonUniformAMD = 5000,
1620 OpGroupFAddNonUniformAMD = 5001,
1621 OpGroupFMinNonUniformAMD = 5002,
1622 OpGroupUMinNonUniformAMD = 5003,
1623 OpGroupSMinNonUniformAMD = 5004,
1624 OpGroupFMaxNonUniformAMD = 5005,
1625 OpGroupUMaxNonUniformAMD = 5006,
1626 OpGroupSMaxNonUniformAMD = 5007,
1627 OpFragmentMaskFetchAMD = 5011,
1628 OpFragmentFetchAMD = 5012,
1629 OpReadClockKHR = 5056,
1630 OpHitObjectRecordHitMotionNV = 5249,
1631 OpHitObjectRecordHitWithIndexMotionNV = 5250,
1632 OpHitObjectRecordMissMotionNV = 5251,
1633 OpHitObjectGetWorldToObjectNV = 5252,
1634 OpHitObjectGetObjectToWorldNV = 5253,
1635 OpHitObjectGetObjectRayDirectionNV = 5254,
1636 OpHitObjectGetObjectRayOriginNV = 5255,
1637 OpHitObjectTraceRayMotionNV = 5256,
1638 OpHitObjectGetShaderRecordBufferHandleNV = 5257,
1639 OpHitObjectGetShaderBindingTableRecordIndexNV = 5258,
1640 OpHitObjectRecordEmptyNV = 5259,
1641 OpHitObjectTraceRayNV = 5260,
1642 OpHitObjectRecordHitNV = 5261,
1643 OpHitObjectRecordHitWithIndexNV = 5262,
1644 OpHitObjectRecordMissNV = 5263,
1645 OpHitObjectExecuteShaderNV = 5264,
1646 OpHitObjectGetCurrentTimeNV = 5265,
1647 OpHitObjectGetAttributesNV = 5266,
1648 OpHitObjectGetHitKindNV = 5267,
1649 OpHitObjectGetPrimitiveIndexNV = 5268,
1650 OpHitObjectGetGeometryIndexNV = 5269,
1651 OpHitObjectGetInstanceIdNV = 5270,
1652 OpHitObjectGetInstanceCustomIndexNV = 5271,
1653 OpHitObjectGetWorldRayDirectionNV = 5272,
1654 OpHitObjectGetWorldRayOriginNV = 5273,
1655 OpHitObjectGetRayTMaxNV = 5274,
1656 OpHitObjectGetRayTMinNV = 5275,
1657 OpHitObjectIsEmptyNV = 5276,
1658 OpHitObjectIsHitNV = 5277,
1659 OpHitObjectIsMissNV = 5278,
1660 OpReorderThreadWithHitObjectNV = 5279,
1661 OpReorderThreadWithHintNV = 5280,
1662 OpTypeHitObjectNV = 5281,
1663 OpImageSampleFootprintNV = 5283,
1664 OpEmitMeshTasksEXT = 5294,
1665 OpSetMeshOutputsEXT = 5295,
1666 OpGroupNonUniformPartitionNV = 5296,
1667 OpWritePackedPrimitiveIndices4x8NV = 5299,
1668 OpReportIntersectionKHR = 5334,
1669 OpReportIntersectionNV = 5334,
1670 OpIgnoreIntersectionNV = 5335,
1671 OpTerminateRayNV = 5336,
1673 OpTraceMotionNV = 5338,
1674 OpTraceRayMotionNV = 5339,
1675 OpTypeAccelerationStructureKHR = 5341,
1676 OpTypeAccelerationStructureNV = 5341,
1677 OpExecuteCallableNV = 5344,
1678 OpTypeCooperativeMatrixNV = 5358,
1679 OpCooperativeMatrixLoadNV = 5359,
1680 OpCooperativeMatrixStoreNV = 5360,
1681 OpCooperativeMatrixMulAddNV = 5361,
1682 OpCooperativeMatrixLengthNV = 5362,
1683 OpBeginInvocationInterlockEXT = 5364,
1684 OpEndInvocationInterlockEXT = 5365,
1685 OpDemoteToHelperInvocation = 5380,
1686 OpDemoteToHelperInvocationEXT = 5380,
1687 OpIsHelperInvocationEXT = 5381,
1688 OpConvertUToImageNV = 5391,
1689 OpConvertUToSamplerNV = 5392,
1690 OpConvertImageToUNV = 5393,
1691 OpConvertSamplerToUNV = 5394,
1692 OpConvertUToSampledImageNV = 5395,
1693 OpConvertSampledImageToUNV = 5396,
1694 OpSamplerImageAddressingModeNV = 5397,
1695 OpSubgroupShuffleINTEL = 5571,
1696 OpSubgroupShuffleDownINTEL = 5572,
1697 OpSubgroupShuffleUpINTEL = 5573,
1698 OpSubgroupShuffleXorINTEL = 5574,
1699 OpSubgroupBlockReadINTEL = 5575,
1700 OpSubgroupBlockWriteINTEL = 5576,
1701 OpSubgroupImageBlockReadINTEL = 5577,
1702 OpSubgroupImageBlockWriteINTEL = 5578,
1703 OpSubgroupImageMediaBlockReadINTEL = 5580,
1704 OpSubgroupImageMediaBlockWriteINTEL = 5581,
1705 OpUCountLeadingZerosINTEL = 5585,
1706 OpUCountTrailingZerosINTEL = 5586,
1707 OpAbsISubINTEL = 5587,
1708 OpAbsUSubINTEL = 5588,
1709 OpIAddSatINTEL = 5589,
1710 OpUAddSatINTEL = 5590,
1711 OpIAverageINTEL = 5591,
1712 OpUAverageINTEL = 5592,
1713 OpIAverageRoundedINTEL = 5593,
1714 OpUAverageRoundedINTEL = 5594,
1715 OpISubSatINTEL = 5595,
1716 OpUSubSatINTEL = 5596,
1717 OpIMul32x16INTEL = 5597,
1718 OpUMul32x16INTEL = 5598,
1719 OpConstantFunctionPointerINTEL = 5600,
1720 OpFunctionPointerCallINTEL = 5601,
1721 OpAsmTargetINTEL = 5609,
1723 OpAsmCallINTEL = 5611,
1724 OpAtomicFMinEXT = 5614,
1725 OpAtomicFMaxEXT = 5615,
1726 OpAssumeTrueKHR = 5630,
1728 OpDecorateString = 5632,
1729 OpDecorateStringGOOGLE = 5632,
1730 OpMemberDecorateString = 5633,
1731 OpMemberDecorateStringGOOGLE = 5633,
1732 OpVmeImageINTEL = 5699,
1733 OpTypeVmeImageINTEL = 5700,
1734 OpTypeAvcImePayloadINTEL = 5701,
1735 OpTypeAvcRefPayloadINTEL = 5702,
1736 OpTypeAvcSicPayloadINTEL = 5703,
1737 OpTypeAvcMcePayloadINTEL = 5704,
1738 OpTypeAvcMceResultINTEL = 5705,
1739 OpTypeAvcImeResultINTEL = 5706,
1740 OpTypeAvcImeResultSingleReferenceStreamoutINTEL = 5707,
1741 OpTypeAvcImeResultDualReferenceStreamoutINTEL = 5708,
1742 OpTypeAvcImeSingleReferenceStreaminINTEL = 5709,
1743 OpTypeAvcImeDualReferenceStreaminINTEL = 5710,
1744 OpTypeAvcRefResultINTEL = 5711,
1745 OpTypeAvcSicResultINTEL = 5712,
1746 OpSubgroupAvcMceGetDefaultInterBaseMultiReferencePenaltyINTEL = 5713,
1747 OpSubgroupAvcMceSetInterBaseMultiReferencePenaltyINTEL = 5714,
1748 OpSubgroupAvcMceGetDefaultInterShapePenaltyINTEL = 5715,
1749 OpSubgroupAvcMceSetInterShapePenaltyINTEL = 5716,
1750 OpSubgroupAvcMceGetDefaultInterDirectionPenaltyINTEL = 5717,
1751 OpSubgroupAvcMceSetInterDirectionPenaltyINTEL = 5718,
1752 OpSubgroupAvcMceGetDefaultIntraLumaShapePenaltyINTEL = 5719,
1753 OpSubgroupAvcMceGetDefaultInterMotionVectorCostTableINTEL = 5720,
1754 OpSubgroupAvcMceGetDefaultHighPenaltyCostTableINTEL = 5721,
1755 OpSubgroupAvcMceGetDefaultMediumPenaltyCostTableINTEL = 5722,
1756 OpSubgroupAvcMceGetDefaultLowPenaltyCostTableINTEL = 5723,
1757 OpSubgroupAvcMceSetMotionVectorCostFunctionINTEL = 5724,
1758 OpSubgroupAvcMceGetDefaultIntraLumaModePenaltyINTEL = 5725,
1759 OpSubgroupAvcMceGetDefaultNonDcLumaIntraPenaltyINTEL = 5726,
1760 OpSubgroupAvcMceGetDefaultIntraChromaModeBasePenaltyINTEL = 5727,
1761 OpSubgroupAvcMceSetAcOnlyHaarINTEL = 5728,
1762 OpSubgroupAvcMceSetSourceInterlacedFieldPolarityINTEL = 5729,
1763 OpSubgroupAvcMceSetSingleReferenceInterlacedFieldPolarityINTEL = 5730,
1764 OpSubgroupAvcMceSetDualReferenceInterlacedFieldPolaritiesINTEL = 5731,
1765 OpSubgroupAvcMceConvertToImePayloadINTEL = 5732,
1766 OpSubgroupAvcMceConvertToImeResultINTEL = 5733,
1767 OpSubgroupAvcMceConvertToRefPayloadINTEL = 5734,
1768 OpSubgroupAvcMceConvertToRefResultINTEL = 5735,
1769 OpSubgroupAvcMceConvertToSicPayloadINTEL = 5736,
1770 OpSubgroupAvcMceConvertToSicResultINTEL = 5737,
1771 OpSubgroupAvcMceGetMotionVectorsINTEL = 5738,
1772 OpSubgroupAvcMceGetInterDistortionsINTEL = 5739,
1773 OpSubgroupAvcMceGetBestInterDistortionsINTEL = 5740,
1774 OpSubgroupAvcMceGetInterMajorShapeINTEL = 5741,
1775 OpSubgroupAvcMceGetInterMinorShapeINTEL = 5742,
1776 OpSubgroupAvcMceGetInterDirectionsINTEL = 5743,
1777 OpSubgroupAvcMceGetInterMotionVectorCountINTEL = 5744,
1778 OpSubgroupAvcMceGetInterReferenceIdsINTEL = 5745,
1779 OpSubgroupAvcMceGetInterReferenceInterlacedFieldPolaritiesINTEL = 5746,
1780 OpSubgroupAvcImeInitializeINTEL = 5747,
1781 OpSubgroupAvcImeSetSingleReferenceINTEL = 5748,
1782 OpSubgroupAvcImeSetDualReferenceINTEL = 5749,
1783 OpSubgroupAvcImeRefWindowSizeINTEL = 5750,
1784 OpSubgroupAvcImeAdjustRefOffsetINTEL = 5751,
1785 OpSubgroupAvcImeConvertToMcePayloadINTEL = 5752,
1786 OpSubgroupAvcImeSetMaxMotionVectorCountINTEL = 5753,
1787 OpSubgroupAvcImeSetUnidirectionalMixDisableINTEL = 5754,
1788 OpSubgroupAvcImeSetEarlySearchTerminationThresholdINTEL = 5755,
1789 OpSubgroupAvcImeSetWeightedSadINTEL = 5756,
1790 OpSubgroupAvcImeEvaluateWithSingleReferenceINTEL = 5757,
1791 OpSubgroupAvcImeEvaluateWithDualReferenceINTEL = 5758,
1792 OpSubgroupAvcImeEvaluateWithSingleReferenceStreaminINTEL = 5759,
1793 OpSubgroupAvcImeEvaluateWithDualReferenceStreaminINTEL = 5760,
1794 OpSubgroupAvcImeEvaluateWithSingleReferenceStreamoutINTEL = 5761,
1795 OpSubgroupAvcImeEvaluateWithDualReferenceStreamoutINTEL = 5762,
1796 OpSubgroupAvcImeEvaluateWithSingleReferenceStreaminoutINTEL = 5763,
1797 OpSubgroupAvcImeEvaluateWithDualReferenceStreaminoutINTEL = 5764,
1798 OpSubgroupAvcImeConvertToMceResultINTEL = 5765,
1799 OpSubgroupAvcImeGetSingleReferenceStreaminINTEL = 5766,
1800 OpSubgroupAvcImeGetDualReferenceStreaminINTEL = 5767,
1801 OpSubgroupAvcImeStripSingleReferenceStreamoutINTEL = 5768,
1802 OpSubgroupAvcImeStripDualReferenceStreamoutINTEL = 5769,
1803 OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeMotionVectorsINTEL = 5770,
1804 OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeDistortionsINTEL = 5771,
1805 OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeReferenceIdsINTEL = 5772,
1806 OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeMotionVectorsINTEL = 5773,
1807 OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeDistortionsINTEL = 5774,
1808 OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeReferenceIdsINTEL = 5775,
1809 OpSubgroupAvcImeGetBorderReachedINTEL = 5776,
1810 OpSubgroupAvcImeGetTruncatedSearchIndicationINTEL = 5777,
1811 OpSubgroupAvcImeGetUnidirectionalEarlySearchTerminationINTEL = 5778,
1812 OpSubgroupAvcImeGetWeightingPatternMinimumMotionVectorINTEL = 5779,
1813 OpSubgroupAvcImeGetWeightingPatternMinimumDistortionINTEL = 5780,
1814 OpSubgroupAvcFmeInitializeINTEL = 5781,
1815 OpSubgroupAvcBmeInitializeINTEL = 5782,
1816 OpSubgroupAvcRefConvertToMcePayloadINTEL = 5783,
1817 OpSubgroupAvcRefSetBidirectionalMixDisableINTEL = 5784,
1818 OpSubgroupAvcRefSetBilinearFilterEnableINTEL = 5785,
1819 OpSubgroupAvcRefEvaluateWithSingleReferenceINTEL = 5786,
1820 OpSubgroupAvcRefEvaluateWithDualReferenceINTEL = 5787,
1821 OpSubgroupAvcRefEvaluateWithMultiReferenceINTEL = 5788,
1822 OpSubgroupAvcRefEvaluateWithMultiReferenceInterlacedINTEL = 5789,
1823 OpSubgroupAvcRefConvertToMceResultINTEL = 5790,
1824 OpSubgroupAvcSicInitializeINTEL = 5791,
1825 OpSubgroupAvcSicConfigureSkcINTEL = 5792,
1826 OpSubgroupAvcSicConfigureIpeLumaINTEL = 5793,
1827 OpSubgroupAvcSicConfigureIpeLumaChromaINTEL = 5794,
1828 OpSubgroupAvcSicGetMotionVectorMaskINTEL = 5795,
1829 OpSubgroupAvcSicConvertToMcePayloadINTEL = 5796,
1830 OpSubgroupAvcSicSetIntraLumaShapePenaltyINTEL = 5797,
1831 OpSubgroupAvcSicSetIntraLumaModeCostFunctionINTEL = 5798,
1832 OpSubgroupAvcSicSetIntraChromaModeCostFunctionINTEL = 5799,
1833 OpSubgroupAvcSicSetBilinearFilterEnableINTEL = 5800,
1834 OpSubgroupAvcSicSetSkcForwardTransformEnableINTEL = 5801,
1835 OpSubgroupAvcSicSetBlockBasedRawSkipSadINTEL = 5802,
1836 OpSubgroupAvcSicEvaluateIpeINTEL = 5803,
1837 OpSubgroupAvcSicEvaluateWithSingleReferenceINTEL = 5804,
1838 OpSubgroupAvcSicEvaluateWithDualReferenceINTEL = 5805,
1839 OpSubgroupAvcSicEvaluateWithMultiReferenceINTEL = 5806,
1840 OpSubgroupAvcSicEvaluateWithMultiReferenceInterlacedINTEL = 5807,
1841 OpSubgroupAvcSicConvertToMceResultINTEL = 5808,
1842 OpSubgroupAvcSicGetIpeLumaShapeINTEL = 5809,
1843 OpSubgroupAvcSicGetBestIpeLumaDistortionINTEL = 5810,
1844 OpSubgroupAvcSicGetBestIpeChromaDistortionINTEL = 5811,
1845 OpSubgroupAvcSicGetPackedIpeLumaModesINTEL = 5812,
1846 OpSubgroupAvcSicGetIpeChromaModeINTEL = 5813,
1847 OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL = 5814,
1848 OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL = 5815,
1849 OpSubgroupAvcSicGetInterRawSadsINTEL = 5816,
1850 OpVariableLengthArrayINTEL = 5818,
1851 OpSaveMemoryINTEL = 5819,
1852 OpRestoreMemoryINTEL = 5820,
1853 OpArbitraryFloatSinCosPiINTEL = 5840,
1854 OpArbitraryFloatCastINTEL = 5841,
1855 OpArbitraryFloatCastFromIntINTEL = 5842,
1856 OpArbitraryFloatCastToIntINTEL = 5843,
1857 OpArbitraryFloatAddINTEL = 5846,
1858 OpArbitraryFloatSubINTEL = 5847,
1859 OpArbitraryFloatMulINTEL = 5848,
1860 OpArbitraryFloatDivINTEL = 5849,
1861 OpArbitraryFloatGTINTEL = 5850,
1862 OpArbitraryFloatGEINTEL = 5851,
1863 OpArbitraryFloatLTINTEL = 5852,
1864 OpArbitraryFloatLEINTEL = 5853,
1865 OpArbitraryFloatEQINTEL = 5854,
1866 OpArbitraryFloatRecipINTEL = 5855,
1867 OpArbitraryFloatRSqrtINTEL = 5856,
1868 OpArbitraryFloatCbrtINTEL = 5857,
1869 OpArbitraryFloatHypotINTEL = 5858,
1870 OpArbitraryFloatSqrtINTEL = 5859,
1871 OpArbitraryFloatLogINTEL = 5860,
1872 OpArbitraryFloatLog2INTEL = 5861,
1873 OpArbitraryFloatLog10INTEL = 5862,
1874 OpArbitraryFloatLog1pINTEL = 5863,
1875 OpArbitraryFloatExpINTEL = 5864,
1876 OpArbitraryFloatExp2INTEL = 5865,
1877 OpArbitraryFloatExp10INTEL = 5866,
1878 OpArbitraryFloatExpm1INTEL = 5867,
1879 OpArbitraryFloatSinINTEL = 5868,
1880 OpArbitraryFloatCosINTEL = 5869,
1881 OpArbitraryFloatSinCosINTEL = 5870,
1882 OpArbitraryFloatSinPiINTEL = 5871,
1883 OpArbitraryFloatCosPiINTEL = 5872,
1884 OpArbitraryFloatASinINTEL = 5873,
1885 OpArbitraryFloatASinPiINTEL = 5874,
1886 OpArbitraryFloatACosINTEL = 5875,
1887 OpArbitraryFloatACosPiINTEL = 5876,
1888 OpArbitraryFloatATanINTEL = 5877,
1889 OpArbitraryFloatATanPiINTEL = 5878,
1890 OpArbitraryFloatATan2INTEL = 5879,
1891 OpArbitraryFloatPowINTEL = 5880,
1892 OpArbitraryFloatPowRINTEL = 5881,
1893 OpArbitraryFloatPowNINTEL = 5882,
1894 OpLoopControlINTEL = 5887,
1895 OpAliasDomainDeclINTEL = 5911,
1896 OpAliasScopeDeclINTEL = 5912,
1897 OpAliasScopeListDeclINTEL = 5913,
1898 OpFixedSqrtINTEL = 5923,
1899 OpFixedRecipINTEL = 5924,
1900 OpFixedRsqrtINTEL = 5925,
1901 OpFixedSinINTEL = 5926,
1902 OpFixedCosINTEL = 5927,
1903 OpFixedSinCosINTEL = 5928,
1904 OpFixedSinPiINTEL = 5929,
1905 OpFixedCosPiINTEL = 5930,
1906 OpFixedSinCosPiINTEL = 5931,
1907 OpFixedLogINTEL = 5932,
1908 OpFixedExpINTEL = 5933,
1909 OpPtrCastToCrossWorkgroupINTEL = 5934,
1910 OpCrossWorkgroupCastToPtrINTEL = 5938,
1911 OpReadPipeBlockingINTEL = 5946,
1912 OpWritePipeBlockingINTEL = 5947,
1913 OpFPGARegINTEL = 5949,
1914 OpRayQueryGetRayTMinKHR = 6016,
1915 OpRayQueryGetRayFlagsKHR = 6017,
1916 OpRayQueryGetIntersectionTKHR = 6018,
1917 OpRayQueryGetIntersectionInstanceCustomIndexKHR = 6019,
1918 OpRayQueryGetIntersectionInstanceIdKHR = 6020,
1919 OpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR = 6021,
1920 OpRayQueryGetIntersectionGeometryIndexKHR = 6022,
1921 OpRayQueryGetIntersectionPrimitiveIndexKHR = 6023,
1922 OpRayQueryGetIntersectionBarycentricsKHR = 6024,
1923 OpRayQueryGetIntersectionFrontFaceKHR = 6025,
1924 OpRayQueryGetIntersectionCandidateAABBOpaqueKHR = 6026,
1925 OpRayQueryGetIntersectionObjectRayDirectionKHR = 6027,
1926 OpRayQueryGetIntersectionObjectRayOriginKHR = 6028,
1927 OpRayQueryGetWorldRayDirectionKHR = 6029,
1928 OpRayQueryGetWorldRayOriginKHR = 6030,
1929 OpRayQueryGetIntersectionObjectToWorldKHR = 6031,
1930 OpRayQueryGetIntersectionWorldToObjectKHR = 6032,
1931 OpAtomicFAddEXT = 6035,
1932 OpTypeBufferSurfaceINTEL = 6086,
1933 OpTypeStructContinuedINTEL = 6090,
1934 OpConstantCompositeContinuedINTEL = 6091,
1935 OpSpecConstantCompositeContinuedINTEL = 6092,
1936 OpControlBarrierArriveINTEL = 6142,
1937 OpControlBarrierWaitINTEL = 6143,
1938 OpGroupIMulKHR = 6401,
1939 OpGroupFMulKHR = 6402,
1940 OpGroupBitwiseAndKHR = 6403,
1941 OpGroupBitwiseOrKHR = 6404,
1942 OpGroupBitwiseXorKHR = 6405,
1943 OpGroupLogicalAndKHR = 6406,
1944 OpGroupLogicalOrKHR = 6407,
1945 OpGroupLogicalXorKHR = 6408,
1949 #ifdef SPV_ENABLE_UTILITY_CODE
1951 #include <stdbool.h>
1953 inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) {
1954 *hasResult = *hasResultType = false;
1956 default: /* unknown opcode */ break;
1957 case Op::OpNop: *hasResult = false; *hasResultType = false; break;
1958 case Op::OpUndef: *hasResult = true; *hasResultType = true; break;
1959 case Op::OpSourceContinued: *hasResult = false; *hasResultType = false; break;
1960 case Op::OpSource: *hasResult = false; *hasResultType = false; break;
1961 case Op::OpSourceExtension: *hasResult = false; *hasResultType = false; break;
1962 case Op::OpName: *hasResult = false; *hasResultType = false; break;
1963 case Op::OpMemberName: *hasResult = false; *hasResultType = false; break;
1964 case Op::OpString: *hasResult = true; *hasResultType = false; break;
1965 case Op::OpLine: *hasResult = false; *hasResultType = false; break;
1966 case Op::OpExtension: *hasResult = false; *hasResultType = false; break;
1967 case Op::OpExtInstImport: *hasResult = true; *hasResultType = false; break;
1968 case Op::OpExtInst: *hasResult = true; *hasResultType = true; break;
1969 case Op::OpMemoryModel: *hasResult = false; *hasResultType = false; break;
1970 case Op::OpEntryPoint: *hasResult = false; *hasResultType = false; break;
1971 case Op::OpExecutionMode: *hasResult = false; *hasResultType = false; break;
1972 case Op::OpCapability: *hasResult = false; *hasResultType = false; break;
1973 case Op::OpTypeVoid: *hasResult = true; *hasResultType = false; break;
1974 case Op::OpTypeBool: *hasResult = true; *hasResultType = false; break;
1975 case Op::OpTypeInt: *hasResult = true; *hasResultType = false; break;
1976 case Op::OpTypeFloat: *hasResult = true; *hasResultType = false; break;
1977 case Op::OpTypeVector: *hasResult = true; *hasResultType = false; break;
1978 case Op::OpTypeMatrix: *hasResult = true; *hasResultType = false; break;
1979 case Op::OpTypeImage: *hasResult = true; *hasResultType = false; break;
1980 case Op::OpTypeSampler: *hasResult = true; *hasResultType = false; break;
1981 case Op::OpTypeSampledImage: *hasResult = true; *hasResultType = false; break;
1982 case Op::OpTypeArray: *hasResult = true; *hasResultType = false; break;
1983 case Op::OpTypeRuntimeArray: *hasResult = true; *hasResultType = false; break;
1984 case Op::OpTypeStruct: *hasResult = true; *hasResultType = false; break;
1985 case Op::OpTypeOpaque: *hasResult = true; *hasResultType = false; break;
1986 case Op::OpTypePointer: *hasResult = true; *hasResultType = false; break;
1987 case Op::OpTypeFunction: *hasResult = true; *hasResultType = false; break;
1988 case Op::OpTypeEvent: *hasResult = true; *hasResultType = false; break;
1989 case Op::OpTypeDeviceEvent: *hasResult = true; *hasResultType = false; break;
1990 case Op::OpTypeReserveId: *hasResult = true; *hasResultType = false; break;
1991 case Op::OpTypeQueue: *hasResult = true; *hasResultType = false; break;
1992 case Op::OpTypePipe: *hasResult = true; *hasResultType = false; break;
1993 case Op::OpTypeForwardPointer: *hasResult = false; *hasResultType = false; break;
1994 case Op::OpConstantTrue: *hasResult = true; *hasResultType = true; break;
1995 case Op::OpConstantFalse: *hasResult = true; *hasResultType = true; break;
1996 case Op::OpConstant: *hasResult = true; *hasResultType = true; break;
1997 case Op::OpConstantComposite: *hasResult = true; *hasResultType = true; break;
1998 case Op::OpConstantSampler: *hasResult = true; *hasResultType = true; break;
1999 case Op::OpConstantNull: *hasResult = true; *hasResultType = true; break;
2000 case Op::OpSpecConstantTrue: *hasResult = true; *hasResultType = true; break;
2001 case Op::OpSpecConstantFalse: *hasResult = true; *hasResultType = true; break;
2002 case Op::OpSpecConstant: *hasResult = true; *hasResultType = true; break;
2003 case Op::OpSpecConstantComposite: *hasResult = true; *hasResultType = true; break;
2004 case Op::OpSpecConstantOp: *hasResult = true; *hasResultType = true; break;
2005 case Op::OpFunction: *hasResult = true; *hasResultType = true; break;
2006 case Op::OpFunctionParameter: *hasResult = true; *hasResultType = true; break;
2007 case Op::OpFunctionEnd: *hasResult = false; *hasResultType = false; break;
2008 case Op::OpFunctionCall: *hasResult = true; *hasResultType = true; break;
2009 case Op::OpVariable: *hasResult = true; *hasResultType = true; break;
2010 case Op::OpImageTexelPointer: *hasResult = true; *hasResultType = true; break;
2011 case Op::OpLoad: *hasResult = true; *hasResultType = true; break;
2012 case Op::OpStore: *hasResult = false; *hasResultType = false; break;
2013 case Op::OpCopyMemory: *hasResult = false; *hasResultType = false; break;
2014 case Op::OpCopyMemorySized: *hasResult = false; *hasResultType = false; break;
2015 case Op::OpAccessChain: *hasResult = true; *hasResultType = true; break;
2016 case Op::OpInBoundsAccessChain: *hasResult = true; *hasResultType = true; break;
2017 case Op::OpPtrAccessChain: *hasResult = true; *hasResultType = true; break;
2018 case Op::OpArrayLength: *hasResult = true; *hasResultType = true; break;
2019 case Op::OpGenericPtrMemSemantics: *hasResult = true; *hasResultType = true; break;
2020 case Op::OpInBoundsPtrAccessChain: *hasResult = true; *hasResultType = true; break;
2021 case Op::OpDecorate: *hasResult = false; *hasResultType = false; break;
2022 case Op::OpMemberDecorate: *hasResult = false; *hasResultType = false; break;
2023 case Op::OpDecorationGroup: *hasResult = true; *hasResultType = false; break;
2024 case Op::OpGroupDecorate: *hasResult = false; *hasResultType = false; break;
2025 case Op::OpGroupMemberDecorate: *hasResult = false; *hasResultType = false; break;
2026 case Op::OpVectorExtractDynamic: *hasResult = true; *hasResultType = true; break;
2027 case Op::OpVectorInsertDynamic: *hasResult = true; *hasResultType = true; break;
2028 case Op::OpVectorShuffle: *hasResult = true; *hasResultType = true; break;
2029 case Op::OpCompositeConstruct: *hasResult = true; *hasResultType = true; break;
2030 case Op::OpCompositeExtract: *hasResult = true; *hasResultType = true; break;
2031 case Op::OpCompositeInsert: *hasResult = true; *hasResultType = true; break;
2032 case Op::OpCopyObject: *hasResult = true; *hasResultType = true; break;
2033 case Op::OpTranspose: *hasResult = true; *hasResultType = true; break;
2034 case Op::OpSampledImage: *hasResult = true; *hasResultType = true; break;
2035 case Op::OpImageSampleImplicitLod: *hasResult = true; *hasResultType = true; break;
2036 case Op::OpImageSampleExplicitLod: *hasResult = true; *hasResultType = true; break;
2037 case Op::OpImageSampleDrefImplicitLod: *hasResult = true; *hasResultType = true; break;
2038 case Op::OpImageSampleDrefExplicitLod: *hasResult = true; *hasResultType = true; break;
2039 case Op::OpImageSampleProjImplicitLod: *hasResult = true; *hasResultType = true; break;
2040 case Op::OpImageSampleProjExplicitLod: *hasResult = true; *hasResultType = true; break;
2041 case Op::OpImageSampleProjDrefImplicitLod: *hasResult = true; *hasResultType = true; break;
2042 case Op::OpImageSampleProjDrefExplicitLod: *hasResult = true; *hasResultType = true; break;
2043 case Op::OpImageFetch: *hasResult = true; *hasResultType = true; break;
2044 case Op::OpImageGather: *hasResult = true; *hasResultType = true; break;
2045 case Op::OpImageDrefGather: *hasResult = true; *hasResultType = true; break;
2046 case Op::OpImageRead: *hasResult = true; *hasResultType = true; break;
2047 case Op::OpImageWrite: *hasResult = false; *hasResultType = false; break;
2048 case Op::OpImage: *hasResult = true; *hasResultType = true; break;
2049 case Op::OpImageQueryFormat: *hasResult = true; *hasResultType = true; break;
2050 case Op::OpImageQueryOrder: *hasResult = true; *hasResultType = true; break;
2051 case Op::OpImageQuerySizeLod: *hasResult = true; *hasResultType = true; break;
2052 case Op::OpImageQuerySize: *hasResult = true; *hasResultType = true; break;
2053 case Op::OpImageQueryLod: *hasResult = true; *hasResultType = true; break;
2054 case Op::OpImageQueryLevels: *hasResult = true; *hasResultType = true; break;
2055 case Op::OpImageQuerySamples: *hasResult = true; *hasResultType = true; break;
2056 case Op::OpConvertFToU: *hasResult = true; *hasResultType = true; break;
2057 case Op::OpConvertFToS: *hasResult = true; *hasResultType = true; break;
2058 case Op::OpConvertSToF: *hasResult = true; *hasResultType = true; break;
2059 case Op::OpConvertUToF: *hasResult = true; *hasResultType = true; break;
2060 case Op::OpUConvert: *hasResult = true; *hasResultType = true; break;
2061 case Op::OpSConvert: *hasResult = true; *hasResultType = true; break;
2062 case Op::OpFConvert: *hasResult = true; *hasResultType = true; break;
2063 case Op::OpQuantizeToF16: *hasResult = true; *hasResultType = true; break;
2064 case Op::OpConvertPtrToU: *hasResult = true; *hasResultType = true; break;
2065 case Op::OpSatConvertSToU: *hasResult = true; *hasResultType = true; break;
2066 case Op::OpSatConvertUToS: *hasResult = true; *hasResultType = true; break;
2067 case Op::OpConvertUToPtr: *hasResult = true; *hasResultType = true; break;
2068 case Op::OpPtrCastToGeneric: *hasResult = true; *hasResultType = true; break;
2069 case Op::OpGenericCastToPtr: *hasResult = true; *hasResultType = true; break;
2070 case Op::OpGenericCastToPtrExplicit: *hasResult = true; *hasResultType = true; break;
2071 case Op::OpBitcast: *hasResult = true; *hasResultType = true; break;
2072 case Op::OpSNegate: *hasResult = true; *hasResultType = true; break;
2073 case Op::OpFNegate: *hasResult = true; *hasResultType = true; break;
2074 case Op::OpIAdd: *hasResult = true; *hasResultType = true; break;
2075 case Op::OpFAdd: *hasResult = true; *hasResultType = true; break;
2076 case Op::OpISub: *hasResult = true; *hasResultType = true; break;
2077 case Op::OpFSub: *hasResult = true; *hasResultType = true; break;
2078 case Op::OpIMul: *hasResult = true; *hasResultType = true; break;
2079 case Op::OpFMul: *hasResult = true; *hasResultType = true; break;
2080 case Op::OpUDiv: *hasResult = true; *hasResultType = true; break;
2081 case Op::OpSDiv: *hasResult = true; *hasResultType = true; break;
2082 case Op::OpFDiv: *hasResult = true; *hasResultType = true; break;
2083 case Op::OpUMod: *hasResult = true; *hasResultType = true; break;
2084 case Op::OpSRem: *hasResult = true; *hasResultType = true; break;
2085 case Op::OpSMod: *hasResult = true; *hasResultType = true; break;
2086 case Op::OpFRem: *hasResult = true; *hasResultType = true; break;
2087 case Op::OpFMod: *hasResult = true; *hasResultType = true; break;
2088 case Op::OpVectorTimesScalar: *hasResult = true; *hasResultType = true; break;
2089 case Op::OpMatrixTimesScalar: *hasResult = true; *hasResultType = true; break;
2090 case Op::OpVectorTimesMatrix: *hasResult = true; *hasResultType = true; break;
2091 case Op::OpMatrixTimesVector: *hasResult = true; *hasResultType = true; break;
2092 case Op::OpMatrixTimesMatrix: *hasResult = true; *hasResultType = true; break;
2093 case Op::OpOuterProduct: *hasResult = true; *hasResultType = true; break;
2094 case Op::OpDot: *hasResult = true; *hasResultType = true; break;
2095 case Op::OpIAddCarry: *hasResult = true; *hasResultType = true; break;
2096 case Op::OpISubBorrow: *hasResult = true; *hasResultType = true; break;
2097 case Op::OpUMulExtended: *hasResult = true; *hasResultType = true; break;
2098 case Op::OpSMulExtended: *hasResult = true; *hasResultType = true; break;
2099 case Op::OpAny: *hasResult = true; *hasResultType = true; break;
2100 case Op::OpAll: *hasResult = true; *hasResultType = true; break;
2101 case Op::OpIsNan: *hasResult = true; *hasResultType = true; break;
2102 case Op::OpIsInf: *hasResult = true; *hasResultType = true; break;
2103 case Op::OpIsFinite: *hasResult = true; *hasResultType = true; break;
2104 case Op::OpIsNormal: *hasResult = true; *hasResultType = true; break;
2105 case Op::OpSignBitSet: *hasResult = true; *hasResultType = true; break;
2106 case Op::OpLessOrGreater: *hasResult = true; *hasResultType = true; break;
2107 case Op::OpOrdered: *hasResult = true; *hasResultType = true; break;
2108 case Op::OpUnordered: *hasResult = true; *hasResultType = true; break;
2109 case Op::OpLogicalEqual: *hasResult = true; *hasResultType = true; break;
2110 case Op::OpLogicalNotEqual: *hasResult = true; *hasResultType = true; break;
2111 case Op::OpLogicalOr: *hasResult = true; *hasResultType = true; break;
2112 case Op::OpLogicalAnd: *hasResult = true; *hasResultType = true; break;
2113 case Op::OpLogicalNot: *hasResult = true; *hasResultType = true; break;
2114 case Op::OpSelect: *hasResult = true; *hasResultType = true; break;
2115 case Op::OpIEqual: *hasResult = true; *hasResultType = true; break;
2116 case Op::OpINotEqual: *hasResult = true; *hasResultType = true; break;
2117 case Op::OpUGreaterThan: *hasResult = true; *hasResultType = true; break;
2118 case Op::OpSGreaterThan: *hasResult = true; *hasResultType = true; break;
2119 case Op::OpUGreaterThanEqual: *hasResult = true; *hasResultType = true; break;
2120 case Op::OpSGreaterThanEqual: *hasResult = true; *hasResultType = true; break;
2121 case Op::OpULessThan: *hasResult = true; *hasResultType = true; break;
2122 case Op::OpSLessThan: *hasResult = true; *hasResultType = true; break;
2123 case Op::OpULessThanEqual: *hasResult = true; *hasResultType = true; break;
2124 case Op::OpSLessThanEqual: *hasResult = true; *hasResultType = true; break;
2125 case Op::OpFOrdEqual: *hasResult = true; *hasResultType = true; break;
2126 case Op::OpFUnordEqual: *hasResult = true; *hasResultType = true; break;
2127 case Op::OpFOrdNotEqual: *hasResult = true; *hasResultType = true; break;
2128 case Op::OpFUnordNotEqual: *hasResult = true; *hasResultType = true; break;
2129 case Op::OpFOrdLessThan: *hasResult = true; *hasResultType = true; break;
2130 case Op::OpFUnordLessThan: *hasResult = true; *hasResultType = true; break;
2131 case Op::OpFOrdGreaterThan: *hasResult = true; *hasResultType = true; break;
2132 case Op::OpFUnordGreaterThan: *hasResult = true; *hasResultType = true; break;
2133 case Op::OpFOrdLessThanEqual: *hasResult = true; *hasResultType = true; break;
2134 case Op::OpFUnordLessThanEqual: *hasResult = true; *hasResultType = true; break;
2135 case Op::OpFOrdGreaterThanEqual: *hasResult = true; *hasResultType = true; break;
2136 case Op::OpFUnordGreaterThanEqual: *hasResult = true; *hasResultType = true; break;
2137 case Op::OpShiftRightLogical: *hasResult = true; *hasResultType = true; break;
2138 case Op::OpShiftRightArithmetic: *hasResult = true; *hasResultType = true; break;
2139 case Op::OpShiftLeftLogical: *hasResult = true; *hasResultType = true; break;
2140 case Op::OpBitwiseOr: *hasResult = true; *hasResultType = true; break;
2141 case Op::OpBitwiseXor: *hasResult = true; *hasResultType = true; break;
2142 case Op::OpBitwiseAnd: *hasResult = true; *hasResultType = true; break;
2143 case Op::OpNot: *hasResult = true; *hasResultType = true; break;
2144 case Op::OpBitFieldInsert: *hasResult = true; *hasResultType = true; break;
2145 case Op::OpBitFieldSExtract: *hasResult = true; *hasResultType = true; break;
2146 case Op::OpBitFieldUExtract: *hasResult = true; *hasResultType = true; break;
2147 case Op::OpBitReverse: *hasResult = true; *hasResultType = true; break;
2148 case Op::OpBitCount: *hasResult = true; *hasResultType = true; break;
2149 case Op::OpDPdx: *hasResult = true; *hasResultType = true; break;
2150 case Op::OpDPdy: *hasResult = true; *hasResultType = true; break;
2151 case Op::OpFwidth: *hasResult = true; *hasResultType = true; break;
2152 case Op::OpDPdxFine: *hasResult = true; *hasResultType = true; break;
2153 case Op::OpDPdyFine: *hasResult = true; *hasResultType = true; break;
2154 case Op::OpFwidthFine: *hasResult = true; *hasResultType = true; break;
2155 case Op::OpDPdxCoarse: *hasResult = true; *hasResultType = true; break;
2156 case Op::OpDPdyCoarse: *hasResult = true; *hasResultType = true; break;
2157 case Op::OpFwidthCoarse: *hasResult = true; *hasResultType = true; break;
2158 case Op::OpEmitVertex: *hasResult = false; *hasResultType = false; break;
2159 case Op::OpEndPrimitive: *hasResult = false; *hasResultType = false; break;
2160 case Op::OpEmitStreamVertex: *hasResult = false; *hasResultType = false; break;
2161 case Op::OpEndStreamPrimitive: *hasResult = false; *hasResultType = false; break;
2162 case Op::OpControlBarrier: *hasResult = false; *hasResultType = false; break;
2163 case Op::OpMemoryBarrier: *hasResult = false; *hasResultType = false; break;
2164 case Op::OpAtomicLoad: *hasResult = true; *hasResultType = true; break;
2165 case Op::OpAtomicStore: *hasResult = false; *hasResultType = false; break;
2166 case Op::OpAtomicExchange: *hasResult = true; *hasResultType = true; break;
2167 case Op::OpAtomicCompareExchange: *hasResult = true; *hasResultType = true; break;
2168 case Op::OpAtomicCompareExchangeWeak: *hasResult = true; *hasResultType = true; break;
2169 case Op::OpAtomicIIncrement: *hasResult = true; *hasResultType = true; break;
2170 case Op::OpAtomicIDecrement: *hasResult = true; *hasResultType = true; break;
2171 case Op::OpAtomicIAdd: *hasResult = true; *hasResultType = true; break;
2172 case Op::OpAtomicISub: *hasResult = true; *hasResultType = true; break;
2173 case Op::OpAtomicSMin: *hasResult = true; *hasResultType = true; break;
2174 case Op::OpAtomicUMin: *hasResult = true; *hasResultType = true; break;
2175 case Op::OpAtomicSMax: *hasResult = true; *hasResultType = true; break;
2176 case Op::OpAtomicUMax: *hasResult = true; *hasResultType = true; break;
2177 case Op::OpAtomicAnd: *hasResult = true; *hasResultType = true; break;
2178 case Op::OpAtomicOr: *hasResult = true; *hasResultType = true; break;
2179 case Op::OpAtomicXor: *hasResult = true; *hasResultType = true; break;
2180 case Op::OpPhi: *hasResult = true; *hasResultType = true; break;
2181 case Op::OpLoopMerge: *hasResult = false; *hasResultType = false; break;
2182 case Op::OpSelectionMerge: *hasResult = false; *hasResultType = false; break;
2183 case Op::OpLabel: *hasResult = true; *hasResultType = false; break;
2184 case Op::OpBranch: *hasResult = false; *hasResultType = false; break;
2185 case Op::OpBranchConditional: *hasResult = false; *hasResultType = false; break;
2186 case Op::OpSwitch: *hasResult = false; *hasResultType = false; break;
2187 case Op::OpKill: *hasResult = false; *hasResultType = false; break;
2188 case Op::OpReturn: *hasResult = false; *hasResultType = false; break;
2189 case Op::OpReturnValue: *hasResult = false; *hasResultType = false; break;
2190 case Op::OpUnreachable: *hasResult = false; *hasResultType = false; break;
2191 case Op::OpLifetimeStart: *hasResult = false; *hasResultType = false; break;
2192 case Op::OpLifetimeStop: *hasResult = false; *hasResultType = false; break;
2193 case Op::OpGroupAsyncCopy: *hasResult = true; *hasResultType = true; break;
2194 case Op::OpGroupWaitEvents: *hasResult = false; *hasResultType = false; break;
2195 case Op::OpGroupAll: *hasResult = true; *hasResultType = true; break;
2196 case Op::OpGroupAny: *hasResult = true; *hasResultType = true; break;
2197 case Op::OpGroupBroadcast: *hasResult = true; *hasResultType = true; break;
2198 case Op::OpGroupIAdd: *hasResult = true; *hasResultType = true; break;
2199 case Op::OpGroupFAdd: *hasResult = true; *hasResultType = true; break;
2200 case Op::OpGroupFMin: *hasResult = true; *hasResultType = true; break;
2201 case Op::OpGroupUMin: *hasResult = true; *hasResultType = true; break;
2202 case Op::OpGroupSMin: *hasResult = true; *hasResultType = true; break;
2203 case Op::OpGroupFMax: *hasResult = true; *hasResultType = true; break;
2204 case Op::OpGroupUMax: *hasResult = true; *hasResultType = true; break;
2205 case Op::OpGroupSMax: *hasResult = true; *hasResultType = true; break;
2206 case Op::OpReadPipe: *hasResult = true; *hasResultType = true; break;
2207 case Op::OpWritePipe: *hasResult = true; *hasResultType = true; break;
2208 case Op::OpReservedReadPipe: *hasResult = true; *hasResultType = true; break;
2209 case Op::OpReservedWritePipe: *hasResult = true; *hasResultType = true; break;
2210 case Op::OpReserveReadPipePackets: *hasResult = true; *hasResultType = true; break;
2211 case Op::OpReserveWritePipePackets: *hasResult = true; *hasResultType = true; break;
2212 case Op::OpCommitReadPipe: *hasResult = false; *hasResultType = false; break;
2213 case Op::OpCommitWritePipe: *hasResult = false; *hasResultType = false; break;
2214 case Op::OpIsValidReserveId: *hasResult = true; *hasResultType = true; break;
2215 case Op::OpGetNumPipePackets: *hasResult = true; *hasResultType = true; break;
2216 case Op::OpGetMaxPipePackets: *hasResult = true; *hasResultType = true; break;
2217 case Op::OpGroupReserveReadPipePackets: *hasResult = true; *hasResultType = true; break;
2218 case Op::OpGroupReserveWritePipePackets: *hasResult = true; *hasResultType = true; break;
2219 case Op::OpGroupCommitReadPipe: *hasResult = false; *hasResultType = false; break;
2220 case Op::OpGroupCommitWritePipe: *hasResult = false; *hasResultType = false; break;
2221 case Op::OpEnqueueMarker: *hasResult = true; *hasResultType = true; break;
2222 case Op::OpEnqueueKernel: *hasResult = true; *hasResultType = true; break;
2223 case Op::OpGetKernelNDrangeSubGroupCount: *hasResult = true; *hasResultType = true; break;
2224 case Op::OpGetKernelNDrangeMaxSubGroupSize: *hasResult = true; *hasResultType = true; break;
2225 case Op::OpGetKernelWorkGroupSize: *hasResult = true; *hasResultType = true; break;
2226 case Op::OpGetKernelPreferredWorkGroupSizeMultiple: *hasResult = true; *hasResultType = true; break;
2227 case Op::OpRetainEvent: *hasResult = false; *hasResultType = false; break;
2228 case Op::OpReleaseEvent: *hasResult = false; *hasResultType = false; break;
2229 case Op::OpCreateUserEvent: *hasResult = true; *hasResultType = true; break;
2230 case Op::OpIsValidEvent: *hasResult = true; *hasResultType = true; break;
2231 case Op::OpSetUserEventStatus: *hasResult = false; *hasResultType = false; break;
2232 case Op::OpCaptureEventProfilingInfo: *hasResult = false; *hasResultType = false; break;
2233 case Op::OpGetDefaultQueue: *hasResult = true; *hasResultType = true; break;
2234 case Op::OpBuildNDRange: *hasResult = true; *hasResultType = true; break;
2235 case Op::OpImageSparseSampleImplicitLod: *hasResult = true; *hasResultType = true; break;
2236 case Op::OpImageSparseSampleExplicitLod: *hasResult = true; *hasResultType = true; break;
2237 case Op::OpImageSparseSampleDrefImplicitLod: *hasResult = true; *hasResultType = true; break;
2238 case Op::OpImageSparseSampleDrefExplicitLod: *hasResult = true; *hasResultType = true; break;
2239 case Op::OpImageSparseSampleProjImplicitLod: *hasResult = true; *hasResultType = true; break;
2240 case Op::OpImageSparseSampleProjExplicitLod: *hasResult = true; *hasResultType = true; break;
2241 case Op::OpImageSparseSampleProjDrefImplicitLod: *hasResult = true; *hasResultType = true; break;
2242 case Op::OpImageSparseSampleProjDrefExplicitLod: *hasResult = true; *hasResultType = true; break;
2243 case Op::OpImageSparseFetch: *hasResult = true; *hasResultType = true; break;
2244 case Op::OpImageSparseGather: *hasResult = true; *hasResultType = true; break;
2245 case Op::OpImageSparseDrefGather: *hasResult = true; *hasResultType = true; break;
2246 case Op::OpImageSparseTexelsResident: *hasResult = true; *hasResultType = true; break;
2247 case Op::OpNoLine: *hasResult = false; *hasResultType = false; break;
2248 case Op::OpAtomicFlagTestAndSet: *hasResult = true; *hasResultType = true; break;
2249 case Op::OpAtomicFlagClear: *hasResult = false; *hasResultType = false; break;
2250 case Op::OpImageSparseRead: *hasResult = true; *hasResultType = true; break;
2251 case Op::OpSizeOf: *hasResult = true; *hasResultType = true; break;
2252 case Op::OpTypePipeStorage: *hasResult = true; *hasResultType = false; break;
2253 case Op::OpConstantPipeStorage: *hasResult = true; *hasResultType = true; break;
2254 case Op::OpCreatePipeFromPipeStorage: *hasResult = true; *hasResultType = true; break;
2255 case Op::OpGetKernelLocalSizeForSubgroupCount: *hasResult = true; *hasResultType = true; break;
2256 case Op::OpGetKernelMaxNumSubgroups: *hasResult = true; *hasResultType = true; break;
2257 case Op::OpTypeNamedBarrier: *hasResult = true; *hasResultType = false; break;
2258 case Op::OpNamedBarrierInitialize: *hasResult = true; *hasResultType = true; break;
2259 case Op::OpMemoryNamedBarrier: *hasResult = false; *hasResultType = false; break;
2260 case Op::OpModuleProcessed: *hasResult = false; *hasResultType = false; break;
2261 case Op::OpExecutionModeId: *hasResult = false; *hasResultType = false; break;
2262 case Op::OpDecorateId: *hasResult = false; *hasResultType = false; break;
2263 case Op::OpGroupNonUniformElect: *hasResult = true; *hasResultType = true; break;
2264 case Op::OpGroupNonUniformAll: *hasResult = true; *hasResultType = true; break;
2265 case Op::OpGroupNonUniformAny: *hasResult = true; *hasResultType = true; break;
2266 case Op::OpGroupNonUniformAllEqual: *hasResult = true; *hasResultType = true; break;
2267 case Op::OpGroupNonUniformBroadcast: *hasResult = true; *hasResultType = true; break;
2268 case Op::OpGroupNonUniformBroadcastFirst: *hasResult = true; *hasResultType = true; break;
2269 case Op::OpGroupNonUniformBallot: *hasResult = true; *hasResultType = true; break;
2270 case Op::OpGroupNonUniformInverseBallot: *hasResult = true; *hasResultType = true; break;
2271 case Op::OpGroupNonUniformBallotBitExtract: *hasResult = true; *hasResultType = true; break;
2272 case Op::OpGroupNonUniformBallotBitCount: *hasResult = true; *hasResultType = true; break;
2273 case Op::OpGroupNonUniformBallotFindLSB: *hasResult = true; *hasResultType = true; break;
2274 case Op::OpGroupNonUniformBallotFindMSB: *hasResult = true; *hasResultType = true; break;
2275 case Op::OpGroupNonUniformShuffle: *hasResult = true; *hasResultType = true; break;
2276 case Op::OpGroupNonUniformShuffleXor: *hasResult = true; *hasResultType = true; break;
2277 case Op::OpGroupNonUniformShuffleUp: *hasResult = true; *hasResultType = true; break;
2278 case Op::OpGroupNonUniformShuffleDown: *hasResult = true; *hasResultType = true; break;
2279 case Op::OpGroupNonUniformIAdd: *hasResult = true; *hasResultType = true; break;
2280 case Op::OpGroupNonUniformFAdd: *hasResult = true; *hasResultType = true; break;
2281 case Op::OpGroupNonUniformIMul: *hasResult = true; *hasResultType = true; break;
2282 case Op::OpGroupNonUniformFMul: *hasResult = true; *hasResultType = true; break;
2283 case Op::OpGroupNonUniformSMin: *hasResult = true; *hasResultType = true; break;
2284 case Op::OpGroupNonUniformUMin: *hasResult = true; *hasResultType = true; break;
2285 case Op::OpGroupNonUniformFMin: *hasResult = true; *hasResultType = true; break;
2286 case Op::OpGroupNonUniformSMax: *hasResult = true; *hasResultType = true; break;
2287 case Op::OpGroupNonUniformUMax: *hasResult = true; *hasResultType = true; break;
2288 case Op::OpGroupNonUniformFMax: *hasResult = true; *hasResultType = true; break;
2289 case Op::OpGroupNonUniformBitwiseAnd: *hasResult = true; *hasResultType = true; break;
2290 case Op::OpGroupNonUniformBitwiseOr: *hasResult = true; *hasResultType = true; break;
2291 case Op::OpGroupNonUniformBitwiseXor: *hasResult = true; *hasResultType = true; break;
2292 case Op::OpGroupNonUniformLogicalAnd: *hasResult = true; *hasResultType = true; break;
2293 case Op::OpGroupNonUniformLogicalOr: *hasResult = true; *hasResultType = true; break;
2294 case Op::OpGroupNonUniformLogicalXor: *hasResult = true; *hasResultType = true; break;
2295 case Op::OpGroupNonUniformQuadBroadcast: *hasResult = true; *hasResultType = true; break;
2296 case Op::OpGroupNonUniformQuadSwap: *hasResult = true; *hasResultType = true; break;
2297 case Op::OpCopyLogical: *hasResult = true; *hasResultType = true; break;
2298 case Op::OpPtrEqual: *hasResult = true; *hasResultType = true; break;
2299 case Op::OpPtrNotEqual: *hasResult = true; *hasResultType = true; break;
2300 case Op::OpPtrDiff: *hasResult = true; *hasResultType = true; break;
2301 case Op::OpTerminateInvocation: *hasResult = false; *hasResultType = false; break;
2302 case Op::OpSubgroupBallotKHR: *hasResult = true; *hasResultType = true; break;
2303 case Op::OpSubgroupFirstInvocationKHR: *hasResult = true; *hasResultType = true; break;
2304 case Op::OpSubgroupAllKHR: *hasResult = true; *hasResultType = true; break;
2305 case Op::OpSubgroupAnyKHR: *hasResult = true; *hasResultType = true; break;
2306 case Op::OpSubgroupAllEqualKHR: *hasResult = true; *hasResultType = true; break;
2307 case Op::OpGroupNonUniformRotateKHR: *hasResult = true; *hasResultType = true; break;
2308 case Op::OpSubgroupReadInvocationKHR: *hasResult = true; *hasResultType = true; break;
2309 case Op::OpTraceRayKHR: *hasResult = false; *hasResultType = false; break;
2310 case Op::OpExecuteCallableKHR: *hasResult = false; *hasResultType = false; break;
2311 case Op::OpConvertUToAccelerationStructureKHR: *hasResult = true; *hasResultType = true; break;
2312 case Op::OpIgnoreIntersectionKHR: *hasResult = false; *hasResultType = false; break;
2313 case Op::OpTerminateRayKHR: *hasResult = false; *hasResultType = false; break;
2314 case Op::OpSDot: *hasResult = true; *hasResultType = true; break;
2315 case Op::OpUDot: *hasResult = true; *hasResultType = true; break;
2316 case Op::OpSUDot: *hasResult = true; *hasResultType = true; break;
2317 case Op::OpSDotAccSat: *hasResult = true; *hasResultType = true; break;
2318 case Op::OpUDotAccSat: *hasResult = true; *hasResultType = true; break;
2319 case Op::OpSUDotAccSat: *hasResult = true; *hasResultType = true; break;
2320 case Op::OpTypeRayQueryKHR: *hasResult = true; *hasResultType = false; break;
2321 case Op::OpRayQueryInitializeKHR: *hasResult = false; *hasResultType = false; break;
2322 case Op::OpRayQueryTerminateKHR: *hasResult = false; *hasResultType = false; break;
2323 case Op::OpRayQueryGenerateIntersectionKHR: *hasResult = false; *hasResultType = false; break;
2324 case Op::OpRayQueryConfirmIntersectionKHR: *hasResult = false; *hasResultType = false; break;
2325 case Op::OpRayQueryProceedKHR: *hasResult = true; *hasResultType = true; break;
2326 case Op::OpRayQueryGetIntersectionTypeKHR: *hasResult = true; *hasResultType = true; break;
2327 case Op::OpGroupIAddNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2328 case Op::OpGroupFAddNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2329 case Op::OpGroupFMinNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2330 case Op::OpGroupUMinNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2331 case Op::OpGroupSMinNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2332 case Op::OpGroupFMaxNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2333 case Op::OpGroupUMaxNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2334 case Op::OpGroupSMaxNonUniformAMD: *hasResult = true; *hasResultType = true; break;
2335 case Op::OpFragmentMaskFetchAMD: *hasResult = true; *hasResultType = true; break;
2336 case Op::OpFragmentFetchAMD: *hasResult = true; *hasResultType = true; break;
2337 case Op::OpReadClockKHR: *hasResult = true; *hasResultType = true; break;
2338 case Op::OpHitObjectRecordHitMotionNV: *hasResult = false; *hasResultType = false; break;
2339 case Op::OpHitObjectRecordHitWithIndexMotionNV: *hasResult = false; *hasResultType = false; break;
2340 case Op::OpHitObjectRecordMissMotionNV: *hasResult = false; *hasResultType = false; break;
2341 case Op::OpHitObjectGetWorldToObjectNV: *hasResult = true; *hasResultType = true; break;
2342 case Op::OpHitObjectGetObjectToWorldNV: *hasResult = true; *hasResultType = true; break;
2343 case Op::OpHitObjectGetObjectRayDirectionNV: *hasResult = true; *hasResultType = true; break;
2344 case Op::OpHitObjectGetObjectRayOriginNV: *hasResult = true; *hasResultType = true; break;
2345 case Op::OpHitObjectTraceRayMotionNV: *hasResult = false; *hasResultType = false; break;
2346 case Op::OpHitObjectGetShaderRecordBufferHandleNV: *hasResult = true; *hasResultType = true; break;
2347 case Op::OpHitObjectGetShaderBindingTableRecordIndexNV: *hasResult = true; *hasResultType = true; break;
2348 case Op::OpHitObjectRecordEmptyNV: *hasResult = false; *hasResultType = false; break;
2349 case Op::OpHitObjectTraceRayNV: *hasResult = false; *hasResultType = false; break;
2350 case Op::OpHitObjectRecordHitNV: *hasResult = false; *hasResultType = false; break;
2351 case Op::OpHitObjectRecordHitWithIndexNV: *hasResult = false; *hasResultType = false; break;
2352 case Op::OpHitObjectRecordMissNV: *hasResult = false; *hasResultType = false; break;
2353 case Op::OpHitObjectExecuteShaderNV: *hasResult = false; *hasResultType = false; break;
2354 case Op::OpHitObjectGetCurrentTimeNV: *hasResult = true; *hasResultType = true; break;
2355 case Op::OpHitObjectGetAttributesNV: *hasResult = false; *hasResultType = false; break;
2356 case Op::OpHitObjectGetHitKindNV: *hasResult = true; *hasResultType = true; break;
2357 case Op::OpHitObjectGetPrimitiveIndexNV: *hasResult = true; *hasResultType = true; break;
2358 case Op::OpHitObjectGetGeometryIndexNV: *hasResult = true; *hasResultType = true; break;
2359 case Op::OpHitObjectGetInstanceIdNV: *hasResult = true; *hasResultType = true; break;
2360 case Op::OpHitObjectGetInstanceCustomIndexNV: *hasResult = true; *hasResultType = true; break;
2361 case Op::OpHitObjectGetWorldRayDirectionNV: *hasResult = true; *hasResultType = true; break;
2362 case Op::OpHitObjectGetWorldRayOriginNV: *hasResult = true; *hasResultType = true; break;
2363 case Op::OpHitObjectGetRayTMaxNV: *hasResult = true; *hasResultType = true; break;
2364 case Op::OpHitObjectGetRayTMinNV: *hasResult = true; *hasResultType = true; break;
2365 case Op::OpHitObjectIsEmptyNV: *hasResult = true; *hasResultType = true; break;
2366 case Op::OpHitObjectIsHitNV: *hasResult = true; *hasResultType = true; break;
2367 case Op::OpHitObjectIsMissNV: *hasResult = true; *hasResultType = true; break;
2368 case Op::OpReorderThreadWithHitObjectNV: *hasResult = false; *hasResultType = false; break;
2369 case Op::OpReorderThreadWithHintNV: *hasResult = false; *hasResultType = false; break;
2370 case Op::OpTypeHitObjectNV: *hasResult = true; *hasResultType = false; break;
2371 case Op::OpImageSampleFootprintNV: *hasResult = true; *hasResultType = true; break;
2372 case Op::OpEmitMeshTasksEXT: *hasResult = false; *hasResultType = false; break;
2373 case Op::OpSetMeshOutputsEXT: *hasResult = false; *hasResultType = false; break;
2374 case Op::OpGroupNonUniformPartitionNV: *hasResult = true; *hasResultType = true; break;
2375 case Op::OpWritePackedPrimitiveIndices4x8NV: *hasResult = false; *hasResultType = false; break;
2376 case Op::OpReportIntersectionNV: *hasResult = true; *hasResultType = true; break;
2377 case Op::OpIgnoreIntersectionNV: *hasResult = false; *hasResultType = false; break;
2378 case Op::OpTerminateRayNV: *hasResult = false; *hasResultType = false; break;
2379 case Op::OpTraceNV: *hasResult = false; *hasResultType = false; break;
2380 case Op::OpTraceMotionNV: *hasResult = false; *hasResultType = false; break;
2381 case Op::OpTraceRayMotionNV: *hasResult = false; *hasResultType = false; break;
2382 case Op::OpTypeAccelerationStructureNV: *hasResult = true; *hasResultType = false; break;
2383 case Op::OpExecuteCallableNV: *hasResult = false; *hasResultType = false; break;
2384 case Op::OpTypeCooperativeMatrixNV: *hasResult = true; *hasResultType = false; break;
2385 case Op::OpCooperativeMatrixLoadNV: *hasResult = true; *hasResultType = true; break;
2386 case Op::OpCooperativeMatrixStoreNV: *hasResult = false; *hasResultType = false; break;
2387 case Op::OpCooperativeMatrixMulAddNV: *hasResult = true; *hasResultType = true; break;
2388 case Op::OpCooperativeMatrixLengthNV: *hasResult = true; *hasResultType = true; break;
2389 case Op::OpBeginInvocationInterlockEXT: *hasResult = false; *hasResultType = false; break;
2390 case Op::OpEndInvocationInterlockEXT: *hasResult = false; *hasResultType = false; break;
2391 case Op::OpDemoteToHelperInvocation: *hasResult = false; *hasResultType = false; break;
2392 case Op::OpIsHelperInvocationEXT: *hasResult = true; *hasResultType = true; break;
2393 case Op::OpConvertUToImageNV: *hasResult = true; *hasResultType = true; break;
2394 case Op::OpConvertUToSamplerNV: *hasResult = true; *hasResultType = true; break;
2395 case Op::OpConvertImageToUNV: *hasResult = true; *hasResultType = true; break;
2396 case Op::OpConvertSamplerToUNV: *hasResult = true; *hasResultType = true; break;
2397 case Op::OpConvertUToSampledImageNV: *hasResult = true; *hasResultType = true; break;
2398 case Op::OpConvertSampledImageToUNV: *hasResult = true; *hasResultType = true; break;
2399 case Op::OpSamplerImageAddressingModeNV: *hasResult = false; *hasResultType = false; break;
2400 case Op::OpSubgroupShuffleINTEL: *hasResult = true; *hasResultType = true; break;
2401 case Op::OpSubgroupShuffleDownINTEL: *hasResult = true; *hasResultType = true; break;
2402 case Op::OpSubgroupShuffleUpINTEL: *hasResult = true; *hasResultType = true; break;
2403 case Op::OpSubgroupShuffleXorINTEL: *hasResult = true; *hasResultType = true; break;
2404 case Op::OpSubgroupBlockReadINTEL: *hasResult = true; *hasResultType = true; break;
2405 case Op::OpSubgroupBlockWriteINTEL: *hasResult = false; *hasResultType = false; break;
2406 case Op::OpSubgroupImageBlockReadINTEL: *hasResult = true; *hasResultType = true; break;
2407 case Op::OpSubgroupImageBlockWriteINTEL: *hasResult = false; *hasResultType = false; break;
2408 case Op::OpSubgroupImageMediaBlockReadINTEL: *hasResult = true; *hasResultType = true; break;
2409 case Op::OpSubgroupImageMediaBlockWriteINTEL: *hasResult = false; *hasResultType = false; break;
2410 case Op::OpUCountLeadingZerosINTEL: *hasResult = true; *hasResultType = true; break;
2411 case Op::OpUCountTrailingZerosINTEL: *hasResult = true; *hasResultType = true; break;
2412 case Op::OpAbsISubINTEL: *hasResult = true; *hasResultType = true; break;
2413 case Op::OpAbsUSubINTEL: *hasResult = true; *hasResultType = true; break;
2414 case Op::OpIAddSatINTEL: *hasResult = true; *hasResultType = true; break;
2415 case Op::OpUAddSatINTEL: *hasResult = true; *hasResultType = true; break;
2416 case Op::OpIAverageINTEL: *hasResult = true; *hasResultType = true; break;
2417 case Op::OpUAverageINTEL: *hasResult = true; *hasResultType = true; break;
2418 case Op::OpIAverageRoundedINTEL: *hasResult = true; *hasResultType = true; break;
2419 case Op::OpUAverageRoundedINTEL: *hasResult = true; *hasResultType = true; break;
2420 case Op::OpISubSatINTEL: *hasResult = true; *hasResultType = true; break;
2421 case Op::OpUSubSatINTEL: *hasResult = true; *hasResultType = true; break;
2422 case Op::OpIMul32x16INTEL: *hasResult = true; *hasResultType = true; break;
2423 case Op::OpUMul32x16INTEL: *hasResult = true; *hasResultType = true; break;
2424 case Op::OpConstantFunctionPointerINTEL: *hasResult = true; *hasResultType = true; break;
2425 case Op::OpFunctionPointerCallINTEL: *hasResult = true; *hasResultType = true; break;
2426 case Op::OpAsmTargetINTEL: *hasResult = true; *hasResultType = true; break;
2427 case Op::OpAsmINTEL: *hasResult = true; *hasResultType = true; break;
2428 case Op::OpAsmCallINTEL: *hasResult = true; *hasResultType = true; break;
2429 case Op::OpAtomicFMinEXT: *hasResult = true; *hasResultType = true; break;
2430 case Op::OpAtomicFMaxEXT: *hasResult = true; *hasResultType = true; break;
2431 case Op::OpAssumeTrueKHR: *hasResult = false; *hasResultType = false; break;
2432 case Op::OpExpectKHR: *hasResult = true; *hasResultType = true; break;
2433 case Op::OpDecorateString: *hasResult = false; *hasResultType = false; break;
2434 case Op::OpMemberDecorateString: *hasResult = false; *hasResultType = false; break;
2435 case Op::OpVmeImageINTEL: *hasResult = true; *hasResultType = true; break;
2436 case Op::OpTypeVmeImageINTEL: *hasResult = true; *hasResultType = false; break;
2437 case Op::OpTypeAvcImePayloadINTEL: *hasResult = true; *hasResultType = false; break;
2438 case Op::OpTypeAvcRefPayloadINTEL: *hasResult = true; *hasResultType = false; break;
2439 case Op::OpTypeAvcSicPayloadINTEL: *hasResult = true; *hasResultType = false; break;
2440 case Op::OpTypeAvcMcePayloadINTEL: *hasResult = true; *hasResultType = false; break;
2441 case Op::OpTypeAvcMceResultINTEL: *hasResult = true; *hasResultType = false; break;
2442 case Op::OpTypeAvcImeResultINTEL: *hasResult = true; *hasResultType = false; break;
2443 case Op::OpTypeAvcImeResultSingleReferenceStreamoutINTEL: *hasResult = true; *hasResultType = false; break;
2444 case Op::OpTypeAvcImeResultDualReferenceStreamoutINTEL: *hasResult = true; *hasResultType = false; break;
2445 case Op::OpTypeAvcImeSingleReferenceStreaminINTEL: *hasResult = true; *hasResultType = false; break;
2446 case Op::OpTypeAvcImeDualReferenceStreaminINTEL: *hasResult = true; *hasResultType = false; break;
2447 case Op::OpTypeAvcRefResultINTEL: *hasResult = true; *hasResultType = false; break;
2448 case Op::OpTypeAvcSicResultINTEL: *hasResult = true; *hasResultType = false; break;
2449 case Op::OpSubgroupAvcMceGetDefaultInterBaseMultiReferencePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2450 case Op::OpSubgroupAvcMceSetInterBaseMultiReferencePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2451 case Op::OpSubgroupAvcMceGetDefaultInterShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2452 case Op::OpSubgroupAvcMceSetInterShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2453 case Op::OpSubgroupAvcMceGetDefaultInterDirectionPenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2454 case Op::OpSubgroupAvcMceSetInterDirectionPenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2455 case Op::OpSubgroupAvcMceGetDefaultIntraLumaShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2456 case Op::OpSubgroupAvcMceGetDefaultInterMotionVectorCostTableINTEL: *hasResult = true; *hasResultType = true; break;
2457 case Op::OpSubgroupAvcMceGetDefaultHighPenaltyCostTableINTEL: *hasResult = true; *hasResultType = true; break;
2458 case Op::OpSubgroupAvcMceGetDefaultMediumPenaltyCostTableINTEL: *hasResult = true; *hasResultType = true; break;
2459 case Op::OpSubgroupAvcMceGetDefaultLowPenaltyCostTableINTEL: *hasResult = true; *hasResultType = true; break;
2460 case Op::OpSubgroupAvcMceSetMotionVectorCostFunctionINTEL: *hasResult = true; *hasResultType = true; break;
2461 case Op::OpSubgroupAvcMceGetDefaultIntraLumaModePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2462 case Op::OpSubgroupAvcMceGetDefaultNonDcLumaIntraPenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2463 case Op::OpSubgroupAvcMceGetDefaultIntraChromaModeBasePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2464 case Op::OpSubgroupAvcMceSetAcOnlyHaarINTEL: *hasResult = true; *hasResultType = true; break;
2465 case Op::OpSubgroupAvcMceSetSourceInterlacedFieldPolarityINTEL: *hasResult = true; *hasResultType = true; break;
2466 case Op::OpSubgroupAvcMceSetSingleReferenceInterlacedFieldPolarityINTEL: *hasResult = true; *hasResultType = true; break;
2467 case Op::OpSubgroupAvcMceSetDualReferenceInterlacedFieldPolaritiesINTEL: *hasResult = true; *hasResultType = true; break;
2468 case Op::OpSubgroupAvcMceConvertToImePayloadINTEL: *hasResult = true; *hasResultType = true; break;
2469 case Op::OpSubgroupAvcMceConvertToImeResultINTEL: *hasResult = true; *hasResultType = true; break;
2470 case Op::OpSubgroupAvcMceConvertToRefPayloadINTEL: *hasResult = true; *hasResultType = true; break;
2471 case Op::OpSubgroupAvcMceConvertToRefResultINTEL: *hasResult = true; *hasResultType = true; break;
2472 case Op::OpSubgroupAvcMceConvertToSicPayloadINTEL: *hasResult = true; *hasResultType = true; break;
2473 case Op::OpSubgroupAvcMceConvertToSicResultINTEL: *hasResult = true; *hasResultType = true; break;
2474 case Op::OpSubgroupAvcMceGetMotionVectorsINTEL: *hasResult = true; *hasResultType = true; break;
2475 case Op::OpSubgroupAvcMceGetInterDistortionsINTEL: *hasResult = true; *hasResultType = true; break;
2476 case Op::OpSubgroupAvcMceGetBestInterDistortionsINTEL: *hasResult = true; *hasResultType = true; break;
2477 case Op::OpSubgroupAvcMceGetInterMajorShapeINTEL: *hasResult = true; *hasResultType = true; break;
2478 case Op::OpSubgroupAvcMceGetInterMinorShapeINTEL: *hasResult = true; *hasResultType = true; break;
2479 case Op::OpSubgroupAvcMceGetInterDirectionsINTEL: *hasResult = true; *hasResultType = true; break;
2480 case Op::OpSubgroupAvcMceGetInterMotionVectorCountINTEL: *hasResult = true; *hasResultType = true; break;
2481 case Op::OpSubgroupAvcMceGetInterReferenceIdsINTEL: *hasResult = true; *hasResultType = true; break;
2482 case Op::OpSubgroupAvcMceGetInterReferenceInterlacedFieldPolaritiesINTEL: *hasResult = true; *hasResultType = true; break;
2483 case Op::OpSubgroupAvcImeInitializeINTEL: *hasResult = true; *hasResultType = true; break;
2484 case Op::OpSubgroupAvcImeSetSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2485 case Op::OpSubgroupAvcImeSetDualReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2486 case Op::OpSubgroupAvcImeRefWindowSizeINTEL: *hasResult = true; *hasResultType = true; break;
2487 case Op::OpSubgroupAvcImeAdjustRefOffsetINTEL: *hasResult = true; *hasResultType = true; break;
2488 case Op::OpSubgroupAvcImeConvertToMcePayloadINTEL: *hasResult = true; *hasResultType = true; break;
2489 case Op::OpSubgroupAvcImeSetMaxMotionVectorCountINTEL: *hasResult = true; *hasResultType = true; break;
2490 case Op::OpSubgroupAvcImeSetUnidirectionalMixDisableINTEL: *hasResult = true; *hasResultType = true; break;
2491 case Op::OpSubgroupAvcImeSetEarlySearchTerminationThresholdINTEL: *hasResult = true; *hasResultType = true; break;
2492 case Op::OpSubgroupAvcImeSetWeightedSadINTEL: *hasResult = true; *hasResultType = true; break;
2493 case Op::OpSubgroupAvcImeEvaluateWithSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2494 case Op::OpSubgroupAvcImeEvaluateWithDualReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2495 case Op::OpSubgroupAvcImeEvaluateWithSingleReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break;
2496 case Op::OpSubgroupAvcImeEvaluateWithDualReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break;
2497 case Op::OpSubgroupAvcImeEvaluateWithSingleReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break;
2498 case Op::OpSubgroupAvcImeEvaluateWithDualReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break;
2499 case Op::OpSubgroupAvcImeEvaluateWithSingleReferenceStreaminoutINTEL: *hasResult = true; *hasResultType = true; break;
2500 case Op::OpSubgroupAvcImeEvaluateWithDualReferenceStreaminoutINTEL: *hasResult = true; *hasResultType = true; break;
2501 case Op::OpSubgroupAvcImeConvertToMceResultINTEL: *hasResult = true; *hasResultType = true; break;
2502 case Op::OpSubgroupAvcImeGetSingleReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break;
2503 case Op::OpSubgroupAvcImeGetDualReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break;
2504 case Op::OpSubgroupAvcImeStripSingleReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break;
2505 case Op::OpSubgroupAvcImeStripDualReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break;
2506 case Op::OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeMotionVectorsINTEL: *hasResult = true; *hasResultType = true; break;
2507 case Op::OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeDistortionsINTEL: *hasResult = true; *hasResultType = true; break;
2508 case Op::OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeReferenceIdsINTEL: *hasResult = true; *hasResultType = true; break;
2509 case Op::OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeMotionVectorsINTEL: *hasResult = true; *hasResultType = true; break;
2510 case Op::OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeDistortionsINTEL: *hasResult = true; *hasResultType = true; break;
2511 case Op::OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeReferenceIdsINTEL: *hasResult = true; *hasResultType = true; break;
2512 case Op::OpSubgroupAvcImeGetBorderReachedINTEL: *hasResult = true; *hasResultType = true; break;
2513 case Op::OpSubgroupAvcImeGetTruncatedSearchIndicationINTEL: *hasResult = true; *hasResultType = true; break;
2514 case Op::OpSubgroupAvcImeGetUnidirectionalEarlySearchTerminationINTEL: *hasResult = true; *hasResultType = true; break;
2515 case Op::OpSubgroupAvcImeGetWeightingPatternMinimumMotionVectorINTEL: *hasResult = true; *hasResultType = true; break;
2516 case Op::OpSubgroupAvcImeGetWeightingPatternMinimumDistortionINTEL: *hasResult = true; *hasResultType = true; break;
2517 case Op::OpSubgroupAvcFmeInitializeINTEL: *hasResult = true; *hasResultType = true; break;
2518 case Op::OpSubgroupAvcBmeInitializeINTEL: *hasResult = true; *hasResultType = true; break;
2519 case Op::OpSubgroupAvcRefConvertToMcePayloadINTEL: *hasResult = true; *hasResultType = true; break;
2520 case Op::OpSubgroupAvcRefSetBidirectionalMixDisableINTEL: *hasResult = true; *hasResultType = true; break;
2521 case Op::OpSubgroupAvcRefSetBilinearFilterEnableINTEL: *hasResult = true; *hasResultType = true; break;
2522 case Op::OpSubgroupAvcRefEvaluateWithSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2523 case Op::OpSubgroupAvcRefEvaluateWithDualReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2524 case Op::OpSubgroupAvcRefEvaluateWithMultiReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2525 case Op::OpSubgroupAvcRefEvaluateWithMultiReferenceInterlacedINTEL: *hasResult = true; *hasResultType = true; break;
2526 case Op::OpSubgroupAvcRefConvertToMceResultINTEL: *hasResult = true; *hasResultType = true; break;
2527 case Op::OpSubgroupAvcSicInitializeINTEL: *hasResult = true; *hasResultType = true; break;
2528 case Op::OpSubgroupAvcSicConfigureSkcINTEL: *hasResult = true; *hasResultType = true; break;
2529 case Op::OpSubgroupAvcSicConfigureIpeLumaINTEL: *hasResult = true; *hasResultType = true; break;
2530 case Op::OpSubgroupAvcSicConfigureIpeLumaChromaINTEL: *hasResult = true; *hasResultType = true; break;
2531 case Op::OpSubgroupAvcSicGetMotionVectorMaskINTEL: *hasResult = true; *hasResultType = true; break;
2532 case Op::OpSubgroupAvcSicConvertToMcePayloadINTEL: *hasResult = true; *hasResultType = true; break;
2533 case Op::OpSubgroupAvcSicSetIntraLumaShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break;
2534 case Op::OpSubgroupAvcSicSetIntraLumaModeCostFunctionINTEL: *hasResult = true; *hasResultType = true; break;
2535 case Op::OpSubgroupAvcSicSetIntraChromaModeCostFunctionINTEL: *hasResult = true; *hasResultType = true; break;
2536 case Op::OpSubgroupAvcSicSetBilinearFilterEnableINTEL: *hasResult = true; *hasResultType = true; break;
2537 case Op::OpSubgroupAvcSicSetSkcForwardTransformEnableINTEL: *hasResult = true; *hasResultType = true; break;
2538 case Op::OpSubgroupAvcSicSetBlockBasedRawSkipSadINTEL: *hasResult = true; *hasResultType = true; break;
2539 case Op::OpSubgroupAvcSicEvaluateIpeINTEL: *hasResult = true; *hasResultType = true; break;
2540 case Op::OpSubgroupAvcSicEvaluateWithSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2541 case Op::OpSubgroupAvcSicEvaluateWithDualReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2542 case Op::OpSubgroupAvcSicEvaluateWithMultiReferenceINTEL: *hasResult = true; *hasResultType = true; break;
2543 case Op::OpSubgroupAvcSicEvaluateWithMultiReferenceInterlacedINTEL: *hasResult = true; *hasResultType = true; break;
2544 case Op::OpSubgroupAvcSicConvertToMceResultINTEL: *hasResult = true; *hasResultType = true; break;
2545 case Op::OpSubgroupAvcSicGetIpeLumaShapeINTEL: *hasResult = true; *hasResultType = true; break;
2546 case Op::OpSubgroupAvcSicGetBestIpeLumaDistortionINTEL: *hasResult = true; *hasResultType = true; break;
2547 case Op::OpSubgroupAvcSicGetBestIpeChromaDistortionINTEL: *hasResult = true; *hasResultType = true; break;
2548 case Op::OpSubgroupAvcSicGetPackedIpeLumaModesINTEL: *hasResult = true; *hasResultType = true; break;
2549 case Op::OpSubgroupAvcSicGetIpeChromaModeINTEL: *hasResult = true; *hasResultType = true; break;
2550 case Op::OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL: *hasResult = true; *hasResultType = true; break;
2551 case Op::OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL: *hasResult = true; *hasResultType = true; break;
2552 case Op::OpSubgroupAvcSicGetInterRawSadsINTEL: *hasResult = true; *hasResultType = true; break;
2553 case Op::OpVariableLengthArrayINTEL: *hasResult = true; *hasResultType = true; break;
2554 case Op::OpSaveMemoryINTEL: *hasResult = true; *hasResultType = true; break;
2555 case Op::OpRestoreMemoryINTEL: *hasResult = false; *hasResultType = false; break;
2556 case Op::OpArbitraryFloatSinCosPiINTEL: *hasResult = true; *hasResultType = true; break;
2557 case Op::OpArbitraryFloatCastINTEL: *hasResult = true; *hasResultType = true; break;
2558 case Op::OpArbitraryFloatCastFromIntINTEL: *hasResult = true; *hasResultType = true; break;
2559 case Op::OpArbitraryFloatCastToIntINTEL: *hasResult = true; *hasResultType = true; break;
2560 case Op::OpArbitraryFloatAddINTEL: *hasResult = true; *hasResultType = true; break;
2561 case Op::OpArbitraryFloatSubINTEL: *hasResult = true; *hasResultType = true; break;
2562 case Op::OpArbitraryFloatMulINTEL: *hasResult = true; *hasResultType = true; break;
2563 case Op::OpArbitraryFloatDivINTEL: *hasResult = true; *hasResultType = true; break;
2564 case Op::OpArbitraryFloatGTINTEL: *hasResult = true; *hasResultType = true; break;
2565 case Op::OpArbitraryFloatGEINTEL: *hasResult = true; *hasResultType = true; break;
2566 case Op::OpArbitraryFloatLTINTEL: *hasResult = true; *hasResultType = true; break;
2567 case Op::OpArbitraryFloatLEINTEL: *hasResult = true; *hasResultType = true; break;
2568 case Op::OpArbitraryFloatEQINTEL: *hasResult = true; *hasResultType = true; break;
2569 case Op::OpArbitraryFloatRecipINTEL: *hasResult = true; *hasResultType = true; break;
2570 case Op::OpArbitraryFloatRSqrtINTEL: *hasResult = true; *hasResultType = true; break;
2571 case Op::OpArbitraryFloatCbrtINTEL: *hasResult = true; *hasResultType = true; break;
2572 case Op::OpArbitraryFloatHypotINTEL: *hasResult = true; *hasResultType = true; break;
2573 case Op::OpArbitraryFloatSqrtINTEL: *hasResult = true; *hasResultType = true; break;
2574 case Op::OpArbitraryFloatLogINTEL: *hasResult = true; *hasResultType = true; break;
2575 case Op::OpArbitraryFloatLog2INTEL: *hasResult = true; *hasResultType = true; break;
2576 case Op::OpArbitraryFloatLog10INTEL: *hasResult = true; *hasResultType = true; break;
2577 case Op::OpArbitraryFloatLog1pINTEL: *hasResult = true; *hasResultType = true; break;
2578 case Op::OpArbitraryFloatExpINTEL: *hasResult = true; *hasResultType = true; break;
2579 case Op::OpArbitraryFloatExp2INTEL: *hasResult = true; *hasResultType = true; break;
2580 case Op::OpArbitraryFloatExp10INTEL: *hasResult = true; *hasResultType = true; break;
2581 case Op::OpArbitraryFloatExpm1INTEL: *hasResult = true; *hasResultType = true; break;
2582 case Op::OpArbitraryFloatSinINTEL: *hasResult = true; *hasResultType = true; break;
2583 case Op::OpArbitraryFloatCosINTEL: *hasResult = true; *hasResultType = true; break;
2584 case Op::OpArbitraryFloatSinCosINTEL: *hasResult = true; *hasResultType = true; break;
2585 case Op::OpArbitraryFloatSinPiINTEL: *hasResult = true; *hasResultType = true; break;
2586 case Op::OpArbitraryFloatCosPiINTEL: *hasResult = true; *hasResultType = true; break;
2587 case Op::OpArbitraryFloatASinINTEL: *hasResult = true; *hasResultType = true; break;
2588 case Op::OpArbitraryFloatASinPiINTEL: *hasResult = true; *hasResultType = true; break;
2589 case Op::OpArbitraryFloatACosINTEL: *hasResult = true; *hasResultType = true; break;
2590 case Op::OpArbitraryFloatACosPiINTEL: *hasResult = true; *hasResultType = true; break;
2591 case Op::OpArbitraryFloatATanINTEL: *hasResult = true; *hasResultType = true; break;
2592 case Op::OpArbitraryFloatATanPiINTEL: *hasResult = true; *hasResultType = true; break;
2593 case Op::OpArbitraryFloatATan2INTEL: *hasResult = true; *hasResultType = true; break;
2594 case Op::OpArbitraryFloatPowINTEL: *hasResult = true; *hasResultType = true; break;
2595 case Op::OpArbitraryFloatPowRINTEL: *hasResult = true; *hasResultType = true; break;
2596 case Op::OpArbitraryFloatPowNINTEL: *hasResult = true; *hasResultType = true; break;
2597 case Op::OpLoopControlINTEL: *hasResult = false; *hasResultType = false; break;
2598 case Op::OpAliasDomainDeclINTEL: *hasResult = true; *hasResultType = false; break;
2599 case Op::OpAliasScopeDeclINTEL: *hasResult = true; *hasResultType = false; break;
2600 case Op::OpAliasScopeListDeclINTEL: *hasResult = true; *hasResultType = false; break;
2601 case Op::OpFixedSqrtINTEL: *hasResult = true; *hasResultType = true; break;
2602 case Op::OpFixedRecipINTEL: *hasResult = true; *hasResultType = true; break;
2603 case Op::OpFixedRsqrtINTEL: *hasResult = true; *hasResultType = true; break;
2604 case Op::OpFixedSinINTEL: *hasResult = true; *hasResultType = true; break;
2605 case Op::OpFixedCosINTEL: *hasResult = true; *hasResultType = true; break;
2606 case Op::OpFixedSinCosINTEL: *hasResult = true; *hasResultType = true; break;
2607 case Op::OpFixedSinPiINTEL: *hasResult = true; *hasResultType = true; break;
2608 case Op::OpFixedCosPiINTEL: *hasResult = true; *hasResultType = true; break;
2609 case Op::OpFixedSinCosPiINTEL: *hasResult = true; *hasResultType = true; break;
2610 case Op::OpFixedLogINTEL: *hasResult = true; *hasResultType = true; break;
2611 case Op::OpFixedExpINTEL: *hasResult = true; *hasResultType = true; break;
2612 case Op::OpPtrCastToCrossWorkgroupINTEL: *hasResult = true; *hasResultType = true; break;
2613 case Op::OpCrossWorkgroupCastToPtrINTEL: *hasResult = true; *hasResultType = true; break;
2614 case Op::OpReadPipeBlockingINTEL: *hasResult = true; *hasResultType = true; break;
2615 case Op::OpWritePipeBlockingINTEL: *hasResult = true; *hasResultType = true; break;
2616 case Op::OpFPGARegINTEL: *hasResult = true; *hasResultType = true; break;
2617 case Op::OpRayQueryGetRayTMinKHR: *hasResult = true; *hasResultType = true; break;
2618 case Op::OpRayQueryGetRayFlagsKHR: *hasResult = true; *hasResultType = true; break;
2619 case Op::OpRayQueryGetIntersectionTKHR: *hasResult = true; *hasResultType = true; break;
2620 case Op::OpRayQueryGetIntersectionInstanceCustomIndexKHR: *hasResult = true; *hasResultType = true; break;
2621 case Op::OpRayQueryGetIntersectionInstanceIdKHR: *hasResult = true; *hasResultType = true; break;
2622 case Op::OpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR: *hasResult = true; *hasResultType = true; break;
2623 case Op::OpRayQueryGetIntersectionGeometryIndexKHR: *hasResult = true; *hasResultType = true; break;
2624 case Op::OpRayQueryGetIntersectionPrimitiveIndexKHR: *hasResult = true; *hasResultType = true; break;
2625 case Op::OpRayQueryGetIntersectionBarycentricsKHR: *hasResult = true; *hasResultType = true; break;
2626 case Op::OpRayQueryGetIntersectionFrontFaceKHR: *hasResult = true; *hasResultType = true; break;
2627 case Op::OpRayQueryGetIntersectionCandidateAABBOpaqueKHR: *hasResult = true; *hasResultType = true; break;
2628 case Op::OpRayQueryGetIntersectionObjectRayDirectionKHR: *hasResult = true; *hasResultType = true; break;
2629 case Op::OpRayQueryGetIntersectionObjectRayOriginKHR: *hasResult = true; *hasResultType = true; break;
2630 case Op::OpRayQueryGetWorldRayDirectionKHR: *hasResult = true; *hasResultType = true; break;
2631 case Op::OpRayQueryGetWorldRayOriginKHR: *hasResult = true; *hasResultType = true; break;
2632 case Op::OpRayQueryGetIntersectionObjectToWorldKHR: *hasResult = true; *hasResultType = true; break;
2633 case Op::OpRayQueryGetIntersectionWorldToObjectKHR: *hasResult = true; *hasResultType = true; break;
2634 case Op::OpAtomicFAddEXT: *hasResult = true; *hasResultType = true; break;
2635 case Op::OpTypeBufferSurfaceINTEL: *hasResult = true; *hasResultType = false; break;
2636 case Op::OpTypeStructContinuedINTEL: *hasResult = false; *hasResultType = false; break;
2637 case Op::OpConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
2638 case Op::OpSpecConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
2639 case Op::OpControlBarrierArriveINTEL: *hasResult = false; *hasResultType = false; break;
2640 case Op::OpControlBarrierWaitINTEL: *hasResult = false; *hasResultType = false; break;
2641 case Op::OpGroupIMulKHR: *hasResult = true; *hasResultType = true; break;
2642 case Op::OpGroupFMulKHR: *hasResult = true; *hasResultType = true; break;
2643 case Op::OpGroupBitwiseAndKHR: *hasResult = true; *hasResultType = true; break;
2644 case Op::OpGroupBitwiseOrKHR: *hasResult = true; *hasResultType = true; break;
2645 case Op::OpGroupBitwiseXorKHR: *hasResult = true; *hasResultType = true; break;
2646 case Op::OpGroupLogicalAndKHR: *hasResult = true; *hasResultType = true; break;
2647 case Op::OpGroupLogicalOrKHR: *hasResult = true; *hasResultType = true; break;
2648 case Op::OpGroupLogicalXorKHR: *hasResult = true; *hasResultType = true; break;
2651 #endif /* SPV_ENABLE_UTILITY_CODE */
2653 // Overload operator| for mask bit combining
2655 inline ImageOperandsMask operator|(ImageOperandsMask a, ImageOperandsMask b) { return ImageOperandsMask(unsigned(a) | unsigned(b)); }
2656 inline FPFastMathModeMask operator|(FPFastMathModeMask a, FPFastMathModeMask b) { return FPFastMathModeMask(unsigned(a) | unsigned(b)); }
2657 inline SelectionControlMask operator|(SelectionControlMask a, SelectionControlMask b) { return SelectionControlMask(unsigned(a) | unsigned(b)); }
2658 inline LoopControlMask operator|(LoopControlMask a, LoopControlMask b) { return LoopControlMask(unsigned(a) | unsigned(b)); }
2659 inline FunctionControlMask operator|(FunctionControlMask a, FunctionControlMask b) { return FunctionControlMask(unsigned(a) | unsigned(b)); }
2660 inline MemorySemanticsMask operator|(MemorySemanticsMask a, MemorySemanticsMask b) { return MemorySemanticsMask(unsigned(a) | unsigned(b)); }
2661 inline MemoryAccessMask operator|(MemoryAccessMask a, MemoryAccessMask b) { return MemoryAccessMask(unsigned(a) | unsigned(b)); }
2662 inline KernelProfilingInfoMask operator|(KernelProfilingInfoMask a, KernelProfilingInfoMask b) { return KernelProfilingInfoMask(unsigned(a) | unsigned(b)); }
2663 inline RayFlagsMask operator|(RayFlagsMask a, RayFlagsMask b) { return RayFlagsMask(unsigned(a) | unsigned(b)); }
2664 inline FragmentShadingRateMask operator|(FragmentShadingRateMask a, FragmentShadingRateMask b) { return FragmentShadingRateMask(unsigned(a) | unsigned(b)); }
2666 } // end namespace spv
2668 #endif // #ifndef spirv_HPP