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