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