Debian Codegraph @

third_party/spirv-tools/external/spirv-headers/include/spirv/unified1/spirv.cs

raw
1 // Copyright (c) 2014-2020 The Khronos Group Inc.
2 //
3 // Permission is hereby granted, free of charge, to any person obtaining a copy
4 // of this software and/or associated documentation files (the "Materials"),
5 // to deal in the Materials without restriction, including without limitation
6 // the rights to use, copy, modify, merge, publish, distribute, sublicense,
7 // and/or sell copies of the Materials, and to permit persons to whom the
8 // Materials are furnished to do so, subject to the following conditions:
9 //
10 // The above copyright notice and this permission notice shall be included in
11 // all copies or substantial portions of the Materials.
12 //
13 // MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS KHRONOS
14 // STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS SPECIFICATIONS AND
15 // HEADER INFORMATION ARE LOCATED AT https://www.khronos.org/registry/
16 //
17 // THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
18 // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
20 // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22 // FROM,OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE USE OR OTHER DEALINGS
23 // IN THE MATERIALS.
24
25 // This header is automatically generated by the same tool that creates
26 // the Binary Section of the SPIR-V specification.
27
28 // Enumeration tokens for SPIR-V, in various styles:
29 // C, C++, C++11, JSON, Lua, Python, C#, D
30 //
31 // - C will have tokens with a "Spv" prefix, e.g.: SpvSourceLanguageGLSL
32 // - C++ will have tokens in the "spv" name space, e.g.: spv::SourceLanguageGLSL
33 // - C++11 will use enum classes in the spv namespace, e.g.: spv::SourceLanguage::GLSL
34 // - Lua will use tables, e.g.: spv.SourceLanguage.GLSL
35 // - Python will use dictionaries, e.g.: spv['SourceLanguage']['GLSL']
36 // - C# will use enum classes in the Specification class located in the "Spv" namespace,
37 // e.g.: Spv.Specification.SourceLanguage.GLSL
38 // - D will have tokens under the "spv" module, e.g: spv.SourceLanguage.GLSL
39 //
40 // Some tokens act like mask values, which can be OR'd together,
41 // while others are mutually exclusive. The mask-like ones have
42 // "Mask" in their name, and a parallel enum that has the shift
43 // amount (1 << x) for each corresponding enumerant.
44
45 namespace Spv
46 {
47
48 public static class Specification
49 {
50 public const uint MagicNumber = 0x07230203;
51 public const uint Version = 0x00010500;
52 public const uint Revision = 4;
53 public const uint OpCodeMask = 0xffff;
54 public const uint WordCountShift = 16;
55
56 public enum SourceLanguage
57 {
58 Unknown = 0,
59 ESSL = 1,
60 GLSL = 2,
61 OpenCL_C = 3,
62 OpenCL_CPP = 4,
63 HLSL = 5,
64 }
65
66 public enum ExecutionModel
67 {
68 Vertex = 0,
69 TessellationControl = 1,
70 TessellationEvaluation = 2,
71 Geometry = 3,
72 Fragment = 4,
73 GLCompute = 5,
74 Kernel = 6,
75 TaskNV = 5267,
76 MeshNV = 5268,
77 RayGenerationKHR = 5313,
78 RayGenerationNV = 5313,
79 IntersectionKHR = 5314,
80 IntersectionNV = 5314,
81 AnyHitKHR = 5315,
82 AnyHitNV = 5315,
83 ClosestHitKHR = 5316,
84 ClosestHitNV = 5316,
85 MissKHR = 5317,
86 MissNV = 5317,
87 CallableKHR = 5318,
88 CallableNV = 5318,
89 }
90
91 public enum AddressingModel
92 {
93 Logical = 0,
94 Physical32 = 1,
95 Physical64 = 2,
96 PhysicalStorageBuffer64 = 5348,
97 PhysicalStorageBuffer64EXT = 5348,
98 }
99
100 public enum MemoryModel
101 {
102 Simple = 0,
103 GLSL450 = 1,
104 OpenCL = 2,
105 Vulkan = 3,
106 VulkanKHR = 3,
107 }
108
109 public enum ExecutionMode
110 {
111 Invocations = 0,
112 SpacingEqual = 1,
113 SpacingFractionalEven = 2,
114 SpacingFractionalOdd = 3,
115 VertexOrderCw = 4,
116 VertexOrderCcw = 5,
117 PixelCenterInteger = 6,
118 OriginUpperLeft = 7,
119 OriginLowerLeft = 8,
120 EarlyFragmentTests = 9,
121 PointMode = 10,
122 Xfb = 11,
123 DepthReplacing = 12,
124 DepthGreater = 14,
125 DepthLess = 15,
126 DepthUnchanged = 16,
127 LocalSize = 17,
128 LocalSizeHint = 18,
129 InputPoints = 19,
130 InputLines = 20,
131 InputLinesAdjacency = 21,
132 Triangles = 22,
133 InputTrianglesAdjacency = 23,
134 Quads = 24,
135 Isolines = 25,
136 OutputVertices = 26,
137 OutputPoints = 27,
138 OutputLineStrip = 28,
139 OutputTriangleStrip = 29,
140 VecTypeHint = 30,
141 ContractionOff = 31,
142 Initializer = 33,
143 Finalizer = 34,
144 SubgroupSize = 35,
145 SubgroupsPerWorkgroup = 36,
146 SubgroupsPerWorkgroupId = 37,
147 LocalSizeId = 38,
148 LocalSizeHintId = 39,
149 PostDepthCoverage = 4446,
150 DenormPreserve = 4459,
151 DenormFlushToZero = 4460,
152 SignedZeroInfNanPreserve = 4461,
153 RoundingModeRTE = 4462,
154 RoundingModeRTZ = 4463,
155 StencilRefReplacingEXT = 5027,
156 OutputLinesNV = 5269,
157 OutputPrimitivesNV = 5270,
158 DerivativeGroupQuadsNV = 5289,
159 DerivativeGroupLinearNV = 5290,
160 OutputTrianglesNV = 5298,
161 PixelInterlockOrderedEXT = 5366,
162 PixelInterlockUnorderedEXT = 5367,
163 SampleInterlockOrderedEXT = 5368,
164 SampleInterlockUnorderedEXT = 5369,
165 ShadingRateInterlockOrderedEXT = 5370,
166 ShadingRateInterlockUnorderedEXT = 5371,
167 MaxWorkgroupSizeINTEL = 5893,
168 MaxWorkDimINTEL = 5894,
169 NoGlobalOffsetINTEL = 5895,
170 NumSIMDWorkitemsINTEL = 5896,
171 }
172
173 public enum StorageClass
174 {
175 UniformConstant = 0,
176 Input = 1,
177 Uniform = 2,
178 Output = 3,
179 Workgroup = 4,
180 CrossWorkgroup = 5,
181 Private = 6,
182 Function = 7,
183 Generic = 8,
184 PushConstant = 9,
185 AtomicCounter = 10,
186 Image = 11,
187 StorageBuffer = 12,
188 CallableDataKHR = 5328,
189 CallableDataNV = 5328,
190 IncomingCallableDataKHR = 5329,
191 IncomingCallableDataNV = 5329,
192 RayPayloadKHR = 5338,
193 RayPayloadNV = 5338,
194 HitAttributeKHR = 5339,
195 HitAttributeNV = 5339,
196 IncomingRayPayloadKHR = 5342,
197 IncomingRayPayloadNV = 5342,
198 ShaderRecordBufferKHR = 5343,
199 ShaderRecordBufferNV = 5343,
200 PhysicalStorageBuffer = 5349,
201 PhysicalStorageBufferEXT = 5349,
202 CodeSectionINTEL = 5605,
203 }
204
205 public enum Dim
206 {
207 Dim1D = 0,
208 Dim2D = 1,
209 Dim3D = 2,
210 Cube = 3,
211 Rect = 4,
212 Buffer = 5,
213 SubpassData = 6,
214 }
215
216 public enum SamplerAddressingMode
217 {
218 None = 0,
219 ClampToEdge = 1,
220 Clamp = 2,
221 Repeat = 3,
222 RepeatMirrored = 4,
223 }
224
225 public enum SamplerFilterMode
226 {
227 Nearest = 0,
228 Linear = 1,
229 }
230
231 public enum ImageFormat
232 {
233 Unknown = 0,
234 Rgba32f = 1,
235 Rgba16f = 2,
236 R32f = 3,
237 Rgba8 = 4,
238 Rgba8Snorm = 5,
239 Rg32f = 6,
240 Rg16f = 7,
241 R11fG11fB10f = 8,
242 R16f = 9,
243 Rgba16 = 10,
244 Rgb10A2 = 11,
245 Rg16 = 12,
246 Rg8 = 13,
247 R16 = 14,
248 R8 = 15,
249 Rgba16Snorm = 16,
250 Rg16Snorm = 17,
251 Rg8Snorm = 18,
252 R16Snorm = 19,
253 R8Snorm = 20,
254 Rgba32i = 21,
255 Rgba16i = 22,
256 Rgba8i = 23,
257 R32i = 24,
258 Rg32i = 25,
259 Rg16i = 26,
260 Rg8i = 27,
261 R16i = 28,
262 R8i = 29,
263 Rgba32ui = 30,
264 Rgba16ui = 31,
265 Rgba8ui = 32,
266 R32ui = 33,
267 Rgb10a2ui = 34,
268 Rg32ui = 35,
269 Rg16ui = 36,
270 Rg8ui = 37,
271 R16ui = 38,
272 R8ui = 39,
273 R64ui = 40,
274 R64i = 41,
275 }
276
277 public enum ImageChannelOrder
278 {
279 R = 0,
280 A = 1,
281 RG = 2,
282 RA = 3,
283 RGB = 4,
284 RGBA = 5,
285 BGRA = 6,
286 ARGB = 7,
287 Intensity = 8,
288 Luminance = 9,
289 Rx = 10,
290 RGx = 11,
291 RGBx = 12,
292 Depth = 13,
293 DepthStencil = 14,
294 sRGB = 15,
295 sRGBx = 16,
296 sRGBA = 17,
297 sBGRA = 18,
298 ABGR = 19,
299 }
300
301 public enum ImageChannelDataType
302 {
303 SnormInt8 = 0,
304 SnormInt16 = 1,
305 UnormInt8 = 2,
306 UnormInt16 = 3,
307 UnormShort565 = 4,
308 UnormShort555 = 5,
309 UnormInt101010 = 6,
310 SignedInt8 = 7,
311 SignedInt16 = 8,
312 SignedInt32 = 9,
313 UnsignedInt8 = 10,
314 UnsignedInt16 = 11,
315 UnsignedInt32 = 12,
316 HalfFloat = 13,
317 Float = 14,
318 UnormInt24 = 15,
319 UnormInt101010_2 = 16,
320 }
321
322 public enum ImageOperandsShift
323 {
324 Bias = 0,
325 Lod = 1,
326 Grad = 2,
327 ConstOffset = 3,
328 Offset = 4,
329 ConstOffsets = 5,
330 Sample = 6,
331 MinLod = 7,
332 MakeTexelAvailable = 8,
333 MakeTexelAvailableKHR = 8,
334 MakeTexelVisible = 9,
335 MakeTexelVisibleKHR = 9,
336 NonPrivateTexel = 10,
337 NonPrivateTexelKHR = 10,
338 VolatileTexel = 11,
339 VolatileTexelKHR = 11,
340 SignExtend = 12,
341 ZeroExtend = 13,
342 }
343
344 public enum ImageOperandsMask
345 {
346 MaskNone = 0,
347 Bias = 0x00000001,
348 Lod = 0x00000002,
349 Grad = 0x00000004,
350 ConstOffset = 0x00000008,
351 Offset = 0x00000010,
352 ConstOffsets = 0x00000020,
353 Sample = 0x00000040,
354 MinLod = 0x00000080,
355 MakeTexelAvailable = 0x00000100,
356 MakeTexelAvailableKHR = 0x00000100,
357 MakeTexelVisible = 0x00000200,
358 MakeTexelVisibleKHR = 0x00000200,
359 NonPrivateTexel = 0x00000400,
360 NonPrivateTexelKHR = 0x00000400,
361 VolatileTexel = 0x00000800,
362 VolatileTexelKHR = 0x00000800,
363 SignExtend = 0x00001000,
364 ZeroExtend = 0x00002000,
365 }
366
367 public enum FPFastMathModeShift
368 {
369 NotNaN = 0,
370 NotInf = 1,
371 NSZ = 2,
372 AllowRecip = 3,
373 Fast = 4,
374 }
375
376 public enum FPFastMathModeMask
377 {
378 MaskNone = 0,
379 NotNaN = 0x00000001,
380 NotInf = 0x00000002,
381 NSZ = 0x00000004,
382 AllowRecip = 0x00000008,
383 Fast = 0x00000010,
384 }
385
386 public enum FPRoundingMode
387 {
388 RTE = 0,
389 RTZ = 1,
390 RTP = 2,
391 RTN = 3,
392 }
393
394 public enum LinkageType
395 {
396 Export = 0,
397 Import = 1,
398 }
399
400 public enum AccessQualifier
401 {
402 ReadOnly = 0,
403 WriteOnly = 1,
404 ReadWrite = 2,
405 }
406
407 public enum FunctionParameterAttribute
408 {
409 Zext = 0,
410 Sext = 1,
411 ByVal = 2,
412 Sret = 3,
413 NoAlias = 4,
414 NoCapture = 5,
415 NoWrite = 6,
416 NoReadWrite = 7,
417 }
418
419 public enum Decoration
420 {
421 RelaxedPrecision = 0,
422 SpecId = 1,
423 Block = 2,
424 BufferBlock = 3,
425 RowMajor = 4,
426 ColMajor = 5,
427 ArrayStride = 6,
428 MatrixStride = 7,
429 GLSLShared = 8,
430 GLSLPacked = 9,
431 CPacked = 10,
432 BuiltIn = 11,
433 NoPerspective = 13,
434 Flat = 14,
435 Patch = 15,
436 Centroid = 16,
437 Sample = 17,
438 Invariant = 18,
439 Restrict = 19,
440 Aliased = 20,
441 Volatile = 21,
442 Constant = 22,
443 Coherent = 23,
444 NonWritable = 24,
445 NonReadable = 25,
446 Uniform = 26,
447 UniformId = 27,
448 SaturatedConversion = 28,
449 Stream = 29,
450 Location = 30,
451 Component = 31,
452 Index = 32,
453 Binding = 33,
454 DescriptorSet = 34,
455 Offset = 35,
456 XfbBuffer = 36,
457 XfbStride = 37,
458 FuncParamAttr = 38,
459 FPRoundingMode = 39,
460 FPFastMathMode = 40,
461 LinkageAttributes = 41,
462 NoContraction = 42,
463 InputAttachmentIndex = 43,
464 Alignment = 44,
465 MaxByteOffset = 45,
466 AlignmentId = 46,
467 MaxByteOffsetId = 47,
468 NoSignedWrap = 4469,
469 NoUnsignedWrap = 4470,
470 ExplicitInterpAMD = 4999,
471 OverrideCoverageNV = 5248,
472 PassthroughNV = 5250,
473 ViewportRelativeNV = 5252,
474 SecondaryViewportRelativeNV = 5256,
475 PerPrimitiveNV = 5271,
476 PerViewNV = 5272,
477 PerTaskNV = 5273,
478 PerVertexNV = 5285,
479 NonUniform = 5300,
480 NonUniformEXT = 5300,
481 RestrictPointer = 5355,
482 RestrictPointerEXT = 5355,
483 AliasedPointer = 5356,
484 AliasedPointerEXT = 5356,
485 ReferencedIndirectlyINTEL = 5602,
486 CounterBuffer = 5634,
487 HlslCounterBufferGOOGLE = 5634,
488 HlslSemanticGOOGLE = 5635,
489 UserSemantic = 5635,
490 UserTypeGOOGLE = 5636,
491 RegisterINTEL = 5825,
492 MemoryINTEL = 5826,
493 NumbanksINTEL = 5827,
494 BankwidthINTEL = 5828,
495 MaxPrivateCopiesINTEL = 5829,
496 SinglepumpINTEL = 5830,
497 DoublepumpINTEL = 5831,
498 MaxReplicatesINTEL = 5832,
499 SimpleDualPortINTEL = 5833,
500 MergeINTEL = 5834,
501 BankBitsINTEL = 5835,
502 ForcePow2DepthINTEL = 5836,
503 }
504
505 public enum BuiltIn
506 {
507 Position = 0,
508 PointSize = 1,
509 ClipDistance = 3,
510 CullDistance = 4,
511 VertexId = 5,
512 InstanceId = 6,
513 PrimitiveId = 7,
514 InvocationId = 8,
515 Layer = 9,
516 ViewportIndex = 10,
517 TessLevelOuter = 11,
518 TessLevelInner = 12,
519 TessCoord = 13,
520 PatchVertices = 14,
521 FragCoord = 15,
522 PointCoord = 16,
523 FrontFacing = 17,
524 SampleId = 18,
525 SamplePosition = 19,
526 SampleMask = 20,
527 FragDepth = 22,
528 HelperInvocation = 23,
529 NumWorkgroups = 24,
530 WorkgroupSize = 25,
531 WorkgroupId = 26,
532 LocalInvocationId = 27,
533 GlobalInvocationId = 28,
534 LocalInvocationIndex = 29,
535 WorkDim = 30,
536 GlobalSize = 31,
537 EnqueuedWorkgroupSize = 32,
538 GlobalOffset = 33,
539 GlobalLinearId = 34,
540 SubgroupSize = 36,
541 SubgroupMaxSize = 37,
542 NumSubgroups = 38,
543 NumEnqueuedSubgroups = 39,
544 SubgroupId = 40,
545 SubgroupLocalInvocationId = 41,
546 VertexIndex = 42,
547 InstanceIndex = 43,
548 SubgroupEqMask = 4416,
549 SubgroupEqMaskKHR = 4416,
550 SubgroupGeMask = 4417,
551 SubgroupGeMaskKHR = 4417,
552 SubgroupGtMask = 4418,
553 SubgroupGtMaskKHR = 4418,
554 SubgroupLeMask = 4419,
555 SubgroupLeMaskKHR = 4419,
556 SubgroupLtMask = 4420,
557 SubgroupLtMaskKHR = 4420,
558 BaseVertex = 4424,
559 BaseInstance = 4425,
560 DrawIndex = 4426,
561 PrimitiveShadingRateKHR = 4432,
562 DeviceIndex = 4438,
563 ViewIndex = 4440,
564 ShadingRateKHR = 4444,
565 BaryCoordNoPerspAMD = 4992,
566 BaryCoordNoPerspCentroidAMD = 4993,
567 BaryCoordNoPerspSampleAMD = 4994,
568 BaryCoordSmoothAMD = 4995,
569 BaryCoordSmoothCentroidAMD = 4996,
570 BaryCoordSmoothSampleAMD = 4997,
571 BaryCoordPullModelAMD = 4998,
572 FragStencilRefEXT = 5014,
573 ViewportMaskNV = 5253,
574 SecondaryPositionNV = 5257,
575 SecondaryViewportMaskNV = 5258,
576 PositionPerViewNV = 5261,
577 ViewportMaskPerViewNV = 5262,
578 FullyCoveredEXT = 5264,
579 TaskCountNV = 5274,
580 PrimitiveCountNV = 5275,
581 PrimitiveIndicesNV = 5276,
582 ClipDistancePerViewNV = 5277,
583 CullDistancePerViewNV = 5278,
584 LayerPerViewNV = 5279,
585 MeshViewCountNV = 5280,
586 MeshViewIndicesNV = 5281,
587 BaryCoordNV = 5286,
588 BaryCoordNoPerspNV = 5287,
589 FragSizeEXT = 5292,
590 FragmentSizeNV = 5292,
591 FragInvocationCountEXT = 5293,
592 InvocationsPerPixelNV = 5293,
593 LaunchIdKHR = 5319,
594 LaunchIdNV = 5319,
595 LaunchSizeKHR = 5320,
596 LaunchSizeNV = 5320,
597 WorldRayOriginKHR = 5321,
598 WorldRayOriginNV = 5321,
599 WorldRayDirectionKHR = 5322,
600 WorldRayDirectionNV = 5322,
601 ObjectRayOriginKHR = 5323,
602 ObjectRayOriginNV = 5323,
603 ObjectRayDirectionKHR = 5324,
604 ObjectRayDirectionNV = 5324,
605 RayTminKHR = 5325,
606 RayTminNV = 5325,
607 RayTmaxKHR = 5326,
608 RayTmaxNV = 5326,
609 InstanceCustomIndexKHR = 5327,
610 InstanceCustomIndexNV = 5327,
611 ObjectToWorldKHR = 5330,
612 ObjectToWorldNV = 5330,
613 WorldToObjectKHR = 5331,
614 WorldToObjectNV = 5331,
615 HitTKHR = 5332,
616 HitTNV = 5332,
617 HitKindKHR = 5333,
618 HitKindNV = 5333,
619 IncomingRayFlagsKHR = 5351,
620 IncomingRayFlagsNV = 5351,
621 RayGeometryIndexKHR = 5352,
622 WarpsPerSMNV = 5374,
623 SMCountNV = 5375,
624 WarpIDNV = 5376,
625 SMIDNV = 5377,
626 }
627
628 public enum SelectionControlShift
629 {
630 Flatten = 0,
631 DontFlatten = 1,
632 }
633
634 public enum SelectionControlMask
635 {
636 MaskNone = 0,
637 Flatten = 0x00000001,
638 DontFlatten = 0x00000002,
639 }
640
641 public enum LoopControlShift
642 {
643 Unroll = 0,
644 DontUnroll = 1,
645 DependencyInfinite = 2,
646 DependencyLength = 3,
647 MinIterations = 4,
648 MaxIterations = 5,
649 IterationMultiple = 6,
650 PeelCount = 7,
651 PartialCount = 8,
652 InitiationIntervalINTEL = 16,
653 MaxConcurrencyINTEL = 17,
654 DependencyArrayINTEL = 18,
655 PipelineEnableINTEL = 19,
656 LoopCoalesceINTEL = 20,
657 MaxInterleavingINTEL = 21,
658 SpeculatedIterationsINTEL = 22,
659 }
660
661 public enum LoopControlMask
662 {
663 MaskNone = 0,
664 Unroll = 0x00000001,
665 DontUnroll = 0x00000002,
666 DependencyInfinite = 0x00000004,
667 DependencyLength = 0x00000008,
668 MinIterations = 0x00000010,
669 MaxIterations = 0x00000020,
670 IterationMultiple = 0x00000040,
671 PeelCount = 0x00000080,
672 PartialCount = 0x00000100,
673 InitiationIntervalINTEL = 0x00010000,
674 MaxConcurrencyINTEL = 0x00020000,
675 DependencyArrayINTEL = 0x00040000,
676 PipelineEnableINTEL = 0x00080000,
677 LoopCoalesceINTEL = 0x00100000,
678 MaxInterleavingINTEL = 0x00200000,
679 SpeculatedIterationsINTEL = 0x00400000,
680 }
681
682 public enum FunctionControlShift
683 {
684 Inline = 0,
685 DontInline = 1,
686 Pure = 2,
687 Const = 3,
688 }
689
690 public enum FunctionControlMask
691 {
692 MaskNone = 0,
693 Inline = 0x00000001,
694 DontInline = 0x00000002,
695 Pure = 0x00000004,
696 Const = 0x00000008,
697 }
698
699 public enum MemorySemanticsShift
700 {
701 Acquire = 1,
702 Release = 2,
703 AcquireRelease = 3,
704 SequentiallyConsistent = 4,
705 UniformMemory = 6,
706 SubgroupMemory = 7,
707 WorkgroupMemory = 8,
708 CrossWorkgroupMemory = 9,
709 AtomicCounterMemory = 10,
710 ImageMemory = 11,
711 OutputMemory = 12,
712 OutputMemoryKHR = 12,
713 MakeAvailable = 13,
714 MakeAvailableKHR = 13,
715 MakeVisible = 14,
716 MakeVisibleKHR = 14,
717 Volatile = 15,
718 }
719
720 public enum MemorySemanticsMask
721 {
722 MaskNone = 0,
723 Acquire = 0x00000002,
724 Release = 0x00000004,
725 AcquireRelease = 0x00000008,
726 SequentiallyConsistent = 0x00000010,
727 UniformMemory = 0x00000040,
728 SubgroupMemory = 0x00000080,
729 WorkgroupMemory = 0x00000100,
730 CrossWorkgroupMemory = 0x00000200,
731 AtomicCounterMemory = 0x00000400,
732 ImageMemory = 0x00000800,
733 OutputMemory = 0x00001000,
734 OutputMemoryKHR = 0x00001000,
735 MakeAvailable = 0x00002000,
736 MakeAvailableKHR = 0x00002000,
737 MakeVisible = 0x00004000,
738 MakeVisibleKHR = 0x00004000,
739 Volatile = 0x00008000,
740 }
741
742 public enum MemoryAccessShift
743 {
744 Volatile = 0,
745 Aligned = 1,
746 Nontemporal = 2,
747 MakePointerAvailable = 3,
748 MakePointerAvailableKHR = 3,
749 MakePointerVisible = 4,
750 MakePointerVisibleKHR = 4,
751 NonPrivatePointer = 5,
752 NonPrivatePointerKHR = 5,
753 }
754
755 public enum MemoryAccessMask
756 {
757 MaskNone = 0,
758 Volatile = 0x00000001,
759 Aligned = 0x00000002,
760 Nontemporal = 0x00000004,
761 MakePointerAvailable = 0x00000008,
762 MakePointerAvailableKHR = 0x00000008,
763 MakePointerVisible = 0x00000010,
764 MakePointerVisibleKHR = 0x00000010,
765 NonPrivatePointer = 0x00000020,
766 NonPrivatePointerKHR = 0x00000020,
767 }
768
769 public enum Scope
770 {
771 CrossDevice = 0,
772 Device = 1,
773 Workgroup = 2,
774 Subgroup = 3,
775 Invocation = 4,
776 QueueFamily = 5,
777 QueueFamilyKHR = 5,
778 ShaderCallKHR = 6,
779 }
780
781 public enum GroupOperation
782 {
783 Reduce = 0,
784 InclusiveScan = 1,
785 ExclusiveScan = 2,
786 ClusteredReduce = 3,
787 PartitionedReduceNV = 6,
788 PartitionedInclusiveScanNV = 7,
789 PartitionedExclusiveScanNV = 8,
790 }
791
792 public enum KernelEnqueueFlags
793 {
794 NoWait = 0,
795 WaitKernel = 1,
796 WaitWorkGroup = 2,
797 }
798
799 public enum KernelProfilingInfoShift
800 {
801 CmdExecTime = 0,
802 }
803
804 public enum KernelProfilingInfoMask
805 {
806 MaskNone = 0,
807 CmdExecTime = 0x00000001,
808 }
809
810 public enum Capability
811 {
812 Matrix = 0,
813 Shader = 1,
814 Geometry = 2,
815 Tessellation = 3,
816 Addresses = 4,
817 Linkage = 5,
818 Kernel = 6,
819 Vector16 = 7,
820 Float16Buffer = 8,
821 Float16 = 9,
822 Float64 = 10,
823 Int64 = 11,
824 Int64Atomics = 12,
825 ImageBasic = 13,
826 ImageReadWrite = 14,
827 ImageMipmap = 15,
828 Pipes = 17,
829 Groups = 18,
830 DeviceEnqueue = 19,
831 LiteralSampler = 20,
832 AtomicStorage = 21,
833 Int16 = 22,
834 TessellationPointSize = 23,
835 GeometryPointSize = 24,
836 ImageGatherExtended = 25,
837 StorageImageMultisample = 27,
838 UniformBufferArrayDynamicIndexing = 28,
839 SampledImageArrayDynamicIndexing = 29,
840 StorageBufferArrayDynamicIndexing = 30,
841 StorageImageArrayDynamicIndexing = 31,
842 ClipDistance = 32,
843 CullDistance = 33,
844 ImageCubeArray = 34,
845 SampleRateShading = 35,
846 ImageRect = 36,
847 SampledRect = 37,
848 GenericPointer = 38,
849 Int8 = 39,
850 InputAttachment = 40,
851 SparseResidency = 41,
852 MinLod = 42,
853 Sampled1D = 43,
854 Image1D = 44,
855 SampledCubeArray = 45,
856 SampledBuffer = 46,
857 ImageBuffer = 47,
858 ImageMSArray = 48,
859 StorageImageExtendedFormats = 49,
860 ImageQuery = 50,
861 DerivativeControl = 51,
862 InterpolationFunction = 52,
863 TransformFeedback = 53,
864 GeometryStreams = 54,
865 StorageImageReadWithoutFormat = 55,
866 StorageImageWriteWithoutFormat = 56,
867 MultiViewport = 57,
868 SubgroupDispatch = 58,
869 NamedBarrier = 59,
870 PipeStorage = 60,
871 GroupNonUniform = 61,
872 GroupNonUniformVote = 62,
873 GroupNonUniformArithmetic = 63,
874 GroupNonUniformBallot = 64,
875 GroupNonUniformShuffle = 65,
876 GroupNonUniformShuffleRelative = 66,
877 GroupNonUniformClustered = 67,
878 GroupNonUniformQuad = 68,
879 ShaderLayer = 69,
880 ShaderViewportIndex = 70,
881 FragmentShadingRateKHR = 4422,
882 SubgroupBallotKHR = 4423,
883 DrawParameters = 4427,
884 SubgroupVoteKHR = 4431,
885 StorageBuffer16BitAccess = 4433,
886 StorageUniformBufferBlock16 = 4433,
887 StorageUniform16 = 4434,
888 UniformAndStorageBuffer16BitAccess = 4434,
889 StoragePushConstant16 = 4435,
890 StorageInputOutput16 = 4436,
891 DeviceGroup = 4437,
892 MultiView = 4439,
893 VariablePointersStorageBuffer = 4441,
894 VariablePointers = 4442,
895 AtomicStorageOps = 4445,
896 SampleMaskPostDepthCoverage = 4447,
897 StorageBuffer8BitAccess = 4448,
898 UniformAndStorageBuffer8BitAccess = 4449,
899 StoragePushConstant8 = 4450,
900 DenormPreserve = 4464,
901 DenormFlushToZero = 4465,
902 SignedZeroInfNanPreserve = 4466,
903 RoundingModeRTE = 4467,
904 RoundingModeRTZ = 4468,
905 RayQueryProvisionalKHR = 4471,
906 RayTraversalPrimitiveCullingProvisionalKHR = 4478,
907 Float16ImageAMD = 5008,
908 ImageGatherBiasLodAMD = 5009,
909 FragmentMaskAMD = 5010,
910 StencilExportEXT = 5013,
911 ImageReadWriteLodAMD = 5015,
912 Int64ImageEXT = 5016,
913 ShaderClockKHR = 5055,
914 SampleMaskOverrideCoverageNV = 5249,
915 GeometryShaderPassthroughNV = 5251,
916 ShaderViewportIndexLayerEXT = 5254,
917 ShaderViewportIndexLayerNV = 5254,
918 ShaderViewportMaskNV = 5255,
919 ShaderStereoViewNV = 5259,
920 PerViewAttributesNV = 5260,
921 FragmentFullyCoveredEXT = 5265,
922 MeshShadingNV = 5266,
923 ImageFootprintNV = 5282,
924 FragmentBarycentricNV = 5284,
925 ComputeDerivativeGroupQuadsNV = 5288,
926 FragmentDensityEXT = 5291,
927 ShadingRateNV = 5291,
928 GroupNonUniformPartitionedNV = 5297,
929 ShaderNonUniform = 5301,
930 ShaderNonUniformEXT = 5301,
931 RuntimeDescriptorArray = 5302,
932 RuntimeDescriptorArrayEXT = 5302,
933 InputAttachmentArrayDynamicIndexing = 5303,
934 InputAttachmentArrayDynamicIndexingEXT = 5303,
935 UniformTexelBufferArrayDynamicIndexing = 5304,
936 UniformTexelBufferArrayDynamicIndexingEXT = 5304,
937 StorageTexelBufferArrayDynamicIndexing = 5305,
938 StorageTexelBufferArrayDynamicIndexingEXT = 5305,
939 UniformBufferArrayNonUniformIndexing = 5306,
940 UniformBufferArrayNonUniformIndexingEXT = 5306,
941 SampledImageArrayNonUniformIndexing = 5307,
942 SampledImageArrayNonUniformIndexingEXT = 5307,
943 StorageBufferArrayNonUniformIndexing = 5308,
944 StorageBufferArrayNonUniformIndexingEXT = 5308,
945 StorageImageArrayNonUniformIndexing = 5309,
946 StorageImageArrayNonUniformIndexingEXT = 5309,
947 InputAttachmentArrayNonUniformIndexing = 5310,
948 InputAttachmentArrayNonUniformIndexingEXT = 5310,
949 UniformTexelBufferArrayNonUniformIndexing = 5311,
950 UniformTexelBufferArrayNonUniformIndexingEXT = 5311,
951 StorageTexelBufferArrayNonUniformIndexing = 5312,
952 StorageTexelBufferArrayNonUniformIndexingEXT = 5312,
953 RayTracingNV = 5340,
954 VulkanMemoryModel = 5345,
955 VulkanMemoryModelKHR = 5345,
956 VulkanMemoryModelDeviceScope = 5346,
957 VulkanMemoryModelDeviceScopeKHR = 5346,
958 PhysicalStorageBufferAddresses = 5347,
959 PhysicalStorageBufferAddressesEXT = 5347,
960 ComputeDerivativeGroupLinearNV = 5350,
961 RayTracingProvisionalKHR = 5353,
962 CooperativeMatrixNV = 5357,
963 FragmentShaderSampleInterlockEXT = 5363,
964 FragmentShaderShadingRateInterlockEXT = 5372,
965 ShaderSMBuiltinsNV = 5373,
966 FragmentShaderPixelInterlockEXT = 5378,
967 DemoteToHelperInvocationEXT = 5379,
968 SubgroupShuffleINTEL = 5568,
969 SubgroupBufferBlockIOINTEL = 5569,
970 SubgroupImageBlockIOINTEL = 5570,
971 SubgroupImageMediaBlockIOINTEL = 5579,
972 IntegerFunctions2INTEL = 5584,
973 FunctionPointersINTEL = 5603,
974 IndirectReferencesINTEL = 5604,
975 SubgroupAvcMotionEstimationINTEL = 5696,
976 SubgroupAvcMotionEstimationIntraINTEL = 5697,
977 SubgroupAvcMotionEstimationChromaINTEL = 5698,
978 FPGAMemoryAttributesINTEL = 5824,
979 UnstructuredLoopControlsINTEL = 5886,
980 FPGALoopControlsINTEL = 5888,
981 KernelAttributesINTEL = 5892,
982 FPGAKernelAttributesINTEL = 5897,
983 BlockingPipesINTEL = 5945,
984 FPGARegINTEL = 5948,
985 AtomicFloat32AddEXT = 6033,
986 AtomicFloat64AddEXT = 6034,
987 }
988
989 public enum RayFlagsShift
990 {
991 OpaqueKHR = 0,
992 NoOpaqueKHR = 1,
993 TerminateOnFirstHitKHR = 2,
994 SkipClosestHitShaderKHR = 3,
995 CullBackFacingTrianglesKHR = 4,
996 CullFrontFacingTrianglesKHR = 5,
997 CullOpaqueKHR = 6,
998 CullNoOpaqueKHR = 7,
999 SkipTrianglesKHR = 8,
1000 SkipAABBsKHR = 9,
1001 }
1002
1003 public enum RayFlagsMask
1004 {
1005 MaskNone = 0,
1006 OpaqueKHR = 0x00000001,
1007 NoOpaqueKHR = 0x00000002,
1008 TerminateOnFirstHitKHR = 0x00000004,
1009 SkipClosestHitShaderKHR = 0x00000008,
1010 CullBackFacingTrianglesKHR = 0x00000010,
1011 CullFrontFacingTrianglesKHR = 0x00000020,
1012 CullOpaqueKHR = 0x00000040,
1013 CullNoOpaqueKHR = 0x00000080,
1014 SkipTrianglesKHR = 0x00000100,
1015 SkipAABBsKHR = 0x00000200,
1016 }
1017
1018 public enum RayQueryIntersection
1019 {
1020 RayQueryCandidateIntersectionKHR = 0,
1021 RayQueryCommittedIntersectionKHR = 1,
1022 }
1023
1024 public enum RayQueryCommittedIntersectionType
1025 {
1026 RayQueryCommittedIntersectionNoneKHR = 0,
1027 RayQueryCommittedIntersectionTriangleKHR = 1,
1028 RayQueryCommittedIntersectionGeneratedKHR = 2,
1029 }
1030
1031 public enum RayQueryCandidateIntersectionType
1032 {
1033 RayQueryCandidateIntersectionTriangleKHR = 0,
1034 RayQueryCandidateIntersectionAABBKHR = 1,
1035 }
1036
1037 public enum FragmentShadingRateShift
1038 {
1039 Vertical2Pixels = 0,
1040 Vertical4Pixels = 1,
1041 Horizontal2Pixels = 2,
1042 Horizontal4Pixels = 3,
1043 }
1044
1045 public enum FragmentShadingRateMask
1046 {
1047 MaskNone = 0,
1048 Vertical2Pixels = 0x00000001,
1049 Vertical4Pixels = 0x00000002,
1050 Horizontal2Pixels = 0x00000004,
1051 Horizontal4Pixels = 0x00000008,
1052 }
1053
1054 public enum Op
1055 {
1056 OpNop = 0,
1057 OpUndef = 1,
1058 OpSourceContinued = 2,
1059 OpSource = 3,
1060 OpSourceExtension = 4,
1061 OpName = 5,
1062 OpMemberName = 6,
1063 OpString = 7,
1064 OpLine = 8,
1065 OpExtension = 10,
1066 OpExtInstImport = 11,
1067 OpExtInst = 12,
1068 OpMemoryModel = 14,
1069 OpEntryPoint = 15,
1070 OpExecutionMode = 16,
1071 OpCapability = 17,
1072 OpTypeVoid = 19,
1073 OpTypeBool = 20,
1074 OpTypeInt = 21,
1075 OpTypeFloat = 22,
1076 OpTypeVector = 23,
1077 OpTypeMatrix = 24,
1078 OpTypeImage = 25,
1079 OpTypeSampler = 26,
1080 OpTypeSampledImage = 27,
1081 OpTypeArray = 28,
1082 OpTypeRuntimeArray = 29,
1083 OpTypeStruct = 30,
1084 OpTypeOpaque = 31,
1085 OpTypePointer = 32,
1086 OpTypeFunction = 33,
1087 OpTypeEvent = 34,
1088 OpTypeDeviceEvent = 35,
1089 OpTypeReserveId = 36,
1090 OpTypeQueue = 37,
1091 OpTypePipe = 38,
1092 OpTypeForwardPointer = 39,
1093 OpConstantTrue = 41,
1094 OpConstantFalse = 42,
1095 OpConstant = 43,
1096 OpConstantComposite = 44,
1097 OpConstantSampler = 45,
1098 OpConstantNull = 46,
1099 OpSpecConstantTrue = 48,
1100 OpSpecConstantFalse = 49,
1101 OpSpecConstant = 50,
1102 OpSpecConstantComposite = 51,
1103 OpSpecConstantOp = 52,
1104 OpFunction = 54,
1105 OpFunctionParameter = 55,
1106 OpFunctionEnd = 56,
1107 OpFunctionCall = 57,
1108 OpVariable = 59,
1109 OpImageTexelPointer = 60,
1110 OpLoad = 61,
1111 OpStore = 62,
1112 OpCopyMemory = 63,
1113 OpCopyMemorySized = 64,
1114 OpAccessChain = 65,
1115 OpInBoundsAccessChain = 66,
1116 OpPtrAccessChain = 67,
1117 OpArrayLength = 68,
1118 OpGenericPtrMemSemantics = 69,
1119 OpInBoundsPtrAccessChain = 70,
1120 OpDecorate = 71,
1121 OpMemberDecorate = 72,
1122 OpDecorationGroup = 73,
1123 OpGroupDecorate = 74,
1124 OpGroupMemberDecorate = 75,
1125 OpVectorExtractDynamic = 77,
1126 OpVectorInsertDynamic = 78,
1127 OpVectorShuffle = 79,
1128 OpCompositeConstruct = 80,
1129 OpCompositeExtract = 81,
1130 OpCompositeInsert = 82,
1131 OpCopyObject = 83,
1132 OpTranspose = 84,
1133 OpSampledImage = 86,
1134 OpImageSampleImplicitLod = 87,
1135 OpImageSampleExplicitLod = 88,
1136 OpImageSampleDrefImplicitLod = 89,
1137 OpImageSampleDrefExplicitLod = 90,
1138 OpImageSampleProjImplicitLod = 91,
1139 OpImageSampleProjExplicitLod = 92,
1140 OpImageSampleProjDrefImplicitLod = 93,
1141 OpImageSampleProjDrefExplicitLod = 94,
1142 OpImageFetch = 95,
1143 OpImageGather = 96,
1144 OpImageDrefGather = 97,
1145 OpImageRead = 98,
1146 OpImageWrite = 99,
1147 OpImage = 100,
1148 OpImageQueryFormat = 101,
1149 OpImageQueryOrder = 102,
1150 OpImageQuerySizeLod = 103,
1151 OpImageQuerySize = 104,
1152 OpImageQueryLod = 105,
1153 OpImageQueryLevels = 106,
1154 OpImageQuerySamples = 107,
1155 OpConvertFToU = 109,
1156 OpConvertFToS = 110,
1157 OpConvertSToF = 111,
1158 OpConvertUToF = 112,
1159 OpUConvert = 113,
1160 OpSConvert = 114,
1161 OpFConvert = 115,
1162 OpQuantizeToF16 = 116,
1163 OpConvertPtrToU = 117,
1164 OpSatConvertSToU = 118,
1165 OpSatConvertUToS = 119,
1166 OpConvertUToPtr = 120,
1167 OpPtrCastToGeneric = 121,
1168 OpGenericCastToPtr = 122,
1169 OpGenericCastToPtrExplicit = 123,
1170 OpBitcast = 124,
1171 OpSNegate = 126,
1172 OpFNegate = 127,
1173 OpIAdd = 128,
1174 OpFAdd = 129,
1175 OpISub = 130,
1176 OpFSub = 131,
1177 OpIMul = 132,
1178 OpFMul = 133,
1179 OpUDiv = 134,
1180 OpSDiv = 135,
1181 OpFDiv = 136,
1182 OpUMod = 137,
1183 OpSRem = 138,
1184 OpSMod = 139,
1185 OpFRem = 140,
1186 OpFMod = 141,
1187 OpVectorTimesScalar = 142,
1188 OpMatrixTimesScalar = 143,
1189 OpVectorTimesMatrix = 144,
1190 OpMatrixTimesVector = 145,
1191 OpMatrixTimesMatrix = 146,
1192 OpOuterProduct = 147,
1193 OpDot = 148,
1194 OpIAddCarry = 149,
1195 OpISubBorrow = 150,
1196 OpUMulExtended = 151,
1197 OpSMulExtended = 152,
1198 OpAny = 154,
1199 OpAll = 155,
1200 OpIsNan = 156,
1201 OpIsInf = 157,
1202 OpIsFinite = 158,
1203 OpIsNormal = 159,
1204 OpSignBitSet = 160,
1205 OpLessOrGreater = 161,
1206 OpOrdered = 162,
1207 OpUnordered = 163,
1208 OpLogicalEqual = 164,
1209 OpLogicalNotEqual = 165,
1210 OpLogicalOr = 166,
1211 OpLogicalAnd = 167,
1212 OpLogicalNot = 168,
1213 OpSelect = 169,
1214 OpIEqual = 170,
1215 OpINotEqual = 171,
1216 OpUGreaterThan = 172,
1217 OpSGreaterThan = 173,
1218 OpUGreaterThanEqual = 174,
1219 OpSGreaterThanEqual = 175,
1220 OpULessThan = 176,
1221 OpSLessThan = 177,
1222 OpULessThanEqual = 178,
1223 OpSLessThanEqual = 179,
1224 OpFOrdEqual = 180,
1225 OpFUnordEqual = 181,
1226 OpFOrdNotEqual = 182,
1227 OpFUnordNotEqual = 183,
1228 OpFOrdLessThan = 184,
1229 OpFUnordLessThan = 185,
1230 OpFOrdGreaterThan = 186,
1231 OpFUnordGreaterThan = 187,
1232 OpFOrdLessThanEqual = 188,
1233 OpFUnordLessThanEqual = 189,
1234 OpFOrdGreaterThanEqual = 190,
1235 OpFUnordGreaterThanEqual = 191,
1236 OpShiftRightLogical = 194,
1237 OpShiftRightArithmetic = 195,
1238 OpShiftLeftLogical = 196,
1239 OpBitwiseOr = 197,
1240 OpBitwiseXor = 198,
1241 OpBitwiseAnd = 199,
1242 OpNot = 200,
1243 OpBitFieldInsert = 201,
1244 OpBitFieldSExtract = 202,
1245 OpBitFieldUExtract = 203,
1246 OpBitReverse = 204,
1247 OpBitCount = 205,
1248 OpDPdx = 207,
1249 OpDPdy = 208,
1250 OpFwidth = 209,
1251 OpDPdxFine = 210,
1252 OpDPdyFine = 211,
1253 OpFwidthFine = 212,
1254 OpDPdxCoarse = 213,
1255 OpDPdyCoarse = 214,
1256 OpFwidthCoarse = 215,
1257 OpEmitVertex = 218,
1258 OpEndPrimitive = 219,
1259 OpEmitStreamVertex = 220,
1260 OpEndStreamPrimitive = 221,
1261 OpControlBarrier = 224,
1262 OpMemoryBarrier = 225,
1263 OpAtomicLoad = 227,
1264 OpAtomicStore = 228,
1265 OpAtomicExchange = 229,
1266 OpAtomicCompareExchange = 230,
1267 OpAtomicCompareExchangeWeak = 231,
1268 OpAtomicIIncrement = 232,
1269 OpAtomicIDecrement = 233,
1270 OpAtomicIAdd = 234,
1271 OpAtomicISub = 235,
1272 OpAtomicSMin = 236,
1273 OpAtomicUMin = 237,
1274 OpAtomicSMax = 238,
1275 OpAtomicUMax = 239,
1276 OpAtomicAnd = 240,
1277 OpAtomicOr = 241,
1278 OpAtomicXor = 242,
1279 OpPhi = 245,
1280 OpLoopMerge = 246,
1281 OpSelectionMerge = 247,
1282 OpLabel = 248,
1283 OpBranch = 249,
1284 OpBranchConditional = 250,
1285 OpSwitch = 251,
1286 OpKill = 252,
1287 OpReturn = 253,
1288 OpReturnValue = 254,
1289 OpUnreachable = 255,
1290 OpLifetimeStart = 256,
1291 OpLifetimeStop = 257,
1292 OpGroupAsyncCopy = 259,
1293 OpGroupWaitEvents = 260,
1294 OpGroupAll = 261,
1295 OpGroupAny = 262,
1296 OpGroupBroadcast = 263,
1297 OpGroupIAdd = 264,
1298 OpGroupFAdd = 265,
1299 OpGroupFMin = 266,
1300 OpGroupUMin = 267,
1301 OpGroupSMin = 268,
1302 OpGroupFMax = 269,
1303 OpGroupUMax = 270,
1304 OpGroupSMax = 271,
1305 OpReadPipe = 274,
1306 OpWritePipe = 275,
1307 OpReservedReadPipe = 276,
1308 OpReservedWritePipe = 277,
1309 OpReserveReadPipePackets = 278,
1310 OpReserveWritePipePackets = 279,
1311 OpCommitReadPipe = 280,
1312 OpCommitWritePipe = 281,
1313 OpIsValidReserveId = 282,
1314 OpGetNumPipePackets = 283,
1315 OpGetMaxPipePackets = 284,
1316 OpGroupReserveReadPipePackets = 285,
1317 OpGroupReserveWritePipePackets = 286,
1318 OpGroupCommitReadPipe = 287,
1319 OpGroupCommitWritePipe = 288,
1320 OpEnqueueMarker = 291,
1321 OpEnqueueKernel = 292,
1322 OpGetKernelNDrangeSubGroupCount = 293,
1323 OpGetKernelNDrangeMaxSubGroupSize = 294,
1324 OpGetKernelWorkGroupSize = 295,
1325 OpGetKernelPreferredWorkGroupSizeMultiple = 296,
1326 OpRetainEvent = 297,
1327 OpReleaseEvent = 298,
1328 OpCreateUserEvent = 299,
1329 OpIsValidEvent = 300,
1330 OpSetUserEventStatus = 301,
1331 OpCaptureEventProfilingInfo = 302,
1332 OpGetDefaultQueue = 303,
1333 OpBuildNDRange = 304,
1334 OpImageSparseSampleImplicitLod = 305,
1335 OpImageSparseSampleExplicitLod = 306,
1336 OpImageSparseSampleDrefImplicitLod = 307,
1337 OpImageSparseSampleDrefExplicitLod = 308,
1338 OpImageSparseSampleProjImplicitLod = 309,
1339 OpImageSparseSampleProjExplicitLod = 310,
1340 OpImageSparseSampleProjDrefImplicitLod = 311,
1341 OpImageSparseSampleProjDrefExplicitLod = 312,
1342 OpImageSparseFetch = 313,
1343 OpImageSparseGather = 314,
1344 OpImageSparseDrefGather = 315,
1345 OpImageSparseTexelsResident = 316,
1346 OpNoLine = 317,
1347 OpAtomicFlagTestAndSet = 318,
1348 OpAtomicFlagClear = 319,
1349 OpImageSparseRead = 320,
1350 OpSizeOf = 321,
1351 OpTypePipeStorage = 322,
1352 OpConstantPipeStorage = 323,
1353 OpCreatePipeFromPipeStorage = 324,
1354 OpGetKernelLocalSizeForSubgroupCount = 325,
1355 OpGetKernelMaxNumSubgroups = 326,
1356 OpTypeNamedBarrier = 327,
1357 OpNamedBarrierInitialize = 328,
1358 OpMemoryNamedBarrier = 329,
1359 OpModuleProcessed = 330,
1360 OpExecutionModeId = 331,
1361 OpDecorateId = 332,
1362 OpGroupNonUniformElect = 333,
1363 OpGroupNonUniformAll = 334,
1364 OpGroupNonUniformAny = 335,
1365 OpGroupNonUniformAllEqual = 336,
1366 OpGroupNonUniformBroadcast = 337,
1367 OpGroupNonUniformBroadcastFirst = 338,
1368 OpGroupNonUniformBallot = 339,
1369 OpGroupNonUniformInverseBallot = 340,
1370 OpGroupNonUniformBallotBitExtract = 341,
1371 OpGroupNonUniformBallotBitCount = 342,
1372 OpGroupNonUniformBallotFindLSB = 343,
1373 OpGroupNonUniformBallotFindMSB = 344,
1374 OpGroupNonUniformShuffle = 345,
1375 OpGroupNonUniformShuffleXor = 346,
1376 OpGroupNonUniformShuffleUp = 347,
1377 OpGroupNonUniformShuffleDown = 348,
1378 OpGroupNonUniformIAdd = 349,
1379 OpGroupNonUniformFAdd = 350,
1380 OpGroupNonUniformIMul = 351,
1381 OpGroupNonUniformFMul = 352,
1382 OpGroupNonUniformSMin = 353,
1383 OpGroupNonUniformUMin = 354,
1384 OpGroupNonUniformFMin = 355,
1385 OpGroupNonUniformSMax = 356,
1386 OpGroupNonUniformUMax = 357,
1387 OpGroupNonUniformFMax = 358,
1388 OpGroupNonUniformBitwiseAnd = 359,
1389 OpGroupNonUniformBitwiseOr = 360,
1390 OpGroupNonUniformBitwiseXor = 361,
1391 OpGroupNonUniformLogicalAnd = 362,
1392 OpGroupNonUniformLogicalOr = 363,
1393 OpGroupNonUniformLogicalXor = 364,
1394 OpGroupNonUniformQuadBroadcast = 365,
1395 OpGroupNonUniformQuadSwap = 366,
1396 OpCopyLogical = 400,
1397 OpPtrEqual = 401,
1398 OpPtrNotEqual = 402,
1399 OpPtrDiff = 403,
1400 OpTerminateInvocation = 4416,
1401 OpSubgroupBallotKHR = 4421,
1402 OpSubgroupFirstInvocationKHR = 4422,
1403 OpSubgroupAllKHR = 4428,
1404 OpSubgroupAnyKHR = 4429,
1405 OpSubgroupAllEqualKHR = 4430,
1406 OpSubgroupReadInvocationKHR = 4432,
1407 OpTypeRayQueryProvisionalKHR = 4472,
1408 OpRayQueryInitializeKHR = 4473,
1409 OpRayQueryTerminateKHR = 4474,
1410 OpRayQueryGenerateIntersectionKHR = 4475,
1411 OpRayQueryConfirmIntersectionKHR = 4476,
1412 OpRayQueryProceedKHR = 4477,
1413 OpRayQueryGetIntersectionTypeKHR = 4479,
1414 OpGroupIAddNonUniformAMD = 5000,
1415 OpGroupFAddNonUniformAMD = 5001,
1416 OpGroupFMinNonUniformAMD = 5002,
1417 OpGroupUMinNonUniformAMD = 5003,
1418 OpGroupSMinNonUniformAMD = 5004,
1419 OpGroupFMaxNonUniformAMD = 5005,
1420 OpGroupUMaxNonUniformAMD = 5006,
1421 OpGroupSMaxNonUniformAMD = 5007,
1422 OpFragmentMaskFetchAMD = 5011,
1423 OpFragmentFetchAMD = 5012,
1424 OpReadClockKHR = 5056,
1425 OpImageSampleFootprintNV = 5283,
1426 OpGroupNonUniformPartitionNV = 5296,
1427 OpWritePackedPrimitiveIndices4x8NV = 5299,
1428 OpReportIntersectionKHR = 5334,
1429 OpReportIntersectionNV = 5334,
1430 OpIgnoreIntersectionKHR = 5335,
1431 OpIgnoreIntersectionNV = 5335,
1432 OpTerminateRayKHR = 5336,
1433 OpTerminateRayNV = 5336,
1434 OpTraceNV = 5337,
1435 OpTraceRayKHR = 5337,
1436 OpTypeAccelerationStructureKHR = 5341,
1437 OpTypeAccelerationStructureNV = 5341,
1438 OpExecuteCallableKHR = 5344,
1439 OpExecuteCallableNV = 5344,
1440 OpTypeCooperativeMatrixNV = 5358,
1441 OpCooperativeMatrixLoadNV = 5359,
1442 OpCooperativeMatrixStoreNV = 5360,
1443 OpCooperativeMatrixMulAddNV = 5361,
1444 OpCooperativeMatrixLengthNV = 5362,
1445 OpBeginInvocationInterlockEXT = 5364,
1446 OpEndInvocationInterlockEXT = 5365,
1447 OpDemoteToHelperInvocationEXT = 5380,
1448 OpIsHelperInvocationEXT = 5381,
1449 OpSubgroupShuffleINTEL = 5571,
1450 OpSubgroupShuffleDownINTEL = 5572,
1451 OpSubgroupShuffleUpINTEL = 5573,
1452 OpSubgroupShuffleXorINTEL = 5574,
1453 OpSubgroupBlockReadINTEL = 5575,
1454 OpSubgroupBlockWriteINTEL = 5576,
1455 OpSubgroupImageBlockReadINTEL = 5577,
1456 OpSubgroupImageBlockWriteINTEL = 5578,
1457 OpSubgroupImageMediaBlockReadINTEL = 5580,
1458 OpSubgroupImageMediaBlockWriteINTEL = 5581,
1459 OpUCountLeadingZerosINTEL = 5585,
1460 OpUCountTrailingZerosINTEL = 5586,
1461 OpAbsISubINTEL = 5587,
1462 OpAbsUSubINTEL = 5588,
1463 OpIAddSatINTEL = 5589,
1464 OpUAddSatINTEL = 5590,
1465 OpIAverageINTEL = 5591,
1466 OpUAverageINTEL = 5592,
1467 OpIAverageRoundedINTEL = 5593,
1468 OpUAverageRoundedINTEL = 5594,
1469 OpISubSatINTEL = 5595,
1470 OpUSubSatINTEL = 5596,
1471 OpIMul32x16INTEL = 5597,
1472 OpUMul32x16INTEL = 5598,
1473 OpFunctionPointerINTEL = 5600,
1474 OpFunctionPointerCallINTEL = 5601,
1475 OpDecorateString = 5632,
1476 OpDecorateStringGOOGLE = 5632,
1477 OpMemberDecorateString = 5633,
1478 OpMemberDecorateStringGOOGLE = 5633,
1479 OpVmeImageINTEL = 5699,
1480 OpTypeVmeImageINTEL = 5700,
1481 OpTypeAvcImePayloadINTEL = 5701,
1482 OpTypeAvcRefPayloadINTEL = 5702,
1483 OpTypeAvcSicPayloadINTEL = 5703,
1484 OpTypeAvcMcePayloadINTEL = 5704,
1485 OpTypeAvcMceResultINTEL = 5705,
1486 OpTypeAvcImeResultINTEL = 5706,
1487 OpTypeAvcImeResultSingleReferenceStreamoutINTEL = 5707,
1488 OpTypeAvcImeResultDualReferenceStreamoutINTEL = 5708,
1489 OpTypeAvcImeSingleReferenceStreaminINTEL = 5709,
1490 OpTypeAvcImeDualReferenceStreaminINTEL = 5710,
1491 OpTypeAvcRefResultINTEL = 5711,
1492 OpTypeAvcSicResultINTEL = 5712,
1493 OpSubgroupAvcMceGetDefaultInterBaseMultiReferencePenaltyINTEL = 5713,
1494 OpSubgroupAvcMceSetInterBaseMultiReferencePenaltyINTEL = 5714,
1495 OpSubgroupAvcMceGetDefaultInterShapePenaltyINTEL = 5715,
1496 OpSubgroupAvcMceSetInterShapePenaltyINTEL = 5716,
1497 OpSubgroupAvcMceGetDefaultInterDirectionPenaltyINTEL = 5717,
1498 OpSubgroupAvcMceSetInterDirectionPenaltyINTEL = 5718,
1499 OpSubgroupAvcMceGetDefaultIntraLumaShapePenaltyINTEL = 5719,
1500 OpSubgroupAvcMceGetDefaultInterMotionVectorCostTableINTEL = 5720,
1501 OpSubgroupAvcMceGetDefaultHighPenaltyCostTableINTEL = 5721,
1502 OpSubgroupAvcMceGetDefaultMediumPenaltyCostTableINTEL = 5722,
1503 OpSubgroupAvcMceGetDefaultLowPenaltyCostTableINTEL = 5723,
1504 OpSubgroupAvcMceSetMotionVectorCostFunctionINTEL = 5724,
1505 OpSubgroupAvcMceGetDefaultIntraLumaModePenaltyINTEL = 5725,
1506 OpSubgroupAvcMceGetDefaultNonDcLumaIntraPenaltyINTEL = 5726,
1507 OpSubgroupAvcMceGetDefaultIntraChromaModeBasePenaltyINTEL = 5727,
1508 OpSubgroupAvcMceSetAcOnlyHaarINTEL = 5728,
1509 OpSubgroupAvcMceSetSourceInterlacedFieldPolarityINTEL = 5729,
1510 OpSubgroupAvcMceSetSingleReferenceInterlacedFieldPolarityINTEL = 5730,
1511 OpSubgroupAvcMceSetDualReferenceInterlacedFieldPolaritiesINTEL = 5731,
1512 OpSubgroupAvcMceConvertToImePayloadINTEL = 5732,
1513 OpSubgroupAvcMceConvertToImeResultINTEL = 5733,
1514 OpSubgroupAvcMceConvertToRefPayloadINTEL = 5734,
1515 OpSubgroupAvcMceConvertToRefResultINTEL = 5735,
1516 OpSubgroupAvcMceConvertToSicPayloadINTEL = 5736,
1517 OpSubgroupAvcMceConvertToSicResultINTEL = 5737,
1518 OpSubgroupAvcMceGetMotionVectorsINTEL = 5738,
1519 OpSubgroupAvcMceGetInterDistortionsINTEL = 5739,
1520 OpSubgroupAvcMceGetBestInterDistortionsINTEL = 5740,
1521 OpSubgroupAvcMceGetInterMajorShapeINTEL = 5741,
1522 OpSubgroupAvcMceGetInterMinorShapeINTEL = 5742,
1523 OpSubgroupAvcMceGetInterDirectionsINTEL = 5743,
1524 OpSubgroupAvcMceGetInterMotionVectorCountINTEL = 5744,
1525 OpSubgroupAvcMceGetInterReferenceIdsINTEL = 5745,
1526 OpSubgroupAvcMceGetInterReferenceInterlacedFieldPolaritiesINTEL = 5746,
1527 OpSubgroupAvcImeInitializeINTEL = 5747,
1528 OpSubgroupAvcImeSetSingleReferenceINTEL = 5748,
1529 OpSubgroupAvcImeSetDualReferenceINTEL = 5749,
1530 OpSubgroupAvcImeRefWindowSizeINTEL = 5750,
1531 OpSubgroupAvcImeAdjustRefOffsetINTEL = 5751,
1532 OpSubgroupAvcImeConvertToMcePayloadINTEL = 5752,
1533 OpSubgroupAvcImeSetMaxMotionVectorCountINTEL = 5753,
1534 OpSubgroupAvcImeSetUnidirectionalMixDisableINTEL = 5754,
1535 OpSubgroupAvcImeSetEarlySearchTerminationThresholdINTEL = 5755,
1536 OpSubgroupAvcImeSetWeightedSadINTEL = 5756,
1537 OpSubgroupAvcImeEvaluateWithSingleReferenceINTEL = 5757,
1538 OpSubgroupAvcImeEvaluateWithDualReferenceINTEL = 5758,
1539 OpSubgroupAvcImeEvaluateWithSingleReferenceStreaminINTEL = 5759,
1540 OpSubgroupAvcImeEvaluateWithDualReferenceStreaminINTEL = 5760,
1541 OpSubgroupAvcImeEvaluateWithSingleReferenceStreamoutINTEL = 5761,
1542 OpSubgroupAvcImeEvaluateWithDualReferenceStreamoutINTEL = 5762,
1543 OpSubgroupAvcImeEvaluateWithSingleReferenceStreaminoutINTEL = 5763,
1544 OpSubgroupAvcImeEvaluateWithDualReferenceStreaminoutINTEL = 5764,
1545 OpSubgroupAvcImeConvertToMceResultINTEL = 5765,
1546 OpSubgroupAvcImeGetSingleReferenceStreaminINTEL = 5766,
1547 OpSubgroupAvcImeGetDualReferenceStreaminINTEL = 5767,
1548 OpSubgroupAvcImeStripSingleReferenceStreamoutINTEL = 5768,
1549 OpSubgroupAvcImeStripDualReferenceStreamoutINTEL = 5769,
1550 OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeMotionVectorsINTEL = 5770,
1551 OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeDistortionsINTEL = 5771,
1552 OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeReferenceIdsINTEL = 5772,
1553 OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeMotionVectorsINTEL = 5773,
1554 OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeDistortionsINTEL = 5774,
1555 OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeReferenceIdsINTEL = 5775,
1556 OpSubgroupAvcImeGetBorderReachedINTEL = 5776,
1557 OpSubgroupAvcImeGetTruncatedSearchIndicationINTEL = 5777,
1558 OpSubgroupAvcImeGetUnidirectionalEarlySearchTerminationINTEL = 5778,
1559 OpSubgroupAvcImeGetWeightingPatternMinimumMotionVectorINTEL = 5779,
1560 OpSubgroupAvcImeGetWeightingPatternMinimumDistortionINTEL = 5780,
1561 OpSubgroupAvcFmeInitializeINTEL = 5781,
1562 OpSubgroupAvcBmeInitializeINTEL = 5782,
1563 OpSubgroupAvcRefConvertToMcePayloadINTEL = 5783,
1564 OpSubgroupAvcRefSetBidirectionalMixDisableINTEL = 5784,
1565 OpSubgroupAvcRefSetBilinearFilterEnableINTEL = 5785,
1566 OpSubgroupAvcRefEvaluateWithSingleReferenceINTEL = 5786,
1567 OpSubgroupAvcRefEvaluateWithDualReferenceINTEL = 5787,
1568 OpSubgroupAvcRefEvaluateWithMultiReferenceINTEL = 5788,
1569 OpSubgroupAvcRefEvaluateWithMultiReferenceInterlacedINTEL = 5789,
1570 OpSubgroupAvcRefConvertToMceResultINTEL = 5790,
1571 OpSubgroupAvcSicInitializeINTEL = 5791,
1572 OpSubgroupAvcSicConfigureSkcINTEL = 5792,
1573 OpSubgroupAvcSicConfigureIpeLumaINTEL = 5793,
1574 OpSubgroupAvcSicConfigureIpeLumaChromaINTEL = 5794,
1575 OpSubgroupAvcSicGetMotionVectorMaskINTEL = 5795,
1576 OpSubgroupAvcSicConvertToMcePayloadINTEL = 5796,
1577 OpSubgroupAvcSicSetIntraLumaShapePenaltyINTEL = 5797,
1578 OpSubgroupAvcSicSetIntraLumaModeCostFunctionINTEL = 5798,
1579 OpSubgroupAvcSicSetIntraChromaModeCostFunctionINTEL = 5799,
1580 OpSubgroupAvcSicSetBilinearFilterEnableINTEL = 5800,
1581 OpSubgroupAvcSicSetSkcForwardTransformEnableINTEL = 5801,
1582 OpSubgroupAvcSicSetBlockBasedRawSkipSadINTEL = 5802,
1583 OpSubgroupAvcSicEvaluateIpeINTEL = 5803,
1584 OpSubgroupAvcSicEvaluateWithSingleReferenceINTEL = 5804,
1585 OpSubgroupAvcSicEvaluateWithDualReferenceINTEL = 5805,
1586 OpSubgroupAvcSicEvaluateWithMultiReferenceINTEL = 5806,
1587 OpSubgroupAvcSicEvaluateWithMultiReferenceInterlacedINTEL = 5807,
1588 OpSubgroupAvcSicConvertToMceResultINTEL = 5808,
1589 OpSubgroupAvcSicGetIpeLumaShapeINTEL = 5809,
1590 OpSubgroupAvcSicGetBestIpeLumaDistortionINTEL = 5810,
1591 OpSubgroupAvcSicGetBestIpeChromaDistortionINTEL = 5811,
1592 OpSubgroupAvcSicGetPackedIpeLumaModesINTEL = 5812,
1593 OpSubgroupAvcSicGetIpeChromaModeINTEL = 5813,
1594 OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL = 5814,
1595 OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL = 5815,
1596 OpSubgroupAvcSicGetInterRawSadsINTEL = 5816,
1597 OpLoopControlINTEL = 5887,
1598 OpReadPipeBlockingINTEL = 5946,
1599 OpWritePipeBlockingINTEL = 5947,
1600 OpFPGARegINTEL = 5949,
1601 OpRayQueryGetRayTMinKHR = 6016,
1602 OpRayQueryGetRayFlagsKHR = 6017,
1603 OpRayQueryGetIntersectionTKHR = 6018,
1604 OpRayQueryGetIntersectionInstanceCustomIndexKHR = 6019,
1605 OpRayQueryGetIntersectionInstanceIdKHR = 6020,
1606 OpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR = 6021,
1607 OpRayQueryGetIntersectionGeometryIndexKHR = 6022,
1608 OpRayQueryGetIntersectionPrimitiveIndexKHR = 6023,
1609 OpRayQueryGetIntersectionBarycentricsKHR = 6024,
1610 OpRayQueryGetIntersectionFrontFaceKHR = 6025,
1611 OpRayQueryGetIntersectionCandidateAABBOpaqueKHR = 6026,
1612 OpRayQueryGetIntersectionObjectRayDirectionKHR = 6027,
1613 OpRayQueryGetIntersectionObjectRayOriginKHR = 6028,
1614 OpRayQueryGetWorldRayDirectionKHR = 6029,
1615 OpRayQueryGetWorldRayOriginKHR = 6030,
1616 OpRayQueryGetIntersectionObjectToWorldKHR = 6031,
1617 OpRayQueryGetIntersectionWorldToObjectKHR = 6032,
1618 OpAtomicFAddEXT = 6035,
1619 }
1620 }
1621 }
1622