1// Copyright (c) 2014-2024 The Khronos Group Inc. 2// 3// Permission is hereby granted, free of charge, to any person obtaining a copy 4// of this software and/or associated documentation files (the "Materials"), 5// to deal in the Materials without restriction, including without limitation 6// the rights to use, copy, modify, merge, publish, distribute, sublicense, 7// and/or sell copies of the Materials, and to permit persons to whom the 8// Materials are furnished to do so, subject to the following conditions: 9// 10// The above copyright notice and this permission notice shall be included in 11// all copies or substantial portions of the Materials. 12// 13// MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS KHRONOS 14// STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS SPECIFICATIONS AND 15// HEADER INFORMATION ARE LOCATED AT https://www.khronos.org/registry/ 16// 17// THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 18// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 20// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 22// FROM,OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE USE OR OTHER DEALINGS 23// IN THE MATERIALS. 24 25// This header is automatically generated by the same tool that creates 26// the Binary Section of the SPIR-V specification. 27 28// Enumeration tokens for SPIR-V, in various styles: 29// C, C++, C++11, JSON, Lua, Python, C#, D, Beef 30// 31// - C will have tokens with a "Spv" prefix, e.g.: SpvSourceLanguageGLSL 32// - C++ will have tokens in the "spv" name space, e.g.: spv::SourceLanguageGLSL 33// - C++11 will use enum classes in the spv namespace, e.g.: spv::SourceLanguage::GLSL 34// - Lua will use tables, e.g.: spv.SourceLanguage.GLSL 35// - Python will use dictionaries, e.g.: spv['SourceLanguage']['GLSL'] 36// - C# will use enum classes in the Specification class located in the "Spv" namespace, 37// e.g.: Spv.Specification.SourceLanguage.GLSL 38// - D will have tokens under the "spv" module, e.g: spv.SourceLanguage.GLSL 39// - Beef will use enum classes in the Specification class located in the "Spv" namespace, 40// e.g.: Spv.Specification.SourceLanguage.GLSL 41// 42// Some tokens act like mask values, which can be OR'd together, 43// while others are mutually exclusive. The mask-like ones have 44// "Mask" in their name, and a parallel enum that has the shift 45// amount (1 << x) for each corresponding enumerant. 46 47#ifndef spirv_HPP 48#define spirv_HPP 49 50namespace spv { 51 52typedef unsigned int Id; 53 54#define SPV_VERSION 0x10600 55#define SPV_REVISION 1 56 57static const unsigned int MagicNumber = 0x07230203; 58static const unsigned int Version = 0x00010600; 59static const unsigned int Revision = 1; 60static const unsigned int OpCodeMask = 0xffff; 61static const unsigned int WordCountShift = 16; 62 63enum class SourceLanguage : unsigned { 64 Unknown = 0, 65 ESSL = 1, 66 GLSL = 2, 67 OpenCL_C = 3, 68 OpenCL_CPP = 4, 69 HLSL = 5, 70 CPP_for_OpenCL = 6, 71 SYCL = 7, 72 HERO_C = 8, 73 NZSL = 9, 74 WGSL = 10, 75 Slang = 11, 76 Zig = 12, 77 Max = 0x7fffffff, 78}; 79 80enum class ExecutionModel : unsigned { 81 Vertex = 0, 82 TessellationControl = 1, 83 TessellationEvaluation = 2, 84 Geometry = 3, 85 Fragment = 4, 86 GLCompute = 5, 87 Kernel = 6, 88 TaskNV = 5267, 89 MeshNV = 5268, 90 RayGenerationKHR = 5313, 91 RayGenerationNV = 5313, 92 IntersectionKHR = 5314, 93 IntersectionNV = 5314, 94 AnyHitKHR = 5315, 95 AnyHitNV = 5315, 96 ClosestHitKHR = 5316, 97 ClosestHitNV = 5316, 98 MissKHR = 5317, 99 MissNV = 5317, 100 CallableKHR = 5318, 101 CallableNV = 5318, 102 TaskEXT = 5364, 103 MeshEXT = 5365, 104 Max = 0x7fffffff, 105}; 106 107enum class AddressingModel : unsigned { 108 Logical = 0, 109 Physical32 = 1, 110 Physical64 = 2, 111 PhysicalStorageBuffer64 = 5348, 112 PhysicalStorageBuffer64EXT = 5348, 113 Max = 0x7fffffff, 114}; 115 116enum class MemoryModel : unsigned { 117 Simple = 0, 118 GLSL450 = 1, 119 OpenCL = 2, 120 Vulkan = 3, 121 VulkanKHR = 3, 122 Max = 0x7fffffff, 123}; 124 125enum class ExecutionMode : unsigned { 126 Invocations = 0, 127 SpacingEqual = 1, 128 SpacingFractionalEven = 2, 129 SpacingFractionalOdd = 3, 130 VertexOrderCw = 4, 131 VertexOrderCcw = 5, 132 PixelCenterInteger = 6, 133 OriginUpperLeft = 7, 134 OriginLowerLeft = 8, 135 EarlyFragmentTests = 9, 136 PointMode = 10, 137 Xfb = 11, 138 DepthReplacing = 12, 139 DepthGreater = 14, 140 DepthLess = 15, 141 DepthUnchanged = 16, 142 LocalSize = 17, 143 LocalSizeHint = 18, 144 InputPoints = 19, 145 InputLines = 20, 146 InputLinesAdjacency = 21, 147 Triangles = 22, 148 InputTrianglesAdjacency = 23, 149 Quads = 24, 150 Isolines = 25, 151 OutputVertices = 26, 152 OutputPoints = 27, 153 OutputLineStrip = 28, 154 OutputTriangleStrip = 29, 155 VecTypeHint = 30, 156 ContractionOff = 31, 157 Initializer = 33, 158 Finalizer = 34, 159 SubgroupSize = 35, 160 SubgroupsPerWorkgroup = 36, 161 SubgroupsPerWorkgroupId = 37, 162 LocalSizeId = 38, 163 LocalSizeHintId = 39, 164 NonCoherentColorAttachmentReadEXT = 4169, 165 NonCoherentDepthAttachmentReadEXT = 4170, 166 NonCoherentStencilAttachmentReadEXT = 4171, 167 SubgroupUniformControlFlowKHR = 4421, 168 PostDepthCoverage = 4446, 169 DenormPreserve = 4459, 170 DenormFlushToZero = 4460, 171 SignedZeroInfNanPreserve = 4461, 172 RoundingModeRTE = 4462, 173 RoundingModeRTZ = 4463, 174 EarlyAndLateFragmentTestsAMD = 5017, 175 StencilRefReplacingEXT = 5027, 176 CoalescingAMDX = 5069, 177 MaxNodeRecursionAMDX = 5071, 178 StaticNumWorkgroupsAMDX = 5072, 179 ShaderIndexAMDX = 5073, 180 MaxNumWorkgroupsAMDX = 5077, 181 StencilRefUnchangedFrontAMD = 5079, 182 StencilRefGreaterFrontAMD = 5080, 183 StencilRefLessFrontAMD = 5081, 184 StencilRefUnchangedBackAMD = 5082, 185 StencilRefGreaterBackAMD = 5083, 186 StencilRefLessBackAMD = 5084, 187 QuadDerivativesKHR = 5088, 188 RequireFullQuadsKHR = 5089, 189 OutputLinesEXT = 5269, 190 OutputLinesNV = 5269, 191 OutputPrimitivesEXT = 5270, 192 OutputPrimitivesNV = 5270, 193 DerivativeGroupQuadsNV = 5289, 194 DerivativeGroupLinearNV = 5290, 195 OutputTrianglesEXT = 5298, 196 OutputTrianglesNV = 5298, 197 PixelInterlockOrderedEXT = 5366, 198 PixelInterlockUnorderedEXT = 5367, 199 SampleInterlockOrderedEXT = 5368, 200 SampleInterlockUnorderedEXT = 5369, 201 ShadingRateInterlockOrderedEXT = 5370, 202 ShadingRateInterlockUnorderedEXT = 5371, 203 SharedLocalMemorySizeINTEL = 5618, 204 RoundingModeRTPINTEL = 5620, 205 RoundingModeRTNINTEL = 5621, 206 FloatingPointModeALTINTEL = 5622, 207 FloatingPointModeIEEEINTEL = 5623, 208 MaxWorkgroupSizeINTEL = 5893, 209 MaxWorkDimINTEL = 5894, 210 NoGlobalOffsetINTEL = 5895, 211 NumSIMDWorkitemsINTEL = 5896, 212 SchedulerTargetFmaxMhzINTEL = 5903, 213 MaximallyReconvergesKHR = 6023, 214 FPFastMathDefault = 6028, 215 StreamingInterfaceINTEL = 6154, 216 RegisterMapInterfaceINTEL = 6160, 217 NamedBarrierCountINTEL = 6417, 218 Max = 0x7fffffff, 219}; 220 221enum class StorageClass : unsigned { 222 UniformConstant = 0, 223 Input = 1, 224 Uniform = 2, 225 Output = 3, 226 Workgroup = 4, 227 CrossWorkgroup = 5, 228 Private = 6, 229 Function = 7, 230 Generic = 8, 231 PushConstant = 9, 232 AtomicCounter = 10, 233 Image = 11, 234 StorageBuffer = 12, 235 TileImageEXT = 4172, 236 NodePayloadAMDX = 5068, 237 NodeOutputPayloadAMDX = 5076, 238 CallableDataKHR = 5328, 239 CallableDataNV = 5328, 240 IncomingCallableDataKHR = 5329, 241 IncomingCallableDataNV = 5329, 242 RayPayloadKHR = 5338, 243 RayPayloadNV = 5338, 244 HitAttributeKHR = 5339, 245 HitAttributeNV = 5339, 246 IncomingRayPayloadKHR = 5342, 247 IncomingRayPayloadNV = 5342, 248 ShaderRecordBufferKHR = 5343, 249 ShaderRecordBufferNV = 5343, 250 PhysicalStorageBuffer = 5349, 251 PhysicalStorageBufferEXT = 5349, 252 HitObjectAttributeNV = 5385, 253 TaskPayloadWorkgroupEXT = 5402, 254 CodeSectionINTEL = 5605, 255 DeviceOnlyINTEL = 5936, 256 HostOnlyINTEL = 5937, 257 Max = 0x7fffffff, 258}; 259 260enum class Dim : unsigned { 261 Dim1D = 0, 262 Dim2D = 1, 263 Dim3D = 2, 264 Cube = 3, 265 Rect = 4, 266 Buffer = 5, 267 SubpassData = 6, 268 TileImageDataEXT = 4173, 269 Max = 0x7fffffff, 270}; 271 272enum class SamplerAddressingMode : unsigned { 273 None = 0, 274 ClampToEdge = 1, 275 Clamp = 2, 276 Repeat = 3, 277 RepeatMirrored = 4, 278 Max = 0x7fffffff, 279}; 280 281enum class SamplerFilterMode : unsigned { 282 Nearest = 0, 283 Linear = 1, 284 Max = 0x7fffffff, 285}; 286 287enum class ImageFormat : unsigned { 288 Unknown = 0, 289 Rgba32f = 1, 290 Rgba16f = 2, 291 R32f = 3, 292 Rgba8 = 4, 293 Rgba8Snorm = 5, 294 Rg32f = 6, 295 Rg16f = 7, 296 R11fG11fB10f = 8, 297 R16f = 9, 298 Rgba16 = 10, 299 Rgb10A2 = 11, 300 Rg16 = 12, 301 Rg8 = 13, 302 R16 = 14, 303 R8 = 15, 304 Rgba16Snorm = 16, 305 Rg16Snorm = 17, 306 Rg8Snorm = 18, 307 R16Snorm = 19, 308 R8Snorm = 20, 309 Rgba32i = 21, 310 Rgba16i = 22, 311 Rgba8i = 23, 312 R32i = 24, 313 Rg32i = 25, 314 Rg16i = 26, 315 Rg8i = 27, 316 R16i = 28, 317 R8i = 29, 318 Rgba32ui = 30, 319 Rgba16ui = 31, 320 Rgba8ui = 32, 321 R32ui = 33, 322 Rgb10a2ui = 34, 323 Rg32ui = 35, 324 Rg16ui = 36, 325 Rg8ui = 37, 326 R16ui = 38, 327 R8ui = 39, 328 R64ui = 40, 329 R64i = 41, 330 Max = 0x7fffffff, 331}; 332 333enum class ImageChannelOrder : unsigned { 334 R = 0, 335 A = 1, 336 RG = 2, 337 RA = 3, 338 RGB = 4, 339 RGBA = 5, 340 BGRA = 6, 341 ARGB = 7, 342 Intensity = 8, 343 Luminance = 9, 344 Rx = 10, 345 RGx = 11, 346 RGBx = 12, 347 Depth = 13, 348 DepthStencil = 14, 349 sRGB = 15, 350 sRGBx = 16, 351 sRGBA = 17, 352 sBGRA = 18, 353 ABGR = 19, 354 Max = 0x7fffffff, 355}; 356 357enum class ImageChannelDataType : unsigned { 358 SnormInt8 = 0, 359 SnormInt16 = 1, 360 UnormInt8 = 2, 361 UnormInt16 = 3, 362 UnormShort565 = 4, 363 UnormShort555 = 5, 364 UnormInt101010 = 6, 365 SignedInt8 = 7, 366 SignedInt16 = 8, 367 SignedInt32 = 9, 368 UnsignedInt8 = 10, 369 UnsignedInt16 = 11, 370 UnsignedInt32 = 12, 371 HalfFloat = 13, 372 Float = 14, 373 UnormInt24 = 15, 374 UnormInt101010_2 = 16, 375 UnsignedIntRaw10EXT = 19, 376 UnsignedIntRaw12EXT = 20, 377 Max = 0x7fffffff, 378}; 379 380enum class ImageOperandsShift : unsigned { 381 Bias = 0, 382 Lod = 1, 383 Grad = 2, 384 ConstOffset = 3, 385 Offset = 4, 386 ConstOffsets = 5, 387 Sample = 6, 388 MinLod = 7, 389 MakeTexelAvailable = 8, 390 MakeTexelAvailableKHR = 8, 391 MakeTexelVisible = 9, 392 MakeTexelVisibleKHR = 9, 393 NonPrivateTexel = 10, 394 NonPrivateTexelKHR = 10, 395 VolatileTexel = 11, 396 VolatileTexelKHR = 11, 397 SignExtend = 12, 398 ZeroExtend = 13, 399 Nontemporal = 14, 400 Offsets = 16, 401 Max = 0x7fffffff, 402}; 403 404enum class ImageOperandsMask : unsigned { 405 MaskNone = 0, 406 Bias = 0x00000001, 407 Lod = 0x00000002, 408 Grad = 0x00000004, 409 ConstOffset = 0x00000008, 410 Offset = 0x00000010, 411 ConstOffsets = 0x00000020, 412 Sample = 0x00000040, 413 MinLod = 0x00000080, 414 MakeTexelAvailable = 0x00000100, 415 MakeTexelAvailableKHR = 0x00000100, 416 MakeTexelVisible = 0x00000200, 417 MakeTexelVisibleKHR = 0x00000200, 418 NonPrivateTexel = 0x00000400, 419 NonPrivateTexelKHR = 0x00000400, 420 VolatileTexel = 0x00000800, 421 VolatileTexelKHR = 0x00000800, 422 SignExtend = 0x00001000, 423 ZeroExtend = 0x00002000, 424 Nontemporal = 0x00004000, 425 Offsets = 0x00010000, 426}; 427 428enum class FPFastMathModeShift : unsigned { 429 NotNaN = 0, 430 NotInf = 1, 431 NSZ = 2, 432 AllowRecip = 3, 433 Fast = 4, 434 AllowContract = 16, 435 AllowContractFastINTEL = 16, 436 AllowReassoc = 17, 437 AllowReassocINTEL = 17, 438 AllowTransform = 18, 439 Max = 0x7fffffff, 440}; 441 442enum class FPFastMathModeMask : unsigned { 443 MaskNone = 0, 444 NotNaN = 0x00000001, 445 NotInf = 0x00000002, 446 NSZ = 0x00000004, 447 AllowRecip = 0x00000008, 448 Fast = 0x00000010, 449 AllowContract = 0x00010000, 450 AllowContractFastINTEL = 0x00010000, 451 AllowReassoc = 0x00020000, 452 AllowReassocINTEL = 0x00020000, 453 AllowTransform = 0x00040000, 454}; 455 456enum class FPRoundingMode : unsigned { 457 RTE = 0, 458 RTZ = 1, 459 RTP = 2, 460 RTN = 3, 461 Max = 0x7fffffff, 462}; 463 464enum class LinkageType : unsigned { 465 Export = 0, 466 Import = 1, 467 LinkOnceODR = 2, 468 Max = 0x7fffffff, 469}; 470 471enum class AccessQualifier : unsigned { 472 ReadOnly = 0, 473 WriteOnly = 1, 474 ReadWrite = 2, 475 Max = 0x7fffffff, 476}; 477 478enum class FunctionParameterAttribute : unsigned { 479 Zext = 0, 480 Sext = 1, 481 ByVal = 2, 482 Sret = 3, 483 NoAlias = 4, 484 NoCapture = 5, 485 NoWrite = 6, 486 NoReadWrite = 7, 487 RuntimeAlignedINTEL = 5940, 488 Max = 0x7fffffff, 489}; 490 491enum class Decoration : unsigned { 492 RelaxedPrecision = 0, 493 SpecId = 1, 494 Block = 2, 495 BufferBlock = 3, 496 RowMajor = 4, 497 ColMajor = 5, 498 ArrayStride = 6, 499 MatrixStride = 7, 500 GLSLShared = 8, 501 GLSLPacked = 9, 502 CPacked = 10, 503 BuiltIn = 11, 504 NoPerspective = 13, 505 Flat = 14, 506 Patch = 15, 507 Centroid = 16, 508 Sample = 17, 509 Invariant = 18, 510 Restrict = 19, 511 Aliased = 20, 512 Volatile = 21, 513 Constant = 22, 514 Coherent = 23, 515 NonWritable = 24, 516 NonReadable = 25, 517 Uniform = 26, 518 UniformId = 27, 519 SaturatedConversion = 28, 520 Stream = 29, 521 Location = 30, 522 Component = 31, 523 Index = 32, 524 Binding = 33, 525 DescriptorSet = 34, 526 Offset = 35, 527 XfbBuffer = 36, 528 XfbStride = 37, 529 FuncParamAttr = 38, 530 FPRoundingMode = 39, 531 FPFastMathMode = 40, 532 LinkageAttributes = 41, 533 NoContraction = 42, 534 InputAttachmentIndex = 43, 535 Alignment = 44, 536 MaxByteOffset = 45, 537 AlignmentId = 46, 538 MaxByteOffsetId = 47, 539 NoSignedWrap = 4469, 540 NoUnsignedWrap = 4470, 541 WeightTextureQCOM = 4487, 542 BlockMatchTextureQCOM = 4488, 543 ExplicitInterpAMD = 4999, 544 NodeSharesPayloadLimitsWithAMDX = 5019, 545 NodeMaxPayloadsAMDX = 5020, 546 TrackFinishWritingAMDX = 5078, 547 PayloadNodeNameAMDX = 5091, 548 OverrideCoverageNV = 5248, 549 PassthroughNV = 5250, 550 ViewportRelativeNV = 5252, 551 SecondaryViewportRelativeNV = 5256, 552 PerPrimitiveEXT = 5271, 553 PerPrimitiveNV = 5271, 554 PerViewNV = 5272, 555 PerTaskNV = 5273, 556 PerVertexKHR = 5285, 557 PerVertexNV = 5285, 558 NonUniform = 5300, 559 NonUniformEXT = 5300, 560 RestrictPointer = 5355, 561 RestrictPointerEXT = 5355, 562 AliasedPointer = 5356, 563 AliasedPointerEXT = 5356, 564 HitObjectShaderRecordBufferNV = 5386, 565 BindlessSamplerNV = 5398, 566 BindlessImageNV = 5399, 567 BoundSamplerNV = 5400, 568 BoundImageNV = 5401, 569 SIMTCallINTEL = 5599, 570 ReferencedIndirectlyINTEL = 5602, 571 ClobberINTEL = 5607, 572 SideEffectsINTEL = 5608, 573 VectorComputeVariableINTEL = 5624, 574 FuncParamIOKindINTEL = 5625, 575 VectorComputeFunctionINTEL = 5626, 576 StackCallINTEL = 5627, 577 GlobalVariableOffsetINTEL = 5628, 578 CounterBuffer = 5634, 579 HlslCounterBufferGOOGLE = 5634, 580 HlslSemanticGOOGLE = 5635, 581 UserSemantic = 5635, 582 UserTypeGOOGLE = 5636, 583 FunctionRoundingModeINTEL = 5822, 584 FunctionDenormModeINTEL = 5823, 585 RegisterINTEL = 5825, 586 MemoryINTEL = 5826, 587 NumbanksINTEL = 5827, 588 BankwidthINTEL = 5828, 589 MaxPrivateCopiesINTEL = 5829, 590 SinglepumpINTEL = 5830, 591 DoublepumpINTEL = 5831, 592 MaxReplicatesINTEL = 5832, 593 SimpleDualPortINTEL = 5833, 594 MergeINTEL = 5834, 595 BankBitsINTEL = 5835, 596 ForcePow2DepthINTEL = 5836, 597 StridesizeINTEL = 5883, 598 WordsizeINTEL = 5884, 599 TrueDualPortINTEL = 5885, 600 BurstCoalesceINTEL = 5899, 601 CacheSizeINTEL = 5900, 602 DontStaticallyCoalesceINTEL = 5901, 603 PrefetchINTEL = 5902, 604 StallEnableINTEL = 5905, 605 FuseLoopsInFunctionINTEL = 5907, 606 MathOpDSPModeINTEL = 5909, 607 AliasScopeINTEL = 5914, 608 NoAliasINTEL = 5915, 609 InitiationIntervalINTEL = 5917, 610 MaxConcurrencyINTEL = 5918, 611 PipelineEnableINTEL = 5919, 612 BufferLocationINTEL = 5921, 613 IOPipeStorageINTEL = 5944, 614 FunctionFloatingPointModeINTEL = 6080, 615 SingleElementVectorINTEL = 6085, 616 VectorComputeCallableFunctionINTEL = 6087, 617 MediaBlockIOINTEL = 6140, 618 StallFreeINTEL = 6151, 619 FPMaxErrorDecorationINTEL = 6170, 620 LatencyControlLabelINTEL = 6172, 621 LatencyControlConstraintINTEL = 6173, 622 ConduitKernelArgumentINTEL = 6175, 623 RegisterMapKernelArgumentINTEL = 6176, 624 MMHostInterfaceAddressWidthINTEL = 6177, 625 MMHostInterfaceDataWidthINTEL = 6178, 626 MMHostInterfaceLatencyINTEL = 6179, 627 MMHostInterfaceReadWriteModeINTEL = 6180, 628 MMHostInterfaceMaxBurstINTEL = 6181, 629 MMHostInterfaceWaitRequestINTEL = 6182, 630 StableKernelArgumentINTEL = 6183, 631 HostAccessINTEL = 6188, 632 InitModeINTEL = 6190, 633 ImplementInRegisterMapINTEL = 6191, 634 CacheControlLoadINTEL = 6442, 635 CacheControlStoreINTEL = 6443, 636 Max = 0x7fffffff, 637}; 638 639enum class BuiltIn : unsigned { 640 Position = 0, 641 PointSize = 1, 642 ClipDistance = 3, 643 CullDistance = 4, 644 VertexId = 5, 645 InstanceId = 6, 646 PrimitiveId = 7, 647 InvocationId = 8, 648 Layer = 9, 649 ViewportIndex = 10, 650 TessLevelOuter = 11, 651 TessLevelInner = 12, 652 TessCoord = 13, 653 PatchVertices = 14, 654 FragCoord = 15, 655 PointCoord = 16, 656 FrontFacing = 17, 657 SampleId = 18, 658 SamplePosition = 19, 659 SampleMask = 20, 660 FragDepth = 22, 661 HelperInvocation = 23, 662 NumWorkgroups = 24, 663 WorkgroupSize = 25, 664 WorkgroupId = 26, 665 LocalInvocationId = 27, 666 GlobalInvocationId = 28, 667 LocalInvocationIndex = 29, 668 WorkDim = 30, 669 GlobalSize = 31, 670 EnqueuedWorkgroupSize = 32, 671 GlobalOffset = 33, 672 GlobalLinearId = 34, 673 SubgroupSize = 36, 674 SubgroupMaxSize = 37, 675 NumSubgroups = 38, 676 NumEnqueuedSubgroups = 39, 677 SubgroupId = 40, 678 SubgroupLocalInvocationId = 41, 679 VertexIndex = 42, 680 InstanceIndex = 43, 681 CoreIDARM = 4160, 682 CoreCountARM = 4161, 683 CoreMaxIDARM = 4162, 684 WarpIDARM = 4163, 685 WarpMaxIDARM = 4164, 686 SubgroupEqMask = 4416, 687 SubgroupEqMaskKHR = 4416, 688 SubgroupGeMask = 4417, 689 SubgroupGeMaskKHR = 4417, 690 SubgroupGtMask = 4418, 691 SubgroupGtMaskKHR = 4418, 692 SubgroupLeMask = 4419, 693 SubgroupLeMaskKHR = 4419, 694 SubgroupLtMask = 4420, 695 SubgroupLtMaskKHR = 4420, 696 BaseVertex = 4424, 697 BaseInstance = 4425, 698 DrawIndex = 4426, 699 PrimitiveShadingRateKHR = 4432, 700 DeviceIndex = 4438, 701 ViewIndex = 4440, 702 ShadingRateKHR = 4444, 703 BaryCoordNoPerspAMD = 4992, 704 BaryCoordNoPerspCentroidAMD = 4993, 705 BaryCoordNoPerspSampleAMD = 4994, 706 BaryCoordSmoothAMD = 4995, 707 BaryCoordSmoothCentroidAMD = 4996, 708 BaryCoordSmoothSampleAMD = 4997, 709 BaryCoordPullModelAMD = 4998, 710 FragStencilRefEXT = 5014, 711 CoalescedInputCountAMDX = 5021, 712 ShaderIndexAMDX = 5073, 713 ViewportMaskNV = 5253, 714 SecondaryPositionNV = 5257, 715 SecondaryViewportMaskNV = 5258, 716 PositionPerViewNV = 5261, 717 ViewportMaskPerViewNV = 5262, 718 FullyCoveredEXT = 5264, 719 TaskCountNV = 5274, 720 PrimitiveCountNV = 5275, 721 PrimitiveIndicesNV = 5276, 722 ClipDistancePerViewNV = 5277, 723 CullDistancePerViewNV = 5278, 724 LayerPerViewNV = 5279, 725 MeshViewCountNV = 5280, 726 MeshViewIndicesNV = 5281, 727 BaryCoordKHR = 5286, 728 BaryCoordNV = 5286, 729 BaryCoordNoPerspKHR = 5287, 730 BaryCoordNoPerspNV = 5287, 731 FragSizeEXT = 5292, 732 FragmentSizeNV = 5292, 733 FragInvocationCountEXT = 5293, 734 InvocationsPerPixelNV = 5293, 735 PrimitivePointIndicesEXT = 5294, 736 PrimitiveLineIndicesEXT = 5295, 737 PrimitiveTriangleIndicesEXT = 5296, 738 CullPrimitiveEXT = 5299, 739 LaunchIdKHR = 5319, 740 LaunchIdNV = 5319, 741 LaunchSizeKHR = 5320, 742 LaunchSizeNV = 5320, 743 WorldRayOriginKHR = 5321, 744 WorldRayOriginNV = 5321, 745 WorldRayDirectionKHR = 5322, 746 WorldRayDirectionNV = 5322, 747 ObjectRayOriginKHR = 5323, 748 ObjectRayOriginNV = 5323, 749 ObjectRayDirectionKHR = 5324, 750 ObjectRayDirectionNV = 5324, 751 RayTminKHR = 5325, 752 RayTminNV = 5325, 753 RayTmaxKHR = 5326, 754 RayTmaxNV = 5326, 755 InstanceCustomIndexKHR = 5327, 756 InstanceCustomIndexNV = 5327, 757 ObjectToWorldKHR = 5330, 758 ObjectToWorldNV = 5330, 759 WorldToObjectKHR = 5331, 760 WorldToObjectNV = 5331, 761 HitTNV = 5332, 762 HitKindKHR = 5333, 763 HitKindNV = 5333, 764 CurrentRayTimeNV = 5334, 765 HitTriangleVertexPositionsKHR = 5335, 766 HitMicroTriangleVertexPositionsNV = 5337, 767 HitMicroTriangleVertexBarycentricsNV = 5344, 768 IncomingRayFlagsKHR = 5351, 769 IncomingRayFlagsNV = 5351, 770 RayGeometryIndexKHR = 5352, 771 WarpsPerSMNV = 5374, 772 SMCountNV = 5375, 773 WarpIDNV = 5376, 774 SMIDNV = 5377, 775 HitKindFrontFacingMicroTriangleNV = 5405, 776 HitKindBackFacingMicroTriangleNV = 5406, 777 CullMaskKHR = 6021, 778 Max = 0x7fffffff, 779}; 780 781enum class SelectionControlShift : unsigned { 782 Flatten = 0, 783 DontFlatten = 1, 784 Max = 0x7fffffff, 785}; 786 787enum class SelectionControlMask : unsigned { 788 MaskNone = 0, 789 Flatten = 0x00000001, 790 DontFlatten = 0x00000002, 791}; 792 793enum class LoopControlShift : unsigned { 794 Unroll = 0, 795 DontUnroll = 1, 796 DependencyInfinite = 2, 797 DependencyLength = 3, 798 MinIterations = 4, 799 MaxIterations = 5, 800 IterationMultiple = 6, 801 PeelCount = 7, 802 PartialCount = 8, 803 InitiationIntervalINTEL = 16, 804 MaxConcurrencyINTEL = 17, 805 DependencyArrayINTEL = 18, 806 PipelineEnableINTEL = 19, 807 LoopCoalesceINTEL = 20, 808 MaxInterleavingINTEL = 21, 809 SpeculatedIterationsINTEL = 22, 810 NoFusionINTEL = 23, 811 LoopCountINTEL = 24, 812 MaxReinvocationDelayINTEL = 25, 813 Max = 0x7fffffff, 814}; 815 816enum class LoopControlMask : unsigned { 817 MaskNone = 0, 818 Unroll = 0x00000001, 819 DontUnroll = 0x00000002, 820 DependencyInfinite = 0x00000004, 821 DependencyLength = 0x00000008, 822 MinIterations = 0x00000010, 823 MaxIterations = 0x00000020, 824 IterationMultiple = 0x00000040, 825 PeelCount = 0x00000080, 826 PartialCount = 0x00000100, 827 InitiationIntervalINTEL = 0x00010000, 828 MaxConcurrencyINTEL = 0x00020000, 829 DependencyArrayINTEL = 0x00040000, 830 PipelineEnableINTEL = 0x00080000, 831 LoopCoalesceINTEL = 0x00100000, 832 MaxInterleavingINTEL = 0x00200000, 833 SpeculatedIterationsINTEL = 0x00400000, 834 NoFusionINTEL = 0x00800000, 835 LoopCountINTEL = 0x01000000, 836 MaxReinvocationDelayINTEL = 0x02000000, 837}; 838 839enum class FunctionControlShift : unsigned { 840 Inline = 0, 841 DontInline = 1, 842 Pure = 2, 843 Const = 3, 844 OptNoneINTEL = 16, 845 Max = 0x7fffffff, 846}; 847 848enum class FunctionControlMask : unsigned { 849 MaskNone = 0, 850 Inline = 0x00000001, 851 DontInline = 0x00000002, 852 Pure = 0x00000004, 853 Const = 0x00000008, 854 OptNoneINTEL = 0x00010000, 855}; 856 857enum class MemorySemanticsShift : unsigned { 858 Acquire = 1, 859 Release = 2, 860 AcquireRelease = 3, 861 SequentiallyConsistent = 4, 862 UniformMemory = 6, 863 SubgroupMemory = 7, 864 WorkgroupMemory = 8, 865 CrossWorkgroupMemory = 9, 866 AtomicCounterMemory = 10, 867 ImageMemory = 11, 868 OutputMemory = 12, 869 OutputMemoryKHR = 12, 870 MakeAvailable = 13, 871 MakeAvailableKHR = 13, 872 MakeVisible = 14, 873 MakeVisibleKHR = 14, 874 Volatile = 15, 875 Max = 0x7fffffff, 876}; 877 878enum class MemorySemanticsMask : unsigned { 879 MaskNone = 0, 880 Acquire = 0x00000002, 881 Release = 0x00000004, 882 AcquireRelease = 0x00000008, 883 SequentiallyConsistent = 0x00000010, 884 UniformMemory = 0x00000040, 885 SubgroupMemory = 0x00000080, 886 WorkgroupMemory = 0x00000100, 887 CrossWorkgroupMemory = 0x00000200, 888 AtomicCounterMemory = 0x00000400, 889 ImageMemory = 0x00000800, 890 OutputMemory = 0x00001000, 891 OutputMemoryKHR = 0x00001000, 892 MakeAvailable = 0x00002000, 893 MakeAvailableKHR = 0x00002000, 894 MakeVisible = 0x00004000, 895 MakeVisibleKHR = 0x00004000, 896 Volatile = 0x00008000, 897}; 898 899enum class MemoryAccessShift : unsigned { 900 Volatile = 0, 901 Aligned = 1, 902 Nontemporal = 2, 903 MakePointerAvailable = 3, 904 MakePointerAvailableKHR = 3, 905 MakePointerVisible = 4, 906 MakePointerVisibleKHR = 4, 907 NonPrivatePointer = 5, 908 NonPrivatePointerKHR = 5, 909 AliasScopeINTELMask = 16, 910 NoAliasINTELMask = 17, 911 Max = 0x7fffffff, 912}; 913 914enum class MemoryAccessMask : unsigned { 915 MaskNone = 0, 916 Volatile = 0x00000001, 917 Aligned = 0x00000002, 918 Nontemporal = 0x00000004, 919 MakePointerAvailable = 0x00000008, 920 MakePointerAvailableKHR = 0x00000008, 921 MakePointerVisible = 0x00000010, 922 MakePointerVisibleKHR = 0x00000010, 923 NonPrivatePointer = 0x00000020, 924 NonPrivatePointerKHR = 0x00000020, 925 AliasScopeINTELMask = 0x00010000, 926 NoAliasINTELMask = 0x00020000, 927}; 928 929enum class Scope : unsigned { 930 CrossDevice = 0, 931 Device = 1, 932 Workgroup = 2, 933 Subgroup = 3, 934 Invocation = 4, 935 QueueFamily = 5, 936 QueueFamilyKHR = 5, 937 ShaderCallKHR = 6, 938 Max = 0x7fffffff, 939}; 940 941enum class GroupOperation : unsigned { 942 Reduce = 0, 943 InclusiveScan = 1, 944 ExclusiveScan = 2, 945 ClusteredReduce = 3, 946 PartitionedReduceNV = 6, 947 PartitionedInclusiveScanNV = 7, 948 PartitionedExclusiveScanNV = 8, 949 Max = 0x7fffffff, 950}; 951 952enum class KernelEnqueueFlags : unsigned { 953 NoWait = 0, 954 WaitKernel = 1, 955 WaitWorkGroup = 2, 956 Max = 0x7fffffff, 957}; 958 959enum class KernelProfilingInfoShift : unsigned { 960 CmdExecTime = 0, 961 Max = 0x7fffffff, 962}; 963 964enum class KernelProfilingInfoMask : unsigned { 965 MaskNone = 0, 966 CmdExecTime = 0x00000001, 967}; 968 969enum class Capability : unsigned { 970 Matrix = 0, 971 Shader = 1, 972 Geometry = 2, 973 Tessellation = 3, 974 Addresses = 4, 975 Linkage = 5, 976 Kernel = 6, 977 Vector16 = 7, 978 Float16Buffer = 8, 979 Float16 = 9, 980 Float64 = 10, 981 Int64 = 11, 982 Int64Atomics = 12, 983 ImageBasic = 13, 984 ImageReadWrite = 14, 985 ImageMipmap = 15, 986 Pipes = 17, 987 Groups = 18, 988 DeviceEnqueue = 19, 989 LiteralSampler = 20, 990 AtomicStorage = 21, 991 Int16 = 22, 992 TessellationPointSize = 23, 993 GeometryPointSize = 24, 994 ImageGatherExtended = 25, 995 StorageImageMultisample = 27, 996 UniformBufferArrayDynamicIndexing = 28, 997 SampledImageArrayDynamicIndexing = 29, 998 StorageBufferArrayDynamicIndexing = 30, 999 StorageImageArrayDynamicIndexing = 31, 1000 ClipDistance = 32, 1001 CullDistance = 33, 1002 ImageCubeArray = 34, 1003 SampleRateShading = 35, 1004 ImageRect = 36, 1005 SampledRect = 37, 1006 GenericPointer = 38, 1007 Int8 = 39, 1008 InputAttachment = 40, 1009 SparseResidency = 41, 1010 MinLod = 42, 1011 Sampled1D = 43, 1012 Image1D = 44, 1013 SampledCubeArray = 45, 1014 SampledBuffer = 46, 1015 ImageBuffer = 47, 1016 ImageMSArray = 48, 1017 StorageImageExtendedFormats = 49, 1018 ImageQuery = 50, 1019 DerivativeControl = 51, 1020 InterpolationFunction = 52, 1021 TransformFeedback = 53, 1022 GeometryStreams = 54, 1023 StorageImageReadWithoutFormat = 55, 1024 StorageImageWriteWithoutFormat = 56, 1025 MultiViewport = 57, 1026 SubgroupDispatch = 58, 1027 NamedBarrier = 59, 1028 PipeStorage = 60, 1029 GroupNonUniform = 61, 1030 GroupNonUniformVote = 62, 1031 GroupNonUniformArithmetic = 63, 1032 GroupNonUniformBallot = 64, 1033 GroupNonUniformShuffle = 65, 1034 GroupNonUniformShuffleRelative = 66, 1035 GroupNonUniformClustered = 67, 1036 GroupNonUniformQuad = 68, 1037 ShaderLayer = 69, 1038 ShaderViewportIndex = 70, 1039 UniformDecoration = 71, 1040 CoreBuiltinsARM = 4165, 1041 TileImageColorReadAccessEXT = 4166, 1042 TileImageDepthReadAccessEXT = 4167, 1043 TileImageStencilReadAccessEXT = 4168, 1044 FragmentShadingRateKHR = 4422, 1045 SubgroupBallotKHR = 4423, 1046 DrawParameters = 4427, 1047 WorkgroupMemoryExplicitLayoutKHR = 4428, 1048 WorkgroupMemoryExplicitLayout8BitAccessKHR = 4429, 1049 WorkgroupMemoryExplicitLayout16BitAccessKHR = 4430, 1050 SubgroupVoteKHR = 4431, 1051 StorageBuffer16BitAccess = 4433, 1052 StorageUniformBufferBlock16 = 4433, 1053 StorageUniform16 = 4434, 1054 UniformAndStorageBuffer16BitAccess = 4434, 1055 StoragePushConstant16 = 4435, 1056 StorageInputOutput16 = 4436, 1057 DeviceGroup = 4437, 1058 MultiView = 4439, 1059 VariablePointersStorageBuffer = 4441, 1060 VariablePointers = 4442, 1061 AtomicStorageOps = 4445, 1062 SampleMaskPostDepthCoverage = 4447, 1063 StorageBuffer8BitAccess = 4448, 1064 UniformAndStorageBuffer8BitAccess = 4449, 1065 StoragePushConstant8 = 4450, 1066 DenormPreserve = 4464, 1067 DenormFlushToZero = 4465, 1068 SignedZeroInfNanPreserve = 4466, 1069 RoundingModeRTE = 4467, 1070 RoundingModeRTZ = 4468, 1071 RayQueryProvisionalKHR = 4471, 1072 RayQueryKHR = 4472, 1073 RayTraversalPrimitiveCullingKHR = 4478, 1074 RayTracingKHR = 4479, 1075 TextureSampleWeightedQCOM = 4484, 1076 TextureBoxFilterQCOM = 4485, 1077 TextureBlockMatchQCOM = 4486, 1078 Float16ImageAMD = 5008, 1079 ImageGatherBiasLodAMD = 5009, 1080 FragmentMaskAMD = 5010, 1081 StencilExportEXT = 5013, 1082 ImageReadWriteLodAMD = 5015, 1083 Int64ImageEXT = 5016, 1084 ShaderClockKHR = 5055, 1085 ShaderEnqueueAMDX = 5067, 1086 QuadControlKHR = 5087, 1087 SampleMaskOverrideCoverageNV = 5249, 1088 GeometryShaderPassthroughNV = 5251, 1089 ShaderViewportIndexLayerEXT = 5254, 1090 ShaderViewportIndexLayerNV = 5254, 1091 ShaderViewportMaskNV = 5255, 1092 ShaderStereoViewNV = 5259, 1093 PerViewAttributesNV = 5260, 1094 FragmentFullyCoveredEXT = 5265, 1095 MeshShadingNV = 5266, 1096 ImageFootprintNV = 5282, 1097 MeshShadingEXT = 5283, 1098 FragmentBarycentricKHR = 5284, 1099 FragmentBarycentricNV = 5284, 1100 ComputeDerivativeGroupQuadsNV = 5288, 1101 FragmentDensityEXT = 5291, 1102 ShadingRateNV = 5291, 1103 GroupNonUniformPartitionedNV = 5297, 1104 ShaderNonUniform = 5301, 1105 ShaderNonUniformEXT = 5301, 1106 RuntimeDescriptorArray = 5302, 1107 RuntimeDescriptorArrayEXT = 5302, 1108 InputAttachmentArrayDynamicIndexing = 5303, 1109 InputAttachmentArrayDynamicIndexingEXT = 5303, 1110 UniformTexelBufferArrayDynamicIndexing = 5304, 1111 UniformTexelBufferArrayDynamicIndexingEXT = 5304, 1112 StorageTexelBufferArrayDynamicIndexing = 5305, 1113 StorageTexelBufferArrayDynamicIndexingEXT = 5305, 1114 UniformBufferArrayNonUniformIndexing = 5306, 1115 UniformBufferArrayNonUniformIndexingEXT = 5306, 1116 SampledImageArrayNonUniformIndexing = 5307, 1117 SampledImageArrayNonUniformIndexingEXT = 5307, 1118 StorageBufferArrayNonUniformIndexing = 5308, 1119 StorageBufferArrayNonUniformIndexingEXT = 5308, 1120 StorageImageArrayNonUniformIndexing = 5309, 1121 StorageImageArrayNonUniformIndexingEXT = 5309, 1122 InputAttachmentArrayNonUniformIndexing = 5310, 1123 InputAttachmentArrayNonUniformIndexingEXT = 5310, 1124 UniformTexelBufferArrayNonUniformIndexing = 5311, 1125 UniformTexelBufferArrayNonUniformIndexingEXT = 5311, 1126 StorageTexelBufferArrayNonUniformIndexing = 5312, 1127 StorageTexelBufferArrayNonUniformIndexingEXT = 5312, 1128 RayTracingPositionFetchKHR = 5336, 1129 RayTracingNV = 5340, 1130 RayTracingMotionBlurNV = 5341, 1131 VulkanMemoryModel = 5345, 1132 VulkanMemoryModelKHR = 5345, 1133 VulkanMemoryModelDeviceScope = 5346, 1134 VulkanMemoryModelDeviceScopeKHR = 5346, 1135 PhysicalStorageBufferAddresses = 5347, 1136 PhysicalStorageBufferAddressesEXT = 5347, 1137 ComputeDerivativeGroupLinearNV = 5350, 1138 RayTracingProvisionalKHR = 5353, 1139 CooperativeMatrixNV = 5357, 1140 FragmentShaderSampleInterlockEXT = 5363, 1141 FragmentShaderShadingRateInterlockEXT = 5372, 1142 ShaderSMBuiltinsNV = 5373, 1143 FragmentShaderPixelInterlockEXT = 5378, 1144 DemoteToHelperInvocation = 5379, 1145 DemoteToHelperInvocationEXT = 5379, 1146 DisplacementMicromapNV = 5380, 1147 RayTracingOpacityMicromapEXT = 5381, 1148 ShaderInvocationReorderNV = 5383, 1149 BindlessTextureNV = 5390, 1150 RayQueryPositionFetchKHR = 5391, 1151 RayTracingDisplacementMicromapNV = 5409, 1152 SubgroupShuffleINTEL = 5568, 1153 SubgroupBufferBlockIOINTEL = 5569, 1154 SubgroupImageBlockIOINTEL = 5570, 1155 SubgroupImageMediaBlockIOINTEL = 5579, 1156 RoundToInfinityINTEL = 5582, 1157 FloatingPointModeINTEL = 5583, 1158 IntegerFunctions2INTEL = 5584, 1159 FunctionPointersINTEL = 5603, 1160 IndirectReferencesINTEL = 5604, 1161 AsmINTEL = 5606, 1162 AtomicFloat32MinMaxEXT = 5612, 1163 AtomicFloat64MinMaxEXT = 5613, 1164 AtomicFloat16MinMaxEXT = 5616, 1165 VectorComputeINTEL = 5617, 1166 VectorAnyINTEL = 5619, 1167 ExpectAssumeKHR = 5629, 1168 SubgroupAvcMotionEstimationINTEL = 5696, 1169 SubgroupAvcMotionEstimationIntraINTEL = 5697, 1170 SubgroupAvcMotionEstimationChromaINTEL = 5698, 1171 VariableLengthArrayINTEL = 5817, 1172 FunctionFloatControlINTEL = 5821, 1173 FPGAMemoryAttributesINTEL = 5824, 1174 FPFastMathModeINTEL = 5837, 1175 ArbitraryPrecisionIntegersINTEL = 5844, 1176 ArbitraryPrecisionFloatingPointINTEL = 5845, 1177 UnstructuredLoopControlsINTEL = 5886, 1178 FPGALoopControlsINTEL = 5888, 1179 KernelAttributesINTEL = 5892, 1180 FPGAKernelAttributesINTEL = 5897, 1181 FPGAMemoryAccessesINTEL = 5898, 1182 FPGAClusterAttributesINTEL = 5904, 1183 LoopFuseINTEL = 5906, 1184 FPGADSPControlINTEL = 5908, 1185 MemoryAccessAliasingINTEL = 5910, 1186 FPGAInvocationPipeliningAttributesINTEL = 5916, 1187 FPGABufferLocationINTEL = 5920, 1188 ArbitraryPrecisionFixedPointINTEL = 5922, 1189 USMStorageClassesINTEL = 5935, 1190 RuntimeAlignedAttributeINTEL = 5939, 1191 IOPipesINTEL = 5943, 1192 BlockingPipesINTEL = 5945, 1193 FPGARegINTEL = 5948, 1194 DotProductInputAll = 6016, 1195 DotProductInputAllKHR = 6016, 1196 DotProductInput4x8Bit = 6017, 1197 DotProductInput4x8BitKHR = 6017, 1198 DotProductInput4x8BitPacked = 6018, 1199 DotProductInput4x8BitPackedKHR = 6018, 1200 DotProduct = 6019, 1201 DotProductKHR = 6019, 1202 RayCullMaskKHR = 6020, 1203 CooperativeMatrixKHR = 6022, 1204 BitInstructions = 6025, 1205 GroupNonUniformRotateKHR = 6026, 1206 FloatControls2 = 6029, 1207 AtomicFloat32AddEXT = 6033, 1208 AtomicFloat64AddEXT = 6034, 1209 LongCompositesINTEL = 6089, 1210 OptNoneINTEL = 6094, 1211 AtomicFloat16AddEXT = 6095, 1212 DebugInfoModuleINTEL = 6114, 1213 BFloat16ConversionINTEL = 6115, 1214 SplitBarrierINTEL = 6141, 1215 FPGAClusterAttributesV2INTEL = 6150, 1216 FPGAKernelAttributesv2INTEL = 6161, 1217 FPMaxErrorINTEL = 6169, 1218 FPGALatencyControlINTEL = 6171, 1219 FPGAArgumentInterfacesINTEL = 6174, 1220 GlobalVariableHostAccessINTEL = 6187, 1221 GlobalVariableFPGADecorationsINTEL = 6189, 1222 GroupUniformArithmeticKHR = 6400, 1223 MaskedGatherScatterINTEL = 6427, 1224 CacheControlsINTEL = 6441, 1225 Max = 0x7fffffff, 1226}; 1227 1228enum class RayFlagsShift : unsigned { 1229 OpaqueKHR = 0, 1230 NoOpaqueKHR = 1, 1231 TerminateOnFirstHitKHR = 2, 1232 SkipClosestHitShaderKHR = 3, 1233 CullBackFacingTrianglesKHR = 4, 1234 CullFrontFacingTrianglesKHR = 5, 1235 CullOpaqueKHR = 6, 1236 CullNoOpaqueKHR = 7, 1237 SkipTrianglesKHR = 8, 1238 SkipAABBsKHR = 9, 1239 ForceOpacityMicromap2StateEXT = 10, 1240 Max = 0x7fffffff, 1241}; 1242 1243enum class RayFlagsMask : unsigned { 1244 MaskNone = 0, 1245 OpaqueKHR = 0x00000001, 1246 NoOpaqueKHR = 0x00000002, 1247 TerminateOnFirstHitKHR = 0x00000004, 1248 SkipClosestHitShaderKHR = 0x00000008, 1249 CullBackFacingTrianglesKHR = 0x00000010, 1250 CullFrontFacingTrianglesKHR = 0x00000020, 1251 CullOpaqueKHR = 0x00000040, 1252 CullNoOpaqueKHR = 0x00000080, 1253 SkipTrianglesKHR = 0x00000100, 1254 SkipAABBsKHR = 0x00000200, 1255 ForceOpacityMicromap2StateEXT = 0x00000400, 1256}; 1257 1258enum class RayQueryIntersection : unsigned { 1259 RayQueryCandidateIntersectionKHR = 0, 1260 RayQueryCommittedIntersectionKHR = 1, 1261 Max = 0x7fffffff, 1262}; 1263 1264enum class RayQueryCommittedIntersectionType : unsigned { 1265 RayQueryCommittedIntersectionNoneKHR = 0, 1266 RayQueryCommittedIntersectionTriangleKHR = 1, 1267 RayQueryCommittedIntersectionGeneratedKHR = 2, 1268 Max = 0x7fffffff, 1269}; 1270 1271enum class RayQueryCandidateIntersectionType : unsigned { 1272 RayQueryCandidateIntersectionTriangleKHR = 0, 1273 RayQueryCandidateIntersectionAABBKHR = 1, 1274 Max = 0x7fffffff, 1275}; 1276 1277enum class FragmentShadingRateShift : unsigned { 1278 Vertical2Pixels = 0, 1279 Vertical4Pixels = 1, 1280 Horizontal2Pixels = 2, 1281 Horizontal4Pixels = 3, 1282 Max = 0x7fffffff, 1283}; 1284 1285enum class FragmentShadingRateMask : unsigned { 1286 MaskNone = 0, 1287 Vertical2Pixels = 0x00000001, 1288 Vertical4Pixels = 0x00000002, 1289 Horizontal2Pixels = 0x00000004, 1290 Horizontal4Pixels = 0x00000008, 1291}; 1292 1293enum class FPDenormMode : unsigned { 1294 Preserve = 0, 1295 FlushToZero = 1, 1296 Max = 0x7fffffff, 1297}; 1298 1299enum class FPOperationMode : unsigned { 1300 IEEE = 0, 1301 ALT = 1, 1302 Max = 0x7fffffff, 1303}; 1304 1305enum class QuantizationModes : unsigned { 1306 TRN = 0, 1307 TRN_ZERO = 1, 1308 RND = 2, 1309 RND_ZERO = 3, 1310 RND_INF = 4, 1311 RND_MIN_INF = 5, 1312 RND_CONV = 6, 1313 RND_CONV_ODD = 7, 1314 Max = 0x7fffffff, 1315}; 1316 1317enum class OverflowModes : unsigned { 1318 WRAP = 0, 1319 SAT = 1, 1320 SAT_ZERO = 2, 1321 SAT_SYM = 3, 1322 Max = 0x7fffffff, 1323}; 1324 1325enum class PackedVectorFormat : unsigned { 1326 PackedVectorFormat4x8Bit = 0, 1327 PackedVectorFormat4x8BitKHR = 0, 1328 Max = 0x7fffffff, 1329}; 1330 1331enum class CooperativeMatrixOperandsShift : unsigned { 1332 MatrixASignedComponentsKHR = 0, 1333 MatrixBSignedComponentsKHR = 1, 1334 MatrixCSignedComponentsKHR = 2, 1335 MatrixResultSignedComponentsKHR = 3, 1336 SaturatingAccumulationKHR = 4, 1337 Max = 0x7fffffff, 1338}; 1339 1340enum class CooperativeMatrixOperandsMask : unsigned { 1341 MaskNone = 0, 1342 MatrixASignedComponentsKHR = 0x00000001, 1343 MatrixBSignedComponentsKHR = 0x00000002, 1344 MatrixCSignedComponentsKHR = 0x00000004, 1345 MatrixResultSignedComponentsKHR = 0x00000008, 1346 SaturatingAccumulationKHR = 0x00000010, 1347}; 1348 1349enum class CooperativeMatrixLayout : unsigned { 1350 RowMajorKHR = 0, 1351 ColumnMajorKHR = 1, 1352 Max = 0x7fffffff, 1353}; 1354 1355enum class CooperativeMatrixUse : unsigned { 1356 MatrixAKHR = 0, 1357 MatrixBKHR = 1, 1358 MatrixAccumulatorKHR = 2, 1359 Max = 0x7fffffff, 1360}; 1361 1362enum class InitializationModeQualifier : unsigned { 1363 InitOnDeviceReprogramINTEL = 0, 1364 InitOnDeviceResetINTEL = 1, 1365 Max = 0x7fffffff, 1366}; 1367 1368enum class HostAccessQualifier : unsigned { 1369 NoneINTEL = 0, 1370 ReadINTEL = 1, 1371 WriteINTEL = 2, 1372 ReadWriteINTEL = 3, 1373 Max = 0x7fffffff, 1374}; 1375 1376enum class LoadCacheControl : unsigned { 1377 UncachedINTEL = 0, 1378 CachedINTEL = 1, 1379 StreamingINTEL = 2, 1380 InvalidateAfterReadINTEL = 3, 1381 ConstCachedINTEL = 4, 1382 Max = 0x7fffffff, 1383}; 1384 1385enum class StoreCacheControl : unsigned { 1386 UncachedINTEL = 0, 1387 WriteThroughINTEL = 1, 1388 WriteBackINTEL = 2, 1389 StreamingINTEL = 3, 1390 Max = 0x7fffffff, 1391}; 1392 1393enum class Op : unsigned { 1394 OpNop = 0, 1395 OpUndef = 1, 1396 OpSourceContinued = 2, 1397 OpSource = 3, 1398 OpSourceExtension = 4, 1399 OpName = 5, 1400 OpMemberName = 6, 1401 OpString = 7, 1402 OpLine = 8, 1403 OpExtension = 10, 1404 OpExtInstImport = 11, 1405 OpExtInst = 12, 1406 OpMemoryModel = 14, 1407 OpEntryPoint = 15, 1408 OpExecutionMode = 16, 1409 OpCapability = 17, 1410 OpTypeVoid = 19, 1411 OpTypeBool = 20, 1412 OpTypeInt = 21, 1413 OpTypeFloat = 22, 1414 OpTypeVector = 23, 1415 OpTypeMatrix = 24, 1416 OpTypeImage = 25, 1417 OpTypeSampler = 26, 1418 OpTypeSampledImage = 27, 1419 OpTypeArray = 28, 1420 OpTypeRuntimeArray = 29, 1421 OpTypeStruct = 30, 1422 OpTypeOpaque = 31, 1423 OpTypePointer = 32, 1424 OpTypeFunction = 33, 1425 OpTypeEvent = 34, 1426 OpTypeDeviceEvent = 35, 1427 OpTypeReserveId = 36, 1428 OpTypeQueue = 37, 1429 OpTypePipe = 38, 1430 OpTypeForwardPointer = 39, 1431 OpConstantTrue = 41, 1432 OpConstantFalse = 42, 1433 OpConstant = 43, 1434 OpConstantComposite = 44, 1435 OpConstantSampler = 45, 1436 OpConstantNull = 46, 1437 OpSpecConstantTrue = 48, 1438 OpSpecConstantFalse = 49, 1439 OpSpecConstant = 50, 1440 OpSpecConstantComposite = 51, 1441 OpSpecConstantOp = 52, 1442 OpFunction = 54, 1443 OpFunctionParameter = 55, 1444 OpFunctionEnd = 56, 1445 OpFunctionCall = 57, 1446 OpVariable = 59, 1447 OpImageTexelPointer = 60, 1448 OpLoad = 61, 1449 OpStore = 62, 1450 OpCopyMemory = 63, 1451 OpCopyMemorySized = 64, 1452 OpAccessChain = 65, 1453 OpInBoundsAccessChain = 66, 1454 OpPtrAccessChain = 67, 1455 OpArrayLength = 68, 1456 OpGenericPtrMemSemantics = 69, 1457 OpInBoundsPtrAccessChain = 70, 1458 OpDecorate = 71, 1459 OpMemberDecorate = 72, 1460 OpDecorationGroup = 73, 1461 OpGroupDecorate = 74, 1462 OpGroupMemberDecorate = 75, 1463 OpVectorExtractDynamic = 77, 1464 OpVectorInsertDynamic = 78, 1465 OpVectorShuffle = 79, 1466 OpCompositeConstruct = 80, 1467 OpCompositeExtract = 81, 1468 OpCompositeInsert = 82, 1469 OpCopyObject = 83, 1470 OpTranspose = 84, 1471 OpSampledImage = 86, 1472 OpImageSampleImplicitLod = 87, 1473 OpImageSampleExplicitLod = 88, 1474 OpImageSampleDrefImplicitLod = 89, 1475 OpImageSampleDrefExplicitLod = 90, 1476 OpImageSampleProjImplicitLod = 91, 1477 OpImageSampleProjExplicitLod = 92, 1478 OpImageSampleProjDrefImplicitLod = 93, 1479 OpImageSampleProjDrefExplicitLod = 94, 1480 OpImageFetch = 95, 1481 OpImageGather = 96, 1482 OpImageDrefGather = 97, 1483 OpImageRead = 98, 1484 OpImageWrite = 99, 1485 OpImage = 100, 1486 OpImageQueryFormat = 101, 1487 OpImageQueryOrder = 102, 1488 OpImageQuerySizeLod = 103, 1489 OpImageQuerySize = 104, 1490 OpImageQueryLod = 105, 1491 OpImageQueryLevels = 106, 1492 OpImageQuerySamples = 107, 1493 OpConvertFToU = 109, 1494 OpConvertFToS = 110, 1495 OpConvertSToF = 111, 1496 OpConvertUToF = 112, 1497 OpUConvert = 113, 1498 OpSConvert = 114, 1499 OpFConvert = 115, 1500 OpQuantizeToF16 = 116, 1501 OpConvertPtrToU = 117, 1502 OpSatConvertSToU = 118, 1503 OpSatConvertUToS = 119, 1504 OpConvertUToPtr = 120, 1505 OpPtrCastToGeneric = 121, 1506 OpGenericCastToPtr = 122, 1507 OpGenericCastToPtrExplicit = 123, 1508 OpBitcast = 124, 1509 OpSNegate = 126, 1510 OpFNegate = 127, 1511 OpIAdd = 128, 1512 OpFAdd = 129, 1513 OpISub = 130, 1514 OpFSub = 131, 1515 OpIMul = 132, 1516 OpFMul = 133, 1517 OpUDiv = 134, 1518 OpSDiv = 135, 1519 OpFDiv = 136, 1520 OpUMod = 137, 1521 OpSRem = 138, 1522 OpSMod = 139, 1523 OpFRem = 140, 1524 OpFMod = 141, 1525 OpVectorTimesScalar = 142, 1526 OpMatrixTimesScalar = 143, 1527 OpVectorTimesMatrix = 144, 1528 OpMatrixTimesVector = 145, 1529 OpMatrixTimesMatrix = 146, 1530 OpOuterProduct = 147, 1531 OpDot = 148, 1532 OpIAddCarry = 149, 1533 OpISubBorrow = 150, 1534 OpUMulExtended = 151, 1535 OpSMulExtended = 152, 1536 OpAny = 154, 1537 OpAll = 155, 1538 OpIsNan = 156, 1539 OpIsInf = 157, 1540 OpIsFinite = 158, 1541 OpIsNormal = 159, 1542 OpSignBitSet = 160, 1543 OpLessOrGreater = 161, 1544 OpOrdered = 162, 1545 OpUnordered = 163, 1546 OpLogicalEqual = 164, 1547 OpLogicalNotEqual = 165, 1548 OpLogicalOr = 166, 1549 OpLogicalAnd = 167, 1550 OpLogicalNot = 168, 1551 OpSelect = 169, 1552 OpIEqual = 170, 1553 OpINotEqual = 171, 1554 OpUGreaterThan = 172, 1555 OpSGreaterThan = 173, 1556 OpUGreaterThanEqual = 174, 1557 OpSGreaterThanEqual = 175, 1558 OpULessThan = 176, 1559 OpSLessThan = 177, 1560 OpULessThanEqual = 178, 1561 OpSLessThanEqual = 179, 1562 OpFOrdEqual = 180, 1563 OpFUnordEqual = 181, 1564 OpFOrdNotEqual = 182, 1565 OpFUnordNotEqual = 183, 1566 OpFOrdLessThan = 184, 1567 OpFUnordLessThan = 185, 1568 OpFOrdGreaterThan = 186, 1569 OpFUnordGreaterThan = 187, 1570 OpFOrdLessThanEqual = 188, 1571 OpFUnordLessThanEqual = 189, 1572 OpFOrdGreaterThanEqual = 190, 1573 OpFUnordGreaterThanEqual = 191, 1574 OpShiftRightLogical = 194, 1575 OpShiftRightArithmetic = 195, 1576 OpShiftLeftLogical = 196, 1577 OpBitwiseOr = 197, 1578 OpBitwiseXor = 198, 1579 OpBitwiseAnd = 199, 1580 OpNot = 200, 1581 OpBitFieldInsert = 201, 1582 OpBitFieldSExtract = 202, 1583 OpBitFieldUExtract = 203, 1584 OpBitReverse = 204, 1585 OpBitCount = 205, 1586 OpDPdx = 207, 1587 OpDPdy = 208, 1588 OpFwidth = 209, 1589 OpDPdxFine = 210, 1590 OpDPdyFine = 211, 1591 OpFwidthFine = 212, 1592 OpDPdxCoarse = 213, 1593 OpDPdyCoarse = 214, 1594 OpFwidthCoarse = 215, 1595 OpEmitVertex = 218, 1596 OpEndPrimitive = 219, 1597 OpEmitStreamVertex = 220, 1598 OpEndStreamPrimitive = 221, 1599 OpControlBarrier = 224, 1600 OpMemoryBarrier = 225, 1601 OpAtomicLoad = 227, 1602 OpAtomicStore = 228, 1603 OpAtomicExchange = 229, 1604 OpAtomicCompareExchange = 230, 1605 OpAtomicCompareExchangeWeak = 231, 1606 OpAtomicIIncrement = 232, 1607 OpAtomicIDecrement = 233, 1608 OpAtomicIAdd = 234, 1609 OpAtomicISub = 235, 1610 OpAtomicSMin = 236, 1611 OpAtomicUMin = 237, 1612 OpAtomicSMax = 238, 1613 OpAtomicUMax = 239, 1614 OpAtomicAnd = 240, 1615 OpAtomicOr = 241, 1616 OpAtomicXor = 242, 1617 OpPhi = 245, 1618 OpLoopMerge = 246, 1619 OpSelectionMerge = 247, 1620 OpLabel = 248, 1621 OpBranch = 249, 1622 OpBranchConditional = 250, 1623 OpSwitch = 251, 1624 OpKill = 252, 1625 OpReturn = 253, 1626 OpReturnValue = 254, 1627 OpUnreachable = 255, 1628 OpLifetimeStart = 256, 1629 OpLifetimeStop = 257, 1630 OpGroupAsyncCopy = 259, 1631 OpGroupWaitEvents = 260, 1632 OpGroupAll = 261, 1633 OpGroupAny = 262, 1634 OpGroupBroadcast = 263, 1635 OpGroupIAdd = 264, 1636 OpGroupFAdd = 265, 1637 OpGroupFMin = 266, 1638 OpGroupUMin = 267, 1639 OpGroupSMin = 268, 1640 OpGroupFMax = 269, 1641 OpGroupUMax = 270, 1642 OpGroupSMax = 271, 1643 OpReadPipe = 274, 1644 OpWritePipe = 275, 1645 OpReservedReadPipe = 276, 1646 OpReservedWritePipe = 277, 1647 OpReserveReadPipePackets = 278, 1648 OpReserveWritePipePackets = 279, 1649 OpCommitReadPipe = 280, 1650 OpCommitWritePipe = 281, 1651 OpIsValidReserveId = 282, 1652 OpGetNumPipePackets = 283, 1653 OpGetMaxPipePackets = 284, 1654 OpGroupReserveReadPipePackets = 285, 1655 OpGroupReserveWritePipePackets = 286, 1656 OpGroupCommitReadPipe = 287, 1657 OpGroupCommitWritePipe = 288, 1658 OpEnqueueMarker = 291, 1659 OpEnqueueKernel = 292, 1660 OpGetKernelNDrangeSubGroupCount = 293, 1661 OpGetKernelNDrangeMaxSubGroupSize = 294, 1662 OpGetKernelWorkGroupSize = 295, 1663 OpGetKernelPreferredWorkGroupSizeMultiple = 296, 1664 OpRetainEvent = 297, 1665 OpReleaseEvent = 298, 1666 OpCreateUserEvent = 299, 1667 OpIsValidEvent = 300, 1668 OpSetUserEventStatus = 301, 1669 OpCaptureEventProfilingInfo = 302, 1670 OpGetDefaultQueue = 303, 1671 OpBuildNDRange = 304, 1672 OpImageSparseSampleImplicitLod = 305, 1673 OpImageSparseSampleExplicitLod = 306, 1674 OpImageSparseSampleDrefImplicitLod = 307, 1675 OpImageSparseSampleDrefExplicitLod = 308, 1676 OpImageSparseSampleProjImplicitLod = 309, 1677 OpImageSparseSampleProjExplicitLod = 310, 1678 OpImageSparseSampleProjDrefImplicitLod = 311, 1679 OpImageSparseSampleProjDrefExplicitLod = 312, 1680 OpImageSparseFetch = 313, 1681 OpImageSparseGather = 314, 1682 OpImageSparseDrefGather = 315, 1683 OpImageSparseTexelsResident = 316, 1684 OpNoLine = 317, 1685 OpAtomicFlagTestAndSet = 318, 1686 OpAtomicFlagClear = 319, 1687 OpImageSparseRead = 320, 1688 OpSizeOf = 321, 1689 OpTypePipeStorage = 322, 1690 OpConstantPipeStorage = 323, 1691 OpCreatePipeFromPipeStorage = 324, 1692 OpGetKernelLocalSizeForSubgroupCount = 325, 1693 OpGetKernelMaxNumSubgroups = 326, 1694 OpTypeNamedBarrier = 327, 1695 OpNamedBarrierInitialize = 328, 1696 OpMemoryNamedBarrier = 329, 1697 OpModuleProcessed = 330, 1698 OpExecutionModeId = 331, 1699 OpDecorateId = 332, 1700 OpGroupNonUniformElect = 333, 1701 OpGroupNonUniformAll = 334, 1702 OpGroupNonUniformAny = 335, 1703 OpGroupNonUniformAllEqual = 336, 1704 OpGroupNonUniformBroadcast = 337, 1705 OpGroupNonUniformBroadcastFirst = 338, 1706 OpGroupNonUniformBallot = 339, 1707 OpGroupNonUniformInverseBallot = 340, 1708 OpGroupNonUniformBallotBitExtract = 341, 1709 OpGroupNonUniformBallotBitCount = 342, 1710 OpGroupNonUniformBallotFindLSB = 343, 1711 OpGroupNonUniformBallotFindMSB = 344, 1712 OpGroupNonUniformShuffle = 345, 1713 OpGroupNonUniformShuffleXor = 346, 1714 OpGroupNonUniformShuffleUp = 347, 1715 OpGroupNonUniformShuffleDown = 348, 1716 OpGroupNonUniformIAdd = 349, 1717 OpGroupNonUniformFAdd = 350, 1718 OpGroupNonUniformIMul = 351, 1719 OpGroupNonUniformFMul = 352, 1720 OpGroupNonUniformSMin = 353, 1721 OpGroupNonUniformUMin = 354, 1722 OpGroupNonUniformFMin = 355, 1723 OpGroupNonUniformSMax = 356, 1724 OpGroupNonUniformUMax = 357, 1725 OpGroupNonUniformFMax = 358, 1726 OpGroupNonUniformBitwiseAnd = 359, 1727 OpGroupNonUniformBitwiseOr = 360, 1728 OpGroupNonUniformBitwiseXor = 361, 1729 OpGroupNonUniformLogicalAnd = 362, 1730 OpGroupNonUniformLogicalOr = 363, 1731 OpGroupNonUniformLogicalXor = 364, 1732 OpGroupNonUniformQuadBroadcast = 365, 1733 OpGroupNonUniformQuadSwap = 366, 1734 OpCopyLogical = 400, 1735 OpPtrEqual = 401, 1736 OpPtrNotEqual = 402, 1737 OpPtrDiff = 403, 1738 OpColorAttachmentReadEXT = 4160, 1739 OpDepthAttachmentReadEXT = 4161, 1740 OpStencilAttachmentReadEXT = 4162, 1741 OpTerminateInvocation = 4416, 1742 OpSubgroupBallotKHR = 4421, 1743 OpSubgroupFirstInvocationKHR = 4422, 1744 OpSubgroupAllKHR = 4428, 1745 OpSubgroupAnyKHR = 4429, 1746 OpSubgroupAllEqualKHR = 4430, 1747 OpGroupNonUniformRotateKHR = 4431, 1748 OpSubgroupReadInvocationKHR = 4432, 1749 OpTraceRayKHR = 4445, 1750 OpExecuteCallableKHR = 4446, 1751 OpConvertUToAccelerationStructureKHR = 4447, 1752 OpIgnoreIntersectionKHR = 4448, 1753 OpTerminateRayKHR = 4449, 1754 OpSDot = 4450, 1755 OpSDotKHR = 4450, 1756 OpUDot = 4451, 1757 OpUDotKHR = 4451, 1758 OpSUDot = 4452, 1759 OpSUDotKHR = 4452, 1760 OpSDotAccSat = 4453, 1761 OpSDotAccSatKHR = 4453, 1762 OpUDotAccSat = 4454, 1763 OpUDotAccSatKHR = 4454, 1764 OpSUDotAccSat = 4455, 1765 OpSUDotAccSatKHR = 4455, 1766 OpTypeCooperativeMatrixKHR = 4456, 1767 OpCooperativeMatrixLoadKHR = 4457, 1768 OpCooperativeMatrixStoreKHR = 4458, 1769 OpCooperativeMatrixMulAddKHR = 4459, 1770 OpCooperativeMatrixLengthKHR = 4460, 1771 OpTypeRayQueryKHR = 4472, 1772 OpRayQueryInitializeKHR = 4473, 1773 OpRayQueryTerminateKHR = 4474, 1774 OpRayQueryGenerateIntersectionKHR = 4475, 1775 OpRayQueryConfirmIntersectionKHR = 4476, 1776 OpRayQueryProceedKHR = 4477, 1777 OpRayQueryGetIntersectionTypeKHR = 4479, 1778 OpImageSampleWeightedQCOM = 4480, 1779 OpImageBoxFilterQCOM = 4481, 1780 OpImageBlockMatchSSDQCOM = 4482, 1781 OpImageBlockMatchSADQCOM = 4483, 1782 OpGroupIAddNonUniformAMD = 5000, 1783 OpGroupFAddNonUniformAMD = 5001, 1784 OpGroupFMinNonUniformAMD = 5002, 1785 OpGroupUMinNonUniformAMD = 5003, 1786 OpGroupSMinNonUniformAMD = 5004, 1787 OpGroupFMaxNonUniformAMD = 5005, 1788 OpGroupUMaxNonUniformAMD = 5006, 1789 OpGroupSMaxNonUniformAMD = 5007, 1790 OpFragmentMaskFetchAMD = 5011, 1791 OpFragmentFetchAMD = 5012, 1792 OpReadClockKHR = 5056, 1793 OpFinalizeNodePayloadsAMDX = 5075, 1794 OpFinishWritingNodePayloadAMDX = 5078, 1795 OpInitializeNodePayloadsAMDX = 5090, 1796 OpGroupNonUniformQuadAllKHR = 5110, 1797 OpGroupNonUniformQuadAnyKHR = 5111, 1798 OpHitObjectRecordHitMotionNV = 5249, 1799 OpHitObjectRecordHitWithIndexMotionNV = 5250, 1800 OpHitObjectRecordMissMotionNV = 5251, 1801 OpHitObjectGetWorldToObjectNV = 5252, 1802 OpHitObjectGetObjectToWorldNV = 5253, 1803 OpHitObjectGetObjectRayDirectionNV = 5254, 1804 OpHitObjectGetObjectRayOriginNV = 5255, 1805 OpHitObjectTraceRayMotionNV = 5256, 1806 OpHitObjectGetShaderRecordBufferHandleNV = 5257, 1807 OpHitObjectGetShaderBindingTableRecordIndexNV = 5258, 1808 OpHitObjectRecordEmptyNV = 5259, 1809 OpHitObjectTraceRayNV = 5260, 1810 OpHitObjectRecordHitNV = 5261, 1811 OpHitObjectRecordHitWithIndexNV = 5262, 1812 OpHitObjectRecordMissNV = 5263, 1813 OpHitObjectExecuteShaderNV = 5264, 1814 OpHitObjectGetCurrentTimeNV = 5265, 1815 OpHitObjectGetAttributesNV = 5266, 1816 OpHitObjectGetHitKindNV = 5267, 1817 OpHitObjectGetPrimitiveIndexNV = 5268, 1818 OpHitObjectGetGeometryIndexNV = 5269, 1819 OpHitObjectGetInstanceIdNV = 5270, 1820 OpHitObjectGetInstanceCustomIndexNV = 5271, 1821 OpHitObjectGetWorldRayDirectionNV = 5272, 1822 OpHitObjectGetWorldRayOriginNV = 5273, 1823 OpHitObjectGetRayTMaxNV = 5274, 1824 OpHitObjectGetRayTMinNV = 5275, 1825 OpHitObjectIsEmptyNV = 5276, 1826 OpHitObjectIsHitNV = 5277, 1827 OpHitObjectIsMissNV = 5278, 1828 OpReorderThreadWithHitObjectNV = 5279, 1829 OpReorderThreadWithHintNV = 5280, 1830 OpTypeHitObjectNV = 5281, 1831 OpImageSampleFootprintNV = 5283, 1832 OpEmitMeshTasksEXT = 5294, 1833 OpSetMeshOutputsEXT = 5295, 1834 OpGroupNonUniformPartitionNV = 5296, 1835 OpWritePackedPrimitiveIndices4x8NV = 5299, 1836 OpFetchMicroTriangleVertexPositionNV = 5300, 1837 OpFetchMicroTriangleVertexBarycentricNV = 5301, 1838 OpReportIntersectionKHR = 5334, 1839 OpReportIntersectionNV = 5334, 1840 OpIgnoreIntersectionNV = 5335, 1841 OpTerminateRayNV = 5336, 1842 OpTraceNV = 5337, 1843 OpTraceMotionNV = 5338, 1844 OpTraceRayMotionNV = 5339, 1845 OpRayQueryGetIntersectionTriangleVertexPositionsKHR = 5340, 1846 OpTypeAccelerationStructureKHR = 5341, 1847 OpTypeAccelerationStructureNV = 5341, 1848 OpExecuteCallableNV = 5344, 1849 OpTypeCooperativeMatrixNV = 5358, 1850 OpCooperativeMatrixLoadNV = 5359, 1851 OpCooperativeMatrixStoreNV = 5360, 1852 OpCooperativeMatrixMulAddNV = 5361, 1853 OpCooperativeMatrixLengthNV = 5362, 1854 OpBeginInvocationInterlockEXT = 5364, 1855 OpEndInvocationInterlockEXT = 5365, 1856 OpDemoteToHelperInvocation = 5380, 1857 OpDemoteToHelperInvocationEXT = 5380, 1858 OpIsHelperInvocationEXT = 5381, 1859 OpConvertUToImageNV = 5391, 1860 OpConvertUToSamplerNV = 5392, 1861 OpConvertImageToUNV = 5393, 1862 OpConvertSamplerToUNV = 5394, 1863 OpConvertUToSampledImageNV = 5395, 1864 OpConvertSampledImageToUNV = 5396, 1865 OpSamplerImageAddressingModeNV = 5397, 1866 OpSubgroupShuffleINTEL = 5571, 1867 OpSubgroupShuffleDownINTEL = 5572, 1868 OpSubgroupShuffleUpINTEL = 5573, 1869 OpSubgroupShuffleXorINTEL = 5574, 1870 OpSubgroupBlockReadINTEL = 5575, 1871 OpSubgroupBlockWriteINTEL = 5576, 1872 OpSubgroupImageBlockReadINTEL = 5577, 1873 OpSubgroupImageBlockWriteINTEL = 5578, 1874 OpSubgroupImageMediaBlockReadINTEL = 5580, 1875 OpSubgroupImageMediaBlockWriteINTEL = 5581, 1876 OpUCountLeadingZerosINTEL = 5585, 1877 OpUCountTrailingZerosINTEL = 5586, 1878 OpAbsISubINTEL = 5587, 1879 OpAbsUSubINTEL = 5588, 1880 OpIAddSatINTEL = 5589, 1881 OpUAddSatINTEL = 5590, 1882 OpIAverageINTEL = 5591, 1883 OpUAverageINTEL = 5592, 1884 OpIAverageRoundedINTEL = 5593, 1885 OpUAverageRoundedINTEL = 5594, 1886 OpISubSatINTEL = 5595, 1887 OpUSubSatINTEL = 5596, 1888 OpIMul32x16INTEL = 5597, 1889 OpUMul32x16INTEL = 5598, 1890 OpConstantFunctionPointerINTEL = 5600, 1891 OpFunctionPointerCallINTEL = 5601, 1892 OpAsmTargetINTEL = 5609, 1893 OpAsmINTEL = 5610, 1894 OpAsmCallINTEL = 5611, 1895 OpAtomicFMinEXT = 5614, 1896 OpAtomicFMaxEXT = 5615, 1897 OpAssumeTrueKHR = 5630, 1898 OpExpectKHR = 5631, 1899 OpDecorateString = 5632, 1900 OpDecorateStringGOOGLE = 5632, 1901 OpMemberDecorateString = 5633, 1902 OpMemberDecorateStringGOOGLE = 5633, 1903 OpVmeImageINTEL = 5699, 1904 OpTypeVmeImageINTEL = 5700, 1905 OpTypeAvcImePayloadINTEL = 5701, 1906 OpTypeAvcRefPayloadINTEL = 5702, 1907 OpTypeAvcSicPayloadINTEL = 5703, 1908 OpTypeAvcMcePayloadINTEL = 5704, 1909 OpTypeAvcMceResultINTEL = 5705, 1910 OpTypeAvcImeResultINTEL = 5706, 1911 OpTypeAvcImeResultSingleReferenceStreamoutINTEL = 5707, 1912 OpTypeAvcImeResultDualReferenceStreamoutINTEL = 5708, 1913 OpTypeAvcImeSingleReferenceStreaminINTEL = 5709, 1914 OpTypeAvcImeDualReferenceStreaminINTEL = 5710, 1915 OpTypeAvcRefResultINTEL = 5711, 1916 OpTypeAvcSicResultINTEL = 5712, 1917 OpSubgroupAvcMceGetDefaultInterBaseMultiReferencePenaltyINTEL = 5713, 1918 OpSubgroupAvcMceSetInterBaseMultiReferencePenaltyINTEL = 5714, 1919 OpSubgroupAvcMceGetDefaultInterShapePenaltyINTEL = 5715, 1920 OpSubgroupAvcMceSetInterShapePenaltyINTEL = 5716, 1921 OpSubgroupAvcMceGetDefaultInterDirectionPenaltyINTEL = 5717, 1922 OpSubgroupAvcMceSetInterDirectionPenaltyINTEL = 5718, 1923 OpSubgroupAvcMceGetDefaultIntraLumaShapePenaltyINTEL = 5719, 1924 OpSubgroupAvcMceGetDefaultInterMotionVectorCostTableINTEL = 5720, 1925 OpSubgroupAvcMceGetDefaultHighPenaltyCostTableINTEL = 5721, 1926 OpSubgroupAvcMceGetDefaultMediumPenaltyCostTableINTEL = 5722, 1927 OpSubgroupAvcMceGetDefaultLowPenaltyCostTableINTEL = 5723, 1928 OpSubgroupAvcMceSetMotionVectorCostFunctionINTEL = 5724, 1929 OpSubgroupAvcMceGetDefaultIntraLumaModePenaltyINTEL = 5725, 1930 OpSubgroupAvcMceGetDefaultNonDcLumaIntraPenaltyINTEL = 5726, 1931 OpSubgroupAvcMceGetDefaultIntraChromaModeBasePenaltyINTEL = 5727, 1932 OpSubgroupAvcMceSetAcOnlyHaarINTEL = 5728, 1933 OpSubgroupAvcMceSetSourceInterlacedFieldPolarityINTEL = 5729, 1934 OpSubgroupAvcMceSetSingleReferenceInterlacedFieldPolarityINTEL = 5730, 1935 OpSubgroupAvcMceSetDualReferenceInterlacedFieldPolaritiesINTEL = 5731, 1936 OpSubgroupAvcMceConvertToImePayloadINTEL = 5732, 1937 OpSubgroupAvcMceConvertToImeResultINTEL = 5733, 1938 OpSubgroupAvcMceConvertToRefPayloadINTEL = 5734, 1939 OpSubgroupAvcMceConvertToRefResultINTEL = 5735, 1940 OpSubgroupAvcMceConvertToSicPayloadINTEL = 5736, 1941 OpSubgroupAvcMceConvertToSicResultINTEL = 5737, 1942 OpSubgroupAvcMceGetMotionVectorsINTEL = 5738, 1943 OpSubgroupAvcMceGetInterDistortionsINTEL = 5739, 1944 OpSubgroupAvcMceGetBestInterDistortionsINTEL = 5740, 1945 OpSubgroupAvcMceGetInterMajorShapeINTEL = 5741, 1946 OpSubgroupAvcMceGetInterMinorShapeINTEL = 5742, 1947 OpSubgroupAvcMceGetInterDirectionsINTEL = 5743, 1948 OpSubgroupAvcMceGetInterMotionVectorCountINTEL = 5744, 1949 OpSubgroupAvcMceGetInterReferenceIdsINTEL = 5745, 1950 OpSubgroupAvcMceGetInterReferenceInterlacedFieldPolaritiesINTEL = 5746, 1951 OpSubgroupAvcImeInitializeINTEL = 5747, 1952 OpSubgroupAvcImeSetSingleReferenceINTEL = 5748, 1953 OpSubgroupAvcImeSetDualReferenceINTEL = 5749, 1954 OpSubgroupAvcImeRefWindowSizeINTEL = 5750, 1955 OpSubgroupAvcImeAdjustRefOffsetINTEL = 5751, 1956 OpSubgroupAvcImeConvertToMcePayloadINTEL = 5752, 1957 OpSubgroupAvcImeSetMaxMotionVectorCountINTEL = 5753, 1958 OpSubgroupAvcImeSetUnidirectionalMixDisableINTEL = 5754, 1959 OpSubgroupAvcImeSetEarlySearchTerminationThresholdINTEL = 5755, 1960 OpSubgroupAvcImeSetWeightedSadINTEL = 5756, 1961 OpSubgroupAvcImeEvaluateWithSingleReferenceINTEL = 5757, 1962 OpSubgroupAvcImeEvaluateWithDualReferenceINTEL = 5758, 1963 OpSubgroupAvcImeEvaluateWithSingleReferenceStreaminINTEL = 5759, 1964 OpSubgroupAvcImeEvaluateWithDualReferenceStreaminINTEL = 5760, 1965 OpSubgroupAvcImeEvaluateWithSingleReferenceStreamoutINTEL = 5761, 1966 OpSubgroupAvcImeEvaluateWithDualReferenceStreamoutINTEL = 5762, 1967 OpSubgroupAvcImeEvaluateWithSingleReferenceStreaminoutINTEL = 5763, 1968 OpSubgroupAvcImeEvaluateWithDualReferenceStreaminoutINTEL = 5764, 1969 OpSubgroupAvcImeConvertToMceResultINTEL = 5765, 1970 OpSubgroupAvcImeGetSingleReferenceStreaminINTEL = 5766, 1971 OpSubgroupAvcImeGetDualReferenceStreaminINTEL = 5767, 1972 OpSubgroupAvcImeStripSingleReferenceStreamoutINTEL = 5768, 1973 OpSubgroupAvcImeStripDualReferenceStreamoutINTEL = 5769, 1974 OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeMotionVectorsINTEL = 5770, 1975 OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeDistortionsINTEL = 5771, 1976 OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeReferenceIdsINTEL = 5772, 1977 OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeMotionVectorsINTEL = 5773, 1978 OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeDistortionsINTEL = 5774, 1979 OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeReferenceIdsINTEL = 5775, 1980 OpSubgroupAvcImeGetBorderReachedINTEL = 5776, 1981 OpSubgroupAvcImeGetTruncatedSearchIndicationINTEL = 5777, 1982 OpSubgroupAvcImeGetUnidirectionalEarlySearchTerminationINTEL = 5778, 1983 OpSubgroupAvcImeGetWeightingPatternMinimumMotionVectorINTEL = 5779, 1984 OpSubgroupAvcImeGetWeightingPatternMinimumDistortionINTEL = 5780, 1985 OpSubgroupAvcFmeInitializeINTEL = 5781, 1986 OpSubgroupAvcBmeInitializeINTEL = 5782, 1987 OpSubgroupAvcRefConvertToMcePayloadINTEL = 5783, 1988 OpSubgroupAvcRefSetBidirectionalMixDisableINTEL = 5784, 1989 OpSubgroupAvcRefSetBilinearFilterEnableINTEL = 5785, 1990 OpSubgroupAvcRefEvaluateWithSingleReferenceINTEL = 5786, 1991 OpSubgroupAvcRefEvaluateWithDualReferenceINTEL = 5787, 1992 OpSubgroupAvcRefEvaluateWithMultiReferenceINTEL = 5788, 1993 OpSubgroupAvcRefEvaluateWithMultiReferenceInterlacedINTEL = 5789, 1994 OpSubgroupAvcRefConvertToMceResultINTEL = 5790, 1995 OpSubgroupAvcSicInitializeINTEL = 5791, 1996 OpSubgroupAvcSicConfigureSkcINTEL = 5792, 1997 OpSubgroupAvcSicConfigureIpeLumaINTEL = 5793, 1998 OpSubgroupAvcSicConfigureIpeLumaChromaINTEL = 5794, 1999 OpSubgroupAvcSicGetMotionVectorMaskINTEL = 5795, 2000 OpSubgroupAvcSicConvertToMcePayloadINTEL = 5796, 2001 OpSubgroupAvcSicSetIntraLumaShapePenaltyINTEL = 5797, 2002 OpSubgroupAvcSicSetIntraLumaModeCostFunctionINTEL = 5798, 2003 OpSubgroupAvcSicSetIntraChromaModeCostFunctionINTEL = 5799, 2004 OpSubgroupAvcSicSetBilinearFilterEnableINTEL = 5800, 2005 OpSubgroupAvcSicSetSkcForwardTransformEnableINTEL = 5801, 2006 OpSubgroupAvcSicSetBlockBasedRawSkipSadINTEL = 5802, 2007 OpSubgroupAvcSicEvaluateIpeINTEL = 5803, 2008 OpSubgroupAvcSicEvaluateWithSingleReferenceINTEL = 5804, 2009 OpSubgroupAvcSicEvaluateWithDualReferenceINTEL = 5805, 2010 OpSubgroupAvcSicEvaluateWithMultiReferenceINTEL = 5806, 2011 OpSubgroupAvcSicEvaluateWithMultiReferenceInterlacedINTEL = 5807, 2012 OpSubgroupAvcSicConvertToMceResultINTEL = 5808, 2013 OpSubgroupAvcSicGetIpeLumaShapeINTEL = 5809, 2014 OpSubgroupAvcSicGetBestIpeLumaDistortionINTEL = 5810, 2015 OpSubgroupAvcSicGetBestIpeChromaDistortionINTEL = 5811, 2016 OpSubgroupAvcSicGetPackedIpeLumaModesINTEL = 5812, 2017 OpSubgroupAvcSicGetIpeChromaModeINTEL = 5813, 2018 OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL = 5814, 2019 OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL = 5815, 2020 OpSubgroupAvcSicGetInterRawSadsINTEL = 5816, 2021 OpVariableLengthArrayINTEL = 5818, 2022 OpSaveMemoryINTEL = 5819, 2023 OpRestoreMemoryINTEL = 5820, 2024 OpArbitraryFloatSinCosPiINTEL = 5840, 2025 OpArbitraryFloatCastINTEL = 5841, 2026 OpArbitraryFloatCastFromIntINTEL = 5842, 2027 OpArbitraryFloatCastToIntINTEL = 5843, 2028 OpArbitraryFloatAddINTEL = 5846, 2029 OpArbitraryFloatSubINTEL = 5847, 2030 OpArbitraryFloatMulINTEL = 5848, 2031 OpArbitraryFloatDivINTEL = 5849, 2032 OpArbitraryFloatGTINTEL = 5850, 2033 OpArbitraryFloatGEINTEL = 5851, 2034 OpArbitraryFloatLTINTEL = 5852, 2035 OpArbitraryFloatLEINTEL = 5853, 2036 OpArbitraryFloatEQINTEL = 5854, 2037 OpArbitraryFloatRecipINTEL = 5855, 2038 OpArbitraryFloatRSqrtINTEL = 5856, 2039 OpArbitraryFloatCbrtINTEL = 5857, 2040 OpArbitraryFloatHypotINTEL = 5858, 2041 OpArbitraryFloatSqrtINTEL = 5859, 2042 OpArbitraryFloatLogINTEL = 5860, 2043 OpArbitraryFloatLog2INTEL = 5861, 2044 OpArbitraryFloatLog10INTEL = 5862, 2045 OpArbitraryFloatLog1pINTEL = 5863, 2046 OpArbitraryFloatExpINTEL = 5864, 2047 OpArbitraryFloatExp2INTEL = 5865, 2048 OpArbitraryFloatExp10INTEL = 5866, 2049 OpArbitraryFloatExpm1INTEL = 5867, 2050 OpArbitraryFloatSinINTEL = 5868, 2051 OpArbitraryFloatCosINTEL = 5869, 2052 OpArbitraryFloatSinCosINTEL = 5870, 2053 OpArbitraryFloatSinPiINTEL = 5871, 2054 OpArbitraryFloatCosPiINTEL = 5872, 2055 OpArbitraryFloatASinINTEL = 5873, 2056 OpArbitraryFloatASinPiINTEL = 5874, 2057 OpArbitraryFloatACosINTEL = 5875, 2058 OpArbitraryFloatACosPiINTEL = 5876, 2059 OpArbitraryFloatATanINTEL = 5877, 2060 OpArbitraryFloatATanPiINTEL = 5878, 2061 OpArbitraryFloatATan2INTEL = 5879, 2062 OpArbitraryFloatPowINTEL = 5880, 2063 OpArbitraryFloatPowRINTEL = 5881, 2064 OpArbitraryFloatPowNINTEL = 5882, 2065 OpLoopControlINTEL = 5887, 2066 OpAliasDomainDeclINTEL = 5911, 2067 OpAliasScopeDeclINTEL = 5912, 2068 OpAliasScopeListDeclINTEL = 5913, 2069 OpFixedSqrtINTEL = 5923, 2070 OpFixedRecipINTEL = 5924, 2071 OpFixedRsqrtINTEL = 5925, 2072 OpFixedSinINTEL = 5926, 2073 OpFixedCosINTEL = 5927, 2074 OpFixedSinCosINTEL = 5928, 2075 OpFixedSinPiINTEL = 5929, 2076 OpFixedCosPiINTEL = 5930, 2077 OpFixedSinCosPiINTEL = 5931, 2078 OpFixedLogINTEL = 5932, 2079 OpFixedExpINTEL = 5933, 2080 OpPtrCastToCrossWorkgroupINTEL = 5934, 2081 OpCrossWorkgroupCastToPtrINTEL = 5938, 2082 OpReadPipeBlockingINTEL = 5946, 2083 OpWritePipeBlockingINTEL = 5947, 2084 OpFPGARegINTEL = 5949, 2085 OpRayQueryGetRayTMinKHR = 6016, 2086 OpRayQueryGetRayFlagsKHR = 6017, 2087 OpRayQueryGetIntersectionTKHR = 6018, 2088 OpRayQueryGetIntersectionInstanceCustomIndexKHR = 6019, 2089 OpRayQueryGetIntersectionInstanceIdKHR = 6020, 2090 OpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR = 6021, 2091 OpRayQueryGetIntersectionGeometryIndexKHR = 6022, 2092 OpRayQueryGetIntersectionPrimitiveIndexKHR = 6023, 2093 OpRayQueryGetIntersectionBarycentricsKHR = 6024, 2094 OpRayQueryGetIntersectionFrontFaceKHR = 6025, 2095 OpRayQueryGetIntersectionCandidateAABBOpaqueKHR = 6026, 2096 OpRayQueryGetIntersectionObjectRayDirectionKHR = 6027, 2097 OpRayQueryGetIntersectionObjectRayOriginKHR = 6028, 2098 OpRayQueryGetWorldRayDirectionKHR = 6029, 2099 OpRayQueryGetWorldRayOriginKHR = 6030, 2100 OpRayQueryGetIntersectionObjectToWorldKHR = 6031, 2101 OpRayQueryGetIntersectionWorldToObjectKHR = 6032, 2102 OpAtomicFAddEXT = 6035, 2103 OpTypeBufferSurfaceINTEL = 6086, 2104 OpTypeStructContinuedINTEL = 6090, 2105 OpConstantCompositeContinuedINTEL = 6091, 2106 OpSpecConstantCompositeContinuedINTEL = 6092, 2107 OpCompositeConstructContinuedINTEL = 6096, 2108 OpConvertFToBF16INTEL = 6116, 2109 OpConvertBF16ToFINTEL = 6117, 2110 OpControlBarrierArriveINTEL = 6142, 2111 OpControlBarrierWaitINTEL = 6143, 2112 OpGroupIMulKHR = 6401, 2113 OpGroupFMulKHR = 6402, 2114 OpGroupBitwiseAndKHR = 6403, 2115 OpGroupBitwiseOrKHR = 6404, 2116 OpGroupBitwiseXorKHR = 6405, 2117 OpGroupLogicalAndKHR = 6406, 2118 OpGroupLogicalOrKHR = 6407, 2119 OpGroupLogicalXorKHR = 6408, 2120 OpMaskedGatherINTEL = 6428, 2121 OpMaskedScatterINTEL = 6429, 2122 Max = 0x7fffffff, 2123}; 2124 2125#ifdef SPV_ENABLE_UTILITY_CODE 2126#ifndef __cplusplus 2127#include <stdbool.h> 2128#endif 2129inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) { 2130 *hasResult = *hasResultType = false; 2131 switch (opcode) { 2132 default: /* unknown opcode */ break; 2133 case Op::OpNop: *hasResult = false; *hasResultType = false; break; 2134 case Op::OpUndef: *hasResult = true; *hasResultType = true; break; 2135 case Op::OpSourceContinued: *hasResult = false; *hasResultType = false; break; 2136 case Op::OpSource: *hasResult = false; *hasResultType = false; break; 2137 case Op::OpSourceExtension: *hasResult = false; *hasResultType = false; break; 2138 case Op::OpName: *hasResult = false; *hasResultType = false; break; 2139 case Op::OpMemberName: *hasResult = false; *hasResultType = false; break; 2140 case Op::OpString: *hasResult = true; *hasResultType = false; break; 2141 case Op::OpLine: *hasResult = false; *hasResultType = false; break; 2142 case Op::OpExtension: *hasResult = false; *hasResultType = false; break; 2143 case Op::OpExtInstImport: *hasResult = true; *hasResultType = false; break; 2144 case Op::OpExtInst: *hasResult = true; *hasResultType = true; break; 2145 case Op::OpMemoryModel: *hasResult = false; *hasResultType = false; break; 2146 case Op::OpEntryPoint: *hasResult = false; *hasResultType = false; break; 2147 case Op::OpExecutionMode: *hasResult = false; *hasResultType = false; break; 2148 case Op::OpCapability: *hasResult = false; *hasResultType = false; break; 2149 case Op::OpTypeVoid: *hasResult = true; *hasResultType = false; break; 2150 case Op::OpTypeBool: *hasResult = true; *hasResultType = false; break; 2151 case Op::OpTypeInt: *hasResult = true; *hasResultType = false; break; 2152 case Op::OpTypeFloat: *hasResult = true; *hasResultType = false; break; 2153 case Op::OpTypeVector: *hasResult = true; *hasResultType = false; break; 2154 case Op::OpTypeMatrix: *hasResult = true; *hasResultType = false; break; 2155 case Op::OpTypeImage: *hasResult = true; *hasResultType = false; break; 2156 case Op::OpTypeSampler: *hasResult = true; *hasResultType = false; break; 2157 case Op::OpTypeSampledImage: *hasResult = true; *hasResultType = false; break; 2158 case Op::OpTypeArray: *hasResult = true; *hasResultType = false; break; 2159 case Op::OpTypeRuntimeArray: *hasResult = true; *hasResultType = false; break; 2160 case Op::OpTypeStruct: *hasResult = true; *hasResultType = false; break; 2161 case Op::OpTypeOpaque: *hasResult = true; *hasResultType = false; break; 2162 case Op::OpTypePointer: *hasResult = true; *hasResultType = false; break; 2163 case Op::OpTypeFunction: *hasResult = true; *hasResultType = false; break; 2164 case Op::OpTypeEvent: *hasResult = true; *hasResultType = false; break; 2165 case Op::OpTypeDeviceEvent: *hasResult = true; *hasResultType = false; break; 2166 case Op::OpTypeReserveId: *hasResult = true; *hasResultType = false; break; 2167 case Op::OpTypeQueue: *hasResult = true; *hasResultType = false; break; 2168 case Op::OpTypePipe: *hasResult = true; *hasResultType = false; break; 2169 case Op::OpTypeForwardPointer: *hasResult = false; *hasResultType = false; break; 2170 case Op::OpConstantTrue: *hasResult = true; *hasResultType = true; break; 2171 case Op::OpConstantFalse: *hasResult = true; *hasResultType = true; break; 2172 case Op::OpConstant: *hasResult = true; *hasResultType = true; break; 2173 case Op::OpConstantComposite: *hasResult = true; *hasResultType = true; break; 2174 case Op::OpConstantSampler: *hasResult = true; *hasResultType = true; break; 2175 case Op::OpConstantNull: *hasResult = true; *hasResultType = true; break; 2176 case Op::OpSpecConstantTrue: *hasResult = true; *hasResultType = true; break; 2177 case Op::OpSpecConstantFalse: *hasResult = true; *hasResultType = true; break; 2178 case Op::OpSpecConstant: *hasResult = true; *hasResultType = true; break; 2179 case Op::OpSpecConstantComposite: *hasResult = true; *hasResultType = true; break; 2180 case Op::OpSpecConstantOp: *hasResult = true; *hasResultType = true; break; 2181 case Op::OpFunction: *hasResult = true; *hasResultType = true; break; 2182 case Op::OpFunctionParameter: *hasResult = true; *hasResultType = true; break; 2183 case Op::OpFunctionEnd: *hasResult = false; *hasResultType = false; break; 2184 case Op::OpFunctionCall: *hasResult = true; *hasResultType = true; break; 2185 case Op::OpVariable: *hasResult = true; *hasResultType = true; break; 2186 case Op::OpImageTexelPointer: *hasResult = true; *hasResultType = true; break; 2187 case Op::OpLoad: *hasResult = true; *hasResultType = true; break; 2188 case Op::OpStore: *hasResult = false; *hasResultType = false; break; 2189 case Op::OpCopyMemory: *hasResult = false; *hasResultType = false; break; 2190 case Op::OpCopyMemorySized: *hasResult = false; *hasResultType = false; break; 2191 case Op::OpAccessChain: *hasResult = true; *hasResultType = true; break; 2192 case Op::OpInBoundsAccessChain: *hasResult = true; *hasResultType = true; break; 2193 case Op::OpPtrAccessChain: *hasResult = true; *hasResultType = true; break; 2194 case Op::OpArrayLength: *hasResult = true; *hasResultType = true; break; 2195 case Op::OpGenericPtrMemSemantics: *hasResult = true; *hasResultType = true; break; 2196 case Op::OpInBoundsPtrAccessChain: *hasResult = true; *hasResultType = true; break; 2197 case Op::OpDecorate: *hasResult = false; *hasResultType = false; break; 2198 case Op::OpMemberDecorate: *hasResult = false; *hasResultType = false; break; 2199 case Op::OpDecorationGroup: *hasResult = true; *hasResultType = false; break; 2200 case Op::OpGroupDecorate: *hasResult = false; *hasResultType = false; break; 2201 case Op::OpGroupMemberDecorate: *hasResult = false; *hasResultType = false; break; 2202 case Op::OpVectorExtractDynamic: *hasResult = true; *hasResultType = true; break; 2203 case Op::OpVectorInsertDynamic: *hasResult = true; *hasResultType = true; break; 2204 case Op::OpVectorShuffle: *hasResult = true; *hasResultType = true; break; 2205 case Op::OpCompositeConstruct: *hasResult = true; *hasResultType = true; break; 2206 case Op::OpCompositeExtract: *hasResult = true; *hasResultType = true; break; 2207 case Op::OpCompositeInsert: *hasResult = true; *hasResultType = true; break; 2208 case Op::OpCopyObject: *hasResult = true; *hasResultType = true; break; 2209 case Op::OpTranspose: *hasResult = true; *hasResultType = true; break; 2210 case Op::OpSampledImage: *hasResult = true; *hasResultType = true; break; 2211 case Op::OpImageSampleImplicitLod: *hasResult = true; *hasResultType = true; break; 2212 case Op::OpImageSampleExplicitLod: *hasResult = true; *hasResultType = true; break; 2213 case Op::OpImageSampleDrefImplicitLod: *hasResult = true; *hasResultType = true; break; 2214 case Op::OpImageSampleDrefExplicitLod: *hasResult = true; *hasResultType = true; break; 2215 case Op::OpImageSampleProjImplicitLod: *hasResult = true; *hasResultType = true; break; 2216 case Op::OpImageSampleProjExplicitLod: *hasResult = true; *hasResultType = true; break; 2217 case Op::OpImageSampleProjDrefImplicitLod: *hasResult = true; *hasResultType = true; break; 2218 case Op::OpImageSampleProjDrefExplicitLod: *hasResult = true; *hasResultType = true; break; 2219 case Op::OpImageFetch: *hasResult = true; *hasResultType = true; break; 2220 case Op::OpImageGather: *hasResult = true; *hasResultType = true; break; 2221 case Op::OpImageDrefGather: *hasResult = true; *hasResultType = true; break; 2222 case Op::OpImageRead: *hasResult = true; *hasResultType = true; break; 2223 case Op::OpImageWrite: *hasResult = false; *hasResultType = false; break; 2224 case Op::OpImage: *hasResult = true; *hasResultType = true; break; 2225 case Op::OpImageQueryFormat: *hasResult = true; *hasResultType = true; break; 2226 case Op::OpImageQueryOrder: *hasResult = true; *hasResultType = true; break; 2227 case Op::OpImageQuerySizeLod: *hasResult = true; *hasResultType = true; break; 2228 case Op::OpImageQuerySize: *hasResult = true; *hasResultType = true; break; 2229 case Op::OpImageQueryLod: *hasResult = true; *hasResultType = true; break; 2230 case Op::OpImageQueryLevels: *hasResult = true; *hasResultType = true; break; 2231 case Op::OpImageQuerySamples: *hasResult = true; *hasResultType = true; break; 2232 case Op::OpConvertFToU: *hasResult = true; *hasResultType = true; break; 2233 case Op::OpConvertFToS: *hasResult = true; *hasResultType = true; break; 2234 case Op::OpConvertSToF: *hasResult = true; *hasResultType = true; break; 2235 case Op::OpConvertUToF: *hasResult = true; *hasResultType = true; break; 2236 case Op::OpUConvert: *hasResult = true; *hasResultType = true; break; 2237 case Op::OpSConvert: *hasResult = true; *hasResultType = true; break; 2238 case Op::OpFConvert: *hasResult = true; *hasResultType = true; break; 2239 case Op::OpQuantizeToF16: *hasResult = true; *hasResultType = true; break; 2240 case Op::OpConvertPtrToU: *hasResult = true; *hasResultType = true; break; 2241 case Op::OpSatConvertSToU: *hasResult = true; *hasResultType = true; break; 2242 case Op::OpSatConvertUToS: *hasResult = true; *hasResultType = true; break; 2243 case Op::OpConvertUToPtr: *hasResult = true; *hasResultType = true; break; 2244 case Op::OpPtrCastToGeneric: *hasResult = true; *hasResultType = true; break; 2245 case Op::OpGenericCastToPtr: *hasResult = true; *hasResultType = true; break; 2246 case Op::OpGenericCastToPtrExplicit: *hasResult = true; *hasResultType = true; break; 2247 case Op::OpBitcast: *hasResult = true; *hasResultType = true; break; 2248 case Op::OpSNegate: *hasResult = true; *hasResultType = true; break; 2249 case Op::OpFNegate: *hasResult = true; *hasResultType = true; break; 2250 case Op::OpIAdd: *hasResult = true; *hasResultType = true; break; 2251 case Op::OpFAdd: *hasResult = true; *hasResultType = true; break; 2252 case Op::OpISub: *hasResult = true; *hasResultType = true; break; 2253 case Op::OpFSub: *hasResult = true; *hasResultType = true; break; 2254 case Op::OpIMul: *hasResult = true; *hasResultType = true; break; 2255 case Op::OpFMul: *hasResult = true; *hasResultType = true; break; 2256 case Op::OpUDiv: *hasResult = true; *hasResultType = true; break; 2257 case Op::OpSDiv: *hasResult = true; *hasResultType = true; break; 2258 case Op::OpFDiv: *hasResult = true; *hasResultType = true; break; 2259 case Op::OpUMod: *hasResult = true; *hasResultType = true; break; 2260 case Op::OpSRem: *hasResult = true; *hasResultType = true; break; 2261 case Op::OpSMod: *hasResult = true; *hasResultType = true; break; 2262 case Op::OpFRem: *hasResult = true; *hasResultType = true; break; 2263 case Op::OpFMod: *hasResult = true; *hasResultType = true; break; 2264 case Op::OpVectorTimesScalar: *hasResult = true; *hasResultType = true; break; 2265 case Op::OpMatrixTimesScalar: *hasResult = true; *hasResultType = true; break; 2266 case Op::OpVectorTimesMatrix: *hasResult = true; *hasResultType = true; break; 2267 case Op::OpMatrixTimesVector: *hasResult = true; *hasResultType = true; break; 2268 case Op::OpMatrixTimesMatrix: *hasResult = true; *hasResultType = true; break; 2269 case Op::OpOuterProduct: *hasResult = true; *hasResultType = true; break; 2270 case Op::OpDot: *hasResult = true; *hasResultType = true; break; 2271 case Op::OpIAddCarry: *hasResult = true; *hasResultType = true; break; 2272 case Op::OpISubBorrow: *hasResult = true; *hasResultType = true; break; 2273 case Op::OpUMulExtended: *hasResult = true; *hasResultType = true; break; 2274 case Op::OpSMulExtended: *hasResult = true; *hasResultType = true; break; 2275 case Op::OpAny: *hasResult = true; *hasResultType = true; break; 2276 case Op::OpAll: *hasResult = true; *hasResultType = true; break; 2277 case Op::OpIsNan: *hasResult = true; *hasResultType = true; break; 2278 case Op::OpIsInf: *hasResult = true; *hasResultType = true; break; 2279 case Op::OpIsFinite: *hasResult = true; *hasResultType = true; break; 2280 case Op::OpIsNormal: *hasResult = true; *hasResultType = true; break; 2281 case Op::OpSignBitSet: *hasResult = true; *hasResultType = true; break; 2282 case Op::OpLessOrGreater: *hasResult = true; *hasResultType = true; break; 2283 case Op::OpOrdered: *hasResult = true; *hasResultType = true; break; 2284 case Op::OpUnordered: *hasResult = true; *hasResultType = true; break; 2285 case Op::OpLogicalEqual: *hasResult = true; *hasResultType = true; break; 2286 case Op::OpLogicalNotEqual: *hasResult = true; *hasResultType = true; break; 2287 case Op::OpLogicalOr: *hasResult = true; *hasResultType = true; break; 2288 case Op::OpLogicalAnd: *hasResult = true; *hasResultType = true; break; 2289 case Op::OpLogicalNot: *hasResult = true; *hasResultType = true; break; 2290 case Op::OpSelect: *hasResult = true; *hasResultType = true; break; 2291 case Op::OpIEqual: *hasResult = true; *hasResultType = true; break; 2292 case Op::OpINotEqual: *hasResult = true; *hasResultType = true; break; 2293 case Op::OpUGreaterThan: *hasResult = true; *hasResultType = true; break; 2294 case Op::OpSGreaterThan: *hasResult = true; *hasResultType = true; break; 2295 case Op::OpUGreaterThanEqual: *hasResult = true; *hasResultType = true; break; 2296 case Op::OpSGreaterThanEqual: *hasResult = true; *hasResultType = true; break; 2297 case Op::OpULessThan: *hasResult = true; *hasResultType = true; break; 2298 case Op::OpSLessThan: *hasResult = true; *hasResultType = true; break; 2299 case Op::OpULessThanEqual: *hasResult = true; *hasResultType = true; break; 2300 case Op::OpSLessThanEqual: *hasResult = true; *hasResultType = true; break; 2301 case Op::OpFOrdEqual: *hasResult = true; *hasResultType = true; break; 2302 case Op::OpFUnordEqual: *hasResult = true; *hasResultType = true; break; 2303 case Op::OpFOrdNotEqual: *hasResult = true; *hasResultType = true; break; 2304 case Op::OpFUnordNotEqual: *hasResult = true; *hasResultType = true; break; 2305 case Op::OpFOrdLessThan: *hasResult = true; *hasResultType = true; break; 2306 case Op::OpFUnordLessThan: *hasResult = true; *hasResultType = true; break; 2307 case Op::OpFOrdGreaterThan: *hasResult = true; *hasResultType = true; break; 2308 case Op::OpFUnordGreaterThan: *hasResult = true; *hasResultType = true; break; 2309 case Op::OpFOrdLessThanEqual: *hasResult = true; *hasResultType = true; break; 2310 case Op::OpFUnordLessThanEqual: *hasResult = true; *hasResultType = true; break; 2311 case Op::OpFOrdGreaterThanEqual: *hasResult = true; *hasResultType = true; break; 2312 case Op::OpFUnordGreaterThanEqual: *hasResult = true; *hasResultType = true; break; 2313 case Op::OpShiftRightLogical: *hasResult = true; *hasResultType = true; break; 2314 case Op::OpShiftRightArithmetic: *hasResult = true; *hasResultType = true; break; 2315 case Op::OpShiftLeftLogical: *hasResult = true; *hasResultType = true; break; 2316 case Op::OpBitwiseOr: *hasResult = true; *hasResultType = true; break; 2317 case Op::OpBitwiseXor: *hasResult = true; *hasResultType = true; break; 2318 case Op::OpBitwiseAnd: *hasResult = true; *hasResultType = true; break; 2319 case Op::OpNot: *hasResult = true; *hasResultType = true; break; 2320 case Op::OpBitFieldInsert: *hasResult = true; *hasResultType = true; break; 2321 case Op::OpBitFieldSExtract: *hasResult = true; *hasResultType = true; break; 2322 case Op::OpBitFieldUExtract: *hasResult = true; *hasResultType = true; break; 2323 case Op::OpBitReverse: *hasResult = true; *hasResultType = true; break; 2324 case Op::OpBitCount: *hasResult = true; *hasResultType = true; break; 2325 case Op::OpDPdx: *hasResult = true; *hasResultType = true; break; 2326 case Op::OpDPdy: *hasResult = true; *hasResultType = true; break; 2327 case Op::OpFwidth: *hasResult = true; *hasResultType = true; break; 2328 case Op::OpDPdxFine: *hasResult = true; *hasResultType = true; break; 2329 case Op::OpDPdyFine: *hasResult = true; *hasResultType = true; break; 2330 case Op::OpFwidthFine: *hasResult = true; *hasResultType = true; break; 2331 case Op::OpDPdxCoarse: *hasResult = true; *hasResultType = true; break; 2332 case Op::OpDPdyCoarse: *hasResult = true; *hasResultType = true; break; 2333 case Op::OpFwidthCoarse: *hasResult = true; *hasResultType = true; break; 2334 case Op::OpEmitVertex: *hasResult = false; *hasResultType = false; break; 2335 case Op::OpEndPrimitive: *hasResult = false; *hasResultType = false; break; 2336 case Op::OpEmitStreamVertex: *hasResult = false; *hasResultType = false; break; 2337 case Op::OpEndStreamPrimitive: *hasResult = false; *hasResultType = false; break; 2338 case Op::OpControlBarrier: *hasResult = false; *hasResultType = false; break; 2339 case Op::OpMemoryBarrier: *hasResult = false; *hasResultType = false; break; 2340 case Op::OpAtomicLoad: *hasResult = true; *hasResultType = true; break; 2341 case Op::OpAtomicStore: *hasResult = false; *hasResultType = false; break; 2342 case Op::OpAtomicExchange: *hasResult = true; *hasResultType = true; break; 2343 case Op::OpAtomicCompareExchange: *hasResult = true; *hasResultType = true; break; 2344 case Op::OpAtomicCompareExchangeWeak: *hasResult = true; *hasResultType = true; break; 2345 case Op::OpAtomicIIncrement: *hasResult = true; *hasResultType = true; break; 2346 case Op::OpAtomicIDecrement: *hasResult = true; *hasResultType = true; break; 2347 case Op::OpAtomicIAdd: *hasResult = true; *hasResultType = true; break; 2348 case Op::OpAtomicISub: *hasResult = true; *hasResultType = true; break; 2349 case Op::OpAtomicSMin: *hasResult = true; *hasResultType = true; break; 2350 case Op::OpAtomicUMin: *hasResult = true; *hasResultType = true; break; 2351 case Op::OpAtomicSMax: *hasResult = true; *hasResultType = true; break; 2352 case Op::OpAtomicUMax: *hasResult = true; *hasResultType = true; break; 2353 case Op::OpAtomicAnd: *hasResult = true; *hasResultType = true; break; 2354 case Op::OpAtomicOr: *hasResult = true; *hasResultType = true; break; 2355 case Op::OpAtomicXor: *hasResult = true; *hasResultType = true; break; 2356 case Op::OpPhi: *hasResult = true; *hasResultType = true; break; 2357 case Op::OpLoopMerge: *hasResult = false; *hasResultType = false; break; 2358 case Op::OpSelectionMerge: *hasResult = false; *hasResultType = false; break; 2359 case Op::OpLabel: *hasResult = true; *hasResultType = false; break; 2360 case Op::OpBranch: *hasResult = false; *hasResultType = false; break; 2361 case Op::OpBranchConditional: *hasResult = false; *hasResultType = false; break; 2362 case Op::OpSwitch: *hasResult = false; *hasResultType = false; break; 2363 case Op::OpKill: *hasResult = false; *hasResultType = false; break; 2364 case Op::OpReturn: *hasResult = false; *hasResultType = false; break; 2365 case Op::OpReturnValue: *hasResult = false; *hasResultType = false; break; 2366 case Op::OpUnreachable: *hasResult = false; *hasResultType = false; break; 2367 case Op::OpLifetimeStart: *hasResult = false; *hasResultType = false; break; 2368 case Op::OpLifetimeStop: *hasResult = false; *hasResultType = false; break; 2369 case Op::OpGroupAsyncCopy: *hasResult = true; *hasResultType = true; break; 2370 case Op::OpGroupWaitEvents: *hasResult = false; *hasResultType = false; break; 2371 case Op::OpGroupAll: *hasResult = true; *hasResultType = true; break; 2372 case Op::OpGroupAny: *hasResult = true; *hasResultType = true; break; 2373 case Op::OpGroupBroadcast: *hasResult = true; *hasResultType = true; break; 2374 case Op::OpGroupIAdd: *hasResult = true; *hasResultType = true; break; 2375 case Op::OpGroupFAdd: *hasResult = true; *hasResultType = true; break; 2376 case Op::OpGroupFMin: *hasResult = true; *hasResultType = true; break; 2377 case Op::OpGroupUMin: *hasResult = true; *hasResultType = true; break; 2378 case Op::OpGroupSMin: *hasResult = true; *hasResultType = true; break; 2379 case Op::OpGroupFMax: *hasResult = true; *hasResultType = true; break; 2380 case Op::OpGroupUMax: *hasResult = true; *hasResultType = true; break; 2381 case Op::OpGroupSMax: *hasResult = true; *hasResultType = true; break; 2382 case Op::OpReadPipe: *hasResult = true; *hasResultType = true; break; 2383 case Op::OpWritePipe: *hasResult = true; *hasResultType = true; break; 2384 case Op::OpReservedReadPipe: *hasResult = true; *hasResultType = true; break; 2385 case Op::OpReservedWritePipe: *hasResult = true; *hasResultType = true; break; 2386 case Op::OpReserveReadPipePackets: *hasResult = true; *hasResultType = true; break; 2387 case Op::OpReserveWritePipePackets: *hasResult = true; *hasResultType = true; break; 2388 case Op::OpCommitReadPipe: *hasResult = false; *hasResultType = false; break; 2389 case Op::OpCommitWritePipe: *hasResult = false; *hasResultType = false; break; 2390 case Op::OpIsValidReserveId: *hasResult = true; *hasResultType = true; break; 2391 case Op::OpGetNumPipePackets: *hasResult = true; *hasResultType = true; break; 2392 case Op::OpGetMaxPipePackets: *hasResult = true; *hasResultType = true; break; 2393 case Op::OpGroupReserveReadPipePackets: *hasResult = true; *hasResultType = true; break; 2394 case Op::OpGroupReserveWritePipePackets: *hasResult = true; *hasResultType = true; break; 2395 case Op::OpGroupCommitReadPipe: *hasResult = false; *hasResultType = false; break; 2396 case Op::OpGroupCommitWritePipe: *hasResult = false; *hasResultType = false; break; 2397 case Op::OpEnqueueMarker: *hasResult = true; *hasResultType = true; break; 2398 case Op::OpEnqueueKernel: *hasResult = true; *hasResultType = true; break; 2399 case Op::OpGetKernelNDrangeSubGroupCount: *hasResult = true; *hasResultType = true; break; 2400 case Op::OpGetKernelNDrangeMaxSubGroupSize: *hasResult = true; *hasResultType = true; break; 2401 case Op::OpGetKernelWorkGroupSize: *hasResult = true; *hasResultType = true; break; 2402 case Op::OpGetKernelPreferredWorkGroupSizeMultiple: *hasResult = true; *hasResultType = true; break; 2403 case Op::OpRetainEvent: *hasResult = false; *hasResultType = false; break; 2404 case Op::OpReleaseEvent: *hasResult = false; *hasResultType = false; break; 2405 case Op::OpCreateUserEvent: *hasResult = true; *hasResultType = true; break; 2406 case Op::OpIsValidEvent: *hasResult = true; *hasResultType = true; break; 2407 case Op::OpSetUserEventStatus: *hasResult = false; *hasResultType = false; break; 2408 case Op::OpCaptureEventProfilingInfo: *hasResult = false; *hasResultType = false; break; 2409 case Op::OpGetDefaultQueue: *hasResult = true; *hasResultType = true; break; 2410 case Op::OpBuildNDRange: *hasResult = true; *hasResultType = true; break; 2411 case Op::OpImageSparseSampleImplicitLod: *hasResult = true; *hasResultType = true; break; 2412 case Op::OpImageSparseSampleExplicitLod: *hasResult = true; *hasResultType = true; break; 2413 case Op::OpImageSparseSampleDrefImplicitLod: *hasResult = true; *hasResultType = true; break; 2414 case Op::OpImageSparseSampleDrefExplicitLod: *hasResult = true; *hasResultType = true; break; 2415 case Op::OpImageSparseSampleProjImplicitLod: *hasResult = true; *hasResultType = true; break; 2416 case Op::OpImageSparseSampleProjExplicitLod: *hasResult = true; *hasResultType = true; break; 2417 case Op::OpImageSparseSampleProjDrefImplicitLod: *hasResult = true; *hasResultType = true; break; 2418 case Op::OpImageSparseSampleProjDrefExplicitLod: *hasResult = true; *hasResultType = true; break; 2419 case Op::OpImageSparseFetch: *hasResult = true; *hasResultType = true; break; 2420 case Op::OpImageSparseGather: *hasResult = true; *hasResultType = true; break; 2421 case Op::OpImageSparseDrefGather: *hasResult = true; *hasResultType = true; break; 2422 case Op::OpImageSparseTexelsResident: *hasResult = true; *hasResultType = true; break; 2423 case Op::OpNoLine: *hasResult = false; *hasResultType = false; break; 2424 case Op::OpAtomicFlagTestAndSet: *hasResult = true; *hasResultType = true; break; 2425 case Op::OpAtomicFlagClear: *hasResult = false; *hasResultType = false; break; 2426 case Op::OpImageSparseRead: *hasResult = true; *hasResultType = true; break; 2427 case Op::OpSizeOf: *hasResult = true; *hasResultType = true; break; 2428 case Op::OpTypePipeStorage: *hasResult = true; *hasResultType = false; break; 2429 case Op::OpConstantPipeStorage: *hasResult = true; *hasResultType = true; break; 2430 case Op::OpCreatePipeFromPipeStorage: *hasResult = true; *hasResultType = true; break; 2431 case Op::OpGetKernelLocalSizeForSubgroupCount: *hasResult = true; *hasResultType = true; break; 2432 case Op::OpGetKernelMaxNumSubgroups: *hasResult = true; *hasResultType = true; break; 2433 case Op::OpTypeNamedBarrier: *hasResult = true; *hasResultType = false; break; 2434 case Op::OpNamedBarrierInitialize: *hasResult = true; *hasResultType = true; break; 2435 case Op::OpMemoryNamedBarrier: *hasResult = false; *hasResultType = false; break; 2436 case Op::OpModuleProcessed: *hasResult = false; *hasResultType = false; break; 2437 case Op::OpExecutionModeId: *hasResult = false; *hasResultType = false; break; 2438 case Op::OpDecorateId: *hasResult = false; *hasResultType = false; break; 2439 case Op::OpGroupNonUniformElect: *hasResult = true; *hasResultType = true; break; 2440 case Op::OpGroupNonUniformAll: *hasResult = true; *hasResultType = true; break; 2441 case Op::OpGroupNonUniformAny: *hasResult = true; *hasResultType = true; break; 2442 case Op::OpGroupNonUniformAllEqual: *hasResult = true; *hasResultType = true; break; 2443 case Op::OpGroupNonUniformBroadcast: *hasResult = true; *hasResultType = true; break; 2444 case Op::OpGroupNonUniformBroadcastFirst: *hasResult = true; *hasResultType = true; break; 2445 case Op::OpGroupNonUniformBallot: *hasResult = true; *hasResultType = true; break; 2446 case Op::OpGroupNonUniformInverseBallot: *hasResult = true; *hasResultType = true; break; 2447 case Op::OpGroupNonUniformBallotBitExtract: *hasResult = true; *hasResultType = true; break; 2448 case Op::OpGroupNonUniformBallotBitCount: *hasResult = true; *hasResultType = true; break; 2449 case Op::OpGroupNonUniformBallotFindLSB: *hasResult = true; *hasResultType = true; break; 2450 case Op::OpGroupNonUniformBallotFindMSB: *hasResult = true; *hasResultType = true; break; 2451 case Op::OpGroupNonUniformShuffle: *hasResult = true; *hasResultType = true; break; 2452 case Op::OpGroupNonUniformShuffleXor: *hasResult = true; *hasResultType = true; break; 2453 case Op::OpGroupNonUniformShuffleUp: *hasResult = true; *hasResultType = true; break; 2454 case Op::OpGroupNonUniformShuffleDown: *hasResult = true; *hasResultType = true; break; 2455 case Op::OpGroupNonUniformIAdd: *hasResult = true; *hasResultType = true; break; 2456 case Op::OpGroupNonUniformFAdd: *hasResult = true; *hasResultType = true; break; 2457 case Op::OpGroupNonUniformIMul: *hasResult = true; *hasResultType = true; break; 2458 case Op::OpGroupNonUniformFMul: *hasResult = true; *hasResultType = true; break; 2459 case Op::OpGroupNonUniformSMin: *hasResult = true; *hasResultType = true; break; 2460 case Op::OpGroupNonUniformUMin: *hasResult = true; *hasResultType = true; break; 2461 case Op::OpGroupNonUniformFMin: *hasResult = true; *hasResultType = true; break; 2462 case Op::OpGroupNonUniformSMax: *hasResult = true; *hasResultType = true; break; 2463 case Op::OpGroupNonUniformUMax: *hasResult = true; *hasResultType = true; break; 2464 case Op::OpGroupNonUniformFMax: *hasResult = true; *hasResultType = true; break; 2465 case Op::OpGroupNonUniformBitwiseAnd: *hasResult = true; *hasResultType = true; break; 2466 case Op::OpGroupNonUniformBitwiseOr: *hasResult = true; *hasResultType = true; break; 2467 case Op::OpGroupNonUniformBitwiseXor: *hasResult = true; *hasResultType = true; break; 2468 case Op::OpGroupNonUniformLogicalAnd: *hasResult = true; *hasResultType = true; break; 2469 case Op::OpGroupNonUniformLogicalOr: *hasResult = true; *hasResultType = true; break; 2470 case Op::OpGroupNonUniformLogicalXor: *hasResult = true; *hasResultType = true; break; 2471 case Op::OpGroupNonUniformQuadBroadcast: *hasResult = true; *hasResultType = true; break; 2472 case Op::OpGroupNonUniformQuadSwap: *hasResult = true; *hasResultType = true; break; 2473 case Op::OpCopyLogical: *hasResult = true; *hasResultType = true; break; 2474 case Op::OpPtrEqual: *hasResult = true; *hasResultType = true; break; 2475 case Op::OpPtrNotEqual: *hasResult = true; *hasResultType = true; break; 2476 case Op::OpPtrDiff: *hasResult = true; *hasResultType = true; break; 2477 case Op::OpColorAttachmentReadEXT: *hasResult = true; *hasResultType = true; break; 2478 case Op::OpDepthAttachmentReadEXT: *hasResult = true; *hasResultType = true; break; 2479 case Op::OpStencilAttachmentReadEXT: *hasResult = true; *hasResultType = true; break; 2480 case Op::OpTerminateInvocation: *hasResult = false; *hasResultType = false; break; 2481 case Op::OpSubgroupBallotKHR: *hasResult = true; *hasResultType = true; break; 2482 case Op::OpSubgroupFirstInvocationKHR: *hasResult = true; *hasResultType = true; break; 2483 case Op::OpSubgroupAllKHR: *hasResult = true; *hasResultType = true; break; 2484 case Op::OpSubgroupAnyKHR: *hasResult = true; *hasResultType = true; break; 2485 case Op::OpSubgroupAllEqualKHR: *hasResult = true; *hasResultType = true; break; 2486 case Op::OpGroupNonUniformRotateKHR: *hasResult = true; *hasResultType = true; break; 2487 case Op::OpSubgroupReadInvocationKHR: *hasResult = true; *hasResultType = true; break; 2488 case Op::OpTraceRayKHR: *hasResult = false; *hasResultType = false; break; 2489 case Op::OpExecuteCallableKHR: *hasResult = false; *hasResultType = false; break; 2490 case Op::OpConvertUToAccelerationStructureKHR: *hasResult = true; *hasResultType = true; break; 2491 case Op::OpIgnoreIntersectionKHR: *hasResult = false; *hasResultType = false; break; 2492 case Op::OpTerminateRayKHR: *hasResult = false; *hasResultType = false; break; 2493 case Op::OpSDot: *hasResult = true; *hasResultType = true; break; 2494 case Op::OpUDot: *hasResult = true; *hasResultType = true; break; 2495 case Op::OpSUDot: *hasResult = true; *hasResultType = true; break; 2496 case Op::OpSDotAccSat: *hasResult = true; *hasResultType = true; break; 2497 case Op::OpUDotAccSat: *hasResult = true; *hasResultType = true; break; 2498 case Op::OpSUDotAccSat: *hasResult = true; *hasResultType = true; break; 2499 case Op::OpTypeCooperativeMatrixKHR: *hasResult = true; *hasResultType = false; break; 2500 case Op::OpCooperativeMatrixLoadKHR: *hasResult = true; *hasResultType = true; break; 2501 case Op::OpCooperativeMatrixStoreKHR: *hasResult = false; *hasResultType = false; break; 2502 case Op::OpCooperativeMatrixMulAddKHR: *hasResult = true; *hasResultType = true; break; 2503 case Op::OpCooperativeMatrixLengthKHR: *hasResult = true; *hasResultType = true; break; 2504 case Op::OpTypeRayQueryKHR: *hasResult = true; *hasResultType = false; break; 2505 case Op::OpRayQueryInitializeKHR: *hasResult = false; *hasResultType = false; break; 2506 case Op::OpRayQueryTerminateKHR: *hasResult = false; *hasResultType = false; break; 2507 case Op::OpRayQueryGenerateIntersectionKHR: *hasResult = false; *hasResultType = false; break; 2508 case Op::OpRayQueryConfirmIntersectionKHR: *hasResult = false; *hasResultType = false; break; 2509 case Op::OpRayQueryProceedKHR: *hasResult = true; *hasResultType = true; break; 2510 case Op::OpRayQueryGetIntersectionTypeKHR: *hasResult = true; *hasResultType = true; break; 2511 case Op::OpImageSampleWeightedQCOM: *hasResult = true; *hasResultType = true; break; 2512 case Op::OpImageBoxFilterQCOM: *hasResult = true; *hasResultType = true; break; 2513 case Op::OpImageBlockMatchSSDQCOM: *hasResult = true; *hasResultType = true; break; 2514 case Op::OpImageBlockMatchSADQCOM: *hasResult = true; *hasResultType = true; break; 2515 case Op::OpGroupIAddNonUniformAMD: *hasResult = true; *hasResultType = true; break; 2516 case Op::OpGroupFAddNonUniformAMD: *hasResult = true; *hasResultType = true; break; 2517 case Op::OpGroupFMinNonUniformAMD: *hasResult = true; *hasResultType = true; break; 2518 case Op::OpGroupUMinNonUniformAMD: *hasResult = true; *hasResultType = true; break; 2519 case Op::OpGroupSMinNonUniformAMD: *hasResult = true; *hasResultType = true; break; 2520 case Op::OpGroupFMaxNonUniformAMD: *hasResult = true; *hasResultType = true; break; 2521 case Op::OpGroupUMaxNonUniformAMD: *hasResult = true; *hasResultType = true; break; 2522 case Op::OpGroupSMaxNonUniformAMD: *hasResult = true; *hasResultType = true; break; 2523 case Op::OpFragmentMaskFetchAMD: *hasResult = true; *hasResultType = true; break; 2524 case Op::OpFragmentFetchAMD: *hasResult = true; *hasResultType = true; break; 2525 case Op::OpReadClockKHR: *hasResult = true; *hasResultType = true; break; 2526 case Op::OpFinalizeNodePayloadsAMDX: *hasResult = false; *hasResultType = false; break; 2527 case Op::OpFinishWritingNodePayloadAMDX: *hasResult = true; *hasResultType = true; break; 2528 case Op::OpInitializeNodePayloadsAMDX: *hasResult = false; *hasResultType = false; break; 2529 case Op::OpGroupNonUniformQuadAllKHR: *hasResult = true; *hasResultType = true; break; 2530 case Op::OpGroupNonUniformQuadAnyKHR: *hasResult = true; *hasResultType = true; break; 2531 case Op::OpHitObjectRecordHitMotionNV: *hasResult = false; *hasResultType = false; break; 2532 case Op::OpHitObjectRecordHitWithIndexMotionNV: *hasResult = false; *hasResultType = false; break; 2533 case Op::OpHitObjectRecordMissMotionNV: *hasResult = false; *hasResultType = false; break; 2534 case Op::OpHitObjectGetWorldToObjectNV: *hasResult = true; *hasResultType = true; break; 2535 case Op::OpHitObjectGetObjectToWorldNV: *hasResult = true; *hasResultType = true; break; 2536 case Op::OpHitObjectGetObjectRayDirectionNV: *hasResult = true; *hasResultType = true; break; 2537 case Op::OpHitObjectGetObjectRayOriginNV: *hasResult = true; *hasResultType = true; break; 2538 case Op::OpHitObjectTraceRayMotionNV: *hasResult = false; *hasResultType = false; break; 2539 case Op::OpHitObjectGetShaderRecordBufferHandleNV: *hasResult = true; *hasResultType = true; break; 2540 case Op::OpHitObjectGetShaderBindingTableRecordIndexNV: *hasResult = true; *hasResultType = true; break; 2541 case Op::OpHitObjectRecordEmptyNV: *hasResult = false; *hasResultType = false; break; 2542 case Op::OpHitObjectTraceRayNV: *hasResult = false; *hasResultType = false; break; 2543 case Op::OpHitObjectRecordHitNV: *hasResult = false; *hasResultType = false; break; 2544 case Op::OpHitObjectRecordHitWithIndexNV: *hasResult = false; *hasResultType = false; break; 2545 case Op::OpHitObjectRecordMissNV: *hasResult = false; *hasResultType = false; break; 2546 case Op::OpHitObjectExecuteShaderNV: *hasResult = false; *hasResultType = false; break; 2547 case Op::OpHitObjectGetCurrentTimeNV: *hasResult = true; *hasResultType = true; break; 2548 case Op::OpHitObjectGetAttributesNV: *hasResult = false; *hasResultType = false; break; 2549 case Op::OpHitObjectGetHitKindNV: *hasResult = true; *hasResultType = true; break; 2550 case Op::OpHitObjectGetPrimitiveIndexNV: *hasResult = true; *hasResultType = true; break; 2551 case Op::OpHitObjectGetGeometryIndexNV: *hasResult = true; *hasResultType = true; break; 2552 case Op::OpHitObjectGetInstanceIdNV: *hasResult = true; *hasResultType = true; break; 2553 case Op::OpHitObjectGetInstanceCustomIndexNV: *hasResult = true; *hasResultType = true; break; 2554 case Op::OpHitObjectGetWorldRayDirectionNV: *hasResult = true; *hasResultType = true; break; 2555 case Op::OpHitObjectGetWorldRayOriginNV: *hasResult = true; *hasResultType = true; break; 2556 case Op::OpHitObjectGetRayTMaxNV: *hasResult = true; *hasResultType = true; break; 2557 case Op::OpHitObjectGetRayTMinNV: *hasResult = true; *hasResultType = true; break; 2558 case Op::OpHitObjectIsEmptyNV: *hasResult = true; *hasResultType = true; break; 2559 case Op::OpHitObjectIsHitNV: *hasResult = true; *hasResultType = true; break; 2560 case Op::OpHitObjectIsMissNV: *hasResult = true; *hasResultType = true; break; 2561 case Op::OpReorderThreadWithHitObjectNV: *hasResult = false; *hasResultType = false; break; 2562 case Op::OpReorderThreadWithHintNV: *hasResult = false; *hasResultType = false; break; 2563 case Op::OpTypeHitObjectNV: *hasResult = true; *hasResultType = false; break; 2564 case Op::OpImageSampleFootprintNV: *hasResult = true; *hasResultType = true; break; 2565 case Op::OpEmitMeshTasksEXT: *hasResult = false; *hasResultType = false; break; 2566 case Op::OpSetMeshOutputsEXT: *hasResult = false; *hasResultType = false; break; 2567 case Op::OpGroupNonUniformPartitionNV: *hasResult = true; *hasResultType = true; break; 2568 case Op::OpWritePackedPrimitiveIndices4x8NV: *hasResult = false; *hasResultType = false; break; 2569 case Op::OpFetchMicroTriangleVertexPositionNV: *hasResult = true; *hasResultType = true; break; 2570 case Op::OpFetchMicroTriangleVertexBarycentricNV: *hasResult = true; *hasResultType = true; break; 2571 case Op::OpReportIntersectionNV: *hasResult = true; *hasResultType = true; break; 2572 case Op::OpIgnoreIntersectionNV: *hasResult = false; *hasResultType = false; break; 2573 case Op::OpTerminateRayNV: *hasResult = false; *hasResultType = false; break; 2574 case Op::OpTraceNV: *hasResult = false; *hasResultType = false; break; 2575 case Op::OpTraceMotionNV: *hasResult = false; *hasResultType = false; break; 2576 case Op::OpTraceRayMotionNV: *hasResult = false; *hasResultType = false; break; 2577 case Op::OpRayQueryGetIntersectionTriangleVertexPositionsKHR: *hasResult = true; *hasResultType = true; break; 2578 case Op::OpTypeAccelerationStructureNV: *hasResult = true; *hasResultType = false; break; 2579 case Op::OpExecuteCallableNV: *hasResult = false; *hasResultType = false; break; 2580 case Op::OpTypeCooperativeMatrixNV: *hasResult = true; *hasResultType = false; break; 2581 case Op::OpCooperativeMatrixLoadNV: *hasResult = true; *hasResultType = true; break; 2582 case Op::OpCooperativeMatrixStoreNV: *hasResult = false; *hasResultType = false; break; 2583 case Op::OpCooperativeMatrixMulAddNV: *hasResult = true; *hasResultType = true; break; 2584 case Op::OpCooperativeMatrixLengthNV: *hasResult = true; *hasResultType = true; break; 2585 case Op::OpBeginInvocationInterlockEXT: *hasResult = false; *hasResultType = false; break; 2586 case Op::OpEndInvocationInterlockEXT: *hasResult = false; *hasResultType = false; break; 2587 case Op::OpDemoteToHelperInvocation: *hasResult = false; *hasResultType = false; break; 2588 case Op::OpIsHelperInvocationEXT: *hasResult = true; *hasResultType = true; break; 2589 case Op::OpConvertUToImageNV: *hasResult = true; *hasResultType = true; break; 2590 case Op::OpConvertUToSamplerNV: *hasResult = true; *hasResultType = true; break; 2591 case Op::OpConvertImageToUNV: *hasResult = true; *hasResultType = true; break; 2592 case Op::OpConvertSamplerToUNV: *hasResult = true; *hasResultType = true; break; 2593 case Op::OpConvertUToSampledImageNV: *hasResult = true; *hasResultType = true; break; 2594 case Op::OpConvertSampledImageToUNV: *hasResult = true; *hasResultType = true; break; 2595 case Op::OpSamplerImageAddressingModeNV: *hasResult = false; *hasResultType = false; break; 2596 case Op::OpSubgroupShuffleINTEL: *hasResult = true; *hasResultType = true; break; 2597 case Op::OpSubgroupShuffleDownINTEL: *hasResult = true; *hasResultType = true; break; 2598 case Op::OpSubgroupShuffleUpINTEL: *hasResult = true; *hasResultType = true; break; 2599 case Op::OpSubgroupShuffleXorINTEL: *hasResult = true; *hasResultType = true; break; 2600 case Op::OpSubgroupBlockReadINTEL: *hasResult = true; *hasResultType = true; break; 2601 case Op::OpSubgroupBlockWriteINTEL: *hasResult = false; *hasResultType = false; break; 2602 case Op::OpSubgroupImageBlockReadINTEL: *hasResult = true; *hasResultType = true; break; 2603 case Op::OpSubgroupImageBlockWriteINTEL: *hasResult = false; *hasResultType = false; break; 2604 case Op::OpSubgroupImageMediaBlockReadINTEL: *hasResult = true; *hasResultType = true; break; 2605 case Op::OpSubgroupImageMediaBlockWriteINTEL: *hasResult = false; *hasResultType = false; break; 2606 case Op::OpUCountLeadingZerosINTEL: *hasResult = true; *hasResultType = true; break; 2607 case Op::OpUCountTrailingZerosINTEL: *hasResult = true; *hasResultType = true; break; 2608 case Op::OpAbsISubINTEL: *hasResult = true; *hasResultType = true; break; 2609 case Op::OpAbsUSubINTEL: *hasResult = true; *hasResultType = true; break; 2610 case Op::OpIAddSatINTEL: *hasResult = true; *hasResultType = true; break; 2611 case Op::OpUAddSatINTEL: *hasResult = true; *hasResultType = true; break; 2612 case Op::OpIAverageINTEL: *hasResult = true; *hasResultType = true; break; 2613 case Op::OpUAverageINTEL: *hasResult = true; *hasResultType = true; break; 2614 case Op::OpIAverageRoundedINTEL: *hasResult = true; *hasResultType = true; break; 2615 case Op::OpUAverageRoundedINTEL: *hasResult = true; *hasResultType = true; break; 2616 case Op::OpISubSatINTEL: *hasResult = true; *hasResultType = true; break; 2617 case Op::OpUSubSatINTEL: *hasResult = true; *hasResultType = true; break; 2618 case Op::OpIMul32x16INTEL: *hasResult = true; *hasResultType = true; break; 2619 case Op::OpUMul32x16INTEL: *hasResult = true; *hasResultType = true; break; 2620 case Op::OpConstantFunctionPointerINTEL: *hasResult = true; *hasResultType = true; break; 2621 case Op::OpFunctionPointerCallINTEL: *hasResult = true; *hasResultType = true; break; 2622 case Op::OpAsmTargetINTEL: *hasResult = true; *hasResultType = true; break; 2623 case Op::OpAsmINTEL: *hasResult = true; *hasResultType = true; break; 2624 case Op::OpAsmCallINTEL: *hasResult = true; *hasResultType = true; break; 2625 case Op::OpAtomicFMinEXT: *hasResult = true; *hasResultType = true; break; 2626 case Op::OpAtomicFMaxEXT: *hasResult = true; *hasResultType = true; break; 2627 case Op::OpAssumeTrueKHR: *hasResult = false; *hasResultType = false; break; 2628 case Op::OpExpectKHR: *hasResult = true; *hasResultType = true; break; 2629 case Op::OpDecorateString: *hasResult = false; *hasResultType = false; break; 2630 case Op::OpMemberDecorateString: *hasResult = false; *hasResultType = false; break; 2631 case Op::OpVmeImageINTEL: *hasResult = true; *hasResultType = true; break; 2632 case Op::OpTypeVmeImageINTEL: *hasResult = true; *hasResultType = false; break; 2633 case Op::OpTypeAvcImePayloadINTEL: *hasResult = true; *hasResultType = false; break; 2634 case Op::OpTypeAvcRefPayloadINTEL: *hasResult = true; *hasResultType = false; break; 2635 case Op::OpTypeAvcSicPayloadINTEL: *hasResult = true; *hasResultType = false; break; 2636 case Op::OpTypeAvcMcePayloadINTEL: *hasResult = true; *hasResultType = false; break; 2637 case Op::OpTypeAvcMceResultINTEL: *hasResult = true; *hasResultType = false; break; 2638 case Op::OpTypeAvcImeResultINTEL: *hasResult = true; *hasResultType = false; break; 2639 case Op::OpTypeAvcImeResultSingleReferenceStreamoutINTEL: *hasResult = true; *hasResultType = false; break; 2640 case Op::OpTypeAvcImeResultDualReferenceStreamoutINTEL: *hasResult = true; *hasResultType = false; break; 2641 case Op::OpTypeAvcImeSingleReferenceStreaminINTEL: *hasResult = true; *hasResultType = false; break; 2642 case Op::OpTypeAvcImeDualReferenceStreaminINTEL: *hasResult = true; *hasResultType = false; break; 2643 case Op::OpTypeAvcRefResultINTEL: *hasResult = true; *hasResultType = false; break; 2644 case Op::OpTypeAvcSicResultINTEL: *hasResult = true; *hasResultType = false; break; 2645 case Op::OpSubgroupAvcMceGetDefaultInterBaseMultiReferencePenaltyINTEL: *hasResult = true; *hasResultType = true; break; 2646 case Op::OpSubgroupAvcMceSetInterBaseMultiReferencePenaltyINTEL: *hasResult = true; *hasResultType = true; break; 2647 case Op::OpSubgroupAvcMceGetDefaultInterShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break; 2648 case Op::OpSubgroupAvcMceSetInterShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break; 2649 case Op::OpSubgroupAvcMceGetDefaultInterDirectionPenaltyINTEL: *hasResult = true; *hasResultType = true; break; 2650 case Op::OpSubgroupAvcMceSetInterDirectionPenaltyINTEL: *hasResult = true; *hasResultType = true; break; 2651 case Op::OpSubgroupAvcMceGetDefaultIntraLumaShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break; 2652 case Op::OpSubgroupAvcMceGetDefaultInterMotionVectorCostTableINTEL: *hasResult = true; *hasResultType = true; break; 2653 case Op::OpSubgroupAvcMceGetDefaultHighPenaltyCostTableINTEL: *hasResult = true; *hasResultType = true; break; 2654 case Op::OpSubgroupAvcMceGetDefaultMediumPenaltyCostTableINTEL: *hasResult = true; *hasResultType = true; break; 2655 case Op::OpSubgroupAvcMceGetDefaultLowPenaltyCostTableINTEL: *hasResult = true; *hasResultType = true; break; 2656 case Op::OpSubgroupAvcMceSetMotionVectorCostFunctionINTEL: *hasResult = true; *hasResultType = true; break; 2657 case Op::OpSubgroupAvcMceGetDefaultIntraLumaModePenaltyINTEL: *hasResult = true; *hasResultType = true; break; 2658 case Op::OpSubgroupAvcMceGetDefaultNonDcLumaIntraPenaltyINTEL: *hasResult = true; *hasResultType = true; break; 2659 case Op::OpSubgroupAvcMceGetDefaultIntraChromaModeBasePenaltyINTEL: *hasResult = true; *hasResultType = true; break; 2660 case Op::OpSubgroupAvcMceSetAcOnlyHaarINTEL: *hasResult = true; *hasResultType = true; break; 2661 case Op::OpSubgroupAvcMceSetSourceInterlacedFieldPolarityINTEL: *hasResult = true; *hasResultType = true; break; 2662 case Op::OpSubgroupAvcMceSetSingleReferenceInterlacedFieldPolarityINTEL: *hasResult = true; *hasResultType = true; break; 2663 case Op::OpSubgroupAvcMceSetDualReferenceInterlacedFieldPolaritiesINTEL: *hasResult = true; *hasResultType = true; break; 2664 case Op::OpSubgroupAvcMceConvertToImePayloadINTEL: *hasResult = true; *hasResultType = true; break; 2665 case Op::OpSubgroupAvcMceConvertToImeResultINTEL: *hasResult = true; *hasResultType = true; break; 2666 case Op::OpSubgroupAvcMceConvertToRefPayloadINTEL: *hasResult = true; *hasResultType = true; break; 2667 case Op::OpSubgroupAvcMceConvertToRefResultINTEL: *hasResult = true; *hasResultType = true; break; 2668 case Op::OpSubgroupAvcMceConvertToSicPayloadINTEL: *hasResult = true; *hasResultType = true; break; 2669 case Op::OpSubgroupAvcMceConvertToSicResultINTEL: *hasResult = true; *hasResultType = true; break; 2670 case Op::OpSubgroupAvcMceGetMotionVectorsINTEL: *hasResult = true; *hasResultType = true; break; 2671 case Op::OpSubgroupAvcMceGetInterDistortionsINTEL: *hasResult = true; *hasResultType = true; break; 2672 case Op::OpSubgroupAvcMceGetBestInterDistortionsINTEL: *hasResult = true; *hasResultType = true; break; 2673 case Op::OpSubgroupAvcMceGetInterMajorShapeINTEL: *hasResult = true; *hasResultType = true; break; 2674 case Op::OpSubgroupAvcMceGetInterMinorShapeINTEL: *hasResult = true; *hasResultType = true; break; 2675 case Op::OpSubgroupAvcMceGetInterDirectionsINTEL: *hasResult = true; *hasResultType = true; break; 2676 case Op::OpSubgroupAvcMceGetInterMotionVectorCountINTEL: *hasResult = true; *hasResultType = true; break; 2677 case Op::OpSubgroupAvcMceGetInterReferenceIdsINTEL: *hasResult = true; *hasResultType = true; break; 2678 case Op::OpSubgroupAvcMceGetInterReferenceInterlacedFieldPolaritiesINTEL: *hasResult = true; *hasResultType = true; break; 2679 case Op::OpSubgroupAvcImeInitializeINTEL: *hasResult = true; *hasResultType = true; break; 2680 case Op::OpSubgroupAvcImeSetSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break; 2681 case Op::OpSubgroupAvcImeSetDualReferenceINTEL: *hasResult = true; *hasResultType = true; break; 2682 case Op::OpSubgroupAvcImeRefWindowSizeINTEL: *hasResult = true; *hasResultType = true; break; 2683 case Op::OpSubgroupAvcImeAdjustRefOffsetINTEL: *hasResult = true; *hasResultType = true; break; 2684 case Op::OpSubgroupAvcImeConvertToMcePayloadINTEL: *hasResult = true; *hasResultType = true; break; 2685 case Op::OpSubgroupAvcImeSetMaxMotionVectorCountINTEL: *hasResult = true; *hasResultType = true; break; 2686 case Op::OpSubgroupAvcImeSetUnidirectionalMixDisableINTEL: *hasResult = true; *hasResultType = true; break; 2687 case Op::OpSubgroupAvcImeSetEarlySearchTerminationThresholdINTEL: *hasResult = true; *hasResultType = true; break; 2688 case Op::OpSubgroupAvcImeSetWeightedSadINTEL: *hasResult = true; *hasResultType = true; break; 2689 case Op::OpSubgroupAvcImeEvaluateWithSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break; 2690 case Op::OpSubgroupAvcImeEvaluateWithDualReferenceINTEL: *hasResult = true; *hasResultType = true; break; 2691 case Op::OpSubgroupAvcImeEvaluateWithSingleReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break; 2692 case Op::OpSubgroupAvcImeEvaluateWithDualReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break; 2693 case Op::OpSubgroupAvcImeEvaluateWithSingleReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break; 2694 case Op::OpSubgroupAvcImeEvaluateWithDualReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break; 2695 case Op::OpSubgroupAvcImeEvaluateWithSingleReferenceStreaminoutINTEL: *hasResult = true; *hasResultType = true; break; 2696 case Op::OpSubgroupAvcImeEvaluateWithDualReferenceStreaminoutINTEL: *hasResult = true; *hasResultType = true; break; 2697 case Op::OpSubgroupAvcImeConvertToMceResultINTEL: *hasResult = true; *hasResultType = true; break; 2698 case Op::OpSubgroupAvcImeGetSingleReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break; 2699 case Op::OpSubgroupAvcImeGetDualReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break; 2700 case Op::OpSubgroupAvcImeStripSingleReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break; 2701 case Op::OpSubgroupAvcImeStripDualReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break; 2702 case Op::OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeMotionVectorsINTEL: *hasResult = true; *hasResultType = true; break; 2703 case Op::OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeDistortionsINTEL: *hasResult = true; *hasResultType = true; break; 2704 case Op::OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeReferenceIdsINTEL: *hasResult = true; *hasResultType = true; break; 2705 case Op::OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeMotionVectorsINTEL: *hasResult = true; *hasResultType = true; break; 2706 case Op::OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeDistortionsINTEL: *hasResult = true; *hasResultType = true; break; 2707 case Op::OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeReferenceIdsINTEL: *hasResult = true; *hasResultType = true; break; 2708 case Op::OpSubgroupAvcImeGetBorderReachedINTEL: *hasResult = true; *hasResultType = true; break; 2709 case Op::OpSubgroupAvcImeGetTruncatedSearchIndicationINTEL: *hasResult = true; *hasResultType = true; break; 2710 case Op::OpSubgroupAvcImeGetUnidirectionalEarlySearchTerminationINTEL: *hasResult = true; *hasResultType = true; break; 2711 case Op::OpSubgroupAvcImeGetWeightingPatternMinimumMotionVectorINTEL: *hasResult = true; *hasResultType = true; break; 2712 case Op::OpSubgroupAvcImeGetWeightingPatternMinimumDistortionINTEL: *hasResult = true; *hasResultType = true; break; 2713 case Op::OpSubgroupAvcFmeInitializeINTEL: *hasResult = true; *hasResultType = true; break; 2714 case Op::OpSubgroupAvcBmeInitializeINTEL: *hasResult = true; *hasResultType = true; break; 2715 case Op::OpSubgroupAvcRefConvertToMcePayloadINTEL: *hasResult = true; *hasResultType = true; break; 2716 case Op::OpSubgroupAvcRefSetBidirectionalMixDisableINTEL: *hasResult = true; *hasResultType = true; break; 2717 case Op::OpSubgroupAvcRefSetBilinearFilterEnableINTEL: *hasResult = true; *hasResultType = true; break; 2718 case Op::OpSubgroupAvcRefEvaluateWithSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break; 2719 case Op::OpSubgroupAvcRefEvaluateWithDualReferenceINTEL: *hasResult = true; *hasResultType = true; break; 2720 case Op::OpSubgroupAvcRefEvaluateWithMultiReferenceINTEL: *hasResult = true; *hasResultType = true; break; 2721 case Op::OpSubgroupAvcRefEvaluateWithMultiReferenceInterlacedINTEL: *hasResult = true; *hasResultType = true; break; 2722 case Op::OpSubgroupAvcRefConvertToMceResultINTEL: *hasResult = true; *hasResultType = true; break; 2723 case Op::OpSubgroupAvcSicInitializeINTEL: *hasResult = true; *hasResultType = true; break; 2724 case Op::OpSubgroupAvcSicConfigureSkcINTEL: *hasResult = true; *hasResultType = true; break; 2725 case Op::OpSubgroupAvcSicConfigureIpeLumaINTEL: *hasResult = true; *hasResultType = true; break; 2726 case Op::OpSubgroupAvcSicConfigureIpeLumaChromaINTEL: *hasResult = true; *hasResultType = true; break; 2727 case Op::OpSubgroupAvcSicGetMotionVectorMaskINTEL: *hasResult = true; *hasResultType = true; break; 2728 case Op::OpSubgroupAvcSicConvertToMcePayloadINTEL: *hasResult = true; *hasResultType = true; break; 2729 case Op::OpSubgroupAvcSicSetIntraLumaShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break; 2730 case Op::OpSubgroupAvcSicSetIntraLumaModeCostFunctionINTEL: *hasResult = true; *hasResultType = true; break; 2731 case Op::OpSubgroupAvcSicSetIntraChromaModeCostFunctionINTEL: *hasResult = true; *hasResultType = true; break; 2732 case Op::OpSubgroupAvcSicSetBilinearFilterEnableINTEL: *hasResult = true; *hasResultType = true; break; 2733 case Op::OpSubgroupAvcSicSetSkcForwardTransformEnableINTEL: *hasResult = true; *hasResultType = true; break; 2734 case Op::OpSubgroupAvcSicSetBlockBasedRawSkipSadINTEL: *hasResult = true; *hasResultType = true; break; 2735 case Op::OpSubgroupAvcSicEvaluateIpeINTEL: *hasResult = true; *hasResultType = true; break; 2736 case Op::OpSubgroupAvcSicEvaluateWithSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break; 2737 case Op::OpSubgroupAvcSicEvaluateWithDualReferenceINTEL: *hasResult = true; *hasResultType = true; break; 2738 case Op::OpSubgroupAvcSicEvaluateWithMultiReferenceINTEL: *hasResult = true; *hasResultType = true; break; 2739 case Op::OpSubgroupAvcSicEvaluateWithMultiReferenceInterlacedINTEL: *hasResult = true; *hasResultType = true; break; 2740 case Op::OpSubgroupAvcSicConvertToMceResultINTEL: *hasResult = true; *hasResultType = true; break; 2741 case Op::OpSubgroupAvcSicGetIpeLumaShapeINTEL: *hasResult = true; *hasResultType = true; break; 2742 case Op::OpSubgroupAvcSicGetBestIpeLumaDistortionINTEL: *hasResult = true; *hasResultType = true; break; 2743 case Op::OpSubgroupAvcSicGetBestIpeChromaDistortionINTEL: *hasResult = true; *hasResultType = true; break; 2744 case Op::OpSubgroupAvcSicGetPackedIpeLumaModesINTEL: *hasResult = true; *hasResultType = true; break; 2745 case Op::OpSubgroupAvcSicGetIpeChromaModeINTEL: *hasResult = true; *hasResultType = true; break; 2746 case Op::OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL: *hasResult = true; *hasResultType = true; break; 2747 case Op::OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL: *hasResult = true; *hasResultType = true; break; 2748 case Op::OpSubgroupAvcSicGetInterRawSadsINTEL: *hasResult = true; *hasResultType = true; break; 2749 case Op::OpVariableLengthArrayINTEL: *hasResult = true; *hasResultType = true; break; 2750 case Op::OpSaveMemoryINTEL: *hasResult = true; *hasResultType = true; break; 2751 case Op::OpRestoreMemoryINTEL: *hasResult = false; *hasResultType = false; break; 2752 case Op::OpArbitraryFloatSinCosPiINTEL: *hasResult = true; *hasResultType = true; break; 2753 case Op::OpArbitraryFloatCastINTEL: *hasResult = true; *hasResultType = true; break; 2754 case Op::OpArbitraryFloatCastFromIntINTEL: *hasResult = true; *hasResultType = true; break; 2755 case Op::OpArbitraryFloatCastToIntINTEL: *hasResult = true; *hasResultType = true; break; 2756 case Op::OpArbitraryFloatAddINTEL: *hasResult = true; *hasResultType = true; break; 2757 case Op::OpArbitraryFloatSubINTEL: *hasResult = true; *hasResultType = true; break; 2758 case Op::OpArbitraryFloatMulINTEL: *hasResult = true; *hasResultType = true; break; 2759 case Op::OpArbitraryFloatDivINTEL: *hasResult = true; *hasResultType = true; break; 2760 case Op::OpArbitraryFloatGTINTEL: *hasResult = true; *hasResultType = true; break; 2761 case Op::OpArbitraryFloatGEINTEL: *hasResult = true; *hasResultType = true; break; 2762 case Op::OpArbitraryFloatLTINTEL: *hasResult = true; *hasResultType = true; break; 2763 case Op::OpArbitraryFloatLEINTEL: *hasResult = true; *hasResultType = true; break; 2764 case Op::OpArbitraryFloatEQINTEL: *hasResult = true; *hasResultType = true; break; 2765 case Op::OpArbitraryFloatRecipINTEL: *hasResult = true; *hasResultType = true; break; 2766 case Op::OpArbitraryFloatRSqrtINTEL: *hasResult = true; *hasResultType = true; break; 2767 case Op::OpArbitraryFloatCbrtINTEL: *hasResult = true; *hasResultType = true; break; 2768 case Op::OpArbitraryFloatHypotINTEL: *hasResult = true; *hasResultType = true; break; 2769 case Op::OpArbitraryFloatSqrtINTEL: *hasResult = true; *hasResultType = true; break; 2770 case Op::OpArbitraryFloatLogINTEL: *hasResult = true; *hasResultType = true; break; 2771 case Op::OpArbitraryFloatLog2INTEL: *hasResult = true; *hasResultType = true; break; 2772 case Op::OpArbitraryFloatLog10INTEL: *hasResult = true; *hasResultType = true; break; 2773 case Op::OpArbitraryFloatLog1pINTEL: *hasResult = true; *hasResultType = true; break; 2774 case Op::OpArbitraryFloatExpINTEL: *hasResult = true; *hasResultType = true; break; 2775 case Op::OpArbitraryFloatExp2INTEL: *hasResult = true; *hasResultType = true; break; 2776 case Op::OpArbitraryFloatExp10INTEL: *hasResult = true; *hasResultType = true; break; 2777 case Op::OpArbitraryFloatExpm1INTEL: *hasResult = true; *hasResultType = true; break; 2778 case Op::OpArbitraryFloatSinINTEL: *hasResult = true; *hasResultType = true; break; 2779 case Op::OpArbitraryFloatCosINTEL: *hasResult = true; *hasResultType = true; break; 2780 case Op::OpArbitraryFloatSinCosINTEL: *hasResult = true; *hasResultType = true; break; 2781 case Op::OpArbitraryFloatSinPiINTEL: *hasResult = true; *hasResultType = true; break; 2782 case Op::OpArbitraryFloatCosPiINTEL: *hasResult = true; *hasResultType = true; break; 2783 case Op::OpArbitraryFloatASinINTEL: *hasResult = true; *hasResultType = true; break; 2784 case Op::OpArbitraryFloatASinPiINTEL: *hasResult = true; *hasResultType = true; break; 2785 case Op::OpArbitraryFloatACosINTEL: *hasResult = true; *hasResultType = true; break; 2786 case Op::OpArbitraryFloatACosPiINTEL: *hasResult = true; *hasResultType = true; break; 2787 case Op::OpArbitraryFloatATanINTEL: *hasResult = true; *hasResultType = true; break; 2788 case Op::OpArbitraryFloatATanPiINTEL: *hasResult = true; *hasResultType = true; break; 2789 case Op::OpArbitraryFloatATan2INTEL: *hasResult = true; *hasResultType = true; break; 2790 case Op::OpArbitraryFloatPowINTEL: *hasResult = true; *hasResultType = true; break; 2791 case Op::OpArbitraryFloatPowRINTEL: *hasResult = true; *hasResultType = true; break; 2792 case Op::OpArbitraryFloatPowNINTEL: *hasResult = true; *hasResultType = true; break; 2793 case Op::OpLoopControlINTEL: *hasResult = false; *hasResultType = false; break; 2794 case Op::OpAliasDomainDeclINTEL: *hasResult = true; *hasResultType = false; break; 2795 case Op::OpAliasScopeDeclINTEL: *hasResult = true; *hasResultType = false; break; 2796 case Op::OpAliasScopeListDeclINTEL: *hasResult = true; *hasResultType = false; break; 2797 case Op::OpFixedSqrtINTEL: *hasResult = true; *hasResultType = true; break; 2798 case Op::OpFixedRecipINTEL: *hasResult = true; *hasResultType = true; break; 2799 case Op::OpFixedRsqrtINTEL: *hasResult = true; *hasResultType = true; break; 2800 case Op::OpFixedSinINTEL: *hasResult = true; *hasResultType = true; break; 2801 case Op::OpFixedCosINTEL: *hasResult = true; *hasResultType = true; break; 2802 case Op::OpFixedSinCosINTEL: *hasResult = true; *hasResultType = true; break; 2803 case Op::OpFixedSinPiINTEL: *hasResult = true; *hasResultType = true; break; 2804 case Op::OpFixedCosPiINTEL: *hasResult = true; *hasResultType = true; break; 2805 case Op::OpFixedSinCosPiINTEL: *hasResult = true; *hasResultType = true; break; 2806 case Op::OpFixedLogINTEL: *hasResult = true; *hasResultType = true; break; 2807 case Op::OpFixedExpINTEL: *hasResult = true; *hasResultType = true; break; 2808 case Op::OpPtrCastToCrossWorkgroupINTEL: *hasResult = true; *hasResultType = true; break; 2809 case Op::OpCrossWorkgroupCastToPtrINTEL: *hasResult = true; *hasResultType = true; break; 2810 case Op::OpReadPipeBlockingINTEL: *hasResult = true; *hasResultType = true; break; 2811 case Op::OpWritePipeBlockingINTEL: *hasResult = true; *hasResultType = true; break; 2812 case Op::OpFPGARegINTEL: *hasResult = true; *hasResultType = true; break; 2813 case Op::OpRayQueryGetRayTMinKHR: *hasResult = true; *hasResultType = true; break; 2814 case Op::OpRayQueryGetRayFlagsKHR: *hasResult = true; *hasResultType = true; break; 2815 case Op::OpRayQueryGetIntersectionTKHR: *hasResult = true; *hasResultType = true; break; 2816 case Op::OpRayQueryGetIntersectionInstanceCustomIndexKHR: *hasResult = true; *hasResultType = true; break; 2817 case Op::OpRayQueryGetIntersectionInstanceIdKHR: *hasResult = true; *hasResultType = true; break; 2818 case Op::OpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR: *hasResult = true; *hasResultType = true; break; 2819 case Op::OpRayQueryGetIntersectionGeometryIndexKHR: *hasResult = true; *hasResultType = true; break; 2820 case Op::OpRayQueryGetIntersectionPrimitiveIndexKHR: *hasResult = true; *hasResultType = true; break; 2821 case Op::OpRayQueryGetIntersectionBarycentricsKHR: *hasResult = true; *hasResultType = true; break; 2822 case Op::OpRayQueryGetIntersectionFrontFaceKHR: *hasResult = true; *hasResultType = true; break; 2823 case Op::OpRayQueryGetIntersectionCandidateAABBOpaqueKHR: *hasResult = true; *hasResultType = true; break; 2824 case Op::OpRayQueryGetIntersectionObjectRayDirectionKHR: *hasResult = true; *hasResultType = true; break; 2825 case Op::OpRayQueryGetIntersectionObjectRayOriginKHR: *hasResult = true; *hasResultType = true; break; 2826 case Op::OpRayQueryGetWorldRayDirectionKHR: *hasResult = true; *hasResultType = true; break; 2827 case Op::OpRayQueryGetWorldRayOriginKHR: *hasResult = true; *hasResultType = true; break; 2828 case Op::OpRayQueryGetIntersectionObjectToWorldKHR: *hasResult = true; *hasResultType = true; break; 2829 case Op::OpRayQueryGetIntersectionWorldToObjectKHR: *hasResult = true; *hasResultType = true; break; 2830 case Op::OpAtomicFAddEXT: *hasResult = true; *hasResultType = true; break; 2831 case Op::OpTypeBufferSurfaceINTEL: *hasResult = true; *hasResultType = false; break; 2832 case Op::OpTypeStructContinuedINTEL: *hasResult = false; *hasResultType = false; break; 2833 case Op::OpConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break; 2834 case Op::OpSpecConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break; 2835 case Op::OpCompositeConstructContinuedINTEL: *hasResult = true; *hasResultType = true; break; 2836 case Op::OpConvertFToBF16INTEL: *hasResult = true; *hasResultType = true; break; 2837 case Op::OpConvertBF16ToFINTEL: *hasResult = true; *hasResultType = true; break; 2838 case Op::OpControlBarrierArriveINTEL: *hasResult = false; *hasResultType = false; break; 2839 case Op::OpControlBarrierWaitINTEL: *hasResult = false; *hasResultType = false; break; 2840 case Op::OpGroupIMulKHR: *hasResult = true; *hasResultType = true; break; 2841 case Op::OpGroupFMulKHR: *hasResult = true; *hasResultType = true; break; 2842 case Op::OpGroupBitwiseAndKHR: *hasResult = true; *hasResultType = true; break; 2843 case Op::OpGroupBitwiseOrKHR: *hasResult = true; *hasResultType = true; break; 2844 case Op::OpGroupBitwiseXorKHR: *hasResult = true; *hasResultType = true; break; 2845 case Op::OpGroupLogicalAndKHR: *hasResult = true; *hasResultType = true; break; 2846 case Op::OpGroupLogicalOrKHR: *hasResult = true; *hasResultType = true; break; 2847 case Op::OpGroupLogicalXorKHR: *hasResult = true; *hasResultType = true; break; 2848 case Op::OpMaskedGatherINTEL: *hasResult = true; *hasResultType = true; break; 2849 case Op::OpMaskedScatterINTEL: *hasResult = false; *hasResultType = false; break; 2850 } 2851} 2852#endif /* SPV_ENABLE_UTILITY_CODE */ 2853 2854// Overload bitwise operators for mask bit combining 2855 2856constexpr ImageOperandsMask operator|(ImageOperandsMask a, ImageOperandsMask b) { return ImageOperandsMask(unsigned(a) | unsigned(b)); } 2857constexpr ImageOperandsMask operator&(ImageOperandsMask a, ImageOperandsMask b) { return ImageOperandsMask(unsigned(a) & unsigned(b)); } 2858constexpr ImageOperandsMask operator^(ImageOperandsMask a, ImageOperandsMask b) { return ImageOperandsMask(unsigned(a) ^ unsigned(b)); } 2859constexpr ImageOperandsMask operator~(ImageOperandsMask a) { return ImageOperandsMask(~unsigned(a)); } 2860constexpr FPFastMathModeMask operator|(FPFastMathModeMask a, FPFastMathModeMask b) { return FPFastMathModeMask(unsigned(a) | unsigned(b)); } 2861constexpr FPFastMathModeMask operator&(FPFastMathModeMask a, FPFastMathModeMask b) { return FPFastMathModeMask(unsigned(a) & unsigned(b)); } 2862constexpr FPFastMathModeMask operator^(FPFastMathModeMask a, FPFastMathModeMask b) { return FPFastMathModeMask(unsigned(a) ^ unsigned(b)); } 2863constexpr FPFastMathModeMask operator~(FPFastMathModeMask a) { return FPFastMathModeMask(~unsigned(a)); } 2864constexpr SelectionControlMask operator|(SelectionControlMask a, SelectionControlMask b) { return SelectionControlMask(unsigned(a) | unsigned(b)); } 2865constexpr SelectionControlMask operator&(SelectionControlMask a, SelectionControlMask b) { return SelectionControlMask(unsigned(a) & unsigned(b)); } 2866constexpr SelectionControlMask operator^(SelectionControlMask a, SelectionControlMask b) { return SelectionControlMask(unsigned(a) ^ unsigned(b)); } 2867constexpr SelectionControlMask operator~(SelectionControlMask a) { return SelectionControlMask(~unsigned(a)); } 2868constexpr LoopControlMask operator|(LoopControlMask a, LoopControlMask b) { return LoopControlMask(unsigned(a) | unsigned(b)); } 2869constexpr LoopControlMask operator&(LoopControlMask a, LoopControlMask b) { return LoopControlMask(unsigned(a) & unsigned(b)); } 2870constexpr LoopControlMask operator^(LoopControlMask a, LoopControlMask b) { return LoopControlMask(unsigned(a) ^ unsigned(b)); } 2871constexpr LoopControlMask operator~(LoopControlMask a) { return LoopControlMask(~unsigned(a)); } 2872constexpr FunctionControlMask operator|(FunctionControlMask a, FunctionControlMask b) { return FunctionControlMask(unsigned(a) | unsigned(b)); } 2873constexpr FunctionControlMask operator&(FunctionControlMask a, FunctionControlMask b) { return FunctionControlMask(unsigned(a) & unsigned(b)); } 2874constexpr FunctionControlMask operator^(FunctionControlMask a, FunctionControlMask b) { return FunctionControlMask(unsigned(a) ^ unsigned(b)); } 2875constexpr FunctionControlMask operator~(FunctionControlMask a) { return FunctionControlMask(~unsigned(a)); } 2876constexpr MemorySemanticsMask operator|(MemorySemanticsMask a, MemorySemanticsMask b) { return MemorySemanticsMask(unsigned(a) | unsigned(b)); } 2877constexpr MemorySemanticsMask operator&(MemorySemanticsMask a, MemorySemanticsMask b) { return MemorySemanticsMask(unsigned(a) & unsigned(b)); } 2878constexpr MemorySemanticsMask operator^(MemorySemanticsMask a, MemorySemanticsMask b) { return MemorySemanticsMask(unsigned(a) ^ unsigned(b)); } 2879constexpr MemorySemanticsMask operator~(MemorySemanticsMask a) { return MemorySemanticsMask(~unsigned(a)); } 2880constexpr MemoryAccessMask operator|(MemoryAccessMask a, MemoryAccessMask b) { return MemoryAccessMask(unsigned(a) | unsigned(b)); } 2881constexpr MemoryAccessMask operator&(MemoryAccessMask a, MemoryAccessMask b) { return MemoryAccessMask(unsigned(a) & unsigned(b)); } 2882constexpr MemoryAccessMask operator^(MemoryAccessMask a, MemoryAccessMask b) { return MemoryAccessMask(unsigned(a) ^ unsigned(b)); } 2883constexpr MemoryAccessMask operator~(MemoryAccessMask a) { return MemoryAccessMask(~unsigned(a)); } 2884constexpr KernelProfilingInfoMask operator|(KernelProfilingInfoMask a, KernelProfilingInfoMask b) { return KernelProfilingInfoMask(unsigned(a) | unsigned(b)); } 2885constexpr KernelProfilingInfoMask operator&(KernelProfilingInfoMask a, KernelProfilingInfoMask b) { return KernelProfilingInfoMask(unsigned(a) & unsigned(b)); } 2886constexpr KernelProfilingInfoMask operator^(KernelProfilingInfoMask a, KernelProfilingInfoMask b) { return KernelProfilingInfoMask(unsigned(a) ^ unsigned(b)); } 2887constexpr KernelProfilingInfoMask operator~(KernelProfilingInfoMask a) { return KernelProfilingInfoMask(~unsigned(a)); } 2888constexpr RayFlagsMask operator|(RayFlagsMask a, RayFlagsMask b) { return RayFlagsMask(unsigned(a) | unsigned(b)); } 2889constexpr RayFlagsMask operator&(RayFlagsMask a, RayFlagsMask b) { return RayFlagsMask(unsigned(a) & unsigned(b)); } 2890constexpr RayFlagsMask operator^(RayFlagsMask a, RayFlagsMask b) { return RayFlagsMask(unsigned(a) ^ unsigned(b)); } 2891constexpr RayFlagsMask operator~(RayFlagsMask a) { return RayFlagsMask(~unsigned(a)); } 2892constexpr FragmentShadingRateMask operator|(FragmentShadingRateMask a, FragmentShadingRateMask b) { return FragmentShadingRateMask(unsigned(a) | unsigned(b)); } 2893constexpr FragmentShadingRateMask operator&(FragmentShadingRateMask a, FragmentShadingRateMask b) { return FragmentShadingRateMask(unsigned(a) & unsigned(b)); } 2894constexpr FragmentShadingRateMask operator^(FragmentShadingRateMask a, FragmentShadingRateMask b) { return FragmentShadingRateMask(unsigned(a) ^ unsigned(b)); } 2895constexpr FragmentShadingRateMask operator~(FragmentShadingRateMask a) { return FragmentShadingRateMask(~unsigned(a)); } 2896constexpr CooperativeMatrixOperandsMask operator|(CooperativeMatrixOperandsMask a, CooperativeMatrixOperandsMask b) { return CooperativeMatrixOperandsMask(unsigned(a) | unsigned(b)); } 2897constexpr CooperativeMatrixOperandsMask operator&(CooperativeMatrixOperandsMask a, CooperativeMatrixOperandsMask b) { return CooperativeMatrixOperandsMask(unsigned(a) & unsigned(b)); } 2898constexpr CooperativeMatrixOperandsMask operator^(CooperativeMatrixOperandsMask a, CooperativeMatrixOperandsMask b) { return CooperativeMatrixOperandsMask(unsigned(a) ^ unsigned(b)); } 2899constexpr CooperativeMatrixOperandsMask operator~(CooperativeMatrixOperandsMask a) { return CooperativeMatrixOperandsMask(~unsigned(a)); } 2900 2901} // end namespace spv 2902 2903#endif // #ifndef spirv_HPP 2904 2905