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