yum-mirror/glslang

git clone https://git.yummers.dev/yum-mirror/glslang

Wooyoung KimGLSL_EXT_split_barrier / SPV_EXT_split_barrierb8a8b3ed

16.5.0
270.1 KiB4195 linesraw
1//
2// Copyright (C) 2014-2015 LunarG, Inc.
3// Copyright (C) 2022-2025 Arm Limited.
4// Modifications Copyright (C) 2020 Advanced Micro Devices, Inc. All rights reserved.
5//
6// All rights reserved.
7//
8// Redistribution and use in source and binary forms, with or without
9// modification, are permitted provided that the following conditions
10// are met:
11//
12//    Redistributions of source code must retain the above copyright
13//    notice, this list of conditions and the following disclaimer.
14//
15//    Redistributions in binary form must reproduce the above
16//    copyright notice, this list of conditions and the following
17//    disclaimer in the documentation and/or other materials provided
18//    with the distribution.
19//
20//    Neither the name of 3Dlabs Inc. Ltd. nor the names of its
21//    contributors may be used to endorse or promote products derived
22//    from this software without specific prior written permission.
23//
24// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
25// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
26// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
27// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
28// COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
29// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
30// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
31// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
32// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
33// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
34// ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35// POSSIBILITY OF SUCH DAMAGE.
36
37//
38// 1) Programmatically fill in instruction/operand information.
39//    This can be used for disassembly, printing documentation, etc.
40//
41// 2) Print documentation from this parameterization.
42//
43
44#include "doc.h"
45#include "spvUtil.h"
46
47#include <cstdio>
48#include <cstring>
49#include <algorithm>
50#include <mutex>
51
52namespace spv {
53    extern "C" {
54        // Include C-based headers that don't have a namespace
55        #include "GLSL.ext.KHR.h"
56        #include "GLSL.ext.EXT.h"
57        #include "GLSL.ext.AMD.h"
58        #include "GLSL.ext.NV.h"
59        #include "GLSL.ext.ARM.h"
60        #include "GLSL.ext.QCOM.h"
61    }
62}
63
64namespace spv {
65
66//
67// Whole set of functions that translate enumerants to their text strings for
68// the specification (or their sanitized versions for auto-generating the
69// spirv headers.
70//
71// Also, for masks the ceilings are declared next to these, to help keep them in sync.
72// Ceilings should be
73//  - one more than the maximum value an enumerant takes on, for non-mask enumerants
74//    (for non-sparse enums, this is the number of enumerants)
75//  - the number of bits consumed by the set of masks
76//    (for non-sparse mask enums, this is the number of enumerants)
77//
78
79const char* SourceString(int source)
80{
81    switch (source) {
82    case 0:  return "Unknown";
83    case 1:  return "ESSL";
84    case 2:  return "GLSL";
85    case 3:  return "OpenCL_C";
86    case 4:  return "OpenCL_CPP";
87    case 5:  return "HLSL";
88
89    default: return "Bad";
90    }
91}
92
93const char* ExecutionModelString(int model)
94{
95    switch (model) {
96    case 0:  return "Vertex";
97    case 1:  return "TessellationControl";
98    case 2:  return "TessellationEvaluation";
99    case 3:  return "Geometry";
100    case 4:  return "Fragment";
101    case 5:  return "GLCompute";
102    case 6:  return "Kernel";
103    case (int)ExecutionModel::TaskNV: return "TaskNV";
104    case (int)ExecutionModel::MeshNV: return "MeshNV";
105    case (int)ExecutionModel::TaskEXT: return "TaskEXT";
106    case (int)ExecutionModel::MeshEXT: return "MeshEXT";
107
108    default: return "Bad";
109
110    case (int)ExecutionModel::RayGenerationKHR: return "RayGenerationKHR";
111    case (int)ExecutionModel::IntersectionKHR:  return "IntersectionKHR";
112    case (int)ExecutionModel::AnyHitKHR:        return "AnyHitKHR";
113    case (int)ExecutionModel::ClosestHitKHR:    return "ClosestHitKHR";
114    case (int)ExecutionModel::MissKHR:          return "MissKHR";
115    case (int)ExecutionModel::CallableKHR:      return "CallableKHR";
116    }
117}
118
119const char* AddressingString(int addr)
120{
121    switch (addr) {
122    case 0:  return "Logical";
123    case 1:  return "Physical32";
124    case 2:  return "Physical64";
125
126    case (int)AddressingModel::PhysicalStorageBuffer64EXT: return "PhysicalStorageBuffer64EXT";
127
128    default: return "Bad";
129    }
130}
131
132const char* MemoryString(int mem)
133{
134    switch (mem) {
135    case (int)MemoryModel::Simple:     return "Simple";
136    case (int)MemoryModel::GLSL450:    return "GLSL450";
137    case (int)MemoryModel::OpenCL:     return "OpenCL";
138    case (int)MemoryModel::VulkanKHR:  return "VulkanKHR";
139
140    default: return "Bad";
141    }
142}
143
144const int ExecutionModeCeiling = 40;
145
146const char* ExecutionModeString(int mode)
147{
148    switch (mode) {
149    case 0:  return "Invocations";
150    case 1:  return "SpacingEqual";
151    case 2:  return "SpacingFractionalEven";
152    case 3:  return "SpacingFractionalOdd";
153    case 4:  return "VertexOrderCw";
154    case 5:  return "VertexOrderCcw";
155    case 6:  return "PixelCenterInteger";
156    case 7:  return "OriginUpperLeft";
157    case 8:  return "OriginLowerLeft";
158    case 9:  return "EarlyFragmentTests";
159    case 10: return "PointMode";
160    case 11: return "Xfb";
161    case 12: return "DepthReplacing";
162    case 13: return "Bad";
163    case 14: return "DepthGreater";
164    case 15: return "DepthLess";
165    case 16: return "DepthUnchanged";
166    case 17: return "LocalSize";
167    case 18: return "LocalSizeHint";
168    case 19: return "InputPoints";
169    case 20: return "InputLines";
170    case 21: return "InputLinesAdjacency";
171    case 22: return "Triangles";
172    case 23: return "InputTrianglesAdjacency";
173    case 24: return "Quads";
174    case 25: return "Isolines";
175    case 26: return "OutputVertices";
176    case 27: return "OutputPoints";
177    case 28: return "OutputLineStrip";
178    case 29: return "OutputTriangleStrip";
179    case 30: return "VecTypeHint";
180    case 31: return "ContractionOff";
181    case 32: return "Bad";
182
183    case (int)ExecutionMode::Initializer:                   return "Initializer";
184    case (int)ExecutionMode::Finalizer:                     return "Finalizer";
185    case (int)ExecutionMode::SubgroupSize:                  return "SubgroupSize";
186    case (int)ExecutionMode::SubgroupsPerWorkgroup:         return "SubgroupsPerWorkgroup";
187    case (int)ExecutionMode::SubgroupsPerWorkgroupId:       return "SubgroupsPerWorkgroupId";
188    case (int)ExecutionMode::LocalSizeId:                   return "LocalSizeId";
189    case (int)ExecutionMode::LocalSizeHintId:               return "LocalSizeHintId";
190
191    case (int)ExecutionMode::PostDepthCoverage:             return "PostDepthCoverage";
192    case (int)ExecutionMode::DenormPreserve:                return "DenormPreserve";
193    case (int)ExecutionMode::DenormFlushToZero:             return "DenormFlushToZero";
194    case (int)ExecutionMode::SignedZeroInfNanPreserve:      return "SignedZeroInfNanPreserve";
195    case (int)ExecutionMode::RoundingModeRTE:               return "RoundingModeRTE";
196    case (int)ExecutionMode::RoundingModeRTZ:               return "RoundingModeRTZ";
197
198    case (int)ExecutionMode::NonCoherentTileAttachmentReadQCOM: return "NonCoherentTileAttachmentReadQCOM";
199    case (int)ExecutionMode::TileShadingRateQCOM:               return "TileShadingRateQCOM";
200
201    case (int)ExecutionMode::EarlyAndLateFragmentTestsAMD:  return "EarlyAndLateFragmentTestsAMD";
202    case (int)ExecutionMode::StencilRefUnchangedFrontAMD:   return "StencilRefUnchangedFrontAMD";
203    case (int)ExecutionMode::StencilRefLessFrontAMD:        return "StencilRefLessFrontAMD";
204    case (int)ExecutionMode::StencilRefGreaterBackAMD:      return "StencilRefGreaterBackAMD";
205    case (int)ExecutionMode::StencilRefReplacingEXT:        return "StencilRefReplacingEXT";
206    case (int)ExecutionMode::SubgroupUniformControlFlowKHR: return "SubgroupUniformControlFlow";
207    case (int)ExecutionMode::MaximallyReconvergesKHR:       return "MaximallyReconverges";
208
209    case (int)ExecutionMode::OutputLinesNV:                 return "OutputLinesNV";
210    case (int)ExecutionMode::OutputPrimitivesNV:            return "OutputPrimitivesNV";
211    case (int)ExecutionMode::OutputTrianglesNV:             return "OutputTrianglesNV";
212
213    // DerivativeGroupQuadsKHR is an alias of DerivativeGroupQuadsNV
214    case (int)ExecutionMode::DerivativeGroupQuadsKHR:       return "DerivativeGroupQuadsKHR";
215    // DerivativeGroupLinearKHR is an alias of DerivativeGroupLinearNV
216    case (int)ExecutionMode::DerivativeGroupLinearKHR:      return "DerivativeGroupLinearKHR";
217
218    case (int)ExecutionMode::PixelInterlockOrderedEXT:         return "PixelInterlockOrderedEXT";
219    case (int)ExecutionMode::PixelInterlockUnorderedEXT:       return "PixelInterlockUnorderedEXT";
220    case (int)ExecutionMode::SampleInterlockOrderedEXT:        return "SampleInterlockOrderedEXT";
221    case (int)ExecutionMode::SampleInterlockUnorderedEXT:      return "SampleInterlockUnorderedEXT";
222    case (int)ExecutionMode::ShadingRateInterlockOrderedEXT:   return "ShadingRateInterlockOrderedEXT";
223    case (int)ExecutionMode::ShadingRateInterlockUnorderedEXT: return "ShadingRateInterlockUnorderedEXT";
224
225    case (int)ExecutionMode::MaxWorkgroupSizeINTEL:    return "MaxWorkgroupSizeINTEL";
226    case (int)ExecutionMode::MaxWorkDimINTEL:          return "MaxWorkDimINTEL";
227    case (int)ExecutionMode::NoGlobalOffsetINTEL:      return "NoGlobalOffsetINTEL";
228    case (int)ExecutionMode::NumSIMDWorkitemsINTEL:    return "NumSIMDWorkitemsINTEL";
229
230    case (int)ExecutionMode::RequireFullQuadsKHR:      return "RequireFullQuadsKHR";
231    case (int)ExecutionMode::QuadDerivativesKHR:       return "QuadDerivativesKHR";
232
233    case (int)ExecutionMode::NonCoherentColorAttachmentReadEXT:        return "NonCoherentColorAttachmentReadEXT";
234    case (int)ExecutionMode::NonCoherentDepthAttachmentReadEXT:        return "NonCoherentDepthAttachmentReadEXT";
235    case (int)ExecutionMode::NonCoherentStencilAttachmentReadEXT:      return "NonCoherentStencilAttachmentReadEXT";
236
237    case (int)ExecutionMode::Shader64BitIndexingEXT:                   return "Shader64BitIndexingEXT";
238
239    case (int)ExecutionMode::OpacityMicromapIdKHR:                     return "OpacityMicromapIdKHR";
240
241    case ExecutionModeCeiling:
242    default: return "Bad";
243    }
244}
245
246const char* StorageClassString(int StorageClass)
247{
248    switch (StorageClass) {
249    case 0:  return "UniformConstant";
250    case 1:  return "Input";
251    case 2:  return "Uniform";
252    case 3:  return "Output";
253    case 4:  return "Workgroup";
254    case 5:  return "CrossWorkgroup";
255    case 6:  return "Private";
256    case 7:  return "Function";
257    case 8:  return "Generic";
258    case 9:  return "PushConstant";
259    case 10: return "AtomicCounter";
260    case 11: return "Image";
261    case 12: return "StorageBuffer";
262
263    case (int)StorageClass::TileAttachmentQCOM:       return "TileAttachmentQCOM";
264    case (int)StorageClass::RayPayloadKHR:            return "RayPayloadKHR";
265    case (int)StorageClass::HitAttributeKHR:          return "HitAttributeKHR";
266    case (int)StorageClass::IncomingRayPayloadKHR:    return "IncomingRayPayloadKHR";
267    case (int)StorageClass::ShaderRecordBufferKHR:    return "ShaderRecordBufferKHR";
268    case (int)StorageClass::CallableDataKHR:          return "CallableDataKHR";
269    case (int)StorageClass::IncomingCallableDataKHR:  return "IncomingCallableDataKHR";
270
271    case (int)StorageClass::PhysicalStorageBufferEXT: return "PhysicalStorageBufferEXT";
272    case (int)StorageClass::TaskPayloadWorkgroupEXT:  return "TaskPayloadWorkgroupEXT";
273    case (int)StorageClass::HitObjectAttributeNV:     return "HitObjectAttributeNV";
274    case (int)StorageClass::TileImageEXT:             return "TileImageEXT";
275    case (int)StorageClass::HitObjectAttributeEXT:    return "HitObjectAttributeEXT";
276    default: return "Bad";
277    }
278}
279
280const int DecorationCeiling = 45;
281
282const char* DecorationString(int decoration)
283{
284    switch (decoration) {
285    case 0:  return "RelaxedPrecision";
286    case 1:  return "SpecId";
287    case 2:  return "Block";
288    case 3:  return "BufferBlock";
289    case 4:  return "RowMajor";
290    case 5:  return "ColMajor";
291    case 6:  return "ArrayStride";
292    case 7:  return "MatrixStride";
293    case 8:  return "GLSLShared";
294    case 9:  return "GLSLPacked";
295    case 10: return "CPacked";
296    case 11: return "BuiltIn";
297    case 12: return "Bad";
298    case 13: return "NoPerspective";
299    case 14: return "Flat";
300    case 15: return "Patch";
301    case 16: return "Centroid";
302    case 17: return "Sample";
303    case 18: return "Invariant";
304    case 19: return "Restrict";
305    case 20: return "Aliased";
306    case 21: return "Volatile";
307    case 22: return "Constant";
308    case 23: return "Coherent";
309    case 24: return "NonWritable";
310    case 25: return "NonReadable";
311    case 26: return "Uniform";
312    case 27: return "Bad";
313    case 28: return "SaturatedConversion";
314    case 29: return "Stream";
315    case 30: return "Location";
316    case 31: return "Component";
317    case 32: return "Index";
318    case 33: return "Binding";
319    case 34: return "DescriptorSet";
320    case 35: return "Offset";
321    case 36: return "XfbBuffer";
322    case 37: return "XfbStride";
323    case 38: return "FuncParamAttr";
324    case 39: return "FP Rounding Mode";
325    case 40: return "FP Fast Math Mode";
326    case 41: return "Linkage Attributes";
327    case 42: return "NoContraction";
328    case 43: return "InputAttachmentIndex";
329    case 44: return "Alignment";
330
331    case DecorationCeiling:
332    default:  return "Bad";
333
334    case (int)Decoration::WeightTextureQCOM:           return "DecorationWeightTextureQCOM";
335    case (int)Decoration::BlockMatchTextureQCOM:       return "DecorationBlockMatchTextureQCOM";
336    case (int)Decoration::BlockMatchSamplerQCOM:       return "DecorationBlockMatchSamplerQCOM";
337    case (int)Decoration::ExplicitInterpAMD:           return "ExplicitInterpAMD";
338    case (int)Decoration::OverrideCoverageNV:          return "OverrideCoverageNV";
339    case (int)Decoration::PassthroughNV:               return "PassthroughNV";
340    case (int)Decoration::ViewportRelativeNV:          return "ViewportRelativeNV";
341    case (int)Decoration::SecondaryViewportRelativeNV: return "SecondaryViewportRelativeNV";
342    case (int)Decoration::PerPrimitiveNV:              return "PerPrimitiveNV";
343    case (int)Decoration::PerViewNV:                   return "PerViewNV";
344    case (int)Decoration::PerTaskNV:                   return "PerTaskNV";
345
346    case (int)Decoration::PerVertexKHR:                return "PerVertexKHR";
347
348    case (int)Decoration::NonUniformEXT:           return "DecorationNonUniformEXT";
349    case (int)Decoration::HlslCounterBufferGOOGLE: return "DecorationHlslCounterBufferGOOGLE";
350    case (int)Decoration::HlslSemanticGOOGLE:      return "DecorationHlslSemanticGOOGLE";
351    case (int)Decoration::RestrictPointerEXT:      return "DecorationRestrictPointerEXT";
352    case (int)Decoration::AliasedPointerEXT:       return "DecorationAliasedPointerEXT";
353
354    case (int)Decoration::HitObjectShaderRecordBufferNV:  return "DecorationHitObjectShaderRecordBufferNV";
355    case (int)Decoration::HitObjectShaderRecordBufferEXT:  return "DecorationHitObjectShaderRecordBufferEXT";
356
357    case (int)Decoration::SaturatedToLargestFloat8NormalConversionEXT: return "DecorationSaturatedToLargestFloat8NormalConversionEXT";
358
359    case (int)Decoration::BankNV:                        return "BankNV";
360    case (int)Decoration::MemberOffsetNV:                return "MemberOffsetNV";
361
362    case (int)Decoration::ArrayStrideIdEXT:        return "ArrayStrideIdEXT";
363    case (int)Decoration::OffsetIdEXT:             return "OffsetIdEXT";
364    case (int)Decoration::UTFEncodedKHR:           return "UTFEncodedKHR";
365    }
366}
367
368const char* BuiltInString(int builtIn)
369{
370    switch (builtIn) {
371    case 0:  return "Position";
372    case 1:  return "PointSize";
373    case 2:  return "Bad";
374    case 3:  return "ClipDistance";
375    case 4:  return "CullDistance";
376    case 5:  return "VertexId";
377    case 6:  return "InstanceId";
378    case 7:  return "PrimitiveId";
379    case 8:  return "InvocationId";
380    case 9:  return "Layer";
381    case 10: return "ViewportIndex";
382    case 11: return "TessLevelOuter";
383    case 12: return "TessLevelInner";
384    case 13: return "TessCoord";
385    case 14: return "PatchVertices";
386    case 15: return "FragCoord";
387    case 16: return "PointCoord";
388    case 17: return "FrontFacing";
389    case 18: return "SampleId";
390    case 19: return "SamplePosition";
391    case 20: return "SampleMask";
392    case 21: return "Bad";
393    case 22: return "FragDepth";
394    case 23: return "HelperInvocation";
395    case 24: return "NumWorkgroups";
396    case 25: return "WorkgroupSize";
397    case 26: return "WorkgroupId";
398    case 27: return "LocalInvocationId";
399    case 28: return "GlobalInvocationId";
400    case 29: return "LocalInvocationIndex";
401    case 30: return "WorkDim";
402    case 31: return "GlobalSize";
403    case 32: return "EnqueuedWorkgroupSize";
404    case 33: return "GlobalOffset";
405    case 34: return "GlobalLinearId";
406    case 35: return "Bad";
407    case 36: return "SubgroupSize";
408    case 37: return "SubgroupMaxSize";
409    case 38: return "NumSubgroups";
410    case 39: return "NumEnqueuedSubgroups";
411    case 40: return "SubgroupId";
412    case 41: return "SubgroupLocalInvocationId";
413    case 42: return "VertexIndex";                 // TBD: put next to VertexId?
414    case 43: return "InstanceIndex";               // TBD: put next to InstanceId?
415
416    case 4416: return "SubgroupEqMaskKHR";
417    case 4417: return "SubgroupGeMaskKHR";
418    case 4418: return "SubgroupGtMaskKHR";
419    case 4419: return "SubgroupLeMaskKHR";
420    case 4420: return "SubgroupLtMaskKHR";
421    case 4438: return "DeviceIndex";
422    case 4440: return "ViewIndex";
423    case 4424: return "BaseVertex";
424    case 4425: return "BaseInstance";
425    case 4426: return "DrawIndex";
426    case 4432: return "PrimitiveShadingRateKHR";
427    case 4444: return "ShadingRateKHR";
428    case 5014: return "FragStencilRefEXT";
429
430    case (int)BuiltIn::TileOffsetQCOM:     return "TileOffsetQCOM";
431    case (int)BuiltIn::TileDimensionQCOM:  return "TileDimensionQCOM";
432    case (int)BuiltIn::TileApronSizeQCOM:  return "TileApronSizeQCOM";
433
434    case 4992: return "BaryCoordNoPerspAMD";
435    case 4993: return "BaryCoordNoPerspCentroidAMD";
436    case 4994: return "BaryCoordNoPerspSampleAMD";
437    case 4995: return "BaryCoordSmoothAMD";
438    case 4996: return "BaryCoordSmoothCentroidAMD";
439    case 4997: return "BaryCoordSmoothSampleAMD";
440    case 4998: return "BaryCoordPullModelAMD";
441    case (int)BuiltIn::LaunchIdKHR:                 return "LaunchIdKHR";
442    case (int)BuiltIn::LaunchSizeKHR:               return "LaunchSizeKHR";
443    case (int)BuiltIn::WorldRayOriginKHR:           return "WorldRayOriginKHR";
444    case (int)BuiltIn::WorldRayDirectionKHR:        return "WorldRayDirectionKHR";
445    case (int)BuiltIn::ObjectRayOriginKHR:          return "ObjectRayOriginKHR";
446    case (int)BuiltIn::ObjectRayDirectionKHR:       return "ObjectRayDirectionKHR";
447    case (int)BuiltIn::RayTminKHR:                  return "RayTminKHR";
448    case (int)BuiltIn::RayTmaxKHR:                  return "RayTmaxKHR";
449    case (int)BuiltIn::CullMaskKHR:                 return "CullMaskKHR";
450    case (int)BuiltIn::HitTriangleVertexPositionsKHR: return "HitTriangleVertexPositionsKHR";
451    case (int)BuiltIn::HitMicroTriangleVertexPositionsNV: return "HitMicroTriangleVertexPositionsNV";
452    case (int)BuiltIn::HitMicroTriangleVertexBarycentricsNV: return "HitMicroTriangleVertexBarycentricsNV";
453    case (int)BuiltIn::HitKindFrontFacingMicroTriangleNV: return "HitKindFrontFacingMicroTriangleNV";
454    case (int)BuiltIn::HitKindBackFacingMicroTriangleNV: return "HitKindBackFacingMicroTriangleNV";
455    case (int)BuiltIn::HitIsSphereNV:               return "HitIsSphereNV";
456    case (int)BuiltIn::HitIsLSSNV:                  return "HitIsLSSNV";
457    case (int)BuiltIn::HitSpherePositionNV:         return "HitSpherePositionNV";
458    case (int)BuiltIn::HitSphereRadiusNV:           return "HitSphereRadiusNV";
459    case (int)BuiltIn::HitLSSPositionsNV:           return "HitLSSPositionsNV";
460    case (int)BuiltIn::HitLSSRadiiNV:               return "HitLLSSRadiiNV";
461    case (int)BuiltIn::InstanceCustomIndexKHR:      return "InstanceCustomIndexKHR";
462    case (int)BuiltIn::RayGeometryIndexKHR:         return "RayGeometryIndexKHR";
463    case (int)BuiltIn::ObjectToWorldKHR:            return "ObjectToWorldKHR";
464    case (int)BuiltIn::WorldToObjectKHR:            return "WorldToObjectKHR";
465    case (int)BuiltIn::HitTNV:                      return "HitTNV";
466    case (int)BuiltIn::HitKindKHR:                  return "HitKindKHR";
467    case (int)BuiltIn::IncomingRayFlagsKHR:         return "IncomingRayFlagsKHR";
468    case (int)BuiltIn::ViewportMaskNV:              return "ViewportMaskNV";
469    case (int)BuiltIn::SecondaryPositionNV:         return "SecondaryPositionNV";
470    case (int)BuiltIn::SecondaryViewportMaskNV:     return "SecondaryViewportMaskNV";
471    case (int)BuiltIn::PositionPerViewNV:           return "PositionPerViewNV";
472    case (int)BuiltIn::ViewportMaskPerViewNV:       return "ViewportMaskPerViewNV";
473//    case (int)BuiltIn::FragmentSizeNV:             return "FragmentSizeNV";        // superseded by BuiltInFragSizeEXT
474//    case (int)BuiltIn::InvocationsPerPixelNV:      return "InvocationsPerPixelNV"; // superseded by BuiltInFragInvocationCountEXT
475    case (int)BuiltIn::BaryCoordKHR:                return "BaryCoordKHR";
476    case (int)BuiltIn::BaryCoordNoPerspKHR:         return "BaryCoordNoPerspKHR";
477    case (int)BuiltIn::ClusterIDNV:                 return "ClusterIDNV";
478
479    case (int)BuiltIn::FragSizeEXT:                 return "FragSizeEXT";
480    case (int)BuiltIn::FragInvocationCountEXT:      return "FragInvocationCountEXT";
481
482    case 5264: return "FullyCoveredEXT";
483
484    case (int)BuiltIn::TaskCountNV:           return "TaskCountNV";
485    case (int)BuiltIn::PrimitiveCountNV:      return "PrimitiveCountNV";
486    case (int)BuiltIn::PrimitiveIndicesNV:    return "PrimitiveIndicesNV";
487    case (int)BuiltIn::ClipDistancePerViewNV: return "ClipDistancePerViewNV";
488    case (int)BuiltIn::CullDistancePerViewNV: return "CullDistancePerViewNV";
489    case (int)BuiltIn::LayerPerViewNV:        return "LayerPerViewNV";
490    case (int)BuiltIn::MeshViewCountNV:       return "MeshViewCountNV";
491    case (int)BuiltIn::MeshViewIndicesNV:     return "MeshViewIndicesNV";
492    case (int)BuiltIn::WarpsPerSMNV:           return "WarpsPerSMNV";
493    case (int)BuiltIn::SMCountNV:              return "SMCountNV";
494    case (int)BuiltIn::WarpIDNV:               return "WarpIDNV";
495    case (int)BuiltIn::SMIDNV:                 return "SMIDNV";
496    case (int)BuiltIn::CurrentRayTimeNV:       return "CurrentRayTimeNV";
497    case (int)BuiltIn::PrimitivePointIndicesEXT:        return "PrimitivePointIndicesEXT";
498    case (int)BuiltIn::PrimitiveLineIndicesEXT:         return "PrimitiveLineIndicesEXT";
499    case (int)BuiltIn::PrimitiveTriangleIndicesEXT:     return "PrimitiveTriangleIndicesEXT";
500    case (int)BuiltIn::CullPrimitiveEXT:                return "CullPrimitiveEXT";
501    case (int)BuiltIn::CoreCountARM:           return "CoreCountARM";
502    case (int)BuiltIn::CoreIDARM:              return "CoreIDARM";
503    case (int)BuiltIn::CoreMaxIDARM:           return "CoreMaxIDARM";
504    case (int)BuiltIn::WarpIDARM:              return "WarpIDARM";
505    case (int)BuiltIn::WarpMaxIDARM:           return "BuiltInWarpMaxIDARM";
506    case (int)BuiltIn::SamplerHeapEXT:         return "SamplerHeapEXT";
507    case (int)BuiltIn::ResourceHeapEXT:        return "ResourceHeapEXT";
508
509    default: return "Bad";
510    }
511}
512
513const char* DimensionString(int dim)
514{
515    switch (dim) {
516    case 0:  return "1D";
517    case 1:  return "2D";
518    case 2:  return "3D";
519    case 3:  return "Cube";
520    case 4:  return "Rect";
521    case 5:  return "Buffer";
522    case 6:  return "SubpassData";
523    case (int)Dim::TileImageDataEXT:  return "TileImageDataEXT";
524
525    default: return "Bad";
526    }
527}
528
529const char* SamplerAddressingModeString(int mode)
530{
531    switch (mode) {
532    case 0:  return "None";
533    case 1:  return "ClampToEdge";
534    case 2:  return "Clamp";
535    case 3:  return "Repeat";
536    case 4:  return "RepeatMirrored";
537
538    default: return "Bad";
539    }
540}
541
542const char* SamplerFilterModeString(int mode)
543{
544    switch (mode) {
545    case 0: return "Nearest";
546    case 1: return "Linear";
547
548    default: return "Bad";
549    }
550}
551
552const char* ImageFormatString(int format)
553{
554    switch (format) {
555    case  0: return "Unknown";
556
557    // ES/Desktop float
558    case  1: return "Rgba32f";
559    case  2: return "Rgba16f";
560    case  3: return "R32f";
561    case  4: return "Rgba8";
562    case  5: return "Rgba8Snorm";
563
564    // Desktop float
565    case  6: return "Rg32f";
566    case  7: return "Rg16f";
567    case  8: return "R11fG11fB10f";
568    case  9: return "R16f";
569    case 10: return "Rgba16";
570    case 11: return "Rgb10A2";
571    case 12: return "Rg16";
572    case 13: return "Rg8";
573    case 14: return "R16";
574    case 15: return "R8";
575    case 16: return "Rgba16Snorm";
576    case 17: return "Rg16Snorm";
577    case 18: return "Rg8Snorm";
578    case 19: return "R16Snorm";
579    case 20: return "R8Snorm";
580
581    // ES/Desktop int
582    case 21: return "Rgba32i";
583    case 22: return "Rgba16i";
584    case 23: return "Rgba8i";
585    case 24: return "R32i";
586
587    // Desktop int
588    case 25: return "Rg32i";
589    case 26: return "Rg16i";
590    case 27: return "Rg8i";
591    case 28: return "R16i";
592    case 29: return "R8i";
593
594    // ES/Desktop uint
595    case 30: return "Rgba32ui";
596    case 31: return "Rgba16ui";
597    case 32: return "Rgba8ui";
598    case 33: return "R32ui";
599
600    // Desktop uint
601    case 34: return "Rgb10a2ui";
602    case 35: return "Rg32ui";
603    case 36: return "Rg16ui";
604    case 37: return "Rg8ui";
605    case 38: return "R16ui";
606    case 39: return "R8ui";
607    case 40: return "R64ui";
608    case 41: return "R64i";
609
610    default:
611        return "Bad";
612    }
613}
614
615const char* ImageChannelOrderString(int format)
616{
617    switch (format) {
618    case 0:  return "R";
619    case 1:  return "A";
620    case 2:  return "RG";
621    case 3:  return "RA";
622    case 4:  return "RGB";
623    case 5:  return "RGBA";
624    case 6:  return "BGRA";
625    case 7:  return "ARGB";
626    case 8:  return "Intensity";
627    case 9:  return "Luminance";
628    case 10: return "Rx";
629    case 11: return "RGx";
630    case 12: return "RGBx";
631    case 13: return "Depth";
632    case 14: return "DepthStencil";
633    case 15: return "sRGB";
634    case 16: return "sRGBx";
635    case 17: return "sRGBA";
636    case 18: return "sBGRA";
637
638    default:
639        return "Bad";
640    }
641}
642
643const char* ImageChannelDataTypeString(int type)
644{
645    switch (type)
646    {
647    case 0: return "SnormInt8";
648    case 1: return "SnormInt16";
649    case 2: return "UnormInt8";
650    case 3: return "UnormInt16";
651    case 4: return "UnormShort565";
652    case 5: return "UnormShort555";
653    case 6: return "UnormInt101010";
654    case 7: return "SignedInt8";
655    case 8: return "SignedInt16";
656    case 9: return "SignedInt32";
657    case 10: return "UnsignedInt8";
658    case 11: return "UnsignedInt16";
659    case 12: return "UnsignedInt32";
660    case 13: return "HalfFloat";
661    case 14: return "Float";
662    case 15: return "UnormInt24";
663    case 16: return "UnormInt101010_2";
664
665    default:
666        return "Bad";
667    }
668}
669
670const int ImageOperandsCeiling = 17;
671
672const char* ImageOperandsString(int format)
673{
674    switch (format) {
675    case (int)ImageOperandsShift::Bias:                    return "Bias";
676    case (int)ImageOperandsShift::Lod:                     return "Lod";
677    case (int)ImageOperandsShift::Grad:                    return "Grad";
678    case (int)ImageOperandsShift::ConstOffset:             return "ConstOffset";
679    case (int)ImageOperandsShift::Offset:                  return "Offset";
680    case (int)ImageOperandsShift::ConstOffsets:            return "ConstOffsets";
681    case (int)ImageOperandsShift::Sample:                  return "Sample";
682    case (int)ImageOperandsShift::MinLod:                  return "MinLod";
683    case (int)ImageOperandsShift::MakeTexelAvailableKHR:   return "MakeTexelAvailableKHR";
684    case (int)ImageOperandsShift::MakeTexelVisibleKHR:     return "MakeTexelVisibleKHR";
685    case (int)ImageOperandsShift::NonPrivateTexelKHR:      return "NonPrivateTexelKHR";
686    case (int)ImageOperandsShift::VolatileTexelKHR:        return "VolatileTexelKHR";
687    case (int)ImageOperandsShift::SignExtend:              return "SignExtend";
688    case (int)ImageOperandsShift::ZeroExtend:              return "ZeroExtend";
689    case (int)ImageOperandsShift::Nontemporal:             return "Nontemporal";
690    case (int)ImageOperandsShift::Offsets:                 return "Offsets";
691
692    case ImageOperandsCeiling:
693    default:
694        return "Bad";
695    }
696}
697
698const char* FPFastMathString(int mode)
699{
700    switch (mode) {
701    case 0: return "NotNaN";
702    case 1: return "NotInf";
703    case 2: return "NSZ";
704    case 3: return "AllowRecip";
705    case 4: return "Fast";
706
707    default:     return "Bad";
708    }
709}
710
711const char* FPRoundingModeString(int mode)
712{
713    switch (mode) {
714    case 0:  return "RTE";
715    case 1:  return "RTZ";
716    case 2:  return "RTP";
717    case 3:  return "RTN";
718
719    default: return "Bad";
720    }
721}
722
723const char* LinkageTypeString(int type)
724{
725    switch (type) {
726    case 0:  return "Export";
727    case 1:  return "Import";
728
729    default: return "Bad";
730    }
731}
732
733const char* FuncParamAttrString(int attr)
734{
735    switch (attr) {
736    case 0:  return "Zext";
737    case 1:  return "Sext";
738    case 2:  return "ByVal";
739    case 3:  return "Sret";
740    case 4:  return "NoAlias";
741    case 5:  return "NoCapture";
742    case 6:  return "NoWrite";
743    case 7:  return "NoReadWrite";
744
745    default: return "Bad";
746    }
747}
748
749const char* AccessQualifierString(int attr)
750{
751    switch (attr) {
752    case 0:  return "ReadOnly";
753    case 1:  return "WriteOnly";
754    case 2:  return "ReadWrite";
755
756    default: return "Bad";
757    }
758}
759
760const int SelectControlCeiling = 2;
761
762const char* SelectControlString(int cont)
763{
764    switch (cont) {
765    case 0:  return "Flatten";
766    case 1:  return "DontFlatten";
767
768    case SelectControlCeiling:
769    default: return "Bad";
770    }
771}
772
773const int LoopControlCeiling = (int)LoopControlShift::PartialCount + 1;
774
775const char* LoopControlString(int cont)
776{
777    switch (cont) {
778    case (int)LoopControlShift::Unroll:             return "Unroll";
779    case (int)LoopControlShift::DontUnroll:         return "DontUnroll";
780    case (int)LoopControlShift::DependencyInfinite: return "DependencyInfinite";
781    case (int)LoopControlShift::DependencyLength:   return "DependencyLength";
782    case (int)LoopControlShift::MinIterations:      return "MinIterations";
783    case (int)LoopControlShift::MaxIterations:      return "MaxIterations";
784    case (int)LoopControlShift::IterationMultiple:  return "IterationMultiple";
785    case (int)LoopControlShift::PeelCount:          return "PeelCount";
786    case (int)LoopControlShift::PartialCount:       return "PartialCount";
787    case (int)LoopControlShift::MultipleWaitQueuesQCOM: return "MultipeWaitQueuesQCOM";
788
789    case LoopControlCeiling:
790    default: return "Bad";
791    }
792}
793
794const int FunctionControlCeiling = 4;
795
796const char* FunctionControlString(int cont)
797{
798    switch (cont) {
799    case 0:  return "Inline";
800    case 1:  return "DontInline";
801    case 2:  return "Pure";
802    case 3:  return "Const";
803
804    case FunctionControlCeiling:
805    default: return "Bad";
806    }
807}
808
809const char* MemorySemanticsString(int mem)
810{
811    // Note: No bits set (None) means "Relaxed"
812    switch (mem) {
813    case 0: return "Bad"; // Note: this is a placeholder for 'Consume'
814    case 1: return "Acquire";
815    case 2: return "Release";
816    case 3: return "AcquireRelease";
817    case 4: return "SequentiallyConsistent";
818    case 5: return "Bad"; // Note: reserved for future expansion
819    case 6: return "UniformMemory";
820    case 7: return "SubgroupMemory";
821    case 8: return "WorkgroupMemory";
822    case 9: return "CrossWorkgroupMemory";
823    case 10: return "AtomicCounterMemory";
824    case 11: return "ImageMemory";
825
826    default:     return "Bad";
827    }
828}
829
830const int MemoryAccessCeiling = 6;
831
832const char* MemoryAccessString(int mem)
833{
834    switch (mem) {
835    case (int)MemoryAccessShift::Volatile:                 return "Volatile";
836    case (int)MemoryAccessShift::Aligned:                  return "Aligned";
837    case (int)MemoryAccessShift::Nontemporal:              return "Nontemporal";
838    case (int)MemoryAccessShift::MakePointerAvailableKHR:  return "MakePointerAvailableKHR";
839    case (int)MemoryAccessShift::MakePointerVisibleKHR:    return "MakePointerVisibleKHR";
840    case (int)MemoryAccessShift::NonPrivatePointerKHR:     return "NonPrivatePointerKHR";
841
842    default: return "Bad";
843    }
844}
845
846const int CooperativeMatrixOperandsCeiling = 6;
847
848const char* CooperativeMatrixOperandsString(int op)
849{
850    switch (op) {
851    case (int)CooperativeMatrixOperandsShift::MatrixASignedComponentsKHR:  return "ASignedComponentsKHR";
852    case (int)CooperativeMatrixOperandsShift::MatrixBSignedComponentsKHR:  return "BSignedComponentsKHR";
853    case (int)CooperativeMatrixOperandsShift::MatrixCSignedComponentsKHR:  return "CSignedComponentsKHR";
854    case (int)CooperativeMatrixOperandsShift::MatrixResultSignedComponentsKHR:  return "ResultSignedComponentsKHR";
855    case (int)CooperativeMatrixOperandsShift::SaturatingAccumulationKHR:   return "SaturatingAccumulationKHR";
856
857    default: return "Bad";
858    }
859}
860
861const int TensorAddressingOperandsCeiling = 4;
862
863const char* TensorAddressingOperandsString(int op)
864{
865    switch (op) {
866    case (int)TensorAddressingOperandsShift::TensorView:        return "TensorView";
867    case (int)TensorAddressingOperandsShift::DecodeFunc:        return "DecodeFunc";
868    case (int)TensorAddressingOperandsShift::DecodeVectorFunc:  return "DecodeVectorFunc";
869
870    default: return "Bad";
871    }
872}
873
874const char* ScopeString(int mem)
875{
876    switch (mem) {
877    case 0:  return "CrossDevice";
878    case 1:  return "Device";
879    case 2:  return "Workgroup";
880    case 3:  return "Subgroup";
881    case 4:  return "Invocation";
882
883    default: return "Bad";
884    }
885}
886
887const char* GroupOperationString(int gop)
888{
889
890    switch (gop)
891    {
892    case (int)GroupOperation::Reduce:  return "Reduce";
893    case (int)GroupOperation::InclusiveScan:  return "InclusiveScan";
894    case (int)GroupOperation::ExclusiveScan:  return "ExclusiveScan";
895    case (int)GroupOperation::ClusteredReduce:  return "ClusteredReduce";
896    case (int)GroupOperation::PartitionedReduceNV:  return "PartitionedReduceNV";
897    case (int)GroupOperation::PartitionedInclusiveScanNV:  return "PartitionedInclusiveScanNV";
898    case (int)GroupOperation::PartitionedExclusiveScanNV:  return "PartitionedExclusiveScanNV";
899
900    default: return "Bad";
901    }
902}
903
904const char* KernelEnqueueFlagsString(int flag)
905{
906    switch (flag)
907    {
908    case 0:  return "NoWait";
909    case 1:  return "WaitKernel";
910    case 2:  return "WaitWorkGroup";
911
912    default: return "Bad";
913    }
914}
915
916const char* KernelProfilingInfoString(int info)
917{
918    switch (info)
919    {
920    case 0:  return "CmdExecTime";
921
922    default: return "Bad";
923    }
924}
925
926const char* CapabilityString(int info)
927{
928    switch (info)
929    {
930    case 0:  return "Matrix";
931    case 1:  return "Shader";
932    case 2:  return "Geometry";
933    case 3:  return "Tessellation";
934    case 4:  return "Addresses";
935    case 5:  return "Linkage";
936    case 6:  return "Kernel";
937    case 7:  return "Vector16";
938    case 8:  return "Float16Buffer";
939    case 9:  return "Float16";
940    case 10: return "Float64";
941    case 11: return "Int64";
942    case 12: return "Int64Atomics";
943    case 13: return "ImageBasic";
944    case 14: return "ImageReadWrite";
945    case 15: return "ImageMipmap";
946    case 16: return "Bad";
947    case 17: return "Pipes";
948    case 18: return "Groups";
949    case 19: return "DeviceEnqueue";
950    case 20: return "LiteralSampler";
951    case 21: return "AtomicStorage";
952    case 22: return "Int16";
953    case 23: return "TessellationPointSize";
954    case 24: return "GeometryPointSize";
955    case 25: return "ImageGatherExtended";
956    case 26: return "Bad";
957    case 27: return "StorageImageMultisample";
958    case 28: return "UniformBufferArrayDynamicIndexing";
959    case 29: return "SampledImageArrayDynamicIndexing";
960    case 30: return "StorageBufferArrayDynamicIndexing";
961    case 31: return "StorageImageArrayDynamicIndexing";
962    case 32: return "ClipDistance";
963    case 33: return "CullDistance";
964    case 34: return "ImageCubeArray";
965    case 35: return "SampleRateShading";
966    case 36: return "ImageRect";
967    case 37: return "SampledRect";
968    case 38: return "GenericPointer";
969    case 39: return "Int8";
970    case 40: return "InputAttachment";
971    case 41: return "SparseResidency";
972    case 42: return "MinLod";
973    case 43: return "Sampled1D";
974    case 44: return "Image1D";
975    case 45: return "SampledCubeArray";
976    case 46: return "SampledBuffer";
977    case 47: return "ImageBuffer";
978    case 48: return "ImageMSArray";
979    case 49: return "StorageImageExtendedFormats";
980    case 50: return "ImageQuery";
981    case 51: return "DerivativeControl";
982    case 52: return "InterpolationFunction";
983    case 53: return "TransformFeedback";
984    case 54: return "GeometryStreams";
985    case 55: return "StorageImageReadWithoutFormat";
986    case 56: return "StorageImageWriteWithoutFormat";
987    case 57: return "MultiViewport";
988    case 61: return "GroupNonUniform";
989    case 62: return "GroupNonUniformVote";
990    case 63: return "GroupNonUniformArithmetic";
991    case 64: return "GroupNonUniformBallot";
992    case 65: return "GroupNonUniformShuffle";
993    case 66: return "GroupNonUniformShuffleRelative";
994    case 67: return "GroupNonUniformClustered";
995    case 68: return "GroupNonUniformQuad";
996
997    case (int)Capability::SubgroupBallotKHR: return "SubgroupBallotKHR";
998    case (int)Capability::DrawParameters:    return "DrawParameters";
999    case (int)Capability::SubgroupVoteKHR:   return "SubgroupVoteKHR";
1000    case (int)Capability::GroupNonUniformRotateKHR: return "GroupNonUniformRotateKHR";
1001
1002    case (int)Capability::StorageUniformBufferBlock16: return "StorageUniformBufferBlock16";
1003    case (int)Capability::StorageUniform16:            return "StorageUniform16";
1004    case (int)Capability::StoragePushConstant16:       return "StoragePushConstant16";
1005    case (int)Capability::StorageInputOutput16:        return "StorageInputOutput16";
1006
1007    case (int)Capability::StorageBuffer8BitAccess:             return "StorageBuffer8BitAccess";
1008    case (int)Capability::UniformAndStorageBuffer8BitAccess:   return "UniformAndStorageBuffer8BitAccess";
1009    case (int)Capability::StoragePushConstant8:                return "StoragePushConstant8";
1010
1011    case (int)Capability::DeviceGroup: return "DeviceGroup";
1012    case (int)Capability::MultiView:   return "MultiView";
1013
1014    case (int)Capability::DenormPreserve:           return "DenormPreserve";
1015    case (int)Capability::DenormFlushToZero:        return "DenormFlushToZero";
1016    case (int)Capability::SignedZeroInfNanPreserve: return "SignedZeroInfNanPreserve";
1017    case (int)Capability::RoundingModeRTE:          return "RoundingModeRTE";
1018    case (int)Capability::RoundingModeRTZ:          return "RoundingModeRTZ";
1019
1020    case (int)Capability::StencilExportEXT: return "StencilExportEXT";
1021
1022    case (int)Capability::Float16ImageAMD:       return "Float16ImageAMD";
1023    case (int)Capability::ImageGatherBiasLodAMD: return "ImageGatherBiasLodAMD";
1024    case (int)Capability::FragmentMaskAMD:       return "FragmentMaskAMD";
1025    case (int)Capability::ImageReadWriteLodAMD:  return "ImageReadWriteLodAMD";
1026
1027    case (int)Capability::AtomicStorageOps:             return "AtomicStorageOps";
1028
1029    case (int)Capability::SampleMaskPostDepthCoverage:  return "SampleMaskPostDepthCoverage";
1030    case (int)Capability::GeometryShaderPassthroughNV:     return "GeometryShaderPassthroughNV";
1031    case (int)Capability::ShaderViewportIndexLayerNV:      return "ShaderViewportIndexLayerNV";
1032    case (int)Capability::ShaderViewportMaskNV:            return "ShaderViewportMaskNV";
1033    case (int)Capability::ShaderStereoViewNV:              return "ShaderStereoViewNV";
1034    case (int)Capability::PerViewAttributesNV:             return "PerViewAttributesNV";
1035    case (int)Capability::GroupNonUniformPartitionedNV:    return "GroupNonUniformPartitionedNV";
1036    case (int)Capability::RayTracingNV:                    return "RayTracingNV";
1037    case (int)Capability::RayTracingMotionBlurNV:          return "RayTracingMotionBlurNV";
1038    case (int)Capability::RayTracingKHR:                   return "RayTracingKHR";
1039    case (int)Capability::RayCullMaskKHR:                  return "RayCullMaskKHR";
1040    case (int)Capability::RayQueryKHR:                     return "RayQueryKHR";
1041    case (int)Capability::RayTracingProvisionalKHR:        return "RayTracingProvisionalKHR";
1042    case (int)Capability::RayTraversalPrimitiveCullingKHR: return "RayTraversalPrimitiveCullingKHR";
1043    case (int)Capability::RayTracingPositionFetchKHR:      return "RayTracingPositionFetchKHR";
1044    case (int)Capability::DisplacementMicromapNV:           return "DisplacementMicromapNV";
1045    case (int)Capability::RayTracingOpacityMicromapEXT:    return "RayTracingOpacityMicromapEXT";
1046    case (int)Capability::RayTracingOpacityMicromapExecutionModeKHR: return "RayTracingOpacityMicromapExecutionModeKHR";
1047    case (int)Capability::RayTracingDisplacementMicromapNV: return "RayTracingDisplacementMicromapNV";
1048    case (int)Capability::RayQueryPositionFetchKHR:        return "RayQueryPositionFetchKHR";
1049    // ComputeDerivativeGroupQuadsKHR is an alias of ComputeDerivativeGroupQuadsNV
1050    case (int)Capability::ComputeDerivativeGroupQuadsKHR:   return "ComputeDerivativeGroupQuadsKHR";
1051   // ComputeDerivativeGroupLinearKHR is an alias of ComputeDerivativeGroupLinearNV
1052    case (int)Capability::ComputeDerivativeGroupLinearKHR:  return "ComputeDerivativeGroupLinearKHR";
1053    case (int)Capability::FragmentBarycentricKHR:          return "FragmentBarycentricKHR";
1054    case (int)Capability::MeshShadingNV:                   return "MeshShadingNV";
1055    case (int)Capability::ImageFootprintNV:                return "ImageFootprintNV";
1056    case (int)Capability::MeshShadingEXT:                  return "MeshShadingEXT";
1057//    case (int)Capability::ShadingRateNV:                   return "ShadingRateNV";  // superseded by FragmentDensityEXT
1058    case (int)Capability::SampleMaskOverrideCoverageNV:    return "SampleMaskOverrideCoverageNV";
1059    case (int)Capability::FragmentDensityEXT:              return "FragmentDensityEXT";
1060
1061    case (int)Capability::FragmentFullyCoveredEXT: return "FragmentFullyCoveredEXT";
1062
1063    case (int)Capability::ShaderNonUniformEXT:                          return "ShaderNonUniformEXT";
1064    case (int)Capability::RuntimeDescriptorArrayEXT:                    return "RuntimeDescriptorArrayEXT";
1065    case (int)Capability::InputAttachmentArrayDynamicIndexingEXT:       return "InputAttachmentArrayDynamicIndexingEXT";
1066    case (int)Capability::UniformTexelBufferArrayDynamicIndexingEXT:    return "UniformTexelBufferArrayDynamicIndexingEXT";
1067    case (int)Capability::StorageTexelBufferArrayDynamicIndexingEXT:    return "StorageTexelBufferArrayDynamicIndexingEXT";
1068    case (int)Capability::UniformBufferArrayNonUniformIndexingEXT:      return "UniformBufferArrayNonUniformIndexingEXT";
1069    case (int)Capability::SampledImageArrayNonUniformIndexingEXT:       return "SampledImageArrayNonUniformIndexingEXT";
1070    case (int)Capability::StorageBufferArrayNonUniformIndexingEXT:      return "StorageBufferArrayNonUniformIndexingEXT";
1071    case (int)Capability::StorageImageArrayNonUniformIndexingEXT:       return "StorageImageArrayNonUniformIndexingEXT";
1072    case (int)Capability::InputAttachmentArrayNonUniformIndexingEXT:    return "InputAttachmentArrayNonUniformIndexingEXT";
1073    case (int)Capability::UniformTexelBufferArrayNonUniformIndexingEXT: return "UniformTexelBufferArrayNonUniformIndexingEXT";
1074    case (int)Capability::StorageTexelBufferArrayNonUniformIndexingEXT: return "StorageTexelBufferArrayNonUniformIndexingEXT";
1075
1076    case (int)Capability::VulkanMemoryModelKHR:                return "VulkanMemoryModelKHR";
1077    case (int)Capability::VulkanMemoryModelDeviceScopeKHR:     return "VulkanMemoryModelDeviceScopeKHR";
1078
1079    case (int)Capability::PhysicalStorageBufferAddressesEXT:   return "PhysicalStorageBufferAddressesEXT";
1080
1081    case (int)Capability::VariablePointers:                    return "VariablePointers";
1082
1083    case (int)Capability::CooperativeMatrixNV:     return "CooperativeMatrixNV";
1084    case (int)Capability::CooperativeMatrixKHR:    return "CooperativeMatrixKHR";
1085    case (int)Capability::CooperativeMatrixReductionsNV:           return "CooperativeMatrixReductionsNV";
1086    case (int)Capability::CooperativeMatrixConversionsNV:          return "CooperativeMatrixConversionsNV";
1087    case (int)Capability::CooperativeMatrixPerElementOperationsNV: return "CooperativeMatrixPerElementOperationsNV";
1088    case (int)Capability::CooperativeMatrixTensorAddressingNV:     return "CooperativeMatrixTensorAddressingNV";
1089    case (int)Capability::CooperativeMatrixBlockLoadsNV:           return "CooperativeMatrixBlockLoadsNV";
1090    case (int)Capability::CooperativeMatrixDecodeVectorNV:         return "CooperativeMatrixDecodeVectorNV";
1091    case (int)Capability::TensorAddressingNV:                      return "TensorAddressingNV";
1092
1093    case (int)Capability::ShaderSMBuiltinsNV:      return "ShaderSMBuiltinsNV";
1094
1095    case (int)Capability::CooperativeVectorNV:                     return "CooperativeVectorNV";
1096    case (int)Capability::CooperativeVectorTrainingNV:             return "CooperativeVectorTrainingNV";
1097
1098    case (int)Capability::FragmentShaderSampleInterlockEXT:        return "FragmentShaderSampleInterlockEXT";
1099    case (int)Capability::FragmentShaderPixelInterlockEXT:         return "FragmentShaderPixelInterlockEXT";
1100    case (int)Capability::FragmentShaderShadingRateInterlockEXT:   return "FragmentShaderShadingRateInterlockEXT";
1101
1102    case (int)Capability::TileImageColorReadAccessEXT:           return "TileImageColorReadAccessEXT";
1103    case (int)Capability::TileImageDepthReadAccessEXT:           return "TileImageDepthReadAccessEXT";
1104    case (int)Capability::TileImageStencilReadAccessEXT:         return "TileImageStencilReadAccessEXT";
1105
1106    case (int)Capability::CooperativeMatrixLayoutsARM:             return "CooperativeMatrixLayoutsARM";
1107    case (int)Capability::TensorsARM:                              return "TensorsARM";
1108
1109    case (int)Capability::FragmentShadingRateKHR:                  return "FragmentShadingRateKHR";
1110
1111    case (int)Capability::DemoteToHelperInvocationEXT:             return "DemoteToHelperInvocationEXT";
1112    case (int)Capability::AtomicFloat16VectorNV:                   return "AtomicFloat16VectorNV";
1113    case (int)Capability::ShaderClockKHR:                          return "ShaderClockKHR";
1114    case (int)Capability::QuadControlKHR:                          return "QuadControlKHR";
1115    case (int)Capability::Int64ImageEXT:                           return "Int64ImageEXT";
1116    case (int)Capability::DescriptorHeapEXT:                       return "DescriptorHeapEXT";
1117    case (int)Capability::UntypedPointersKHR:                      return "UntypedPointersKHR";
1118
1119    case (int)Capability::IntegerFunctions2INTEL:              return "IntegerFunctions2INTEL";
1120
1121    case (int)Capability::ExpectAssumeKHR:                         return "ExpectAssumeKHR";
1122    case (int)Capability::AbortKHR:                                return "AbortKHR";
1123    case (int)Capability::ConstantDataKHR:                         return "ConstantDataKHR";
1124
1125    case (int)Capability::AtomicFloat16AddEXT:                     return "AtomicFloat16AddEXT";
1126    case (int)Capability::AtomicFloat32AddEXT:                     return "AtomicFloat32AddEXT";
1127    case (int)Capability::AtomicFloat64AddEXT:                     return "AtomicFloat64AddEXT";
1128    case (int)Capability::AtomicFloat16MinMaxEXT:                  return "AtomicFloat16MinMaxEXT";
1129    case (int)Capability::AtomicFloat32MinMaxEXT:                  return "AtomicFloat32MinMaxEXT";
1130    case (int)Capability::AtomicFloat64MinMaxEXT:                  return "AtomicFloat64MinMaxEXT";
1131
1132    case (int)Capability::WorkgroupMemoryExplicitLayoutKHR:            return "WorkgroupMemoryExplicitLayoutKHR";
1133    case (int)Capability::WorkgroupMemoryExplicitLayout8BitAccessKHR:  return "WorkgroupMemoryExplicitLayout8BitAccessKHR";
1134    case (int)Capability::WorkgroupMemoryExplicitLayout16BitAccessKHR: return "WorkgroupMemoryExplicitLayout16BitAccessKHR";
1135    case (int)Capability::CoreBuiltinsARM:                             return "CoreBuiltinsARM";
1136
1137    case (int)Capability::ShaderInvocationReorderNV:                return "ShaderInvocationReorderNV";
1138    case (int)Capability::ShaderInvocationReorderEXT:               return "ShaderInvocationReorderEXT";
1139
1140    case (int)Capability::TextureSampleWeightedQCOM:           return "TextureSampleWeightedQCOM";
1141    case (int)Capability::TextureBoxFilterQCOM:                return "TextureBoxFilterQCOM";
1142    case (int)Capability::TextureBlockMatchQCOM:               return "TextureBlockMatchQCOM";
1143    case (int)Capability::TileShadingQCOM:                     return "TileShadingQCOM";
1144    case (int)Capability::TextureBlockMatch2QCOM:              return "TextureBlockMatch2QCOM";
1145
1146    case (int)Capability::CooperativeMatrixConversionQCOM:     return "CooperativeMatrixConversionQCOM";
1147    case (int)Capability::ImageGatherLinearQCOM:               return "ImageGatherLinearQCOM";
1148    case (int)Capability::ImageGatherExtendedModesQCOM:        return "ImageGatherExtendedModesQCOM";
1149
1150    case (int)Capability::ReplicatedCompositesEXT:             return "ReplicatedCompositesEXT";
1151
1152    case (int)Capability::DotProductKHR:                       return "DotProductKHR";
1153    case (int)Capability::DotProductInputAllKHR:               return "DotProductInputAllKHR";
1154    case (int)Capability::DotProductInput4x8BitKHR:            return "DotProductInput4x8BitKHR";
1155    case (int)Capability::DotProductInput4x8BitPackedKHR:      return "DotProductInput4x8BitPackedKHR";
1156
1157    case (int)Capability::RayTracingClusterAccelerationStructureNV:   return "RayTracingClusterAccelerationStructureNV";
1158
1159    case (int)Capability::RayTracingSpheresGeometryNV:             return "RayTracingSpheresGeometryNV";
1160    case (int)Capability::RayTracingLinearSweptSpheresGeometryNV:  return "RayTracingLinearSweptSpheresGeometryNV";
1161
1162    case (int)Capability::BFloat16TypeKHR:                     return "BFloat16TypeKHR";
1163    case (int)Capability::BFloat16DotProductKHR:               return "BFloat16DotProductKHR";
1164    case (int)Capability::BFloat16CooperativeMatrixKHR:        return "BFloat16CooperativeMatrixKHR";
1165
1166    case (int)Capability::Float8EXT:                           return "Float8EXT";
1167    case (int)Capability::Float8CooperativeMatrixEXT:          return "Float8CooperativeMatrixEXT";
1168
1169    case (int)Capability::PushConstantBanksNV:                 return "PushConstantBanksNV";
1170        
1171    case (int)Capability::Shader64BitIndexingEXT:              return "CapabilityShader64BitIndexingEXT";
1172    case (int)Capability::LongVectorEXT:                       return "LongVectorEXT";
1173    case (int)Capability::SplitBarrierEXT:                     return "SplitBarrierEXT";
1174
1175    case (int)Capability::Float4EXT:                           return "Float4EXT";
1176    case (int)Capability::Float6EXT:                           return "Float6EXT";
1177    case (int)Capability::Float8UnsignedE8M0EXT:               return "Float8UnsignedE8M0EXT";
1178    case (int)Capability::MXInt8EXT:                           return "MXInt8EXT";
1179    case (int)Capability::BitcastExtractEXT:                   return "BitcastExtractEXT";
1180
1181    default: return "Bad";
1182    }
1183}
1184
1185const char* OpcodeString(int op)
1186{
1187    switch (op) {
1188    case 0:   return "OpNop";
1189    case 1:   return "OpUndef";
1190    case 2:   return "OpSourceContinued";
1191    case 3:   return "OpSource";
1192    case 4:   return "OpSourceExtension";
1193    case 5:   return "OpName";
1194    case 6:   return "OpMemberName";
1195    case 7:   return "OpString";
1196    case 8:   return "OpLine";
1197    case 9:   return "Bad";
1198    case 10:  return "OpExtension";
1199    case 11:  return "OpExtInstImport";
1200    case 12:  return "OpExtInst";
1201    case 13:  return "Bad";
1202    case 14:  return "OpMemoryModel";
1203    case 15:  return "OpEntryPoint";
1204    case 16:  return "OpExecutionMode";
1205    case 17:  return "OpCapability";
1206    case 18:  return "Bad";
1207    case 19:  return "OpTypeVoid";
1208    case 20:  return "OpTypeBool";
1209    case 21:  return "OpTypeInt";
1210    case 22:  return "OpTypeFloat";
1211    case 23:  return "OpTypeVector";
1212    case 24:  return "OpTypeMatrix";
1213    case 25:  return "OpTypeImage";
1214    case 26:  return "OpTypeSampler";
1215    case 27:  return "OpTypeSampledImage";
1216    case 28:  return "OpTypeArray";
1217    case 29:  return "OpTypeRuntimeArray";
1218    case 30:  return "OpTypeStruct";
1219    case 31:  return "OpTypeOpaque";
1220    case 32:  return "OpTypePointer";
1221    case 33:  return "OpTypeFunction";
1222    case 34:  return "OpTypeEvent";
1223    case 35:  return "OpTypeDeviceEvent";
1224    case 36:  return "OpTypeReserveId";
1225    case 37:  return "OpTypeQueue";
1226    case 38:  return "OpTypePipe";
1227    case 39:  return "OpTypeForwardPointer";
1228    case 40:  return "Bad";
1229    case 41:  return "OpConstantTrue";
1230    case 42:  return "OpConstantFalse";
1231    case 43:  return "OpConstant";
1232    case 44:  return "OpConstantComposite";
1233    case 45:  return "OpConstantSampler";
1234    case 46:  return "OpConstantNull";
1235    case 47:  return "Bad";
1236    case 48:  return "OpSpecConstantTrue";
1237    case 49:  return "OpSpecConstantFalse";
1238    case 50:  return "OpSpecConstant";
1239    case 51:  return "OpSpecConstantComposite";
1240    case 52:  return "OpSpecConstantOp";
1241    case 53:  return "Bad";
1242    case 54:  return "OpFunction";
1243    case 55:  return "OpFunctionParameter";
1244    case 56:  return "OpFunctionEnd";
1245    case 57:  return "OpFunctionCall";
1246    case 58:  return "Bad";
1247    case 59:  return "OpVariable";
1248    case 60:  return "OpImageTexelPointer";
1249    case 61:  return "OpLoad";
1250    case 62:  return "OpStore";
1251    case 63:  return "OpCopyMemory";
1252    case 64:  return "OpCopyMemorySized";
1253    case 65:  return "OpAccessChain";
1254    case 66:  return "OpInBoundsAccessChain";
1255    case 67:  return "OpPtrAccessChain";
1256    case 68:  return "OpArrayLength";
1257    case 69:  return "OpGenericPtrMemSemantics";
1258    case 70:  return "OpInBoundsPtrAccessChain";
1259    case 71:  return "OpDecorate";
1260    case 72:  return "OpMemberDecorate";
1261    case 73:  return "OpDecorationGroup";
1262    case 74:  return "OpGroupDecorate";
1263    case 75:  return "OpGroupMemberDecorate";
1264    case 76:  return "Bad";
1265    case 77:  return "OpVectorExtractDynamic";
1266    case 78:  return "OpVectorInsertDynamic";
1267    case 79:  return "OpVectorShuffle";
1268    case 80:  return "OpCompositeConstruct";
1269    case 81:  return "OpCompositeExtract";
1270    case 82:  return "OpCompositeInsert";
1271    case 83:  return "OpCopyObject";
1272    case 84:  return "OpTranspose";
1273    case (int)Op::OpCopyLogical: return "OpCopyLogical";
1274    case 85:  return "Bad";
1275    case 86:  return "OpSampledImage";
1276    case 87:  return "OpImageSampleImplicitLod";
1277    case 88:  return "OpImageSampleExplicitLod";
1278    case 89:  return "OpImageSampleDrefImplicitLod";
1279    case 90:  return "OpImageSampleDrefExplicitLod";
1280    case 91:  return "OpImageSampleProjImplicitLod";
1281    case 92:  return "OpImageSampleProjExplicitLod";
1282    case 93:  return "OpImageSampleProjDrefImplicitLod";
1283    case 94:  return "OpImageSampleProjDrefExplicitLod";
1284    case 95:  return "OpImageFetch";
1285    case 96:  return "OpImageGather";
1286    case 97:  return "OpImageDrefGather";
1287    case 98:  return "OpImageRead";
1288    case 99:  return "OpImageWrite";
1289    case 100: return "OpImage";
1290    case 101: return "OpImageQueryFormat";
1291    case 102: return "OpImageQueryOrder";
1292    case 103: return "OpImageQuerySizeLod";
1293    case 104: return "OpImageQuerySize";
1294    case 105: return "OpImageQueryLod";
1295    case 106: return "OpImageQueryLevels";
1296    case 107: return "OpImageQuerySamples";
1297    case 108: return "Bad";
1298    case 109: return "OpConvertFToU";
1299    case 110: return "OpConvertFToS";
1300    case 111: return "OpConvertSToF";
1301    case 112: return "OpConvertUToF";
1302    case 113: return "OpUConvert";
1303    case 114: return "OpSConvert";
1304    case 115: return "OpFConvert";
1305    case 116: return "OpQuantizeToF16";
1306    case 117: return "OpConvertPtrToU";
1307    case 118: return "OpSatConvertSToU";
1308    case 119: return "OpSatConvertUToS";
1309    case 120: return "OpConvertUToPtr";
1310    case 121: return "OpPtrCastToGeneric";
1311    case 122: return "OpGenericCastToPtr";
1312    case 123: return "OpGenericCastToPtrExplicit";
1313    case 124: return "OpBitcast";
1314    case 125: return "Bad";
1315    case 126: return "OpSNegate";
1316    case 127: return "OpFNegate";
1317    case 128: return "OpIAdd";
1318    case 129: return "OpFAdd";
1319    case 130: return "OpISub";
1320    case 131: return "OpFSub";
1321    case 132: return "OpIMul";
1322    case 133: return "OpFMul";
1323    case 134: return "OpUDiv";
1324    case 135: return "OpSDiv";
1325    case 136: return "OpFDiv";
1326    case 137: return "OpUMod";
1327    case 138: return "OpSRem";
1328    case 139: return "OpSMod";
1329    case 140: return "OpFRem";
1330    case 141: return "OpFMod";
1331    case 142: return "OpVectorTimesScalar";
1332    case 143: return "OpMatrixTimesScalar";
1333    case 144: return "OpVectorTimesMatrix";
1334    case 145: return "OpMatrixTimesVector";
1335    case 146: return "OpMatrixTimesMatrix";
1336    case 147: return "OpOuterProduct";
1337    case 148: return "OpDot";
1338    case 149: return "OpIAddCarry";
1339    case 150: return "OpISubBorrow";
1340    case 151: return "OpUMulExtended";
1341    case 152: return "OpSMulExtended";
1342    case 153: return "Bad";
1343    case 154: return "OpAny";
1344    case 155: return "OpAll";
1345    case 156: return "OpIsNan";
1346    case 157: return "OpIsInf";
1347    case 158: return "OpIsFinite";
1348    case 159: return "OpIsNormal";
1349    case 160: return "OpSignBitSet";
1350    case 161: return "OpLessOrGreater";
1351    case 162: return "OpOrdered";
1352    case 163: return "OpUnordered";
1353    case 164: return "OpLogicalEqual";
1354    case 165: return "OpLogicalNotEqual";
1355    case 166: return "OpLogicalOr";
1356    case 167: return "OpLogicalAnd";
1357    case 168: return "OpLogicalNot";
1358    case 169: return "OpSelect";
1359    case 170: return "OpIEqual";
1360    case 171: return "OpINotEqual";
1361    case 172: return "OpUGreaterThan";
1362    case 173: return "OpSGreaterThan";
1363    case 174: return "OpUGreaterThanEqual";
1364    case 175: return "OpSGreaterThanEqual";
1365    case 176: return "OpULessThan";
1366    case 177: return "OpSLessThan";
1367    case 178: return "OpULessThanEqual";
1368    case 179: return "OpSLessThanEqual";
1369    case 180: return "OpFOrdEqual";
1370    case 181: return "OpFUnordEqual";
1371    case 182: return "OpFOrdNotEqual";
1372    case 183: return "OpFUnordNotEqual";
1373    case 184: return "OpFOrdLessThan";
1374    case 185: return "OpFUnordLessThan";
1375    case 186: return "OpFOrdGreaterThan";
1376    case 187: return "OpFUnordGreaterThan";
1377    case 188: return "OpFOrdLessThanEqual";
1378    case 189: return "OpFUnordLessThanEqual";
1379    case 190: return "OpFOrdGreaterThanEqual";
1380    case 191: return "OpFUnordGreaterThanEqual";
1381    case 192: return "Bad";
1382    case 193: return "Bad";
1383    case 194: return "OpShiftRightLogical";
1384    case 195: return "OpShiftRightArithmetic";
1385    case 196: return "OpShiftLeftLogical";
1386    case 197: return "OpBitwiseOr";
1387    case 198: return "OpBitwiseXor";
1388    case 199: return "OpBitwiseAnd";
1389    case 200: return "OpNot";
1390    case 201: return "OpBitFieldInsert";
1391    case 202: return "OpBitFieldSExtract";
1392    case 203: return "OpBitFieldUExtract";
1393    case 204: return "OpBitReverse";
1394    case 205: return "OpBitCount";
1395    case 206: return "Bad";
1396    case 207: return "OpDPdx";
1397    case 208: return "OpDPdy";
1398    case 209: return "OpFwidth";
1399    case 210: return "OpDPdxFine";
1400    case 211: return "OpDPdyFine";
1401    case 212: return "OpFwidthFine";
1402    case 213: return "OpDPdxCoarse";
1403    case 214: return "OpDPdyCoarse";
1404    case 215: return "OpFwidthCoarse";
1405    case 216: return "Bad";
1406    case 217: return "Bad";
1407    case 218: return "OpEmitVertex";
1408    case 219: return "OpEndPrimitive";
1409    case 220: return "OpEmitStreamVertex";
1410    case 221: return "OpEndStreamPrimitive";
1411    case 222: return "Bad";
1412    case 223: return "Bad";
1413    case 224: return "OpControlBarrier";
1414    case 225: return "OpMemoryBarrier";
1415    case 226: return "Bad";
1416    case 227: return "OpAtomicLoad";
1417    case 228: return "OpAtomicStore";
1418    case 229: return "OpAtomicExchange";
1419    case 230: return "OpAtomicCompareExchange";
1420    case 231: return "OpAtomicCompareExchangeWeak";
1421    case 232: return "OpAtomicIIncrement";
1422    case 233: return "OpAtomicIDecrement";
1423    case 234: return "OpAtomicIAdd";
1424    case 235: return "OpAtomicISub";
1425    case 236: return "OpAtomicSMin";
1426    case 237: return "OpAtomicUMin";
1427    case 238: return "OpAtomicSMax";
1428    case 239: return "OpAtomicUMax";
1429    case 240: return "OpAtomicAnd";
1430    case 241: return "OpAtomicOr";
1431    case 242: return "OpAtomicXor";
1432    case 243: return "Bad";
1433    case 244: return "Bad";
1434    case 245: return "OpPhi";
1435    case 246: return "OpLoopMerge";
1436    case 247: return "OpSelectionMerge";
1437    case 248: return "OpLabel";
1438    case 249: return "OpBranch";
1439    case 250: return "OpBranchConditional";
1440    case 251: return "OpSwitch";
1441    case 252: return "OpKill";
1442    case 253: return "OpReturn";
1443    case 254: return "OpReturnValue";
1444    case 255: return "OpUnreachable";
1445    case 256: return "OpLifetimeStart";
1446    case 257: return "OpLifetimeStop";
1447    case 258: return "Bad";
1448    case 259: return "OpGroupAsyncCopy";
1449    case 260: return "OpGroupWaitEvents";
1450    case 261: return "OpGroupAll";
1451    case 262: return "OpGroupAny";
1452    case 263: return "OpGroupBroadcast";
1453    case 264: return "OpGroupIAdd";
1454    case 265: return "OpGroupFAdd";
1455    case 266: return "OpGroupFMin";
1456    case 267: return "OpGroupUMin";
1457    case 268: return "OpGroupSMin";
1458    case 269: return "OpGroupFMax";
1459    case 270: return "OpGroupUMax";
1460    case 271: return "OpGroupSMax";
1461    case 272: return "Bad";
1462    case 273: return "Bad";
1463    case 274: return "OpReadPipe";
1464    case 275: return "OpWritePipe";
1465    case 276: return "OpReservedReadPipe";
1466    case 277: return "OpReservedWritePipe";
1467    case 278: return "OpReserveReadPipePackets";
1468    case 279: return "OpReserveWritePipePackets";
1469    case 280: return "OpCommitReadPipe";
1470    case 281: return "OpCommitWritePipe";
1471    case 282: return "OpIsValidReserveId";
1472    case 283: return "OpGetNumPipePackets";
1473    case 284: return "OpGetMaxPipePackets";
1474    case 285: return "OpGroupReserveReadPipePackets";
1475    case 286: return "OpGroupReserveWritePipePackets";
1476    case 287: return "OpGroupCommitReadPipe";
1477    case 288: return "OpGroupCommitWritePipe";
1478    case 289: return "Bad";
1479    case 290: return "Bad";
1480    case 291: return "OpEnqueueMarker";
1481    case 292: return "OpEnqueueKernel";
1482    case 293: return "OpGetKernelNDrangeSubGroupCount";
1483    case 294: return "OpGetKernelNDrangeMaxSubGroupSize";
1484    case 295: return "OpGetKernelWorkGroupSize";
1485    case 296: return "OpGetKernelPreferredWorkGroupSizeMultiple";
1486    case 297: return "OpRetainEvent";
1487    case 298: return "OpReleaseEvent";
1488    case 299: return "OpCreateUserEvent";
1489    case 300: return "OpIsValidEvent";
1490    case 301: return "OpSetUserEventStatus";
1491    case 302: return "OpCaptureEventProfilingInfo";
1492    case 303: return "OpGetDefaultQueue";
1493    case 304: return "OpBuildNDRange";
1494    case 305: return "OpImageSparseSampleImplicitLod";
1495    case 306: return "OpImageSparseSampleExplicitLod";
1496    case 307: return "OpImageSparseSampleDrefImplicitLod";
1497    case 308: return "OpImageSparseSampleDrefExplicitLod";
1498    case 309: return "OpImageSparseSampleProjImplicitLod";
1499    case 310: return "OpImageSparseSampleProjExplicitLod";
1500    case 311: return "OpImageSparseSampleProjDrefImplicitLod";
1501    case 312: return "OpImageSparseSampleProjDrefExplicitLod";
1502    case 313: return "OpImageSparseFetch";
1503    case 314: return "OpImageSparseGather";
1504    case 315: return "OpImageSparseDrefGather";
1505    case 316: return "OpImageSparseTexelsResident";
1506    case 317: return "OpNoLine";
1507    case 318: return "OpAtomicFlagTestAndSet";
1508    case 319: return "OpAtomicFlagClear";
1509    case 320: return "OpImageSparseRead";
1510
1511    case (int)Op::OpModuleProcessed: return "OpModuleProcessed";
1512    case (int)Op::OpExecutionModeId: return "OpExecutionModeId";
1513    case (int)Op::OpDecorateId:      return "OpDecorateId";
1514
1515    case 333: return "OpGroupNonUniformElect";
1516    case 334: return "OpGroupNonUniformAll";
1517    case 335: return "OpGroupNonUniformAny";
1518    case 336: return "OpGroupNonUniformAllEqual";
1519    case 337: return "OpGroupNonUniformBroadcast";
1520    case 338: return "OpGroupNonUniformBroadcastFirst";
1521    case 339: return "OpGroupNonUniformBallot";
1522    case 340: return "OpGroupNonUniformInverseBallot";
1523    case 341: return "OpGroupNonUniformBallotBitExtract";
1524    case 342: return "OpGroupNonUniformBallotBitCount";
1525    case 343: return "OpGroupNonUniformBallotFindLSB";
1526    case 344: return "OpGroupNonUniformBallotFindMSB";
1527    case 345: return "OpGroupNonUniformShuffle";
1528    case 346: return "OpGroupNonUniformShuffleXor";
1529    case 347: return "OpGroupNonUniformShuffleUp";
1530    case 348: return "OpGroupNonUniformShuffleDown";
1531    case 349: return "OpGroupNonUniformIAdd";
1532    case 350: return "OpGroupNonUniformFAdd";
1533    case 351: return "OpGroupNonUniformIMul";
1534    case 352: return "OpGroupNonUniformFMul";
1535    case 353: return "OpGroupNonUniformSMin";
1536    case 354: return "OpGroupNonUniformUMin";
1537    case 355: return "OpGroupNonUniformFMin";
1538    case 356: return "OpGroupNonUniformSMax";
1539    case 357: return "OpGroupNonUniformUMax";
1540    case 358: return "OpGroupNonUniformFMax";
1541    case 359: return "OpGroupNonUniformBitwiseAnd";
1542    case 360: return "OpGroupNonUniformBitwiseOr";
1543    case 361: return "OpGroupNonUniformBitwiseXor";
1544    case 362: return "OpGroupNonUniformLogicalAnd";
1545    case 363: return "OpGroupNonUniformLogicalOr";
1546    case 364: return "OpGroupNonUniformLogicalXor";
1547    case 365: return "OpGroupNonUniformQuadBroadcast";
1548    case 366: return "OpGroupNonUniformQuadSwap";
1549
1550    case (int)Op::OpTerminateInvocation: return "OpTerminateInvocation";
1551
1552    case 4421: return "OpSubgroupBallotKHR";
1553    case 4422: return "OpSubgroupFirstInvocationKHR";
1554    case 4428: return "OpSubgroupAllKHR";
1555    case 4429: return "OpSubgroupAnyKHR";
1556    case 4430: return "OpSubgroupAllEqualKHR";
1557    case 4432: return "OpSubgroupReadInvocationKHR";
1558    case 4433: return "OpExtInstWithForwardRefsKHR";
1559
1560    case (int)Op::OpGroupNonUniformQuadAllKHR: return "OpGroupNonUniformQuadAllKHR";
1561    case (int)Op::OpGroupNonUniformQuadAnyKHR: return "OpGroupNonUniformQuadAnyKHR";
1562    case (int)Op::OpBufferPointerEXT:          return "OpBufferPointerEXT";
1563    case (int)Op::OpConstantSizeOfEXT:         return "OpConstantSizeOfEXT";
1564    case (int)Op::OpTypeBufferEXT:             return "OpTypeBufferEXT";
1565    case (int)Op::OpUntypedAccessChainKHR:     return "OpUntypedAccessChainKHR";
1566    case (int)Op::OpUntypedVariableKHR:        return "OpUntypedVariableKHR";
1567    case (int)Op::OpTypeUntypedPointerKHR:     return "OpTypeUntypedPointerKHR";
1568    case (int)Op::OpMemberDecorateIdEXT:       return "OpMemberDecorateIdEXT";
1569    case (int)Op::OpUntypedImageTexelPointerEXT:     return "OpUntypedImageTexelPointerEXT";
1570
1571    case (int)Op::OpAbortKHR:            return "OpAbortKHR";
1572    case (int)Op::OpConstantDataKHR:     return "OpConstantDataKHR";
1573    case (int)Op::OpSpecConstantDataKHR: return "OpSpecConstantDataKHR";
1574
1575    case (int)Op::OpAtomicFAddEXT: return "OpAtomicFAddEXT";
1576    case (int)Op::OpAtomicFMinEXT: return "OpAtomicFMinEXT";
1577    case (int)Op::OpAtomicFMaxEXT: return "OpAtomicFMaxEXT";
1578
1579    case (int)Op::OpAssumeTrueKHR: return "OpAssumeTrueKHR";
1580    case (int)Op::OpExpectKHR: return "OpExpectKHR";
1581
1582    case 5000: return "OpGroupIAddNonUniformAMD";
1583    case 5001: return "OpGroupFAddNonUniformAMD";
1584    case 5002: return "OpGroupFMinNonUniformAMD";
1585    case 5003: return "OpGroupUMinNonUniformAMD";
1586    case 5004: return "OpGroupSMinNonUniformAMD";
1587    case 5005: return "OpGroupFMaxNonUniformAMD";
1588    case 5006: return "OpGroupUMaxNonUniformAMD";
1589    case 5007: return "OpGroupSMaxNonUniformAMD";
1590
1591    case 5011: return "OpFragmentMaskFetchAMD";
1592    case 5012: return "OpFragmentFetchAMD";
1593
1594    case (int)Op::OpReadClockKHR:               return "OpReadClockKHR";
1595
1596    case (int)Op::OpDecorateStringGOOGLE:       return "OpDecorateStringGOOGLE";
1597    case (int)Op::OpMemberDecorateStringGOOGLE: return "OpMemberDecorateStringGOOGLE";
1598
1599    case (int)Op::OpReportIntersectionKHR:             return "OpReportIntersectionKHR";
1600    case (int)Op::OpIgnoreIntersectionNV:              return "OpIgnoreIntersectionNV";
1601    case (int)Op::OpIgnoreIntersectionKHR:             return "OpIgnoreIntersectionKHR";
1602    case (int)Op::OpTerminateRayNV:                    return "OpTerminateRayNV";
1603    case (int)Op::OpTerminateRayKHR:                   return "OpTerminateRayKHR";
1604    case (int)Op::OpTraceNV:                           return "OpTraceNV";
1605    case (int)Op::OpTraceRayMotionNV:                  return "OpTraceRayMotionNV";
1606    case (int)Op::OpTraceRayKHR:                       return "OpTraceRayKHR";
1607    case (int)Op::OpTypeAccelerationStructureKHR:      return "OpTypeAccelerationStructureKHR";
1608    case (int)Op::OpExecuteCallableNV:                 return "OpExecuteCallableNV";
1609    case (int)Op::OpExecuteCallableKHR:                return "OpExecuteCallableKHR";
1610    case (int)Op::OpConvertUToAccelerationStructureKHR: return "OpConvertUToAccelerationStructureKHR";
1611
1612    case (int)Op::OpGroupNonUniformPartitionNV:       return "OpGroupNonUniformPartitionNV";
1613    case (int)Op::OpImageSampleFootprintNV:           return "OpImageSampleFootprintNV";
1614    case (int)Op::OpWritePackedPrimitiveIndices4x8NV: return "OpWritePackedPrimitiveIndices4x8NV";
1615    case (int)Op::OpEmitMeshTasksEXT:                 return "OpEmitMeshTasksEXT";
1616    case (int)Op::OpSetMeshOutputsEXT:                return "OpSetMeshOutputsEXT";
1617
1618    case (int)Op::OpGroupNonUniformRotateKHR:         return "OpGroupNonUniformRotateKHR";
1619
1620    case (int)Op::OpTypeRayQueryKHR:                                                   return "OpTypeRayQueryKHR";
1621    case (int)Op::OpRayQueryInitializeKHR:                                             return "OpRayQueryInitializeKHR";
1622    case (int)Op::OpRayQueryTerminateKHR:                                              return "OpRayQueryTerminateKHR";
1623    case (int)Op::OpRayQueryGenerateIntersectionKHR:                                   return "OpRayQueryGenerateIntersectionKHR";
1624    case (int)Op::OpRayQueryConfirmIntersectionKHR:                                    return "OpRayQueryConfirmIntersectionKHR";
1625    case (int)Op::OpRayQueryProceedKHR:                                                return "OpRayQueryProceedKHR";
1626    case (int)Op::OpRayQueryGetIntersectionTypeKHR:                                    return "OpRayQueryGetIntersectionTypeKHR";
1627    case (int)Op::OpRayQueryGetRayTMinKHR:                                             return "OpRayQueryGetRayTMinKHR";
1628    case (int)Op::OpRayQueryGetRayFlagsKHR:                                            return "OpRayQueryGetRayFlagsKHR";
1629    case (int)Op::OpRayQueryGetIntersectionTKHR:                                       return "OpRayQueryGetIntersectionTKHR";
1630    case (int)Op::OpRayQueryGetIntersectionInstanceCustomIndexKHR:                     return "OpRayQueryGetIntersectionInstanceCustomIndexKHR";
1631    case (int)Op::OpRayQueryGetIntersectionInstanceIdKHR:                              return "OpRayQueryGetIntersectionInstanceIdKHR";
1632    case (int)Op::OpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR:  return "OpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR";
1633    case (int)Op::OpRayQueryGetIntersectionGeometryIndexKHR:                           return "OpRayQueryGetIntersectionGeometryIndexKHR";
1634    case (int)Op::OpRayQueryGetIntersectionPrimitiveIndexKHR:                          return "OpRayQueryGetIntersectionPrimitiveIndexKHR";
1635    case (int)Op::OpRayQueryGetIntersectionBarycentricsKHR:                            return "OpRayQueryGetIntersectionBarycentricsKHR";
1636    case (int)Op::OpRayQueryGetIntersectionFrontFaceKHR:                               return "OpRayQueryGetIntersectionFrontFaceKHR";
1637    case (int)Op::OpRayQueryGetIntersectionCandidateAABBOpaqueKHR:                     return "OpRayQueryGetIntersectionCandidateAABBOpaqueKHR";
1638    case (int)Op::OpRayQueryGetIntersectionObjectRayDirectionKHR:                      return "OpRayQueryGetIntersectionObjectRayDirectionKHR";
1639    case (int)Op::OpRayQueryGetIntersectionObjectRayOriginKHR:                         return "OpRayQueryGetIntersectionObjectRayOriginKHR";
1640    case (int)Op::OpRayQueryGetWorldRayDirectionKHR:                                   return "OpRayQueryGetWorldRayDirectionKHR";
1641    case (int)Op::OpRayQueryGetWorldRayOriginKHR:                                      return "OpRayQueryGetWorldRayOriginKHR";
1642    case (int)Op::OpRayQueryGetIntersectionObjectToWorldKHR:                           return "OpRayQueryGetIntersectionObjectToWorldKHR";
1643    case (int)Op::OpRayQueryGetIntersectionWorldToObjectKHR:                           return "OpRayQueryGetIntersectionWorldToObjectKHR";
1644    case (int)Op::OpRayQueryGetIntersectionTriangleVertexPositionsKHR:                 return "OpRayQueryGetIntersectionTriangleVertexPositionsKHR";
1645    case (int)Op::OpRayQueryGetClusterIdNV:                                            return "OpRayQueryGetIntersectionClusterIdNV";
1646
1647    case (int)Op::OpRayQueryGetIntersectionSpherePositionNV:                           return "OpRayQueryGetIntersectionSpherePositionNV";
1648    case (int)Op::OpRayQueryGetIntersectionSphereRadiusNV:                             return "OpRayQueryGetIntersectionSphereRadiusNV";
1649    case (int)Op::OpRayQueryGetIntersectionLSSHitValueNV:                              return "OpRayQueryGetIntersectionLSSHitValueNV";
1650    case (int)Op::OpRayQueryGetIntersectionLSSPositionsNV:                             return "OpRayQueryGetIntersectionLSSPositionsNV";
1651    case (int)Op::OpRayQueryGetIntersectionLSSRadiiNV:                                 return "OpRayQueryGetIntersectionLSSRadiiNV";
1652    case (int)Op::OpRayQueryIsSphereHitNV:                                             return "OpRayQueryIsSphereHitNV";
1653    case (int)Op::OpRayQueryIsLSSHitNV:                                                return "OpRayQueryIsLSSHitNV";
1654
1655    case (int)Op::OpTypeCooperativeMatrixNV:         return "OpTypeCooperativeMatrixNV";
1656    case (int)Op::OpCooperativeMatrixLoadNV:         return "OpCooperativeMatrixLoadNV";
1657    case (int)Op::OpCooperativeMatrixStoreNV:        return "OpCooperativeMatrixStoreNV";
1658    case (int)Op::OpCooperativeMatrixMulAddNV:       return "OpCooperativeMatrixMulAddNV";
1659    case (int)Op::OpCooperativeMatrixLengthNV:       return "OpCooperativeMatrixLengthNV";
1660    case (int)Op::OpTypeCooperativeMatrixKHR:        return "OpTypeCooperativeMatrixKHR";
1661    case (int)Op::OpCooperativeMatrixLoadKHR:        return "OpCooperativeMatrixLoadKHR";
1662    case (int)Op::OpCooperativeMatrixStoreKHR:       return "OpCooperativeMatrixStoreKHR";
1663    case (int)Op::OpCooperativeMatrixMulAddKHR:      return "OpCooperativeMatrixMulAddKHR";
1664    case (int)Op::OpCooperativeMatrixLengthKHR:      return "OpCooperativeMatrixLengthKHR";
1665    case (int)Op::OpDemoteToHelperInvocationEXT:     return "OpDemoteToHelperInvocationEXT";
1666    case (int)Op::OpIsHelperInvocationEXT:           return "OpIsHelperInvocationEXT";
1667
1668    case (int)Op::OpCooperativeMatrixConvertNV:      return "OpCooperativeMatrixConvertNV";
1669    case (int)Op::OpCooperativeMatrixTransposeNV:    return "OpCooperativeMatrixTransposeNV";
1670    case (int)Op::OpCooperativeMatrixReduceNV:       return "OpCooperativeMatrixReduceNV";
1671    case (int)Op::OpCooperativeMatrixLoadTensorNV:   return "OpCooperativeMatrixLoadTensorNV";
1672    case (int)Op::OpCooperativeMatrixStoreTensorNV:  return "OpCooperativeMatrixStoreTensorNV";
1673    case (int)Op::OpCooperativeMatrixPerElementOpNV: return "OpCooperativeMatrixPerElementOpNV";
1674    case (int)Op::OpTypeTensorLayoutNV:              return "OpTypeTensorLayoutNV";
1675    case (int)Op::OpTypeTensorViewNV:                return "OpTypeTensorViewNV";
1676    case (int)Op::OpCreateTensorLayoutNV:            return "OpCreateTensorLayoutNV";
1677    case (int)Op::OpTensorLayoutSetBlockSizeNV:      return "OpTensorLayoutSetBlockSizeNV";
1678    case (int)Op::OpTensorLayoutSetDimensionNV:      return "OpTensorLayoutSetDimensionNV";
1679    case (int)Op::OpTensorLayoutSetStrideNV:         return "OpTensorLayoutSetStrideNV";
1680    case (int)Op::OpTensorLayoutSliceNV:             return "OpTensorLayoutSliceNV";
1681    case (int)Op::OpTensorLayoutSetClampValueNV:     return "OpTensorLayoutSetClampValueNV";
1682    case (int)Op::OpCreateTensorViewNV:              return "OpCreateTensorViewNV";
1683    case (int)Op::OpTensorViewSetDimensionNV:        return "OpTensorViewSetDimensionNV";
1684    case (int)Op::OpTensorViewSetStrideNV:           return "OpTensorViewSetStrideNV";
1685    case (int)Op::OpTensorViewSetClipNV:             return "OpTensorViewSetClipNV";
1686
1687    case (int)Op::OpTypeTensorARM:                   return "OpTypeTensorARM";
1688    case (int)Op::OpTensorReadARM:                   return "OpTensorReadARM";
1689    case (int)Op::OpTensorWriteARM:                  return "OpTensorWriteARM";
1690    case (int)Op::OpTensorQuerySizeARM:              return "OpTensorQuerySizeARM";
1691
1692    case (int)Op::OpTypeCooperativeVectorNV:         return "OpTypeCooperativeVectorNV";
1693    case (int)Op::OpCooperativeVectorMatrixMulNV:    return "OpCooperativeVectorMatrixMulNV";
1694    case (int)Op::OpCooperativeVectorMatrixMulAddNV: return "OpCooperativeVectorMatrixMulAddNV";
1695    case (int)Op::OpCooperativeVectorLoadNV:         return "OpCooperativeVectorLoadNV";
1696    case (int)Op::OpCooperativeVectorStoreNV:        return "OpCooperativeVectorStoreNV";
1697    case (int)Op::OpCooperativeVectorOuterProductAccumulateNV:   return "OpCooperativeVectorOuterProductAccumulateNV";
1698    case (int)Op::OpCooperativeVectorReduceSumAccumulateNV:      return "OpCooperativeVectorReduceSumAccumulateNV";
1699
1700    case (int)Op::OpBeginInvocationInterlockEXT:     return "OpBeginInvocationInterlockEXT";
1701    case (int)Op::OpEndInvocationInterlockEXT:       return "OpEndInvocationInterlockEXT";
1702
1703    case (int)Op::OpTypeHitObjectNV:                     return "OpTypeHitObjectNV";
1704    case (int)Op::OpHitObjectTraceRayNV:                 return "OpHitObjectTraceRayNV";
1705    case (int)Op::OpHitObjectTraceRayMotionNV:           return "OpHitObjectTraceRayMotionNV";
1706    case (int)Op::OpHitObjectRecordHitNV:                return "OpHitObjectRecordHitNV";
1707    case (int)Op::OpHitObjectRecordHitMotionNV:          return "OpHitObjectRecordHitMotionNV";
1708    case (int)Op::OpHitObjectRecordHitWithIndexNV:       return "OpHitObjectRecordHitWithIndexNV";
1709    case (int)Op::OpHitObjectRecordHitWithIndexMotionNV: return "OpHitObjectRecordHitWithIndexMotionNV";
1710    case (int)Op::OpHitObjectRecordMissNV:               return "OpHitObjectRecordMissNV";
1711    case (int)Op::OpHitObjectRecordMissMotionNV:         return "OpHitObjectRecordMissMotionNV";
1712    case (int)Op::OpHitObjectRecordEmptyNV:              return "OpHitObjectRecordEmptyNV";
1713    case (int)Op::OpHitObjectExecuteShaderNV:            return "OpHitObjectExecuteShaderNV";
1714    case (int)Op::OpReorderThreadWithHintNV:             return "OpReorderThreadWithHintNV";
1715    case (int)Op::OpReorderThreadWithHitObjectNV:        return "OpReorderThreadWithHitObjectNV";
1716    case (int)Op::OpHitObjectGetCurrentTimeNV:           return "OpHitObjectGetCurrentTimeNV";
1717    case (int)Op::OpHitObjectGetAttributesNV:            return "OpHitObjectGetAttributesNV";
1718    case (int)Op::OpHitObjectGetHitKindNV:               return "OpHitObjectGetFrontFaceNV";
1719    case (int)Op::OpHitObjectGetPrimitiveIndexNV:        return "OpHitObjectGetPrimitiveIndexNV";
1720    case (int)Op::OpHitObjectGetGeometryIndexNV:         return "OpHitObjectGetGeometryIndexNV";
1721    case (int)Op::OpHitObjectGetInstanceIdNV:            return "OpHitObjectGetInstanceIdNV";
1722    case (int)Op::OpHitObjectGetInstanceCustomIndexNV:   return "OpHitObjectGetInstanceCustomIndexNV";
1723    case (int)Op::OpHitObjectGetObjectRayDirectionNV:    return "OpHitObjectGetObjectRayDirectionNV";
1724    case (int)Op::OpHitObjectGetObjectRayOriginNV:       return "OpHitObjectGetObjectRayOriginNV";
1725    case (int)Op::OpHitObjectGetWorldRayDirectionNV:     return "OpHitObjectGetWorldRayDirectionNV";
1726    case (int)Op::OpHitObjectGetWorldRayOriginNV:        return "OpHitObjectGetWorldRayOriginNV";
1727    case (int)Op::OpHitObjectGetWorldToObjectNV:         return "OpHitObjectGetWorldToObjectNV";
1728    case (int)Op::OpHitObjectGetObjectToWorldNV:         return "OpHitObjectGetObjectToWorldNV";
1729    case (int)Op::OpHitObjectGetRayTMaxNV:               return "OpHitObjectGetRayTMaxNV";
1730    case (int)Op::OpHitObjectGetRayTMinNV:               return "OpHitObjectGetRayTMinNV";
1731    case (int)Op::OpHitObjectIsEmptyNV:                  return "OpHitObjectIsEmptyNV";
1732    case (int)Op::OpHitObjectIsHitNV:                    return "OpHitObjectIsHitNV";
1733    case (int)Op::OpHitObjectIsMissNV:                   return "OpHitObjectIsMissNV";
1734    case (int)Op::OpHitObjectGetShaderBindingTableRecordIndexNV: return "OpHitObjectGetShaderBindingTableRecordIndexNV";
1735    case (int)Op::OpHitObjectGetShaderRecordBufferHandleNV:   return "OpHitObjectGetShaderRecordBufferHandleNV";
1736    case (int)Op::OpHitObjectGetClusterIdNV:             return "OpHitObjectGetClusterIdNV";
1737    case (int)Op::OpHitObjectGetSpherePositionNV:        return "OpHitObjectGetSpherePositionNV";
1738    case (int)Op::OpHitObjectGetSphereRadiusNV:          return "OpHitObjectGetSphereRadiusNV";
1739    case (int)Op::OpHitObjectGetLSSPositionsNV:          return "OpHitObjectGetLSSPositionsNV";
1740    case (int)Op::OpHitObjectGetLSSRadiiNV:              return "OpHitObjectGetLSSRadiiNV";
1741    case (int)Op::OpHitObjectIsSphereHitNV:              return "OpHitObjectIsSphereHitNV";
1742    case (int)Op::OpHitObjectIsLSSHitNV:                 return "OpHitObjectIsLSSHitNV";
1743
1744    case (int)Op::OpFetchMicroTriangleVertexBarycentricNV:       return "OpFetchMicroTriangleVertexBarycentricNV";
1745    case (int)Op::OpFetchMicroTriangleVertexPositionNV:    return "OpFetchMicroTriangleVertexPositionNV";
1746
1747    case (int)Op::OpColorAttachmentReadEXT:          return "OpColorAttachmentReadEXT";
1748    case (int)Op::OpDepthAttachmentReadEXT:          return "OpDepthAttachmentReadEXT";
1749    case (int)Op::OpStencilAttachmentReadEXT:        return "OpStencilAttachmentReadEXT";
1750
1751    case (int)Op::OpImageSampleWeightedQCOM:         return "OpImageSampleWeightedQCOM";
1752    case (int)Op::OpImageBoxFilterQCOM:              return "OpImageBoxFilterQCOM";
1753    case (int)Op::OpImageBlockMatchSADQCOM:          return "OpImageBlockMatchSADQCOM";
1754    case (int)Op::OpImageBlockMatchSSDQCOM:          return "OpImageBlockMatchSSDQCOM";
1755    case (int)Op::OpImageBlockMatchWindowSSDQCOM:    return "OpImageBlockMatchWindowSSDQCOM";
1756    case (int)Op::OpImageBlockMatchWindowSADQCOM:    return "OpImageBlockMatchWindowSADQCOM";
1757    case (int)Op::OpImageBlockMatchGatherSSDQCOM:    return "OpImageBlockMatchGatherSSDQCOM";
1758    case (int)Op::OpImageBlockMatchGatherSADQCOM:    return "OpImageBlockMatchGatherSADQCOM";
1759    case (int)Op::OpImageGatherQCOM:                 return "OpImageGatherQCOM";
1760
1761    case (int)Op::OpBitCastArrayQCOM:                return "OpBitCastArrayQCOM";
1762    case (int)Op::OpCompositeConstructCoopMatQCOM:   return "OpCompositeConstructCoopMatQCOM";
1763    case (int)Op::OpCompositeExtractCoopMatQCOM:     return "OpCompositeExtractCoopMatQCOM";
1764    case (int)Op::OpExtractSubArrayQCOM:             return "OpExtractSubArrayQCOM";
1765
1766    case (int)Op::OpConstantCompositeReplicateEXT: return "OpConstantCompositeReplicateEXT";
1767    case (int)Op::OpSpecConstantCompositeReplicateEXT: return "OpSpecConstantCompositeReplicateEXT";
1768    case (int)Op::OpCompositeConstructReplicateEXT: return "OpCompositeConstructReplicateEXT";
1769
1770    case (int)Op::OpSDotKHR: return "OpSDotKHR";
1771    case (int)Op::OpUDotKHR: return "OpUDotKHR";
1772    case (int)Op::OpSUDotKHR: return "OpSUDotKHR";
1773    case (int)Op::OpSDotAccSatKHR: return "OpSDotAccSatKHR";
1774    case (int)Op::OpUDotAccSatKHR: return "OpUDotAccSatKHR";
1775    case (int)Op::OpSUDotAccSatKHR: return "OpSUDotAccSatKHR";
1776
1777    case (int)Op::OpTypeHitObjectEXT:                     return "OpTypeHitObjectEXT";
1778    case (int)Op::OpHitObjectTraceRayEXT:                 return "OpHitObjectTraceRayEXT";
1779    case (int)Op::OpHitObjectTraceRayMotionEXT:           return "OpHitObjectTraceRayMotionEXT";
1780    case (int)Op::OpHitObjectRecordMissEXT:               return "OpHitObjectRecordMissEXT";
1781    case (int)Op::OpHitObjectRecordMissMotionEXT:         return "OpHitObjectRecordMissMotionEXT";
1782    case (int)Op::OpHitObjectRecordEmptyEXT:              return "OpHitObjectRecordEmptyEXT";
1783    case (int)Op::OpHitObjectExecuteShaderEXT:            return "OpHitObjectExecuteShaderEXT";
1784    case (int)Op::OpReorderThreadWithHintEXT:             return "OpReorderThreadWithHintEXT";
1785    case (int)Op::OpReorderThreadWithHitObjectEXT:        return "OpReorderThreadWithHitObjectEXT";
1786    case (int)Op::OpHitObjectGetCurrentTimeEXT:           return "OpHitObjectGetCurrentTimeEXT";
1787    case (int)Op::OpHitObjectGetAttributesEXT:            return "OpHitObjectGetAttributesEXT";
1788    case (int)Op::OpHitObjectGetHitKindEXT:               return "OpHitObjectGetHitKindEXT";
1789    case (int)Op::OpHitObjectGetPrimitiveIndexEXT:        return "OpHitObjectGetPrimitiveIndexEXT";
1790    case (int)Op::OpHitObjectGetGeometryIndexEXT:         return "OpHitObjectGetGeometryIndexEXT";
1791    case (int)Op::OpHitObjectGetInstanceIdEXT:            return "OpHitObjectGetInstanceIdEXT";
1792    case (int)Op::OpHitObjectGetInstanceCustomIndexEXT:   return "OpHitObjectGetInstanceCustomIndexEXT";
1793    case (int)Op::OpHitObjectGetObjectRayDirectionEXT:    return "OpHitObjectGetObjectRayDirectionEXT";
1794    case (int)Op::OpHitObjectGetObjectRayOriginEXT:       return "OpHitObjectGetObjectRayOriginEXT";
1795    case (int)Op::OpHitObjectGetWorldRayDirectionEXT:     return "OpHitObjectGetWorldRayDirectionEXT";
1796    case (int)Op::OpHitObjectGetWorldRayOriginEXT:        return "OpHitObjectGetWorldRayOriginEXT";
1797    case (int)Op::OpHitObjectGetWorldToObjectEXT:         return "OpHitObjectGetWorldToObjectEXT";
1798    case (int)Op::OpHitObjectGetObjectToWorldEXT:         return "OpHitObjectGetObjectToWorldEXT";
1799    case (int)Op::OpHitObjectGetRayTMaxEXT:               return "OpHitObjectGetRayTMaxEXT";
1800    case (int)Op::OpHitObjectGetRayTMinEXT:               return "OpHitObjectGetRayTMinEXT";
1801    case (int)Op::OpHitObjectGetRayFlagsEXT:              return "OpHitObjectGetRayFlagsEXT";
1802    case (int)Op::OpHitObjectIsEmptyEXT:                  return "OpHitObjectIsEmptyEXT";
1803    case (int)Op::OpHitObjectIsHitEXT:                    return "OpHitObjectIsHitEXT";
1804    case (int)Op::OpHitObjectIsMissEXT:                   return "OpHitObjectIsMissEXT";
1805    case (int)Op::OpHitObjectGetShaderBindingTableRecordIndexEXT: return "OpHitObjectGetShaderBindingTableRecordIndexEXT";
1806    case (int)Op::OpHitObjectGetShaderRecordBufferHandleEXT:   return "OpHitObjectGetShaderRecordBufferHandleEXT";
1807    case (int)Op::OpHitObjectSetShaderBindingTableRecordIndexEXT: return "OpHitObjectSetShaderBindingTableRecordIndexEXT";
1808    case (int)Op::OpHitObjectReorderExecuteShaderEXT:     return "OpHitObjectReorderExecuteEXT";
1809    case (int)Op::OpHitObjectTraceReorderExecuteEXT:      return "OpHitObjectTraceReorderExecuteEXT";
1810    case (int)Op::OpHitObjectTraceMotionReorderExecuteEXT: return "OpHitObjectTraceMotionReorderExecuteEXT";
1811    case (int)Op::OpHitObjectRecordFromQueryEXT:          return "OpHitObjectRecordFromQueryEXT";
1812    case (int)Op::OpHitObjectGetIntersectionTriangleVertexPositionsEXT: return "OpHitObjectGetIntersectionTriangleVertexPositionsEXT";
1813
1814    case (int)Op::OpBitcastExtractEXT:                    return "OpBitcastExtractEXT";
1815    case (int)Op::OpControlBarrierArriveEXT: return "OpControlBarrierArriveEXT";
1816    case (int)Op::OpControlBarrierWaitEXT: return "OpControlBarrierWaitEXT";
1817
1818    default:
1819        return "Bad";
1820    }
1821}
1822
1823// The set of objects that hold all the instruction/operand
1824// parameterization information.
1825InstructionParameters InstructionDesc[OpCodeMask + 1];
1826OperandParameters ExecutionModeOperands[ExecutionModeCeiling];
1827OperandParameters DecorationOperands[DecorationCeiling];
1828
1829EnumDefinition OperandClassParams[OperandCount];
1830EnumParameters ExecutionModeParams[ExecutionModeCeiling];
1831EnumParameters ImageOperandsParams[ImageOperandsCeiling];
1832EnumParameters DecorationParams[DecorationCeiling];
1833EnumParameters LoopControlParams[FunctionControlCeiling];
1834EnumParameters SelectionControlParams[SelectControlCeiling];
1835EnumParameters FunctionControlParams[FunctionControlCeiling];
1836EnumParameters MemoryAccessParams[MemoryAccessCeiling];
1837EnumParameters CooperativeMatrixOperandsParams[CooperativeMatrixOperandsCeiling];
1838EnumParameters TensorAddressingOperandsParams[TensorAddressingOperandsCeiling];
1839
1840// Set up all the parameterizing descriptions of the opcodes, operands, etc.
1841void Parameterize()
1842{
1843    // only do this once.
1844    static std::once_flag initialized;
1845    std::call_once(initialized, [](){
1846
1847        // Exceptions to having a result <id> and a resulting type <id>.
1848        // (Everything is initialized to have both).
1849
1850        InstructionDesc[enumCast(Op::OpNop)].setResultAndType(false, false);
1851        InstructionDesc[enumCast(Op::OpSource)].setResultAndType(false, false);
1852        InstructionDesc[enumCast(Op::OpSourceContinued)].setResultAndType(false, false);
1853        InstructionDesc[enumCast(Op::OpSourceExtension)].setResultAndType(false, false);
1854        InstructionDesc[enumCast(Op::OpExtension)].setResultAndType(false, false);
1855        InstructionDesc[enumCast(Op::OpExtInstImport)].setResultAndType(true, false);
1856        InstructionDesc[enumCast(Op::OpCapability)].setResultAndType(false, false);
1857        InstructionDesc[enumCast(Op::OpMemoryModel)].setResultAndType(false, false);
1858        InstructionDesc[enumCast(Op::OpEntryPoint)].setResultAndType(false, false);
1859        InstructionDesc[enumCast(Op::OpExecutionMode)].setResultAndType(false, false);
1860        InstructionDesc[enumCast(Op::OpExecutionModeId)].setResultAndType(false, false);
1861        InstructionDesc[enumCast(Op::OpTypeVoid)].setResultAndType(true, false);
1862        InstructionDesc[enumCast(Op::OpTypeBool)].setResultAndType(true, false);
1863        InstructionDesc[enumCast(Op::OpTypeInt)].setResultAndType(true, false);
1864        InstructionDesc[enumCast(Op::OpTypeFloat)].setResultAndType(true, false);
1865        InstructionDesc[enumCast(Op::OpTypeVector)].setResultAndType(true, false);
1866        InstructionDesc[enumCast(Op::OpTypeMatrix)].setResultAndType(true, false);
1867        InstructionDesc[enumCast(Op::OpTypeImage)].setResultAndType(true, false);
1868        InstructionDesc[enumCast(Op::OpTypeSampler)].setResultAndType(true, false);
1869        InstructionDesc[enumCast(Op::OpTypeSampledImage)].setResultAndType(true, false);
1870        InstructionDesc[enumCast(Op::OpTypeArray)].setResultAndType(true, false);
1871        InstructionDesc[enumCast(Op::OpTypeRuntimeArray)].setResultAndType(true, false);
1872        InstructionDesc[enumCast(Op::OpTypeStruct)].setResultAndType(true, false);
1873        InstructionDesc[enumCast(Op::OpTypeOpaque)].setResultAndType(true, false);
1874        InstructionDesc[enumCast(Op::OpTypePointer)].setResultAndType(true, false);
1875        InstructionDesc[enumCast(Op::OpTypeUntypedPointerKHR)].setResultAndType(true, false);
1876        InstructionDesc[enumCast(Op::OpTypeForwardPointer)].setResultAndType(false, false);
1877        InstructionDesc[enumCast(Op::OpTypeFunction)].setResultAndType(true, false);
1878        InstructionDesc[enumCast(Op::OpTypeEvent)].setResultAndType(true, false);
1879        InstructionDesc[enumCast(Op::OpTypeDeviceEvent)].setResultAndType(true, false);
1880        InstructionDesc[enumCast(Op::OpTypeReserveId)].setResultAndType(true, false);
1881        InstructionDesc[enumCast(Op::OpTypeQueue)].setResultAndType(true, false);
1882        InstructionDesc[enumCast(Op::OpTypePipe)].setResultAndType(true, false);
1883        InstructionDesc[enumCast(Op::OpFunctionEnd)].setResultAndType(false, false);
1884        InstructionDesc[enumCast(Op::OpStore)].setResultAndType(false, false);
1885        InstructionDesc[enumCast(Op::OpImageWrite)].setResultAndType(false, false);
1886        InstructionDesc[enumCast(Op::OpDecorationGroup)].setResultAndType(true, false);
1887        InstructionDesc[enumCast(Op::OpDecorate)].setResultAndType(false, false);
1888        InstructionDesc[enumCast(Op::OpDecorateId)].setResultAndType(false, false);
1889        InstructionDesc[enumCast(Op::OpDecorateStringGOOGLE)].setResultAndType(false, false);
1890        InstructionDesc[enumCast(Op::OpMemberDecorate)].setResultAndType(false, false);
1891        InstructionDesc[enumCast(Op::OpMemberDecorateStringGOOGLE)].setResultAndType(false, false);
1892        InstructionDesc[enumCast(Op::OpGroupDecorate)].setResultAndType(false, false);
1893        InstructionDesc[enumCast(Op::OpGroupMemberDecorate)].setResultAndType(false, false);
1894        InstructionDesc[enumCast(Op::OpName)].setResultAndType(false, false);
1895        InstructionDesc[enumCast(Op::OpMemberName)].setResultAndType(false, false);
1896        InstructionDesc[enumCast(Op::OpString)].setResultAndType(true, false);
1897        InstructionDesc[enumCast(Op::OpLine)].setResultAndType(false, false);
1898        InstructionDesc[enumCast(Op::OpNoLine)].setResultAndType(false, false);
1899        InstructionDesc[enumCast(Op::OpCopyMemory)].setResultAndType(false, false);
1900        InstructionDesc[enumCast(Op::OpCopyMemorySized)].setResultAndType(false, false);
1901        InstructionDesc[enumCast(Op::OpEmitVertex)].setResultAndType(false, false);
1902        InstructionDesc[enumCast(Op::OpEndPrimitive)].setResultAndType(false, false);
1903        InstructionDesc[enumCast(Op::OpEmitStreamVertex)].setResultAndType(false, false);
1904        InstructionDesc[enumCast(Op::OpEndStreamPrimitive)].setResultAndType(false, false);
1905        InstructionDesc[enumCast(Op::OpControlBarrier)].setResultAndType(false, false);
1906        InstructionDesc[enumCast(Op::OpControlBarrierArriveEXT)].setResultAndType(false, false);
1907        InstructionDesc[enumCast(Op::OpControlBarrierWaitEXT)].setResultAndType(false, false);
1908        InstructionDesc[enumCast(Op::OpMemoryBarrier)].setResultAndType(false, false);
1909        InstructionDesc[enumCast(Op::OpAtomicStore)].setResultAndType(false, false);
1910        InstructionDesc[enumCast(Op::OpLoopMerge)].setResultAndType(false, false);
1911        InstructionDesc[enumCast(Op::OpSelectionMerge)].setResultAndType(false, false);
1912        InstructionDesc[enumCast(Op::OpLabel)].setResultAndType(true, false);
1913        InstructionDesc[enumCast(Op::OpBranch)].setResultAndType(false, false);
1914        InstructionDesc[enumCast(Op::OpBranchConditional)].setResultAndType(false, false);
1915        InstructionDesc[enumCast(Op::OpSwitch)].setResultAndType(false, false);
1916        InstructionDesc[enumCast(Op::OpKill)].setResultAndType(false, false);
1917        InstructionDesc[enumCast(Op::OpTerminateInvocation)].setResultAndType(false, false);
1918        InstructionDesc[enumCast(Op::OpReturn)].setResultAndType(false, false);
1919        InstructionDesc[enumCast(Op::OpReturnValue)].setResultAndType(false, false);
1920        InstructionDesc[enumCast(Op::OpUnreachable)].setResultAndType(false, false);
1921        InstructionDesc[enumCast(Op::OpLifetimeStart)].setResultAndType(false, false);
1922        InstructionDesc[enumCast(Op::OpLifetimeStop)].setResultAndType(false, false);
1923        InstructionDesc[enumCast(Op::OpCommitReadPipe)].setResultAndType(false, false);
1924        InstructionDesc[enumCast(Op::OpCommitWritePipe)].setResultAndType(false, false);
1925        InstructionDesc[enumCast(Op::OpGroupCommitWritePipe)].setResultAndType(false, false);
1926        InstructionDesc[enumCast(Op::OpGroupCommitReadPipe)].setResultAndType(false, false);
1927        InstructionDesc[enumCast(Op::OpCaptureEventProfilingInfo)].setResultAndType(false, false);
1928        InstructionDesc[enumCast(Op::OpSetUserEventStatus)].setResultAndType(false, false);
1929        InstructionDesc[enumCast(Op::OpRetainEvent)].setResultAndType(false, false);
1930        InstructionDesc[enumCast(Op::OpReleaseEvent)].setResultAndType(false, false);
1931        InstructionDesc[enumCast(Op::OpGroupWaitEvents)].setResultAndType(false, false);
1932        InstructionDesc[enumCast(Op::OpAtomicFlagClear)].setResultAndType(false, false);
1933        InstructionDesc[enumCast(Op::OpModuleProcessed)].setResultAndType(false, false);
1934        InstructionDesc[enumCast(Op::OpTypeCooperativeMatrixNV)].setResultAndType(true, false);
1935        InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreNV)].setResultAndType(false, false);
1936        InstructionDesc[enumCast(Op::OpTypeCooperativeMatrixKHR)].setResultAndType(true, false);
1937        InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreKHR)].setResultAndType(false, false);
1938        InstructionDesc[enumCast(Op::OpBeginInvocationInterlockEXT)].setResultAndType(false, false);
1939        InstructionDesc[enumCast(Op::OpEndInvocationInterlockEXT)].setResultAndType(false, false);
1940        InstructionDesc[enumCast(Op::OpAssumeTrueKHR)].setResultAndType(false, false);
1941        InstructionDesc[enumCast(Op::OpTypeTensorLayoutNV)].setResultAndType(true, false);
1942        InstructionDesc[enumCast(Op::OpTypeTensorViewNV)].setResultAndType(true, false);
1943        InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreTensorNV)].setResultAndType(false, false);
1944        InstructionDesc[enumCast(Op::OpTypeCooperativeVectorNV)].setResultAndType(true, false);
1945        InstructionDesc[enumCast(Op::OpCooperativeVectorStoreNV)].setResultAndType(false, false);
1946        InstructionDesc[enumCast(Op::OpCooperativeVectorOuterProductAccumulateNV)].setResultAndType(false, false);
1947        InstructionDesc[enumCast(Op::OpCooperativeVectorReduceSumAccumulateNV)].setResultAndType(false, false);
1948        InstructionDesc[enumCast(Op::OpMemberDecorateIdEXT)].setResultAndType(false, false);
1949
1950        InstructionDesc[enumCast(Op::OpTypeTensorARM)].setResultAndType(true, false);
1951        InstructionDesc[enumCast(Op::OpTensorReadARM)].setResultAndType(true, true);
1952        InstructionDesc[enumCast(Op::OpTensorWriteARM)].setResultAndType(false, false);
1953
1954        // Specific additional context-dependent operands
1955
1956        ExecutionModeOperands[enumCast(ExecutionMode::Invocations)].push(OperandLiteralNumber, "'Number of <<Invocation,invocations>>'");
1957
1958        ExecutionModeOperands[enumCast(ExecutionMode::LocalSize)].push(OperandLiteralNumber, "'x size'");
1959        ExecutionModeOperands[enumCast(ExecutionMode::LocalSize)].push(OperandLiteralNumber, "'y size'");
1960        ExecutionModeOperands[enumCast(ExecutionMode::LocalSize)].push(OperandLiteralNumber, "'z size'");
1961
1962        ExecutionModeOperands[enumCast(ExecutionMode::LocalSizeHint)].push(OperandLiteralNumber, "'x size'");
1963        ExecutionModeOperands[enumCast(ExecutionMode::LocalSizeHint)].push(OperandLiteralNumber, "'y size'");
1964        ExecutionModeOperands[enumCast(ExecutionMode::LocalSizeHint)].push(OperandLiteralNumber, "'z size'");
1965
1966        ExecutionModeOperands[enumCast(ExecutionMode::OutputVertices)].push(OperandLiteralNumber, "'Vertex count'");
1967        ExecutionModeOperands[enumCast(ExecutionMode::VecTypeHint)].push(OperandLiteralNumber, "'Vector type'");
1968
1969        DecorationOperands[enumCast(Decoration::Stream)].push(OperandLiteralNumber, "'Stream Number'");
1970        DecorationOperands[enumCast(Decoration::Location)].push(OperandLiteralNumber, "'Location'");
1971        DecorationOperands[enumCast(Decoration::Component)].push(OperandLiteralNumber, "'Component'");
1972        DecorationOperands[enumCast(Decoration::Index)].push(OperandLiteralNumber, "'Index'");
1973        DecorationOperands[enumCast(Decoration::Binding)].push(OperandLiteralNumber, "'Binding Point'");
1974        DecorationOperands[enumCast(Decoration::DescriptorSet)].push(OperandLiteralNumber, "'Descriptor Set'");
1975        DecorationOperands[enumCast(Decoration::Offset)].push(OperandLiteralNumber, "'Byte Offset'");
1976        DecorationOperands[enumCast(Decoration::XfbBuffer)].push(OperandLiteralNumber, "'XFB Buffer Number'");
1977        DecorationOperands[enumCast(Decoration::XfbStride)].push(OperandLiteralNumber, "'XFB Stride'");
1978        DecorationOperands[enumCast(Decoration::ArrayStride)].push(OperandLiteralNumber, "'Array Stride'");
1979        DecorationOperands[enumCast(Decoration::MatrixStride)].push(OperandLiteralNumber, "'Matrix Stride'");
1980        DecorationOperands[enumCast(Decoration::BuiltIn)].push(OperandLiteralNumber, "See <<BuiltIn,*BuiltIn*>>");
1981        DecorationOperands[enumCast(Decoration::FPRoundingMode)].push(OperandFPRoundingMode, "'Floating-Point Rounding Mode'");
1982        DecorationOperands[enumCast(Decoration::FPFastMathMode)].push(OperandFPFastMath, "'Fast-Math Mode'");
1983        DecorationOperands[enumCast(Decoration::LinkageAttributes)].push(OperandLiteralString, "'Name'");
1984        DecorationOperands[enumCast(Decoration::LinkageAttributes)].push(OperandLinkageType, "'Linkage Type'");
1985        DecorationOperands[enumCast(Decoration::FuncParamAttr)].push(OperandFuncParamAttr, "'Function Parameter Attribute'");
1986        DecorationOperands[enumCast(Decoration::SpecId)].push(OperandLiteralNumber, "'Specialization Constant ID'");
1987        DecorationOperands[enumCast(Decoration::InputAttachmentIndex)].push(OperandLiteralNumber, "'Attachment Index'");
1988        DecorationOperands[enumCast(Decoration::Alignment)].push(OperandLiteralNumber, "'Alignment'");
1989
1990        OperandClassParams[OperandSource].set(0, SourceString, nullptr);
1991        OperandClassParams[OperandExecutionModel].set(0, ExecutionModelString, nullptr);
1992        OperandClassParams[OperandAddressing].set(0, AddressingString, nullptr);
1993        OperandClassParams[OperandMemory].set(0, MemoryString, nullptr);
1994        OperandClassParams[OperandExecutionMode].set(ExecutionModeCeiling, ExecutionModeString, ExecutionModeParams);
1995        OperandClassParams[OperandExecutionMode].setOperands(ExecutionModeOperands);
1996        OperandClassParams[OperandStorage].set(0, StorageClassString, nullptr);
1997        OperandClassParams[OperandDimensionality].set(0, DimensionString, nullptr);
1998        OperandClassParams[OperandSamplerAddressingMode].set(0, SamplerAddressingModeString, nullptr);
1999        OperandClassParams[OperandSamplerFilterMode].set(0, SamplerFilterModeString, nullptr);
2000        OperandClassParams[OperandSamplerImageFormat].set(0, ImageFormatString, nullptr);
2001        OperandClassParams[OperandImageChannelOrder].set(0, ImageChannelOrderString, nullptr);
2002        OperandClassParams[OperandImageChannelDataType].set(0, ImageChannelDataTypeString, nullptr);
2003        OperandClassParams[OperandImageOperands].set(ImageOperandsCeiling, ImageOperandsString, ImageOperandsParams, true);
2004        OperandClassParams[OperandFPFastMath].set(0, FPFastMathString, nullptr, true);
2005        OperandClassParams[OperandFPRoundingMode].set(0, FPRoundingModeString, nullptr);
2006        OperandClassParams[OperandLinkageType].set(0, LinkageTypeString, nullptr);
2007        OperandClassParams[OperandFuncParamAttr].set(0, FuncParamAttrString, nullptr);
2008        OperandClassParams[OperandAccessQualifier].set(0, AccessQualifierString, nullptr);
2009        OperandClassParams[OperandDecoration].set(DecorationCeiling, DecorationString, DecorationParams);
2010        OperandClassParams[OperandDecoration].setOperands(DecorationOperands);
2011        OperandClassParams[OperandBuiltIn].set(0, BuiltInString, nullptr);
2012        OperandClassParams[OperandSelect].set(SelectControlCeiling, SelectControlString, SelectionControlParams, true);
2013        OperandClassParams[OperandLoop].set(LoopControlCeiling, LoopControlString, LoopControlParams, true);
2014        OperandClassParams[OperandFunction].set(FunctionControlCeiling, FunctionControlString, FunctionControlParams, true);
2015        OperandClassParams[OperandMemorySemantics].set(0, MemorySemanticsString, nullptr, true);
2016        OperandClassParams[OperandMemoryAccess].set(MemoryAccessCeiling, MemoryAccessString, MemoryAccessParams, true);
2017        OperandClassParams[OperandScope].set(0, ScopeString, nullptr);
2018        OperandClassParams[OperandGroupOperation].set(0, GroupOperationString, nullptr);
2019        OperandClassParams[OperandKernelEnqueueFlags].set(0, KernelEnqueueFlagsString, nullptr);
2020        OperandClassParams[OperandKernelProfilingInfo].set(0, KernelProfilingInfoString, nullptr, true);
2021        OperandClassParams[OperandCapability].set(0, CapabilityString, nullptr);
2022        OperandClassParams[OperandCooperativeMatrixOperands].set(CooperativeMatrixOperandsCeiling, CooperativeMatrixOperandsString, CooperativeMatrixOperandsParams, true);
2023        OperandClassParams[OperandTensorAddressingOperands].set(TensorAddressingOperandsCeiling, TensorAddressingOperandsString, TensorAddressingOperandsParams, true);
2024        OperandClassParams[OperandOpcode].set(OpCodeMask + 1, OpcodeString, nullptr);
2025
2026        // set name of operator, an initial set of <id> style operands, and the description
2027
2028        InstructionDesc[enumCast(Op::OpSource)].operands.push(OperandSource, "");
2029        InstructionDesc[enumCast(Op::OpSource)].operands.push(OperandLiteralNumber, "'Version'");
2030        InstructionDesc[enumCast(Op::OpSource)].operands.push(OperandId, "'File'", true);
2031        InstructionDesc[enumCast(Op::OpSource)].operands.push(OperandLiteralString, "'Source'", true);
2032
2033        InstructionDesc[enumCast(Op::OpSourceContinued)].operands.push(OperandLiteralString, "'Continued Source'");
2034
2035        InstructionDesc[enumCast(Op::OpSourceExtension)].operands.push(OperandLiteralString, "'Extension'");
2036
2037        InstructionDesc[enumCast(Op::OpName)].operands.push(OperandId, "'Target'");
2038        InstructionDesc[enumCast(Op::OpName)].operands.push(OperandLiteralString, "'Name'");
2039
2040        InstructionDesc[enumCast(Op::OpMemberName)].operands.push(OperandId, "'Type'");
2041        InstructionDesc[enumCast(Op::OpMemberName)].operands.push(OperandLiteralNumber, "'Member'");
2042        InstructionDesc[enumCast(Op::OpMemberName)].operands.push(OperandLiteralString, "'Name'");
2043
2044        InstructionDesc[enumCast(Op::OpString)].operands.push(OperandLiteralString, "'String'");
2045
2046        InstructionDesc[enumCast(Op::OpLine)].operands.push(OperandId, "'File'");
2047        InstructionDesc[enumCast(Op::OpLine)].operands.push(OperandLiteralNumber, "'Line'");
2048        InstructionDesc[enumCast(Op::OpLine)].operands.push(OperandLiteralNumber, "'Column'");
2049
2050        InstructionDesc[enumCast(Op::OpExtension)].operands.push(OperandLiteralString, "'Name'");
2051
2052        InstructionDesc[enumCast(Op::OpExtInstImport)].operands.push(OperandLiteralString, "'Name'");
2053
2054        InstructionDesc[enumCast(Op::OpCapability)].operands.push(OperandCapability, "'Capability'");
2055
2056        InstructionDesc[enumCast(Op::OpMemoryModel)].operands.push(OperandAddressing, "");
2057        InstructionDesc[enumCast(Op::OpMemoryModel)].operands.push(OperandMemory, "");
2058
2059        InstructionDesc[enumCast(Op::OpEntryPoint)].operands.push(OperandExecutionModel, "");
2060        InstructionDesc[enumCast(Op::OpEntryPoint)].operands.push(OperandId, "'Entry Point'");
2061        InstructionDesc[enumCast(Op::OpEntryPoint)].operands.push(OperandLiteralString, "'Name'");
2062        InstructionDesc[enumCast(Op::OpEntryPoint)].operands.push(OperandVariableIds, "'Interface'");
2063
2064        InstructionDesc[enumCast(Op::OpExecutionMode)].operands.push(OperandId, "'Entry Point'");
2065        InstructionDesc[enumCast(Op::OpExecutionMode)].operands.push(OperandExecutionMode, "'Mode'");
2066        InstructionDesc[enumCast(Op::OpExecutionMode)].operands.push(OperandOptionalLiteral, "See <<Execution_Mode,Execution Mode>>");
2067
2068        InstructionDesc[enumCast(Op::OpExecutionModeId)].operands.push(OperandId, "'Entry Point'");
2069        InstructionDesc[enumCast(Op::OpExecutionModeId)].operands.push(OperandExecutionMode, "'Mode'");
2070        InstructionDesc[enumCast(Op::OpExecutionModeId)].operands.push(OperandVariableIds, "See <<Execution_Mode,Execution Mode>>");
2071
2072        InstructionDesc[enumCast(Op::OpTypeInt)].operands.push(OperandLiteralNumber, "'Width'");
2073        InstructionDesc[enumCast(Op::OpTypeInt)].operands.push(OperandLiteralNumber, "'Signedness'");
2074
2075        InstructionDesc[enumCast(Op::OpTypeFloat)].operands.push(OperandLiteralNumber, "'Width'");
2076        InstructionDesc[enumCast(Op::OpTypeFloat)].operands.push(OperandOptionalLiteral, "'FP Encoding'");
2077
2078        InstructionDesc[enumCast(Op::OpTypeVector)].operands.push(OperandId, "'Component Type'");
2079        InstructionDesc[enumCast(Op::OpTypeVector)].operands.push(OperandLiteralNumber, "'Component Count'");
2080
2081        InstructionDesc[enumCast(Op::OpTypeMatrix)].operands.push(OperandId, "'Column Type'");
2082        InstructionDesc[enumCast(Op::OpTypeMatrix)].operands.push(OperandLiteralNumber, "'Column Count'");
2083
2084        InstructionDesc[enumCast(Op::OpTypeImage)].operands.push(OperandId, "'Sampled Type'");
2085        InstructionDesc[enumCast(Op::OpTypeImage)].operands.push(OperandDimensionality, "");
2086        InstructionDesc[enumCast(Op::OpTypeImage)].operands.push(OperandLiteralNumber, "'Depth'");
2087        InstructionDesc[enumCast(Op::OpTypeImage)].operands.push(OperandLiteralNumber, "'Arrayed'");
2088        InstructionDesc[enumCast(Op::OpTypeImage)].operands.push(OperandLiteralNumber, "'MS'");
2089        InstructionDesc[enumCast(Op::OpTypeImage)].operands.push(OperandLiteralNumber, "'Sampled'");
2090        InstructionDesc[enumCast(Op::OpTypeImage)].operands.push(OperandSamplerImageFormat, "");
2091        InstructionDesc[enumCast(Op::OpTypeImage)].operands.push(OperandAccessQualifier, "", true);
2092
2093        InstructionDesc[enumCast(Op::OpTypeSampledImage)].operands.push(OperandId, "'Image Type'");
2094
2095        InstructionDesc[enumCast(Op::OpTypeArray)].operands.push(OperandId, "'Element Type'");
2096        InstructionDesc[enumCast(Op::OpTypeArray)].operands.push(OperandId, "'Length'");
2097
2098        InstructionDesc[enumCast(Op::OpTypeRuntimeArray)].operands.push(OperandId, "'Element Type'");
2099
2100        InstructionDesc[enumCast(Op::OpTypeStruct)].operands.push(OperandVariableIds, "'Member 0 type', +\n'member 1 type', +\n...");
2101
2102        InstructionDesc[enumCast(Op::OpTypeOpaque)].operands.push(OperandLiteralString, "The name of the opaque type.");
2103        InstructionDesc[enumCast(Op::OpTypeUntypedPointerKHR)].operands.push(OperandStorage, "");
2104
2105        InstructionDesc[enumCast(Op::OpTypePointer)].operands.push(OperandStorage, "");
2106        InstructionDesc[enumCast(Op::OpTypePointer)].operands.push(OperandId, "'Type'");
2107
2108        InstructionDesc[enumCast(Op::OpTypeForwardPointer)].operands.push(OperandId, "'Pointer Type'");
2109        InstructionDesc[enumCast(Op::OpTypeForwardPointer)].operands.push(OperandStorage, "");
2110
2111        InstructionDesc[enumCast(Op::OpTypePipe)].operands.push(OperandAccessQualifier, "'Qualifier'");
2112
2113        InstructionDesc[enumCast(Op::OpTypeFunction)].operands.push(OperandId, "'Return Type'");
2114        InstructionDesc[enumCast(Op::OpTypeFunction)].operands.push(OperandVariableIds, "'Parameter 0 Type', +\n'Parameter 1 Type', +\n...");
2115
2116        InstructionDesc[enumCast(Op::OpConstant)].operands.push(OperandVariableLiterals, "'Value'");
2117
2118        InstructionDesc[enumCast(Op::OpConstantComposite)].operands.push(OperandVariableIds, "'Constituents'");
2119
2120        InstructionDesc[enumCast(Op::OpConstantSampler)].operands.push(OperandSamplerAddressingMode, "");
2121        InstructionDesc[enumCast(Op::OpConstantSampler)].operands.push(OperandLiteralNumber, "'Param'");
2122        InstructionDesc[enumCast(Op::OpConstantSampler)].operands.push(OperandSamplerFilterMode, "");
2123
2124        InstructionDesc[enumCast(Op::OpSpecConstant)].operands.push(OperandVariableLiterals, "'Value'");
2125
2126        InstructionDesc[enumCast(Op::OpSpecConstantComposite)].operands.push(OperandVariableIds, "'Constituents'");
2127
2128        InstructionDesc[enumCast(Op::OpSpecConstantOp)].operands.push(OperandLiteralNumber, "'Opcode'");
2129        InstructionDesc[enumCast(Op::OpSpecConstantOp)].operands.push(OperandVariableIds, "'Operands'");
2130
2131        InstructionDesc[enumCast(Op::OpUntypedVariableKHR)].operands.push(OperandStorage, "");
2132        InstructionDesc[enumCast(Op::OpUntypedVariableKHR)].operands.push(OperandId, "'Type'", true);
2133        InstructionDesc[enumCast(Op::OpUntypedVariableKHR)].operands.push(OperandId, "'Initializer'", true);
2134        InstructionDesc[enumCast(Op::OpVariable)].operands.push(OperandStorage, "");
2135        InstructionDesc[enumCast(Op::OpVariable)].operands.push(OperandId, "'Initializer'", true);
2136
2137        InstructionDesc[enumCast(Op::OpFunction)].operands.push(OperandFunction, "");
2138        InstructionDesc[enumCast(Op::OpFunction)].operands.push(OperandId, "'Function Type'");
2139
2140        InstructionDesc[enumCast(Op::OpFunctionCall)].operands.push(OperandId, "'Function'");
2141        InstructionDesc[enumCast(Op::OpFunctionCall)].operands.push(OperandVariableIds, "'Argument 0', +\n'Argument 1', +\n...");
2142
2143        InstructionDesc[enumCast(Op::OpExtInst)].operands.push(OperandId, "'Set'");
2144        InstructionDesc[enumCast(Op::OpExtInst)].operands.push(OperandLiteralNumber, "'Instruction'");
2145        InstructionDesc[enumCast(Op::OpExtInst)].operands.push(OperandVariableIds, "'Operand 1', +\n'Operand 2', +\n...");
2146
2147        InstructionDesc[enumCast(Op::OpExtInstWithForwardRefsKHR)].operands.push(OperandId, "'Set'");
2148        InstructionDesc[enumCast(Op::OpExtInstWithForwardRefsKHR)].operands.push(OperandLiteralNumber, "'Instruction'");
2149        InstructionDesc[enumCast(Op::OpExtInstWithForwardRefsKHR)].operands.push(OperandVariableIds, "'Operand 1', +\n'Operand 2', +\n...");
2150
2151        InstructionDesc[enumCast(Op::OpLoad)].operands.push(OperandId, "'Pointer'");
2152        InstructionDesc[enumCast(Op::OpLoad)].operands.push(OperandMemoryAccess, "", true);
2153        InstructionDesc[enumCast(Op::OpLoad)].operands.push(OperandLiteralNumber, "", true);
2154        InstructionDesc[enumCast(Op::OpLoad)].operands.push(OperandId, "", true);
2155
2156        InstructionDesc[enumCast(Op::OpStore)].operands.push(OperandId, "'Pointer'");
2157        InstructionDesc[enumCast(Op::OpStore)].operands.push(OperandId, "'Object'");
2158        InstructionDesc[enumCast(Op::OpStore)].operands.push(OperandMemoryAccess, "", true);
2159        InstructionDesc[enumCast(Op::OpStore)].operands.push(OperandLiteralNumber, "", true);
2160        InstructionDesc[enumCast(Op::OpStore)].operands.push(OperandId, "", true);
2161
2162        InstructionDesc[enumCast(Op::OpPhi)].operands.push(OperandVariableIds, "'Variable, Parent, ...'");
2163
2164        InstructionDesc[enumCast(Op::OpDecorate)].operands.push(OperandId, "'Target'");
2165        InstructionDesc[enumCast(Op::OpDecorate)].operands.push(OperandDecoration, "");
2166        InstructionDesc[enumCast(Op::OpDecorate)].operands.push(OperandVariableLiterals, "See <<Decoration,'Decoration'>>.");
2167
2168        InstructionDesc[enumCast(Op::OpDecorateId)].operands.push(OperandId, "'Target'");
2169        InstructionDesc[enumCast(Op::OpDecorateId)].operands.push(OperandDecoration, "");
2170        InstructionDesc[enumCast(Op::OpDecorateId)].operands.push(OperandVariableIds, "See <<Decoration,'Decoration'>>.");
2171
2172        InstructionDesc[enumCast(Op::OpDecorateStringGOOGLE)].operands.push(OperandId, "'Target'");
2173        InstructionDesc[enumCast(Op::OpDecorateStringGOOGLE)].operands.push(OperandDecoration, "");
2174        InstructionDesc[enumCast(Op::OpDecorateStringGOOGLE)].operands.push(OperandVariableLiteralStrings, "'Literal Strings'");
2175
2176        InstructionDesc[enumCast(Op::OpMemberDecorate)].operands.push(OperandId, "'Structure Type'");
2177        InstructionDesc[enumCast(Op::OpMemberDecorate)].operands.push(OperandLiteralNumber, "'Member'");
2178        InstructionDesc[enumCast(Op::OpMemberDecorate)].operands.push(OperandDecoration, "");
2179        InstructionDesc[enumCast(Op::OpMemberDecorate)].operands.push(OperandVariableLiterals, "See <<Decoration,'Decoration'>>.");
2180
2181        InstructionDesc[enumCast(Op::OpMemberDecorateIdEXT)].operands.push(OperandId, "'Structure Type'");
2182        InstructionDesc[enumCast(Op::OpMemberDecorateIdEXT)].operands.push(OperandLiteralNumber, "'Member'");
2183        InstructionDesc[enumCast(Op::OpMemberDecorateIdEXT)].operands.push(OperandDecoration, "");
2184        InstructionDesc[enumCast(Op::OpMemberDecorateIdEXT)].operands.push(OperandVariableIds, "See <<Decoration,'Decoration'>>.");
2185
2186        InstructionDesc[enumCast(Op::OpMemberDecorateStringGOOGLE)].operands.push(OperandId, "'Structure Type'");
2187        InstructionDesc[enumCast(Op::OpMemberDecorateStringGOOGLE)].operands.push(OperandLiteralNumber, "'Member'");
2188        InstructionDesc[enumCast(Op::OpMemberDecorateStringGOOGLE)].operands.push(OperandDecoration, "");
2189        InstructionDesc[enumCast(Op::OpMemberDecorateStringGOOGLE)].operands.push(OperandVariableLiteralStrings, "'Literal Strings'");
2190
2191        InstructionDesc[enumCast(Op::OpGroupDecorate)].operands.push(OperandId, "'Decoration Group'");
2192        InstructionDesc[enumCast(Op::OpGroupDecorate)].operands.push(OperandVariableIds, "'Targets'");
2193
2194        InstructionDesc[enumCast(Op::OpGroupMemberDecorate)].operands.push(OperandId, "'Decoration Group'");
2195        InstructionDesc[enumCast(Op::OpGroupMemberDecorate)].operands.push(OperandVariableIdLiteral, "'Targets'");
2196
2197        InstructionDesc[enumCast(Op::OpVectorExtractDynamic)].operands.push(OperandId, "'Vector'");
2198        InstructionDesc[enumCast(Op::OpVectorExtractDynamic)].operands.push(OperandId, "'Index'");
2199
2200        InstructionDesc[enumCast(Op::OpVectorInsertDynamic)].operands.push(OperandId, "'Vector'");
2201        InstructionDesc[enumCast(Op::OpVectorInsertDynamic)].operands.push(OperandId, "'Component'");
2202        InstructionDesc[enumCast(Op::OpVectorInsertDynamic)].operands.push(OperandId, "'Index'");
2203
2204        InstructionDesc[enumCast(Op::OpVectorShuffle)].operands.push(OperandId, "'Vector 1'");
2205        InstructionDesc[enumCast(Op::OpVectorShuffle)].operands.push(OperandId, "'Vector 2'");
2206        InstructionDesc[enumCast(Op::OpVectorShuffle)].operands.push(OperandVariableLiterals, "'Components'");
2207
2208        InstructionDesc[enumCast(Op::OpCompositeConstruct)].operands.push(OperandVariableIds, "'Constituents'");
2209
2210        InstructionDesc[enumCast(Op::OpCompositeExtract)].operands.push(OperandId, "'Composite'");
2211        InstructionDesc[enumCast(Op::OpCompositeExtract)].operands.push(OperandVariableLiterals, "'Indexes'");
2212
2213        InstructionDesc[enumCast(Op::OpCompositeInsert)].operands.push(OperandId, "'Object'");
2214        InstructionDesc[enumCast(Op::OpCompositeInsert)].operands.push(OperandId, "'Composite'");
2215        InstructionDesc[enumCast(Op::OpCompositeInsert)].operands.push(OperandVariableLiterals, "'Indexes'");
2216
2217        InstructionDesc[enumCast(Op::OpCopyObject)].operands.push(OperandId, "'Operand'");
2218
2219        InstructionDesc[enumCast(Op::OpCopyMemory)].operands.push(OperandId, "'Target'");
2220        InstructionDesc[enumCast(Op::OpCopyMemory)].operands.push(OperandId, "'Source'");
2221        InstructionDesc[enumCast(Op::OpCopyMemory)].operands.push(OperandMemoryAccess, "", true);
2222
2223        InstructionDesc[enumCast(Op::OpCopyMemorySized)].operands.push(OperandId, "'Target'");
2224        InstructionDesc[enumCast(Op::OpCopyMemorySized)].operands.push(OperandId, "'Source'");
2225        InstructionDesc[enumCast(Op::OpCopyMemorySized)].operands.push(OperandId, "'Size'");
2226        InstructionDesc[enumCast(Op::OpCopyMemorySized)].operands.push(OperandMemoryAccess, "", true);
2227
2228        InstructionDesc[enumCast(Op::OpSampledImage)].operands.push(OperandId, "'Image'");
2229        InstructionDesc[enumCast(Op::OpSampledImage)].operands.push(OperandId, "'Sampler'");
2230
2231        InstructionDesc[enumCast(Op::OpImage)].operands.push(OperandId, "'Sampled Image'");
2232
2233        InstructionDesc[enumCast(Op::OpImageRead)].operands.push(OperandId, "'Image'");
2234        InstructionDesc[enumCast(Op::OpImageRead)].operands.push(OperandId, "'Coordinate'");
2235        InstructionDesc[enumCast(Op::OpImageRead)].operands.push(OperandImageOperands, "", true);
2236        InstructionDesc[enumCast(Op::OpImageRead)].operands.push(OperandVariableIds, "", true);
2237
2238        InstructionDesc[enumCast(Op::OpImageWrite)].operands.push(OperandId, "'Image'");
2239        InstructionDesc[enumCast(Op::OpImageWrite)].operands.push(OperandId, "'Coordinate'");
2240        InstructionDesc[enumCast(Op::OpImageWrite)].operands.push(OperandId, "'Texel'");
2241        InstructionDesc[enumCast(Op::OpImageWrite)].operands.push(OperandImageOperands, "", true);
2242        InstructionDesc[enumCast(Op::OpImageWrite)].operands.push(OperandVariableIds, "", true);
2243
2244        InstructionDesc[enumCast(Op::OpImageSampleImplicitLod)].operands.push(OperandId, "'Sampled Image'");
2245        InstructionDesc[enumCast(Op::OpImageSampleImplicitLod)].operands.push(OperandId, "'Coordinate'");
2246        InstructionDesc[enumCast(Op::OpImageSampleImplicitLod)].operands.push(OperandImageOperands, "", true);
2247        InstructionDesc[enumCast(Op::OpImageSampleImplicitLod)].operands.push(OperandVariableIds, "", true);
2248
2249        InstructionDesc[enumCast(Op::OpImageSampleExplicitLod)].operands.push(OperandId, "'Sampled Image'");
2250        InstructionDesc[enumCast(Op::OpImageSampleExplicitLod)].operands.push(OperandId, "'Coordinate'");
2251        InstructionDesc[enumCast(Op::OpImageSampleExplicitLod)].operands.push(OperandImageOperands, "", true);
2252        InstructionDesc[enumCast(Op::OpImageSampleExplicitLod)].operands.push(OperandVariableIds, "", true);
2253
2254        InstructionDesc[enumCast(Op::OpImageSampleDrefImplicitLod)].operands.push(OperandId, "'Sampled Image'");
2255        InstructionDesc[enumCast(Op::OpImageSampleDrefImplicitLod)].operands.push(OperandId, "'Coordinate'");
2256        InstructionDesc[enumCast(Op::OpImageSampleDrefImplicitLod)].operands.push(OperandId, "'D~ref~'");
2257        InstructionDesc[enumCast(Op::OpImageSampleDrefImplicitLod)].operands.push(OperandImageOperands, "", true);
2258        InstructionDesc[enumCast(Op::OpImageSampleDrefImplicitLod)].operands.push(OperandVariableIds, "", true);
2259
2260        InstructionDesc[enumCast(Op::OpImageSampleDrefExplicitLod)].operands.push(OperandId, "'Sampled Image'");
2261        InstructionDesc[enumCast(Op::OpImageSampleDrefExplicitLod)].operands.push(OperandId, "'Coordinate'");
2262        InstructionDesc[enumCast(Op::OpImageSampleDrefExplicitLod)].operands.push(OperandId, "'D~ref~'");
2263        InstructionDesc[enumCast(Op::OpImageSampleDrefExplicitLod)].operands.push(OperandImageOperands, "", true);
2264        InstructionDesc[enumCast(Op::OpImageSampleDrefExplicitLod)].operands.push(OperandVariableIds, "", true);
2265
2266        InstructionDesc[enumCast(Op::OpImageSampleProjImplicitLod)].operands.push(OperandId, "'Sampled Image'");
2267        InstructionDesc[enumCast(Op::OpImageSampleProjImplicitLod)].operands.push(OperandId, "'Coordinate'");
2268        InstructionDesc[enumCast(Op::OpImageSampleProjImplicitLod)].operands.push(OperandImageOperands, "", true);
2269        InstructionDesc[enumCast(Op::OpImageSampleProjImplicitLod)].operands.push(OperandVariableIds, "", true);
2270
2271        InstructionDesc[enumCast(Op::OpImageSampleProjExplicitLod)].operands.push(OperandId, "'Sampled Image'");
2272        InstructionDesc[enumCast(Op::OpImageSampleProjExplicitLod)].operands.push(OperandId, "'Coordinate'");
2273        InstructionDesc[enumCast(Op::OpImageSampleProjExplicitLod)].operands.push(OperandImageOperands, "", true);
2274        InstructionDesc[enumCast(Op::OpImageSampleProjExplicitLod)].operands.push(OperandVariableIds, "", true);
2275
2276        InstructionDesc[enumCast(Op::OpImageSampleProjDrefImplicitLod)].operands.push(OperandId, "'Sampled Image'");
2277        InstructionDesc[enumCast(Op::OpImageSampleProjDrefImplicitLod)].operands.push(OperandId, "'Coordinate'");
2278        InstructionDesc[enumCast(Op::OpImageSampleProjDrefImplicitLod)].operands.push(OperandId, "'D~ref~'");
2279        InstructionDesc[enumCast(Op::OpImageSampleProjDrefImplicitLod)].operands.push(OperandImageOperands, "", true);
2280        InstructionDesc[enumCast(Op::OpImageSampleProjDrefImplicitLod)].operands.push(OperandVariableIds, "", true);
2281
2282        InstructionDesc[enumCast(Op::OpImageSampleProjDrefExplicitLod)].operands.push(OperandId, "'Sampled Image'");
2283        InstructionDesc[enumCast(Op::OpImageSampleProjDrefExplicitLod)].operands.push(OperandId, "'Coordinate'");
2284        InstructionDesc[enumCast(Op::OpImageSampleProjDrefExplicitLod)].operands.push(OperandId, "'D~ref~'");
2285        InstructionDesc[enumCast(Op::OpImageSampleProjDrefExplicitLod)].operands.push(OperandImageOperands, "", true);
2286        InstructionDesc[enumCast(Op::OpImageSampleProjDrefExplicitLod)].operands.push(OperandVariableIds, "", true);
2287
2288        InstructionDesc[enumCast(Op::OpImageFetch)].operands.push(OperandId, "'Image'");
2289        InstructionDesc[enumCast(Op::OpImageFetch)].operands.push(OperandId, "'Coordinate'");
2290        InstructionDesc[enumCast(Op::OpImageFetch)].operands.push(OperandImageOperands, "", true);
2291        InstructionDesc[enumCast(Op::OpImageFetch)].operands.push(OperandVariableIds, "", true);
2292
2293        InstructionDesc[enumCast(Op::OpImageGather)].operands.push(OperandId, "'Sampled Image'");
2294        InstructionDesc[enumCast(Op::OpImageGather)].operands.push(OperandId, "'Coordinate'");
2295        InstructionDesc[enumCast(Op::OpImageGather)].operands.push(OperandId, "'Component'");
2296        InstructionDesc[enumCast(Op::OpImageGather)].operands.push(OperandImageOperands, "", true);
2297        InstructionDesc[enumCast(Op::OpImageGather)].operands.push(OperandVariableIds, "", true);
2298
2299        InstructionDesc[enumCast(Op::OpImageDrefGather)].operands.push(OperandId, "'Sampled Image'");
2300        InstructionDesc[enumCast(Op::OpImageDrefGather)].operands.push(OperandId, "'Coordinate'");
2301        InstructionDesc[enumCast(Op::OpImageDrefGather)].operands.push(OperandId, "'D~ref~'");
2302        InstructionDesc[enumCast(Op::OpImageDrefGather)].operands.push(OperandImageOperands, "", true);
2303        InstructionDesc[enumCast(Op::OpImageDrefGather)].operands.push(OperandVariableIds, "", true);
2304
2305        InstructionDesc[enumCast(Op::OpImageSparseSampleImplicitLod)].operands.push(OperandId, "'Sampled Image'");
2306        InstructionDesc[enumCast(Op::OpImageSparseSampleImplicitLod)].operands.push(OperandId, "'Coordinate'");
2307        InstructionDesc[enumCast(Op::OpImageSparseSampleImplicitLod)].operands.push(OperandImageOperands, "", true);
2308        InstructionDesc[enumCast(Op::OpImageSparseSampleImplicitLod)].operands.push(OperandVariableIds, "", true);
2309
2310        InstructionDesc[enumCast(Op::OpImageSparseSampleExplicitLod)].operands.push(OperandId, "'Sampled Image'");
2311        InstructionDesc[enumCast(Op::OpImageSparseSampleExplicitLod)].operands.push(OperandId, "'Coordinate'");
2312        InstructionDesc[enumCast(Op::OpImageSparseSampleExplicitLod)].operands.push(OperandImageOperands, "", true);
2313        InstructionDesc[enumCast(Op::OpImageSparseSampleExplicitLod)].operands.push(OperandVariableIds, "", true);
2314
2315        InstructionDesc[enumCast(Op::OpImageSparseSampleDrefImplicitLod)].operands.push(OperandId, "'Sampled Image'");
2316        InstructionDesc[enumCast(Op::OpImageSparseSampleDrefImplicitLod)].operands.push(OperandId, "'Coordinate'");
2317        InstructionDesc[enumCast(Op::OpImageSparseSampleDrefImplicitLod)].operands.push(OperandId, "'D~ref~'");
2318        InstructionDesc[enumCast(Op::OpImageSparseSampleDrefImplicitLod)].operands.push(OperandImageOperands, "", true);
2319        InstructionDesc[enumCast(Op::OpImageSparseSampleDrefImplicitLod)].operands.push(OperandVariableIds, "", true);
2320
2321        InstructionDesc[enumCast(Op::OpImageSparseSampleDrefExplicitLod)].operands.push(OperandId, "'Sampled Image'");
2322        InstructionDesc[enumCast(Op::OpImageSparseSampleDrefExplicitLod)].operands.push(OperandId, "'Coordinate'");
2323        InstructionDesc[enumCast(Op::OpImageSparseSampleDrefExplicitLod)].operands.push(OperandId, "'D~ref~'");
2324        InstructionDesc[enumCast(Op::OpImageSparseSampleDrefExplicitLod)].operands.push(OperandImageOperands, "", true);
2325        InstructionDesc[enumCast(Op::OpImageSparseSampleDrefExplicitLod)].operands.push(OperandVariableIds, "", true);
2326
2327        InstructionDesc[enumCast(Op::OpImageSparseSampleProjImplicitLod)].operands.push(OperandId, "'Sampled Image'");
2328        InstructionDesc[enumCast(Op::OpImageSparseSampleProjImplicitLod)].operands.push(OperandId, "'Coordinate'");
2329        InstructionDesc[enumCast(Op::OpImageSparseSampleProjImplicitLod)].operands.push(OperandImageOperands, "", true);
2330        InstructionDesc[enumCast(Op::OpImageSparseSampleProjImplicitLod)].operands.push(OperandVariableIds, "", true);
2331
2332        InstructionDesc[enumCast(Op::OpImageSparseSampleProjExplicitLod)].operands.push(OperandId, "'Sampled Image'");
2333        InstructionDesc[enumCast(Op::OpImageSparseSampleProjExplicitLod)].operands.push(OperandId, "'Coordinate'");
2334        InstructionDesc[enumCast(Op::OpImageSparseSampleProjExplicitLod)].operands.push(OperandImageOperands, "", true);
2335        InstructionDesc[enumCast(Op::OpImageSparseSampleProjExplicitLod)].operands.push(OperandVariableIds, "", true);
2336
2337        InstructionDesc[enumCast(Op::OpImageSparseSampleProjDrefImplicitLod)].operands.push(OperandId, "'Sampled Image'");
2338        InstructionDesc[enumCast(Op::OpImageSparseSampleProjDrefImplicitLod)].operands.push(OperandId, "'Coordinate'");
2339        InstructionDesc[enumCast(Op::OpImageSparseSampleProjDrefImplicitLod)].operands.push(OperandId, "'D~ref~'");
2340        InstructionDesc[enumCast(Op::OpImageSparseSampleProjDrefImplicitLod)].operands.push(OperandImageOperands, "", true);
2341        InstructionDesc[enumCast(Op::OpImageSparseSampleProjDrefImplicitLod)].operands.push(OperandVariableIds, "", true);
2342
2343        InstructionDesc[enumCast(Op::OpImageSparseSampleProjDrefExplicitLod)].operands.push(OperandId, "'Sampled Image'");
2344        InstructionDesc[enumCast(Op::OpImageSparseSampleProjDrefExplicitLod)].operands.push(OperandId, "'Coordinate'");
2345        InstructionDesc[enumCast(Op::OpImageSparseSampleProjDrefExplicitLod)].operands.push(OperandId, "'D~ref~'");
2346        InstructionDesc[enumCast(Op::OpImageSparseSampleProjDrefExplicitLod)].operands.push(OperandImageOperands, "", true);
2347        InstructionDesc[enumCast(Op::OpImageSparseSampleProjDrefExplicitLod)].operands.push(OperandVariableIds, "", true);
2348
2349        InstructionDesc[enumCast(Op::OpImageSparseFetch)].operands.push(OperandId, "'Image'");
2350        InstructionDesc[enumCast(Op::OpImageSparseFetch)].operands.push(OperandId, "'Coordinate'");
2351        InstructionDesc[enumCast(Op::OpImageSparseFetch)].operands.push(OperandImageOperands, "", true);
2352        InstructionDesc[enumCast(Op::OpImageSparseFetch)].operands.push(OperandVariableIds, "", true);
2353
2354        InstructionDesc[enumCast(Op::OpImageSparseGather)].operands.push(OperandId, "'Sampled Image'");
2355        InstructionDesc[enumCast(Op::OpImageSparseGather)].operands.push(OperandId, "'Coordinate'");
2356        InstructionDesc[enumCast(Op::OpImageSparseGather)].operands.push(OperandId, "'Component'");
2357        InstructionDesc[enumCast(Op::OpImageSparseGather)].operands.push(OperandImageOperands, "", true);
2358        InstructionDesc[enumCast(Op::OpImageSparseGather)].operands.push(OperandVariableIds, "", true);
2359
2360        InstructionDesc[enumCast(Op::OpImageSparseDrefGather)].operands.push(OperandId, "'Sampled Image'");
2361        InstructionDesc[enumCast(Op::OpImageSparseDrefGather)].operands.push(OperandId, "'Coordinate'");
2362        InstructionDesc[enumCast(Op::OpImageSparseDrefGather)].operands.push(OperandId, "'D~ref~'");
2363        InstructionDesc[enumCast(Op::OpImageSparseDrefGather)].operands.push(OperandImageOperands, "", true);
2364        InstructionDesc[enumCast(Op::OpImageSparseDrefGather)].operands.push(OperandVariableIds, "", true);
2365
2366        InstructionDesc[enumCast(Op::OpImageSparseRead)].operands.push(OperandId, "'Image'");
2367        InstructionDesc[enumCast(Op::OpImageSparseRead)].operands.push(OperandId, "'Coordinate'");
2368        InstructionDesc[enumCast(Op::OpImageSparseRead)].operands.push(OperandImageOperands, "", true);
2369        InstructionDesc[enumCast(Op::OpImageSparseRead)].operands.push(OperandVariableIds, "", true);
2370
2371        InstructionDesc[enumCast(Op::OpImageSparseTexelsResident)].operands.push(OperandId, "'Resident Code'");
2372
2373        InstructionDesc[enumCast(Op::OpImageQuerySizeLod)].operands.push(OperandId, "'Image'");
2374        InstructionDesc[enumCast(Op::OpImageQuerySizeLod)].operands.push(OperandId, "'Level of Detail'");
2375
2376        InstructionDesc[enumCast(Op::OpImageQuerySize)].operands.push(OperandId, "'Image'");
2377
2378        InstructionDesc[enumCast(Op::OpImageQueryLod)].operands.push(OperandId, "'Image'");
2379        InstructionDesc[enumCast(Op::OpImageQueryLod)].operands.push(OperandId, "'Coordinate'");
2380
2381        InstructionDesc[enumCast(Op::OpImageQueryLevels)].operands.push(OperandId, "'Image'");
2382
2383        InstructionDesc[enumCast(Op::OpImageQuerySamples)].operands.push(OperandId, "'Image'");
2384
2385        InstructionDesc[enumCast(Op::OpImageQueryFormat)].operands.push(OperandId, "'Image'");
2386
2387        InstructionDesc[enumCast(Op::OpImageQueryOrder)].operands.push(OperandId, "'Image'");
2388
2389        InstructionDesc[enumCast(Op::OpAccessChain)].operands.push(OperandId, "'Base'");
2390        InstructionDesc[enumCast(Op::OpAccessChain)].operands.push(OperandVariableIds, "'Indexes'");
2391
2392        InstructionDesc[enumCast(Op::OpUntypedAccessChainKHR)].operands.push(OperandId, "'Base Type'");
2393        InstructionDesc[enumCast(Op::OpUntypedAccessChainKHR)].operands.push(OperandId, "'Base'");
2394        InstructionDesc[enumCast(Op::OpUntypedAccessChainKHR)].operands.push(OperandVariableIds, "'Indexes'");
2395        InstructionDesc[enumCast(Op::OpInBoundsAccessChain)].operands.push(OperandId, "'Base'");
2396        InstructionDesc[enumCast(Op::OpInBoundsAccessChain)].operands.push(OperandVariableIds, "'Indexes'");
2397
2398        InstructionDesc[enumCast(Op::OpPtrAccessChain)].operands.push(OperandId, "'Base'");
2399        InstructionDesc[enumCast(Op::OpPtrAccessChain)].operands.push(OperandId, "'Element'");
2400        InstructionDesc[enumCast(Op::OpPtrAccessChain)].operands.push(OperandVariableIds, "'Indexes'");
2401
2402        InstructionDesc[enumCast(Op::OpInBoundsPtrAccessChain)].operands.push(OperandId, "'Base'");
2403        InstructionDesc[enumCast(Op::OpInBoundsPtrAccessChain)].operands.push(OperandId, "'Element'");
2404        InstructionDesc[enumCast(Op::OpInBoundsPtrAccessChain)].operands.push(OperandVariableIds, "'Indexes'");
2405
2406        InstructionDesc[enumCast(Op::OpSNegate)].operands.push(OperandId, "'Operand'");
2407
2408        InstructionDesc[enumCast(Op::OpFNegate)].operands.push(OperandId, "'Operand'");
2409
2410        InstructionDesc[enumCast(Op::OpNot)].operands.push(OperandId, "'Operand'");
2411
2412        InstructionDesc[enumCast(Op::OpAny)].operands.push(OperandId, "'Vector'");
2413
2414        InstructionDesc[enumCast(Op::OpAll)].operands.push(OperandId, "'Vector'");
2415
2416        InstructionDesc[enumCast(Op::OpConvertFToU)].operands.push(OperandId, "'Float Value'");
2417
2418        InstructionDesc[enumCast(Op::OpConvertFToS)].operands.push(OperandId, "'Float Value'");
2419
2420        InstructionDesc[enumCast(Op::OpConvertSToF)].operands.push(OperandId, "'Signed Value'");
2421
2422        InstructionDesc[enumCast(Op::OpConvertUToF)].operands.push(OperandId, "'Unsigned Value'");
2423
2424        InstructionDesc[enumCast(Op::OpUConvert)].operands.push(OperandId, "'Unsigned Value'");
2425
2426        InstructionDesc[enumCast(Op::OpSConvert)].operands.push(OperandId, "'Signed Value'");
2427
2428        InstructionDesc[enumCast(Op::OpFConvert)].operands.push(OperandId, "'Float Value'");
2429
2430        InstructionDesc[enumCast(Op::OpSatConvertSToU)].operands.push(OperandId, "'Signed Value'");
2431
2432        InstructionDesc[enumCast(Op::OpSatConvertUToS)].operands.push(OperandId, "'Unsigned Value'");
2433
2434        InstructionDesc[enumCast(Op::OpConvertPtrToU)].operands.push(OperandId, "'Pointer'");
2435
2436        InstructionDesc[enumCast(Op::OpConvertUToPtr)].operands.push(OperandId, "'Integer Value'");
2437
2438        InstructionDesc[enumCast(Op::OpPtrCastToGeneric)].operands.push(OperandId, "'Pointer'");
2439
2440        InstructionDesc[enumCast(Op::OpGenericCastToPtr)].operands.push(OperandId, "'Pointer'");
2441
2442        InstructionDesc[enumCast(Op::OpGenericCastToPtrExplicit)].operands.push(OperandId, "'Pointer'");
2443        InstructionDesc[enumCast(Op::OpGenericCastToPtrExplicit)].operands.push(OperandStorage, "'Storage'");
2444
2445        InstructionDesc[enumCast(Op::OpGenericPtrMemSemantics)].operands.push(OperandId, "'Pointer'");
2446
2447        InstructionDesc[enumCast(Op::OpBitcast)].operands.push(OperandId, "'Operand'");
2448
2449        InstructionDesc[enumCast(Op::OpQuantizeToF16)].operands.push(OperandId, "'Value'");
2450
2451        InstructionDesc[enumCast(Op::OpTranspose)].operands.push(OperandId, "'Matrix'");
2452
2453        InstructionDesc[enumCast(Op::OpCopyLogical)].operands.push(OperandId, "'Operand'");
2454
2455        InstructionDesc[enumCast(Op::OpIsNan)].operands.push(OperandId, "'x'");
2456
2457        InstructionDesc[enumCast(Op::OpIsInf)].operands.push(OperandId, "'x'");
2458
2459        InstructionDesc[enumCast(Op::OpIsFinite)].operands.push(OperandId, "'x'");
2460
2461        InstructionDesc[enumCast(Op::OpIsNormal)].operands.push(OperandId, "'x'");
2462
2463        InstructionDesc[enumCast(Op::OpSignBitSet)].operands.push(OperandId, "'x'");
2464
2465        InstructionDesc[enumCast(Op::OpLessOrGreater)].operands.push(OperandId, "'x'");
2466        InstructionDesc[enumCast(Op::OpLessOrGreater)].operands.push(OperandId, "'y'");
2467
2468        InstructionDesc[enumCast(Op::OpOrdered)].operands.push(OperandId, "'x'");
2469        InstructionDesc[enumCast(Op::OpOrdered)].operands.push(OperandId, "'y'");
2470
2471        InstructionDesc[enumCast(Op::OpUnordered)].operands.push(OperandId, "'x'");
2472        InstructionDesc[enumCast(Op::OpUnordered)].operands.push(OperandId, "'y'");
2473
2474        InstructionDesc[enumCast(Op::OpArrayLength)].operands.push(OperandId, "'Structure'");
2475        InstructionDesc[enumCast(Op::OpArrayLength)].operands.push(OperandLiteralNumber, "'Array member'");
2476
2477        InstructionDesc[enumCast(Op::OpIAdd)].operands.push(OperandId, "'Operand 1'");
2478        InstructionDesc[enumCast(Op::OpIAdd)].operands.push(OperandId, "'Operand 2'");
2479
2480        InstructionDesc[enumCast(Op::OpFAdd)].operands.push(OperandId, "'Operand 1'");
2481        InstructionDesc[enumCast(Op::OpFAdd)].operands.push(OperandId, "'Operand 2'");
2482
2483        InstructionDesc[enumCast(Op::OpISub)].operands.push(OperandId, "'Operand 1'");
2484        InstructionDesc[enumCast(Op::OpISub)].operands.push(OperandId, "'Operand 2'");
2485
2486        InstructionDesc[enumCast(Op::OpFSub)].operands.push(OperandId, "'Operand 1'");
2487        InstructionDesc[enumCast(Op::OpFSub)].operands.push(OperandId, "'Operand 2'");
2488
2489        InstructionDesc[enumCast(Op::OpIMul)].operands.push(OperandId, "'Operand 1'");
2490        InstructionDesc[enumCast(Op::OpIMul)].operands.push(OperandId, "'Operand 2'");
2491
2492        InstructionDesc[enumCast(Op::OpFMul)].operands.push(OperandId, "'Operand 1'");
2493        InstructionDesc[enumCast(Op::OpFMul)].operands.push(OperandId, "'Operand 2'");
2494
2495        InstructionDesc[enumCast(Op::OpUDiv)].operands.push(OperandId, "'Operand 1'");
2496        InstructionDesc[enumCast(Op::OpUDiv)].operands.push(OperandId, "'Operand 2'");
2497
2498        InstructionDesc[enumCast(Op::OpSDiv)].operands.push(OperandId, "'Operand 1'");
2499        InstructionDesc[enumCast(Op::OpSDiv)].operands.push(OperandId, "'Operand 2'");
2500
2501        InstructionDesc[enumCast(Op::OpFDiv)].operands.push(OperandId, "'Operand 1'");
2502        InstructionDesc[enumCast(Op::OpFDiv)].operands.push(OperandId, "'Operand 2'");
2503
2504        InstructionDesc[enumCast(Op::OpUMod)].operands.push(OperandId, "'Operand 1'");
2505        InstructionDesc[enumCast(Op::OpUMod)].operands.push(OperandId, "'Operand 2'");
2506
2507        InstructionDesc[enumCast(Op::OpSRem)].operands.push(OperandId, "'Operand 1'");
2508        InstructionDesc[enumCast(Op::OpSRem)].operands.push(OperandId, "'Operand 2'");
2509
2510        InstructionDesc[enumCast(Op::OpSMod)].operands.push(OperandId, "'Operand 1'");
2511        InstructionDesc[enumCast(Op::OpSMod)].operands.push(OperandId, "'Operand 2'");
2512
2513        InstructionDesc[enumCast(Op::OpFRem)].operands.push(OperandId, "'Operand 1'");
2514        InstructionDesc[enumCast(Op::OpFRem)].operands.push(OperandId, "'Operand 2'");
2515
2516        InstructionDesc[enumCast(Op::OpFMod)].operands.push(OperandId, "'Operand 1'");
2517        InstructionDesc[enumCast(Op::OpFMod)].operands.push(OperandId, "'Operand 2'");
2518
2519        InstructionDesc[enumCast(Op::OpVectorTimesScalar)].operands.push(OperandId, "'Vector'");
2520        InstructionDesc[enumCast(Op::OpVectorTimesScalar)].operands.push(OperandId, "'Scalar'");
2521
2522        InstructionDesc[enumCast(Op::OpMatrixTimesScalar)].operands.push(OperandId, "'Matrix'");
2523        InstructionDesc[enumCast(Op::OpMatrixTimesScalar)].operands.push(OperandId, "'Scalar'");
2524
2525        InstructionDesc[enumCast(Op::OpVectorTimesMatrix)].operands.push(OperandId, "'Vector'");
2526        InstructionDesc[enumCast(Op::OpVectorTimesMatrix)].operands.push(OperandId, "'Matrix'");
2527
2528        InstructionDesc[enumCast(Op::OpMatrixTimesVector)].operands.push(OperandId, "'Matrix'");
2529        InstructionDesc[enumCast(Op::OpMatrixTimesVector)].operands.push(OperandId, "'Vector'");
2530
2531        InstructionDesc[enumCast(Op::OpMatrixTimesMatrix)].operands.push(OperandId, "'LeftMatrix'");
2532        InstructionDesc[enumCast(Op::OpMatrixTimesMatrix)].operands.push(OperandId, "'RightMatrix'");
2533
2534        InstructionDesc[enumCast(Op::OpOuterProduct)].operands.push(OperandId, "'Vector 1'");
2535        InstructionDesc[enumCast(Op::OpOuterProduct)].operands.push(OperandId, "'Vector 2'");
2536
2537        InstructionDesc[enumCast(Op::OpDot)].operands.push(OperandId, "'Vector 1'");
2538        InstructionDesc[enumCast(Op::OpDot)].operands.push(OperandId, "'Vector 2'");
2539
2540        InstructionDesc[enumCast(Op::OpIAddCarry)].operands.push(OperandId, "'Operand 1'");
2541        InstructionDesc[enumCast(Op::OpIAddCarry)].operands.push(OperandId, "'Operand 2'");
2542
2543        InstructionDesc[enumCast(Op::OpISubBorrow)].operands.push(OperandId, "'Operand 1'");
2544        InstructionDesc[enumCast(Op::OpISubBorrow)].operands.push(OperandId, "'Operand 2'");
2545
2546        InstructionDesc[enumCast(Op::OpUMulExtended)].operands.push(OperandId, "'Operand 1'");
2547        InstructionDesc[enumCast(Op::OpUMulExtended)].operands.push(OperandId, "'Operand 2'");
2548
2549        InstructionDesc[enumCast(Op::OpSMulExtended)].operands.push(OperandId, "'Operand 1'");
2550        InstructionDesc[enumCast(Op::OpSMulExtended)].operands.push(OperandId, "'Operand 2'");
2551
2552        InstructionDesc[enumCast(Op::OpShiftRightLogical)].operands.push(OperandId, "'Base'");
2553        InstructionDesc[enumCast(Op::OpShiftRightLogical)].operands.push(OperandId, "'Shift'");
2554
2555        InstructionDesc[enumCast(Op::OpShiftRightArithmetic)].operands.push(OperandId, "'Base'");
2556        InstructionDesc[enumCast(Op::OpShiftRightArithmetic)].operands.push(OperandId, "'Shift'");
2557
2558        InstructionDesc[enumCast(Op::OpShiftLeftLogical)].operands.push(OperandId, "'Base'");
2559        InstructionDesc[enumCast(Op::OpShiftLeftLogical)].operands.push(OperandId, "'Shift'");
2560
2561        InstructionDesc[enumCast(Op::OpLogicalOr)].operands.push(OperandId, "'Operand 1'");
2562        InstructionDesc[enumCast(Op::OpLogicalOr)].operands.push(OperandId, "'Operand 2'");
2563
2564        InstructionDesc[enumCast(Op::OpLogicalAnd)].operands.push(OperandId, "'Operand 1'");
2565        InstructionDesc[enumCast(Op::OpLogicalAnd)].operands.push(OperandId, "'Operand 2'");
2566
2567        InstructionDesc[enumCast(Op::OpLogicalEqual)].operands.push(OperandId, "'Operand 1'");
2568        InstructionDesc[enumCast(Op::OpLogicalEqual)].operands.push(OperandId, "'Operand 2'");
2569
2570        InstructionDesc[enumCast(Op::OpLogicalNotEqual)].operands.push(OperandId, "'Operand 1'");
2571        InstructionDesc[enumCast(Op::OpLogicalNotEqual)].operands.push(OperandId, "'Operand 2'");
2572
2573        InstructionDesc[enumCast(Op::OpLogicalNot)].operands.push(OperandId, "'Operand'");
2574
2575        InstructionDesc[enumCast(Op::OpBitwiseOr)].operands.push(OperandId, "'Operand 1'");
2576        InstructionDesc[enumCast(Op::OpBitwiseOr)].operands.push(OperandId, "'Operand 2'");
2577
2578        InstructionDesc[enumCast(Op::OpBitwiseXor)].operands.push(OperandId, "'Operand 1'");
2579        InstructionDesc[enumCast(Op::OpBitwiseXor)].operands.push(OperandId, "'Operand 2'");
2580
2581        InstructionDesc[enumCast(Op::OpBitwiseAnd)].operands.push(OperandId, "'Operand 1'");
2582        InstructionDesc[enumCast(Op::OpBitwiseAnd)].operands.push(OperandId, "'Operand 2'");
2583
2584        InstructionDesc[enumCast(Op::OpBitFieldInsert)].operands.push(OperandId, "'Base'");
2585        InstructionDesc[enumCast(Op::OpBitFieldInsert)].operands.push(OperandId, "'Insert'");
2586        InstructionDesc[enumCast(Op::OpBitFieldInsert)].operands.push(OperandId, "'Offset'");
2587        InstructionDesc[enumCast(Op::OpBitFieldInsert)].operands.push(OperandId, "'Count'");
2588
2589        InstructionDesc[enumCast(Op::OpBitFieldSExtract)].operands.push(OperandId, "'Base'");
2590        InstructionDesc[enumCast(Op::OpBitFieldSExtract)].operands.push(OperandId, "'Offset'");
2591        InstructionDesc[enumCast(Op::OpBitFieldSExtract)].operands.push(OperandId, "'Count'");
2592
2593        InstructionDesc[enumCast(Op::OpBitFieldUExtract)].operands.push(OperandId, "'Base'");
2594        InstructionDesc[enumCast(Op::OpBitFieldUExtract)].operands.push(OperandId, "'Offset'");
2595        InstructionDesc[enumCast(Op::OpBitFieldUExtract)].operands.push(OperandId, "'Count'");
2596
2597        InstructionDesc[enumCast(Op::OpBitReverse)].operands.push(OperandId, "'Base'");
2598
2599        InstructionDesc[enumCast(Op::OpBitCount)].operands.push(OperandId, "'Base'");
2600
2601        InstructionDesc[enumCast(Op::OpSelect)].operands.push(OperandId, "'Condition'");
2602        InstructionDesc[enumCast(Op::OpSelect)].operands.push(OperandId, "'Object 1'");
2603        InstructionDesc[enumCast(Op::OpSelect)].operands.push(OperandId, "'Object 2'");
2604
2605        InstructionDesc[enumCast(Op::OpIEqual)].operands.push(OperandId, "'Operand 1'");
2606        InstructionDesc[enumCast(Op::OpIEqual)].operands.push(OperandId, "'Operand 2'");
2607
2608        InstructionDesc[enumCast(Op::OpFOrdEqual)].operands.push(OperandId, "'Operand 1'");
2609        InstructionDesc[enumCast(Op::OpFOrdEqual)].operands.push(OperandId, "'Operand 2'");
2610
2611        InstructionDesc[enumCast(Op::OpFUnordEqual)].operands.push(OperandId, "'Operand 1'");
2612        InstructionDesc[enumCast(Op::OpFUnordEqual)].operands.push(OperandId, "'Operand 2'");
2613
2614        InstructionDesc[enumCast(Op::OpINotEqual)].operands.push(OperandId, "'Operand 1'");
2615        InstructionDesc[enumCast(Op::OpINotEqual)].operands.push(OperandId, "'Operand 2'");
2616
2617        InstructionDesc[enumCast(Op::OpFOrdNotEqual)].operands.push(OperandId, "'Operand 1'");
2618        InstructionDesc[enumCast(Op::OpFOrdNotEqual)].operands.push(OperandId, "'Operand 2'");
2619
2620        InstructionDesc[enumCast(Op::OpFUnordNotEqual)].operands.push(OperandId, "'Operand 1'");
2621        InstructionDesc[enumCast(Op::OpFUnordNotEqual)].operands.push(OperandId, "'Operand 2'");
2622
2623        InstructionDesc[enumCast(Op::OpULessThan)].operands.push(OperandId, "'Operand 1'");
2624        InstructionDesc[enumCast(Op::OpULessThan)].operands.push(OperandId, "'Operand 2'");
2625
2626        InstructionDesc[enumCast(Op::OpSLessThan)].operands.push(OperandId, "'Operand 1'");
2627        InstructionDesc[enumCast(Op::OpSLessThan)].operands.push(OperandId, "'Operand 2'");
2628
2629        InstructionDesc[enumCast(Op::OpFOrdLessThan)].operands.push(OperandId, "'Operand 1'");
2630        InstructionDesc[enumCast(Op::OpFOrdLessThan)].operands.push(OperandId, "'Operand 2'");
2631
2632        InstructionDesc[enumCast(Op::OpFUnordLessThan)].operands.push(OperandId, "'Operand 1'");
2633        InstructionDesc[enumCast(Op::OpFUnordLessThan)].operands.push(OperandId, "'Operand 2'");
2634
2635        InstructionDesc[enumCast(Op::OpUGreaterThan)].operands.push(OperandId, "'Operand 1'");
2636        InstructionDesc[enumCast(Op::OpUGreaterThan)].operands.push(OperandId, "'Operand 2'");
2637
2638        InstructionDesc[enumCast(Op::OpSGreaterThan)].operands.push(OperandId, "'Operand 1'");
2639        InstructionDesc[enumCast(Op::OpSGreaterThan)].operands.push(OperandId, "'Operand 2'");
2640
2641        InstructionDesc[enumCast(Op::OpFOrdGreaterThan)].operands.push(OperandId, "'Operand 1'");
2642        InstructionDesc[enumCast(Op::OpFOrdGreaterThan)].operands.push(OperandId, "'Operand 2'");
2643
2644        InstructionDesc[enumCast(Op::OpFUnordGreaterThan)].operands.push(OperandId, "'Operand 1'");
2645        InstructionDesc[enumCast(Op::OpFUnordGreaterThan)].operands.push(OperandId, "'Operand 2'");
2646
2647        InstructionDesc[enumCast(Op::OpULessThanEqual)].operands.push(OperandId, "'Operand 1'");
2648        InstructionDesc[enumCast(Op::OpULessThanEqual)].operands.push(OperandId, "'Operand 2'");
2649
2650        InstructionDesc[enumCast(Op::OpSLessThanEqual)].operands.push(OperandId, "'Operand 1'");
2651        InstructionDesc[enumCast(Op::OpSLessThanEqual)].operands.push(OperandId, "'Operand 2'");
2652
2653        InstructionDesc[enumCast(Op::OpFOrdLessThanEqual)].operands.push(OperandId, "'Operand 1'");
2654        InstructionDesc[enumCast(Op::OpFOrdLessThanEqual)].operands.push(OperandId, "'Operand 2'");
2655
2656        InstructionDesc[enumCast(Op::OpFUnordLessThanEqual)].operands.push(OperandId, "'Operand 1'");
2657        InstructionDesc[enumCast(Op::OpFUnordLessThanEqual)].operands.push(OperandId, "'Operand 2'");
2658
2659        InstructionDesc[enumCast(Op::OpUGreaterThanEqual)].operands.push(OperandId, "'Operand 1'");
2660        InstructionDesc[enumCast(Op::OpUGreaterThanEqual)].operands.push(OperandId, "'Operand 2'");
2661
2662        InstructionDesc[enumCast(Op::OpSGreaterThanEqual)].operands.push(OperandId, "'Operand 1'");
2663        InstructionDesc[enumCast(Op::OpSGreaterThanEqual)].operands.push(OperandId, "'Operand 2'");
2664
2665        InstructionDesc[enumCast(Op::OpFOrdGreaterThanEqual)].operands.push(OperandId, "'Operand 1'");
2666        InstructionDesc[enumCast(Op::OpFOrdGreaterThanEqual)].operands.push(OperandId, "'Operand 2'");
2667
2668        InstructionDesc[enumCast(Op::OpFUnordGreaterThanEqual)].operands.push(OperandId, "'Operand 1'");
2669        InstructionDesc[enumCast(Op::OpFUnordGreaterThanEqual)].operands.push(OperandId, "'Operand 2'");
2670
2671        InstructionDesc[enumCast(Op::OpDPdx)].operands.push(OperandId, "'P'");
2672
2673        InstructionDesc[enumCast(Op::OpDPdy)].operands.push(OperandId, "'P'");
2674
2675        InstructionDesc[enumCast(Op::OpFwidth)].operands.push(OperandId, "'P'");
2676
2677        InstructionDesc[enumCast(Op::OpDPdxFine)].operands.push(OperandId, "'P'");
2678
2679        InstructionDesc[enumCast(Op::OpDPdyFine)].operands.push(OperandId, "'P'");
2680
2681        InstructionDesc[enumCast(Op::OpFwidthFine)].operands.push(OperandId, "'P'");
2682
2683        InstructionDesc[enumCast(Op::OpDPdxCoarse)].operands.push(OperandId, "'P'");
2684
2685        InstructionDesc[enumCast(Op::OpDPdyCoarse)].operands.push(OperandId, "'P'");
2686
2687        InstructionDesc[enumCast(Op::OpFwidthCoarse)].operands.push(OperandId, "'P'");
2688
2689        InstructionDesc[enumCast(Op::OpEmitStreamVertex)].operands.push(OperandId, "'Stream'");
2690
2691        InstructionDesc[enumCast(Op::OpEndStreamPrimitive)].operands.push(OperandId, "'Stream'");
2692
2693        InstructionDesc[enumCast(Op::OpControlBarrier)].operands.push(OperandScope, "'Execution'");
2694        InstructionDesc[enumCast(Op::OpControlBarrier)].operands.push(OperandScope, "'Memory'");
2695        InstructionDesc[enumCast(Op::OpControlBarrier)].operands.push(OperandMemorySemantics, "'Semantics'");
2696
2697        InstructionDesc[enumCast(Op::OpMemoryBarrier)].operands.push(OperandScope, "'Memory'");
2698        InstructionDesc[enumCast(Op::OpMemoryBarrier)].operands.push(OperandMemorySemantics, "'Semantics'");
2699
2700        InstructionDesc[enumCast(Op::OpImageTexelPointer)].operands.push(OperandId, "'Image'");
2701        InstructionDesc[enumCast(Op::OpImageTexelPointer)].operands.push(OperandId, "'Coordinate'");
2702        InstructionDesc[enumCast(Op::OpImageTexelPointer)].operands.push(OperandId, "'Sample'");
2703
2704        InstructionDesc[enumCast(Op::OpAtomicLoad)].operands.push(OperandId, "'Pointer'");
2705        InstructionDesc[enumCast(Op::OpAtomicLoad)].operands.push(OperandScope, "'Scope'");
2706        InstructionDesc[enumCast(Op::OpAtomicLoad)].operands.push(OperandMemorySemantics, "'Semantics'");
2707
2708        InstructionDesc[enumCast(Op::OpAtomicStore)].operands.push(OperandId, "'Pointer'");
2709        InstructionDesc[enumCast(Op::OpAtomicStore)].operands.push(OperandScope, "'Scope'");
2710        InstructionDesc[enumCast(Op::OpAtomicStore)].operands.push(OperandMemorySemantics, "'Semantics'");
2711        InstructionDesc[enumCast(Op::OpAtomicStore)].operands.push(OperandId, "'Value'");
2712
2713        InstructionDesc[enumCast(Op::OpAtomicExchange)].operands.push(OperandId, "'Pointer'");
2714        InstructionDesc[enumCast(Op::OpAtomicExchange)].operands.push(OperandScope, "'Scope'");
2715        InstructionDesc[enumCast(Op::OpAtomicExchange)].operands.push(OperandMemorySemantics, "'Semantics'");
2716        InstructionDesc[enumCast(Op::OpAtomicExchange)].operands.push(OperandId, "'Value'");
2717
2718        InstructionDesc[enumCast(Op::OpAtomicCompareExchange)].operands.push(OperandId, "'Pointer'");
2719        InstructionDesc[enumCast(Op::OpAtomicCompareExchange)].operands.push(OperandScope, "'Scope'");
2720        InstructionDesc[enumCast(Op::OpAtomicCompareExchange)].operands.push(OperandMemorySemantics, "'Equal'");
2721        InstructionDesc[enumCast(Op::OpAtomicCompareExchange)].operands.push(OperandMemorySemantics, "'Unequal'");
2722        InstructionDesc[enumCast(Op::OpAtomicCompareExchange)].operands.push(OperandId, "'Value'");
2723        InstructionDesc[enumCast(Op::OpAtomicCompareExchange)].operands.push(OperandId, "'Comparator'");
2724
2725        InstructionDesc[enumCast(Op::OpAtomicCompareExchangeWeak)].operands.push(OperandId, "'Pointer'");
2726        InstructionDesc[enumCast(Op::OpAtomicCompareExchangeWeak)].operands.push(OperandScope, "'Scope'");
2727        InstructionDesc[enumCast(Op::OpAtomicCompareExchangeWeak)].operands.push(OperandMemorySemantics, "'Equal'");
2728        InstructionDesc[enumCast(Op::OpAtomicCompareExchangeWeak)].operands.push(OperandMemorySemantics, "'Unequal'");
2729        InstructionDesc[enumCast(Op::OpAtomicCompareExchangeWeak)].operands.push(OperandId, "'Value'");
2730        InstructionDesc[enumCast(Op::OpAtomicCompareExchangeWeak)].operands.push(OperandId, "'Comparator'");
2731
2732        InstructionDesc[enumCast(Op::OpAtomicIIncrement)].operands.push(OperandId, "'Pointer'");
2733        InstructionDesc[enumCast(Op::OpAtomicIIncrement)].operands.push(OperandScope, "'Scope'");
2734        InstructionDesc[enumCast(Op::OpAtomicIIncrement)].operands.push(OperandMemorySemantics, "'Semantics'");
2735
2736        InstructionDesc[enumCast(Op::OpAtomicIDecrement)].operands.push(OperandId, "'Pointer'");
2737        InstructionDesc[enumCast(Op::OpAtomicIDecrement)].operands.push(OperandScope, "'Scope'");
2738        InstructionDesc[enumCast(Op::OpAtomicIDecrement)].operands.push(OperandMemorySemantics, "'Semantics'");
2739
2740        InstructionDesc[enumCast(Op::OpAtomicIAdd)].operands.push(OperandId, "'Pointer'");
2741        InstructionDesc[enumCast(Op::OpAtomicIAdd)].operands.push(OperandScope, "'Scope'");
2742        InstructionDesc[enumCast(Op::OpAtomicIAdd)].operands.push(OperandMemorySemantics, "'Semantics'");
2743        InstructionDesc[enumCast(Op::OpAtomicIAdd)].operands.push(OperandId, "'Value'");
2744
2745        InstructionDesc[enumCast(Op::OpAtomicFAddEXT)].operands.push(OperandId, "'Pointer'");
2746        InstructionDesc[enumCast(Op::OpAtomicFAddEXT)].operands.push(OperandScope, "'Scope'");
2747        InstructionDesc[enumCast(Op::OpAtomicFAddEXT)].operands.push(OperandMemorySemantics, "'Semantics'");
2748        InstructionDesc[enumCast(Op::OpAtomicFAddEXT)].operands.push(OperandId, "'Value'");
2749
2750        InstructionDesc[enumCast(Op::OpAssumeTrueKHR)].operands.push(OperandId, "'Condition'");
2751
2752        InstructionDesc[enumCast(Op::OpExpectKHR)].operands.push(OperandId, "'Value'");
2753        InstructionDesc[enumCast(Op::OpExpectKHR)].operands.push(OperandId, "'ExpectedValue'");
2754
2755        InstructionDesc[enumCast(Op::OpAtomicISub)].operands.push(OperandId, "'Pointer'");
2756        InstructionDesc[enumCast(Op::OpAtomicISub)].operands.push(OperandScope, "'Scope'");
2757        InstructionDesc[enumCast(Op::OpAtomicISub)].operands.push(OperandMemorySemantics, "'Semantics'");
2758        InstructionDesc[enumCast(Op::OpAtomicISub)].operands.push(OperandId, "'Value'");
2759
2760        InstructionDesc[enumCast(Op::OpAtomicUMin)].operands.push(OperandId, "'Pointer'");
2761        InstructionDesc[enumCast(Op::OpAtomicUMin)].operands.push(OperandScope, "'Scope'");
2762        InstructionDesc[enumCast(Op::OpAtomicUMin)].operands.push(OperandMemorySemantics, "'Semantics'");
2763        InstructionDesc[enumCast(Op::OpAtomicUMin)].operands.push(OperandId, "'Value'");
2764
2765        InstructionDesc[enumCast(Op::OpAtomicUMax)].operands.push(OperandId, "'Pointer'");
2766        InstructionDesc[enumCast(Op::OpAtomicUMax)].operands.push(OperandScope, "'Scope'");
2767        InstructionDesc[enumCast(Op::OpAtomicUMax)].operands.push(OperandMemorySemantics, "'Semantics'");
2768        InstructionDesc[enumCast(Op::OpAtomicUMax)].operands.push(OperandId, "'Value'");
2769
2770        InstructionDesc[enumCast(Op::OpAtomicSMin)].operands.push(OperandId, "'Pointer'");
2771        InstructionDesc[enumCast(Op::OpAtomicSMin)].operands.push(OperandScope, "'Scope'");
2772        InstructionDesc[enumCast(Op::OpAtomicSMin)].operands.push(OperandMemorySemantics, "'Semantics'");
2773        InstructionDesc[enumCast(Op::OpAtomicSMin)].operands.push(OperandId, "'Value'");
2774
2775        InstructionDesc[enumCast(Op::OpAtomicSMax)].operands.push(OperandId, "'Pointer'");
2776        InstructionDesc[enumCast(Op::OpAtomicSMax)].operands.push(OperandScope, "'Scope'");
2777        InstructionDesc[enumCast(Op::OpAtomicSMax)].operands.push(OperandMemorySemantics, "'Semantics'");
2778        InstructionDesc[enumCast(Op::OpAtomicSMax)].operands.push(OperandId, "'Value'");
2779
2780        InstructionDesc[enumCast(Op::OpAtomicFMinEXT)].operands.push(OperandId, "'Pointer'");
2781        InstructionDesc[enumCast(Op::OpAtomicFMinEXT)].operands.push(OperandScope, "'Scope'");
2782        InstructionDesc[enumCast(Op::OpAtomicFMinEXT)].operands.push(OperandMemorySemantics, "'Semantics'");
2783        InstructionDesc[enumCast(Op::OpAtomicFMinEXT)].operands.push(OperandId, "'Value'");
2784
2785        InstructionDesc[enumCast(Op::OpAtomicFMaxEXT)].operands.push(OperandId, "'Pointer'");
2786        InstructionDesc[enumCast(Op::OpAtomicFMaxEXT)].operands.push(OperandScope, "'Scope'");
2787        InstructionDesc[enumCast(Op::OpAtomicFMaxEXT)].operands.push(OperandMemorySemantics, "'Semantics'");
2788        InstructionDesc[enumCast(Op::OpAtomicFMaxEXT)].operands.push(OperandId, "'Value'");
2789
2790        InstructionDesc[enumCast(Op::OpAtomicAnd)].operands.push(OperandId, "'Pointer'");
2791        InstructionDesc[enumCast(Op::OpAtomicAnd)].operands.push(OperandScope, "'Scope'");
2792        InstructionDesc[enumCast(Op::OpAtomicAnd)].operands.push(OperandMemorySemantics, "'Semantics'");
2793        InstructionDesc[enumCast(Op::OpAtomicAnd)].operands.push(OperandId, "'Value'");
2794
2795        InstructionDesc[enumCast(Op::OpAtomicOr)].operands.push(OperandId, "'Pointer'");
2796        InstructionDesc[enumCast(Op::OpAtomicOr)].operands.push(OperandScope, "'Scope'");
2797        InstructionDesc[enumCast(Op::OpAtomicOr)].operands.push(OperandMemorySemantics, "'Semantics'");
2798        InstructionDesc[enumCast(Op::OpAtomicOr)].operands.push(OperandId, "'Value'");
2799
2800        InstructionDesc[enumCast(Op::OpAtomicXor)].operands.push(OperandId, "'Pointer'");
2801        InstructionDesc[enumCast(Op::OpAtomicXor)].operands.push(OperandScope, "'Scope'");
2802        InstructionDesc[enumCast(Op::OpAtomicXor)].operands.push(OperandMemorySemantics, "'Semantics'");
2803        InstructionDesc[enumCast(Op::OpAtomicXor)].operands.push(OperandId, "'Value'");
2804
2805        InstructionDesc[enumCast(Op::OpAtomicFlagTestAndSet)].operands.push(OperandId, "'Pointer'");
2806        InstructionDesc[enumCast(Op::OpAtomicFlagTestAndSet)].operands.push(OperandScope, "'Scope'");
2807        InstructionDesc[enumCast(Op::OpAtomicFlagTestAndSet)].operands.push(OperandMemorySemantics, "'Semantics'");
2808
2809        InstructionDesc[enumCast(Op::OpAtomicFlagClear)].operands.push(OperandId, "'Pointer'");
2810        InstructionDesc[enumCast(Op::OpAtomicFlagClear)].operands.push(OperandScope, "'Scope'");
2811        InstructionDesc[enumCast(Op::OpAtomicFlagClear)].operands.push(OperandMemorySemantics, "'Semantics'");
2812
2813        InstructionDesc[enumCast(Op::OpLoopMerge)].operands.push(OperandId, "'Merge Block'");
2814        InstructionDesc[enumCast(Op::OpLoopMerge)].operands.push(OperandId, "'Continue Target'");
2815        InstructionDesc[enumCast(Op::OpLoopMerge)].operands.push(OperandLoop, "");
2816        InstructionDesc[enumCast(Op::OpLoopMerge)].operands.push(OperandOptionalLiteral, "");
2817
2818        InstructionDesc[enumCast(Op::OpSelectionMerge)].operands.push(OperandId, "'Merge Block'");
2819        InstructionDesc[enumCast(Op::OpSelectionMerge)].operands.push(OperandSelect, "");
2820
2821        InstructionDesc[enumCast(Op::OpBranch)].operands.push(OperandId, "'Target Label'");
2822
2823        InstructionDesc[enumCast(Op::OpBranchConditional)].operands.push(OperandId, "'Condition'");
2824        InstructionDesc[enumCast(Op::OpBranchConditional)].operands.push(OperandId, "'True Label'");
2825        InstructionDesc[enumCast(Op::OpBranchConditional)].operands.push(OperandId, "'False Label'");
2826        InstructionDesc[enumCast(Op::OpBranchConditional)].operands.push(OperandVariableLiterals, "'Branch weights'");
2827
2828        InstructionDesc[enumCast(Op::OpSwitch)].operands.push(OperandId, "'Selector'");
2829        InstructionDesc[enumCast(Op::OpSwitch)].operands.push(OperandId, "'Default'");
2830        InstructionDesc[enumCast(Op::OpSwitch)].operands.push(OperandVariableLiteralId, "'Target'");
2831
2832
2833        InstructionDesc[enumCast(Op::OpReturnValue)].operands.push(OperandId, "'Value'");
2834
2835        InstructionDesc[enumCast(Op::OpLifetimeStart)].operands.push(OperandId, "'Pointer'");
2836        InstructionDesc[enumCast(Op::OpLifetimeStart)].operands.push(OperandLiteralNumber, "'Size'");
2837
2838        InstructionDesc[enumCast(Op::OpLifetimeStop)].operands.push(OperandId, "'Pointer'");
2839        InstructionDesc[enumCast(Op::OpLifetimeStop)].operands.push(OperandLiteralNumber, "'Size'");
2840
2841        InstructionDesc[enumCast(Op::OpGroupAsyncCopy)].operands.push(OperandScope, "'Execution'");
2842        InstructionDesc[enumCast(Op::OpGroupAsyncCopy)].operands.push(OperandId, "'Destination'");
2843        InstructionDesc[enumCast(Op::OpGroupAsyncCopy)].operands.push(OperandId, "'Source'");
2844        InstructionDesc[enumCast(Op::OpGroupAsyncCopy)].operands.push(OperandId, "'Num Elements'");
2845        InstructionDesc[enumCast(Op::OpGroupAsyncCopy)].operands.push(OperandId, "'Stride'");
2846        InstructionDesc[enumCast(Op::OpGroupAsyncCopy)].operands.push(OperandId, "'Event'");
2847
2848        InstructionDesc[enumCast(Op::OpGroupWaitEvents)].operands.push(OperandScope, "'Execution'");
2849        InstructionDesc[enumCast(Op::OpGroupWaitEvents)].operands.push(OperandId, "'Num Events'");
2850        InstructionDesc[enumCast(Op::OpGroupWaitEvents)].operands.push(OperandId, "'Events List'");
2851
2852        InstructionDesc[enumCast(Op::OpGroupAll)].operands.push(OperandScope, "'Execution'");
2853        InstructionDesc[enumCast(Op::OpGroupAll)].operands.push(OperandId, "'Predicate'");
2854
2855        InstructionDesc[enumCast(Op::OpGroupAny)].operands.push(OperandScope, "'Execution'");
2856        InstructionDesc[enumCast(Op::OpGroupAny)].operands.push(OperandId, "'Predicate'");
2857
2858        InstructionDesc[enumCast(Op::OpGroupBroadcast)].operands.push(OperandScope, "'Execution'");
2859        InstructionDesc[enumCast(Op::OpGroupBroadcast)].operands.push(OperandId, "'Value'");
2860        InstructionDesc[enumCast(Op::OpGroupBroadcast)].operands.push(OperandId, "'LocalId'");
2861
2862        InstructionDesc[enumCast(Op::OpGroupIAdd)].operands.push(OperandScope, "'Execution'");
2863        InstructionDesc[enumCast(Op::OpGroupIAdd)].operands.push(OperandGroupOperation, "'Operation'");
2864        InstructionDesc[enumCast(Op::OpGroupIAdd)].operands.push(OperandId, "'X'");
2865
2866        InstructionDesc[enumCast(Op::OpGroupFAdd)].operands.push(OperandScope, "'Execution'");
2867        InstructionDesc[enumCast(Op::OpGroupFAdd)].operands.push(OperandGroupOperation, "'Operation'");
2868        InstructionDesc[enumCast(Op::OpGroupFAdd)].operands.push(OperandId, "'X'");
2869
2870        InstructionDesc[enumCast(Op::OpGroupUMin)].operands.push(OperandScope, "'Execution'");
2871        InstructionDesc[enumCast(Op::OpGroupUMin)].operands.push(OperandGroupOperation, "'Operation'");
2872        InstructionDesc[enumCast(Op::OpGroupUMin)].operands.push(OperandId, "'X'");
2873
2874        InstructionDesc[enumCast(Op::OpGroupSMin)].operands.push(OperandScope, "'Execution'");
2875        InstructionDesc[enumCast(Op::OpGroupSMin)].operands.push(OperandGroupOperation, "'Operation'");
2876        InstructionDesc[enumCast(Op::OpGroupSMin)].operands.push(OperandId, "X");
2877
2878        InstructionDesc[enumCast(Op::OpGroupFMin)].operands.push(OperandScope, "'Execution'");
2879        InstructionDesc[enumCast(Op::OpGroupFMin)].operands.push(OperandGroupOperation, "'Operation'");
2880        InstructionDesc[enumCast(Op::OpGroupFMin)].operands.push(OperandId, "X");
2881
2882        InstructionDesc[enumCast(Op::OpGroupUMax)].operands.push(OperandScope, "'Execution'");
2883        InstructionDesc[enumCast(Op::OpGroupUMax)].operands.push(OperandGroupOperation, "'Operation'");
2884        InstructionDesc[enumCast(Op::OpGroupUMax)].operands.push(OperandId, "X");
2885
2886        InstructionDesc[enumCast(Op::OpGroupSMax)].operands.push(OperandScope, "'Execution'");
2887        InstructionDesc[enumCast(Op::OpGroupSMax)].operands.push(OperandGroupOperation, "'Operation'");
2888        InstructionDesc[enumCast(Op::OpGroupSMax)].operands.push(OperandId, "X");
2889
2890        InstructionDesc[enumCast(Op::OpGroupFMax)].operands.push(OperandScope, "'Execution'");
2891        InstructionDesc[enumCast(Op::OpGroupFMax)].operands.push(OperandGroupOperation, "'Operation'");
2892        InstructionDesc[enumCast(Op::OpGroupFMax)].operands.push(OperandId, "X");
2893
2894        InstructionDesc[enumCast(Op::OpReadPipe)].operands.push(OperandId, "'Pipe'");
2895        InstructionDesc[enumCast(Op::OpReadPipe)].operands.push(OperandId, "'Pointer'");
2896        InstructionDesc[enumCast(Op::OpReadPipe)].operands.push(OperandId, "'Packet Size'");
2897        InstructionDesc[enumCast(Op::OpReadPipe)].operands.push(OperandId, "'Packet Alignment'");
2898
2899        InstructionDesc[enumCast(Op::OpWritePipe)].operands.push(OperandId, "'Pipe'");
2900        InstructionDesc[enumCast(Op::OpWritePipe)].operands.push(OperandId, "'Pointer'");
2901        InstructionDesc[enumCast(Op::OpWritePipe)].operands.push(OperandId, "'Packet Size'");
2902        InstructionDesc[enumCast(Op::OpWritePipe)].operands.push(OperandId, "'Packet Alignment'");
2903
2904        InstructionDesc[enumCast(Op::OpReservedReadPipe)].operands.push(OperandId, "'Pipe'");
2905        InstructionDesc[enumCast(Op::OpReservedReadPipe)].operands.push(OperandId, "'Reserve Id'");
2906        InstructionDesc[enumCast(Op::OpReservedReadPipe)].operands.push(OperandId, "'Index'");
2907        InstructionDesc[enumCast(Op::OpReservedReadPipe)].operands.push(OperandId, "'Pointer'");
2908        InstructionDesc[enumCast(Op::OpReservedReadPipe)].operands.push(OperandId, "'Packet Size'");
2909        InstructionDesc[enumCast(Op::OpReservedReadPipe)].operands.push(OperandId, "'Packet Alignment'");
2910
2911        InstructionDesc[enumCast(Op::OpReservedWritePipe)].operands.push(OperandId, "'Pipe'");
2912        InstructionDesc[enumCast(Op::OpReservedWritePipe)].operands.push(OperandId, "'Reserve Id'");
2913        InstructionDesc[enumCast(Op::OpReservedWritePipe)].operands.push(OperandId, "'Index'");
2914        InstructionDesc[enumCast(Op::OpReservedWritePipe)].operands.push(OperandId, "'Pointer'");
2915        InstructionDesc[enumCast(Op::OpReservedWritePipe)].operands.push(OperandId, "'Packet Size'");
2916        InstructionDesc[enumCast(Op::OpReservedWritePipe)].operands.push(OperandId, "'Packet Alignment'");
2917
2918        InstructionDesc[enumCast(Op::OpReserveReadPipePackets)].operands.push(OperandId, "'Pipe'");
2919        InstructionDesc[enumCast(Op::OpReserveReadPipePackets)].operands.push(OperandId, "'Num Packets'");
2920        InstructionDesc[enumCast(Op::OpReserveReadPipePackets)].operands.push(OperandId, "'Packet Size'");
2921        InstructionDesc[enumCast(Op::OpReserveReadPipePackets)].operands.push(OperandId, "'Packet Alignment'");
2922
2923        InstructionDesc[enumCast(Op::OpReserveWritePipePackets)].operands.push(OperandId, "'Pipe'");
2924        InstructionDesc[enumCast(Op::OpReserveWritePipePackets)].operands.push(OperandId, "'Num Packets'");
2925        InstructionDesc[enumCast(Op::OpReserveWritePipePackets)].operands.push(OperandId, "'Packet Size'");
2926        InstructionDesc[enumCast(Op::OpReserveWritePipePackets)].operands.push(OperandId, "'Packet Alignment'");
2927
2928        InstructionDesc[enumCast(Op::OpCommitReadPipe)].operands.push(OperandId, "'Pipe'");
2929        InstructionDesc[enumCast(Op::OpCommitReadPipe)].operands.push(OperandId, "'Reserve Id'");
2930        InstructionDesc[enumCast(Op::OpCommitReadPipe)].operands.push(OperandId, "'Packet Size'");
2931        InstructionDesc[enumCast(Op::OpCommitReadPipe)].operands.push(OperandId, "'Packet Alignment'");
2932
2933        InstructionDesc[enumCast(Op::OpCommitWritePipe)].operands.push(OperandId, "'Pipe'");
2934        InstructionDesc[enumCast(Op::OpCommitWritePipe)].operands.push(OperandId, "'Reserve Id'");
2935        InstructionDesc[enumCast(Op::OpCommitWritePipe)].operands.push(OperandId, "'Packet Size'");
2936        InstructionDesc[enumCast(Op::OpCommitWritePipe)].operands.push(OperandId, "'Packet Alignment'");
2937
2938        InstructionDesc[enumCast(Op::OpIsValidReserveId)].operands.push(OperandId, "'Reserve Id'");
2939
2940        InstructionDesc[enumCast(Op::OpGetNumPipePackets)].operands.push(OperandId, "'Pipe'");
2941        InstructionDesc[enumCast(Op::OpGetNumPipePackets)].operands.push(OperandId, "'Packet Size'");
2942        InstructionDesc[enumCast(Op::OpGetNumPipePackets)].operands.push(OperandId, "'Packet Alignment'");
2943
2944        InstructionDesc[enumCast(Op::OpGetMaxPipePackets)].operands.push(OperandId, "'Pipe'");
2945        InstructionDesc[enumCast(Op::OpGetMaxPipePackets)].operands.push(OperandId, "'Packet Size'");
2946        InstructionDesc[enumCast(Op::OpGetMaxPipePackets)].operands.push(OperandId, "'Packet Alignment'");
2947
2948        InstructionDesc[enumCast(Op::OpGroupReserveReadPipePackets)].operands.push(OperandScope, "'Execution'");
2949        InstructionDesc[enumCast(Op::OpGroupReserveReadPipePackets)].operands.push(OperandId, "'Pipe'");
2950        InstructionDesc[enumCast(Op::OpGroupReserveReadPipePackets)].operands.push(OperandId, "'Num Packets'");
2951        InstructionDesc[enumCast(Op::OpGroupReserveReadPipePackets)].operands.push(OperandId, "'Packet Size'");
2952        InstructionDesc[enumCast(Op::OpGroupReserveReadPipePackets)].operands.push(OperandId, "'Packet Alignment'");
2953
2954        InstructionDesc[enumCast(Op::OpGroupReserveWritePipePackets)].operands.push(OperandScope, "'Execution'");
2955        InstructionDesc[enumCast(Op::OpGroupReserveWritePipePackets)].operands.push(OperandId, "'Pipe'");
2956        InstructionDesc[enumCast(Op::OpGroupReserveWritePipePackets)].operands.push(OperandId, "'Num Packets'");
2957        InstructionDesc[enumCast(Op::OpGroupReserveWritePipePackets)].operands.push(OperandId, "'Packet Size'");
2958        InstructionDesc[enumCast(Op::OpGroupReserveWritePipePackets)].operands.push(OperandId, "'Packet Alignment'");
2959
2960        InstructionDesc[enumCast(Op::OpGroupCommitReadPipe)].operands.push(OperandScope, "'Execution'");
2961        InstructionDesc[enumCast(Op::OpGroupCommitReadPipe)].operands.push(OperandId, "'Pipe'");
2962        InstructionDesc[enumCast(Op::OpGroupCommitReadPipe)].operands.push(OperandId, "'Reserve Id'");
2963        InstructionDesc[enumCast(Op::OpGroupCommitReadPipe)].operands.push(OperandId, "'Packet Size'");
2964        InstructionDesc[enumCast(Op::OpGroupCommitReadPipe)].operands.push(OperandId, "'Packet Alignment'");
2965
2966        InstructionDesc[enumCast(Op::OpGroupCommitWritePipe)].operands.push(OperandScope, "'Execution'");
2967        InstructionDesc[enumCast(Op::OpGroupCommitWritePipe)].operands.push(OperandId, "'Pipe'");
2968        InstructionDesc[enumCast(Op::OpGroupCommitWritePipe)].operands.push(OperandId, "'Reserve Id'");
2969        InstructionDesc[enumCast(Op::OpGroupCommitWritePipe)].operands.push(OperandId, "'Packet Size'");
2970        InstructionDesc[enumCast(Op::OpGroupCommitWritePipe)].operands.push(OperandId, "'Packet Alignment'");
2971
2972        InstructionDesc[enumCast(Op::OpBuildNDRange)].operands.push(OperandId, "'GlobalWorkSize'");
2973        InstructionDesc[enumCast(Op::OpBuildNDRange)].operands.push(OperandId, "'LocalWorkSize'");
2974        InstructionDesc[enumCast(Op::OpBuildNDRange)].operands.push(OperandId, "'GlobalWorkOffset'");
2975
2976        InstructionDesc[enumCast(Op::OpCaptureEventProfilingInfo)].operands.push(OperandId, "'Event'");
2977        InstructionDesc[enumCast(Op::OpCaptureEventProfilingInfo)].operands.push(OperandId, "'Profiling Info'");
2978        InstructionDesc[enumCast(Op::OpCaptureEventProfilingInfo)].operands.push(OperandId, "'Value'");
2979
2980        InstructionDesc[enumCast(Op::OpSetUserEventStatus)].operands.push(OperandId, "'Event'");
2981        InstructionDesc[enumCast(Op::OpSetUserEventStatus)].operands.push(OperandId, "'Status'");
2982
2983        InstructionDesc[enumCast(Op::OpIsValidEvent)].operands.push(OperandId, "'Event'");
2984
2985        InstructionDesc[enumCast(Op::OpRetainEvent)].operands.push(OperandId, "'Event'");
2986
2987        InstructionDesc[enumCast(Op::OpReleaseEvent)].operands.push(OperandId, "'Event'");
2988
2989        InstructionDesc[enumCast(Op::OpGetKernelWorkGroupSize)].operands.push(OperandId, "'Invoke'");
2990        InstructionDesc[enumCast(Op::OpGetKernelWorkGroupSize)].operands.push(OperandId, "'Param'");
2991        InstructionDesc[enumCast(Op::OpGetKernelWorkGroupSize)].operands.push(OperandId, "'Param Size'");
2992        InstructionDesc[enumCast(Op::OpGetKernelWorkGroupSize)].operands.push(OperandId, "'Param Align'");
2993
2994        InstructionDesc[enumCast(Op::OpGetKernelPreferredWorkGroupSizeMultiple)].operands.push(OperandId, "'Invoke'");
2995        InstructionDesc[enumCast(Op::OpGetKernelPreferredWorkGroupSizeMultiple)].operands.push(OperandId, "'Param'");
2996        InstructionDesc[enumCast(Op::OpGetKernelPreferredWorkGroupSizeMultiple)].operands.push(OperandId, "'Param Size'");
2997        InstructionDesc[enumCast(Op::OpGetKernelPreferredWorkGroupSizeMultiple)].operands.push(OperandId, "'Param Align'");
2998
2999        InstructionDesc[enumCast(Op::OpGetKernelNDrangeSubGroupCount)].operands.push(OperandId, "'ND Range'");
3000        InstructionDesc[enumCast(Op::OpGetKernelNDrangeSubGroupCount)].operands.push(OperandId, "'Invoke'");
3001        InstructionDesc[enumCast(Op::OpGetKernelNDrangeSubGroupCount)].operands.push(OperandId, "'Param'");
3002        InstructionDesc[enumCast(Op::OpGetKernelNDrangeSubGroupCount)].operands.push(OperandId, "'Param Size'");
3003        InstructionDesc[enumCast(Op::OpGetKernelNDrangeSubGroupCount)].operands.push(OperandId, "'Param Align'");
3004
3005        InstructionDesc[enumCast(Op::OpGetKernelNDrangeMaxSubGroupSize)].operands.push(OperandId, "'ND Range'");
3006        InstructionDesc[enumCast(Op::OpGetKernelNDrangeMaxSubGroupSize)].operands.push(OperandId, "'Invoke'");
3007        InstructionDesc[enumCast(Op::OpGetKernelNDrangeMaxSubGroupSize)].operands.push(OperandId, "'Param'");
3008        InstructionDesc[enumCast(Op::OpGetKernelNDrangeMaxSubGroupSize)].operands.push(OperandId, "'Param Size'");
3009        InstructionDesc[enumCast(Op::OpGetKernelNDrangeMaxSubGroupSize)].operands.push(OperandId, "'Param Align'");
3010
3011        InstructionDesc[enumCast(Op::OpEnqueueKernel)].operands.push(OperandId, "'Queue'");
3012        InstructionDesc[enumCast(Op::OpEnqueueKernel)].operands.push(OperandId, "'Flags'");
3013        InstructionDesc[enumCast(Op::OpEnqueueKernel)].operands.push(OperandId, "'ND Range'");
3014        InstructionDesc[enumCast(Op::OpEnqueueKernel)].operands.push(OperandId, "'Num Events'");
3015        InstructionDesc[enumCast(Op::OpEnqueueKernel)].operands.push(OperandId, "'Wait Events'");
3016        InstructionDesc[enumCast(Op::OpEnqueueKernel)].operands.push(OperandId, "'Ret Event'");
3017        InstructionDesc[enumCast(Op::OpEnqueueKernel)].operands.push(OperandId, "'Invoke'");
3018        InstructionDesc[enumCast(Op::OpEnqueueKernel)].operands.push(OperandId, "'Param'");
3019        InstructionDesc[enumCast(Op::OpEnqueueKernel)].operands.push(OperandId, "'Param Size'");
3020        InstructionDesc[enumCast(Op::OpEnqueueKernel)].operands.push(OperandId, "'Param Align'");
3021        InstructionDesc[enumCast(Op::OpEnqueueKernel)].operands.push(OperandVariableIds, "'Local Size'");
3022
3023        InstructionDesc[enumCast(Op::OpEnqueueMarker)].operands.push(OperandId, "'Queue'");
3024        InstructionDesc[enumCast(Op::OpEnqueueMarker)].operands.push(OperandId, "'Num Events'");
3025        InstructionDesc[enumCast(Op::OpEnqueueMarker)].operands.push(OperandId, "'Wait Events'");
3026        InstructionDesc[enumCast(Op::OpEnqueueMarker)].operands.push(OperandId, "'Ret Event'");
3027
3028        InstructionDesc[enumCast(Op::OpGroupNonUniformElect)].operands.push(OperandScope, "'Execution'");
3029
3030        InstructionDesc[enumCast(Op::OpGroupNonUniformAll)].operands.push(OperandScope, "'Execution'");
3031        InstructionDesc[enumCast(Op::OpGroupNonUniformAll)].operands.push(OperandId, "X");
3032
3033        InstructionDesc[enumCast(Op::OpGroupNonUniformAny)].operands.push(OperandScope, "'Execution'");
3034        InstructionDesc[enumCast(Op::OpGroupNonUniformAny)].operands.push(OperandId, "X");
3035
3036        InstructionDesc[enumCast(Op::OpGroupNonUniformAllEqual)].operands.push(OperandScope, "'Execution'");
3037        InstructionDesc[enumCast(Op::OpGroupNonUniformAllEqual)].operands.push(OperandId, "X");
3038
3039        InstructionDesc[enumCast(Op::OpGroupNonUniformBroadcast)].operands.push(OperandScope, "'Execution'");
3040        InstructionDesc[enumCast(Op::OpGroupNonUniformBroadcast)].operands.push(OperandId, "X");
3041        InstructionDesc[enumCast(Op::OpGroupNonUniformBroadcast)].operands.push(OperandId, "ID");
3042
3043        InstructionDesc[enumCast(Op::OpGroupNonUniformBroadcastFirst)].operands.push(OperandScope, "'Execution'");
3044        InstructionDesc[enumCast(Op::OpGroupNonUniformBroadcastFirst)].operands.push(OperandId, "X");
3045
3046        InstructionDesc[enumCast(Op::OpGroupNonUniformBallot)].operands.push(OperandScope, "'Execution'");
3047        InstructionDesc[enumCast(Op::OpGroupNonUniformBallot)].operands.push(OperandId, "X");
3048
3049        InstructionDesc[enumCast(Op::OpGroupNonUniformInverseBallot)].operands.push(OperandScope, "'Execution'");
3050        InstructionDesc[enumCast(Op::OpGroupNonUniformInverseBallot)].operands.push(OperandId, "X");
3051
3052        InstructionDesc[enumCast(Op::OpGroupNonUniformBallotBitExtract)].operands.push(OperandScope, "'Execution'");
3053        InstructionDesc[enumCast(Op::OpGroupNonUniformBallotBitExtract)].operands.push(OperandId, "X");
3054        InstructionDesc[enumCast(Op::OpGroupNonUniformBallotBitExtract)].operands.push(OperandId, "Bit");
3055
3056        InstructionDesc[enumCast(Op::OpGroupNonUniformBallotBitCount)].operands.push(OperandScope, "'Execution'");
3057        InstructionDesc[enumCast(Op::OpGroupNonUniformBallotBitCount)].operands.push(OperandGroupOperation, "'Operation'");
3058        InstructionDesc[enumCast(Op::OpGroupNonUniformBallotBitCount)].operands.push(OperandId, "X");
3059
3060        InstructionDesc[enumCast(Op::OpGroupNonUniformBallotFindLSB)].operands.push(OperandScope, "'Execution'");
3061        InstructionDesc[enumCast(Op::OpGroupNonUniformBallotFindLSB)].operands.push(OperandId, "X");
3062
3063        InstructionDesc[enumCast(Op::OpGroupNonUniformBallotFindMSB)].operands.push(OperandScope, "'Execution'");
3064        InstructionDesc[enumCast(Op::OpGroupNonUniformBallotFindMSB)].operands.push(OperandId, "X");
3065
3066        InstructionDesc[enumCast(Op::OpGroupNonUniformShuffle)].operands.push(OperandScope, "'Execution'");
3067        InstructionDesc[enumCast(Op::OpGroupNonUniformShuffle)].operands.push(OperandId, "X");
3068        InstructionDesc[enumCast(Op::OpGroupNonUniformShuffle)].operands.push(OperandId, "'Id'");
3069
3070        InstructionDesc[enumCast(Op::OpGroupNonUniformShuffleXor)].operands.push(OperandScope, "'Execution'");
3071        InstructionDesc[enumCast(Op::OpGroupNonUniformShuffleXor)].operands.push(OperandId, "X");
3072        InstructionDesc[enumCast(Op::OpGroupNonUniformShuffleXor)].operands.push(OperandId, "Mask");
3073
3074        InstructionDesc[enumCast(Op::OpGroupNonUniformShuffleUp)].operands.push(OperandScope, "'Execution'");
3075        InstructionDesc[enumCast(Op::OpGroupNonUniformShuffleUp)].operands.push(OperandId, "X");
3076        InstructionDesc[enumCast(Op::OpGroupNonUniformShuffleUp)].operands.push(OperandId, "Offset");
3077
3078        InstructionDesc[enumCast(Op::OpGroupNonUniformShuffleDown)].operands.push(OperandScope, "'Execution'");
3079        InstructionDesc[enumCast(Op::OpGroupNonUniformShuffleDown)].operands.push(OperandId, "X");
3080        InstructionDesc[enumCast(Op::OpGroupNonUniformShuffleDown)].operands.push(OperandId, "Offset");
3081
3082        InstructionDesc[enumCast(Op::OpGroupNonUniformIAdd)].operands.push(OperandScope, "'Execution'");
3083        InstructionDesc[enumCast(Op::OpGroupNonUniformIAdd)].operands.push(OperandGroupOperation, "'Operation'");
3084        InstructionDesc[enumCast(Op::OpGroupNonUniformIAdd)].operands.push(OperandId, "X");
3085        InstructionDesc[enumCast(Op::OpGroupNonUniformIAdd)].operands.push(OperandId, "'ClusterSize'", true);
3086
3087        InstructionDesc[enumCast(Op::OpGroupNonUniformFAdd)].operands.push(OperandScope, "'Execution'");
3088        InstructionDesc[enumCast(Op::OpGroupNonUniformFAdd)].operands.push(OperandGroupOperation, "'Operation'");
3089        InstructionDesc[enumCast(Op::OpGroupNonUniformFAdd)].operands.push(OperandId, "X");
3090        InstructionDesc[enumCast(Op::OpGroupNonUniformFAdd)].operands.push(OperandId, "'ClusterSize'", true);
3091
3092        InstructionDesc[enumCast(Op::OpGroupNonUniformIMul)].operands.push(OperandScope, "'Execution'");
3093        InstructionDesc[enumCast(Op::OpGroupNonUniformIMul)].operands.push(OperandGroupOperation, "'Operation'");
3094        InstructionDesc[enumCast(Op::OpGroupNonUniformIMul)].operands.push(OperandId, "X");
3095        InstructionDesc[enumCast(Op::OpGroupNonUniformIMul)].operands.push(OperandId, "'ClusterSize'", true);
3096
3097        InstructionDesc[enumCast(Op::OpGroupNonUniformFMul)].operands.push(OperandScope, "'Execution'");
3098        InstructionDesc[enumCast(Op::OpGroupNonUniformFMul)].operands.push(OperandGroupOperation, "'Operation'");
3099        InstructionDesc[enumCast(Op::OpGroupNonUniformFMul)].operands.push(OperandId, "X");
3100        InstructionDesc[enumCast(Op::OpGroupNonUniformFMul)].operands.push(OperandId, "'ClusterSize'", true);
3101
3102        InstructionDesc[enumCast(Op::OpGroupNonUniformSMin)].operands.push(OperandScope, "'Execution'");
3103        InstructionDesc[enumCast(Op::OpGroupNonUniformSMin)].operands.push(OperandGroupOperation, "'Operation'");
3104        InstructionDesc[enumCast(Op::OpGroupNonUniformSMin)].operands.push(OperandId, "X");
3105        InstructionDesc[enumCast(Op::OpGroupNonUniformSMin)].operands.push(OperandId, "'ClusterSize'", true);
3106
3107        InstructionDesc[enumCast(Op::OpGroupNonUniformUMin)].operands.push(OperandScope, "'Execution'");
3108        InstructionDesc[enumCast(Op::OpGroupNonUniformUMin)].operands.push(OperandGroupOperation, "'Operation'");
3109        InstructionDesc[enumCast(Op::OpGroupNonUniformUMin)].operands.push(OperandId, "X");
3110        InstructionDesc[enumCast(Op::OpGroupNonUniformUMin)].operands.push(OperandId, "'ClusterSize'", true);
3111
3112        InstructionDesc[enumCast(Op::OpGroupNonUniformFMin)].operands.push(OperandScope, "'Execution'");
3113        InstructionDesc[enumCast(Op::OpGroupNonUniformFMin)].operands.push(OperandGroupOperation, "'Operation'");
3114        InstructionDesc[enumCast(Op::OpGroupNonUniformFMin)].operands.push(OperandId, "X");
3115        InstructionDesc[enumCast(Op::OpGroupNonUniformFMin)].operands.push(OperandId, "'ClusterSize'", true);
3116
3117        InstructionDesc[enumCast(Op::OpGroupNonUniformSMax)].operands.push(OperandScope, "'Execution'");
3118        InstructionDesc[enumCast(Op::OpGroupNonUniformSMax)].operands.push(OperandGroupOperation, "'Operation'");
3119        InstructionDesc[enumCast(Op::OpGroupNonUniformSMax)].operands.push(OperandId, "X");
3120        InstructionDesc[enumCast(Op::OpGroupNonUniformSMax)].operands.push(OperandId, "'ClusterSize'", true);
3121
3122        InstructionDesc[enumCast(Op::OpGroupNonUniformUMax)].operands.push(OperandScope, "'Execution'");
3123        InstructionDesc[enumCast(Op::OpGroupNonUniformUMax)].operands.push(OperandGroupOperation, "'Operation'");
3124        InstructionDesc[enumCast(Op::OpGroupNonUniformUMax)].operands.push(OperandId, "X");
3125        InstructionDesc[enumCast(Op::OpGroupNonUniformUMax)].operands.push(OperandId, "'ClusterSize'", true);
3126
3127        InstructionDesc[enumCast(Op::OpGroupNonUniformFMax)].operands.push(OperandScope, "'Execution'");
3128        InstructionDesc[enumCast(Op::OpGroupNonUniformFMax)].operands.push(OperandGroupOperation, "'Operation'");
3129        InstructionDesc[enumCast(Op::OpGroupNonUniformFMax)].operands.push(OperandId, "X");
3130        InstructionDesc[enumCast(Op::OpGroupNonUniformFMax)].operands.push(OperandId, "'ClusterSize'", true);
3131
3132        InstructionDesc[enumCast(Op::OpGroupNonUniformBitwiseAnd)].operands.push(OperandScope, "'Execution'");
3133        InstructionDesc[enumCast(Op::OpGroupNonUniformBitwiseAnd)].operands.push(OperandGroupOperation, "'Operation'");
3134        InstructionDesc[enumCast(Op::OpGroupNonUniformBitwiseAnd)].operands.push(OperandId, "X");
3135        InstructionDesc[enumCast(Op::OpGroupNonUniformBitwiseAnd)].operands.push(OperandId, "'ClusterSize'", true);
3136
3137        InstructionDesc[enumCast(Op::OpGroupNonUniformBitwiseOr)].operands.push(OperandScope, "'Execution'");
3138        InstructionDesc[enumCast(Op::OpGroupNonUniformBitwiseOr)].operands.push(OperandGroupOperation, "'Operation'");
3139        InstructionDesc[enumCast(Op::OpGroupNonUniformBitwiseOr)].operands.push(OperandId, "X");
3140        InstructionDesc[enumCast(Op::OpGroupNonUniformBitwiseOr)].operands.push(OperandId, "'ClusterSize'", true);
3141
3142        InstructionDesc[enumCast(Op::OpGroupNonUniformBitwiseXor)].operands.push(OperandScope, "'Execution'");
3143        InstructionDesc[enumCast(Op::OpGroupNonUniformBitwiseXor)].operands.push(OperandGroupOperation, "'Operation'");
3144        InstructionDesc[enumCast(Op::OpGroupNonUniformBitwiseXor)].operands.push(OperandId, "X");
3145        InstructionDesc[enumCast(Op::OpGroupNonUniformBitwiseXor)].operands.push(OperandId, "'ClusterSize'", true);
3146
3147        InstructionDesc[enumCast(Op::OpGroupNonUniformLogicalAnd)].operands.push(OperandScope, "'Execution'");
3148        InstructionDesc[enumCast(Op::OpGroupNonUniformLogicalAnd)].operands.push(OperandGroupOperation, "'Operation'");
3149        InstructionDesc[enumCast(Op::OpGroupNonUniformLogicalAnd)].operands.push(OperandId, "X");
3150        InstructionDesc[enumCast(Op::OpGroupNonUniformLogicalAnd)].operands.push(OperandId, "'ClusterSize'", true);
3151
3152        InstructionDesc[enumCast(Op::OpGroupNonUniformLogicalOr)].operands.push(OperandScope, "'Execution'");
3153        InstructionDesc[enumCast(Op::OpGroupNonUniformLogicalOr)].operands.push(OperandGroupOperation, "'Operation'");
3154        InstructionDesc[enumCast(Op::OpGroupNonUniformLogicalOr)].operands.push(OperandId, "X");
3155        InstructionDesc[enumCast(Op::OpGroupNonUniformLogicalOr)].operands.push(OperandId, "'ClusterSize'", true);
3156
3157        InstructionDesc[enumCast(Op::OpGroupNonUniformLogicalXor)].operands.push(OperandScope, "'Execution'");
3158        InstructionDesc[enumCast(Op::OpGroupNonUniformLogicalXor)].operands.push(OperandGroupOperation, "'Operation'");
3159        InstructionDesc[enumCast(Op::OpGroupNonUniformLogicalXor)].operands.push(OperandId, "X");
3160        InstructionDesc[enumCast(Op::OpGroupNonUniformLogicalXor)].operands.push(OperandId, "'ClusterSize'", true);
3161
3162        InstructionDesc[enumCast(Op::OpGroupNonUniformQuadBroadcast)].operands.push(OperandScope, "'Execution'");
3163        InstructionDesc[enumCast(Op::OpGroupNonUniformQuadBroadcast)].operands.push(OperandId, "X");
3164        InstructionDesc[enumCast(Op::OpGroupNonUniformQuadBroadcast)].operands.push(OperandId, "'Id'");
3165
3166        InstructionDesc[enumCast(Op::OpGroupNonUniformQuadSwap)].operands.push(OperandScope, "'Execution'");
3167        InstructionDesc[enumCast(Op::OpGroupNonUniformQuadSwap)].operands.push(OperandId, "X");
3168        InstructionDesc[enumCast(Op::OpGroupNonUniformQuadSwap)].operands.push(OperandId, "'Direction'");
3169
3170        InstructionDesc[enumCast(Op::OpSubgroupBallotKHR)].operands.push(OperandId, "'Predicate'");
3171
3172        InstructionDesc[enumCast(Op::OpSubgroupFirstInvocationKHR)].operands.push(OperandId, "'Value'");
3173
3174        InstructionDesc[enumCast(Op::OpSubgroupAnyKHR)].operands.push(OperandScope, "'Execution'");
3175        InstructionDesc[enumCast(Op::OpSubgroupAnyKHR)].operands.push(OperandId, "'Predicate'");
3176
3177        InstructionDesc[enumCast(Op::OpSubgroupAllKHR)].operands.push(OperandScope, "'Execution'");
3178        InstructionDesc[enumCast(Op::OpSubgroupAllKHR)].operands.push(OperandId, "'Predicate'");
3179
3180        InstructionDesc[enumCast(Op::OpSubgroupAllEqualKHR)].operands.push(OperandScope, "'Execution'");
3181        InstructionDesc[enumCast(Op::OpSubgroupAllEqualKHR)].operands.push(OperandId, "'Predicate'");
3182
3183        InstructionDesc[enumCast(Op::OpGroupNonUniformRotateKHR)].operands.push(OperandScope, "'Execution'");
3184        InstructionDesc[enumCast(Op::OpGroupNonUniformRotateKHR)].operands.push(OperandId, "'X'");
3185        InstructionDesc[enumCast(Op::OpGroupNonUniformRotateKHR)].operands.push(OperandId, "'Delta'");
3186        InstructionDesc[enumCast(Op::OpGroupNonUniformRotateKHR)].operands.push(OperandId, "'ClusterSize'", true);
3187
3188        InstructionDesc[enumCast(Op::OpSubgroupReadInvocationKHR)].operands.push(OperandId, "'Value'");
3189        InstructionDesc[enumCast(Op::OpSubgroupReadInvocationKHR)].operands.push(OperandId, "'Index'");
3190
3191        InstructionDesc[enumCast(Op::OpModuleProcessed)].operands.push(OperandLiteralString, "'process'");
3192
3193        InstructionDesc[enumCast(Op::OpGroupIAddNonUniformAMD)].operands.push(OperandScope, "'Execution'");
3194        InstructionDesc[enumCast(Op::OpGroupIAddNonUniformAMD)].operands.push(OperandGroupOperation, "'Operation'");
3195        InstructionDesc[enumCast(Op::OpGroupIAddNonUniformAMD)].operands.push(OperandId, "'X'");
3196
3197        InstructionDesc[enumCast(Op::OpGroupFAddNonUniformAMD)].operands.push(OperandScope, "'Execution'");
3198        InstructionDesc[enumCast(Op::OpGroupFAddNonUniformAMD)].operands.push(OperandGroupOperation, "'Operation'");
3199        InstructionDesc[enumCast(Op::OpGroupFAddNonUniformAMD)].operands.push(OperandId, "'X'");
3200
3201        InstructionDesc[enumCast(Op::OpGroupUMinNonUniformAMD)].operands.push(OperandScope, "'Execution'");
3202        InstructionDesc[enumCast(Op::OpGroupUMinNonUniformAMD)].operands.push(OperandGroupOperation, "'Operation'");
3203        InstructionDesc[enumCast(Op::OpGroupUMinNonUniformAMD)].operands.push(OperandId, "'X'");
3204
3205        InstructionDesc[enumCast(Op::OpGroupSMinNonUniformAMD)].operands.push(OperandScope, "'Execution'");
3206        InstructionDesc[enumCast(Op::OpGroupSMinNonUniformAMD)].operands.push(OperandGroupOperation, "'Operation'");
3207        InstructionDesc[enumCast(Op::OpGroupSMinNonUniformAMD)].operands.push(OperandId, "X");
3208
3209        InstructionDesc[enumCast(Op::OpGroupFMinNonUniformAMD)].operands.push(OperandScope, "'Execution'");
3210        InstructionDesc[enumCast(Op::OpGroupFMinNonUniformAMD)].operands.push(OperandGroupOperation, "'Operation'");
3211        InstructionDesc[enumCast(Op::OpGroupFMinNonUniformAMD)].operands.push(OperandId, "X");
3212
3213        InstructionDesc[enumCast(Op::OpGroupUMaxNonUniformAMD)].operands.push(OperandScope, "'Execution'");
3214        InstructionDesc[enumCast(Op::OpGroupUMaxNonUniformAMD)].operands.push(OperandGroupOperation, "'Operation'");
3215        InstructionDesc[enumCast(Op::OpGroupUMaxNonUniformAMD)].operands.push(OperandId, "X");
3216
3217        InstructionDesc[enumCast(Op::OpGroupSMaxNonUniformAMD)].operands.push(OperandScope, "'Execution'");
3218        InstructionDesc[enumCast(Op::OpGroupSMaxNonUniformAMD)].operands.push(OperandGroupOperation, "'Operation'");
3219        InstructionDesc[enumCast(Op::OpGroupSMaxNonUniformAMD)].operands.push(OperandId, "X");
3220
3221        InstructionDesc[enumCast(Op::OpGroupFMaxNonUniformAMD)].operands.push(OperandScope, "'Execution'");
3222        InstructionDesc[enumCast(Op::OpGroupFMaxNonUniformAMD)].operands.push(OperandGroupOperation, "'Operation'");
3223        InstructionDesc[enumCast(Op::OpGroupFMaxNonUniformAMD)].operands.push(OperandId, "X");
3224
3225        InstructionDesc[enumCast(Op::OpFragmentMaskFetchAMD)].operands.push(OperandId, "'Image'");
3226        InstructionDesc[enumCast(Op::OpFragmentMaskFetchAMD)].operands.push(OperandId, "'Coordinate'");
3227
3228        InstructionDesc[enumCast(Op::OpFragmentFetchAMD)].operands.push(OperandId, "'Image'");
3229        InstructionDesc[enumCast(Op::OpFragmentFetchAMD)].operands.push(OperandId, "'Coordinate'");
3230        InstructionDesc[enumCast(Op::OpFragmentFetchAMD)].operands.push(OperandId, "'Fragment Index'");
3231
3232
3233        InstructionDesc[enumCast(Op::OpTypeBufferEXT)].operands.push(OperandStorage, "");
3234        InstructionDesc[enumCast(Op::OpTypeBufferEXT)].setResultAndType(true, false);
3235
3236        InstructionDesc[enumCast(Op::OpConstantSizeOfEXT)].operands.push(OperandId, "'Type'");
3237
3238        InstructionDesc[enumCast(Op::OpBufferPointerEXT)].operands.push(OperandId, "'Buffer'");
3239
3240        InstructionDesc[enumCast(Op::OpUntypedImageTexelPointerEXT)].operands.push(OperandId, "'ImageType'");
3241        InstructionDesc[enumCast(Op::OpUntypedImageTexelPointerEXT)].operands.push(OperandId, "'Image'");
3242        InstructionDesc[enumCast(Op::OpUntypedImageTexelPointerEXT)].operands.push(OperandId, "'Coordinate'");
3243        InstructionDesc[enumCast(Op::OpUntypedImageTexelPointerEXT)].operands.push(OperandId, "'Sample'");
3244
3245        InstructionDesc[enumCast(Op::OpGroupNonUniformPartitionNV)].operands.push(OperandId, "X");
3246
3247        InstructionDesc[enumCast(Op::OpGroupNonUniformQuadAllKHR)].operands.push(OperandId, "'Predicate'");
3248        InstructionDesc[enumCast(Op::OpGroupNonUniformQuadAnyKHR)].operands.push(OperandId, "'Predicate'");
3249        InstructionDesc[enumCast(Op::OpTypeAccelerationStructureKHR)].setResultAndType(true, false);
3250
3251        InstructionDesc[enumCast(Op::OpConstantDataKHR)].operands.push(OperandLiteralString, "'Data'");
3252        InstructionDesc[enumCast(Op::OpSpecConstantDataKHR)].operands.push(OperandLiteralString, "'Data'");
3253        InstructionDesc[enumCast(Op::OpAbortKHR)].operands.push(OperandId, "'Message Type'");
3254        InstructionDesc[enumCast(Op::OpAbortKHR)].operands.push(OperandId, "'Message'");
3255        InstructionDesc[enumCast(Op::OpAbortKHR)].setResultAndType(false, false);
3256
3257        InstructionDesc[enumCast(Op::OpTraceNV)].operands.push(OperandId, "'Acceleration Structure'");
3258        InstructionDesc[enumCast(Op::OpTraceNV)].operands.push(OperandId, "'Ray Flags'");
3259        InstructionDesc[enumCast(Op::OpTraceNV)].operands.push(OperandId, "'Cull Mask'");
3260        InstructionDesc[enumCast(Op::OpTraceNV)].operands.push(OperandId, "'SBT Record Offset'");
3261        InstructionDesc[enumCast(Op::OpTraceNV)].operands.push(OperandId, "'SBT Record Stride'");
3262        InstructionDesc[enumCast(Op::OpTraceNV)].operands.push(OperandId, "'Miss Index'");
3263        InstructionDesc[enumCast(Op::OpTraceNV)].operands.push(OperandId, "'Ray Origin'");
3264        InstructionDesc[enumCast(Op::OpTraceNV)].operands.push(OperandId, "'TMin'");
3265        InstructionDesc[enumCast(Op::OpTraceNV)].operands.push(OperandId, "'Ray Direction'");
3266        InstructionDesc[enumCast(Op::OpTraceNV)].operands.push(OperandId, "'TMax'");
3267        InstructionDesc[enumCast(Op::OpTraceNV)].operands.push(OperandId, "'Payload'");
3268        InstructionDesc[enumCast(Op::OpTraceNV)].setResultAndType(false, false);
3269
3270        InstructionDesc[enumCast(Op::OpTraceRayMotionNV)].operands.push(OperandId, "'Acceleration Structure'");
3271        InstructionDesc[enumCast(Op::OpTraceRayMotionNV)].operands.push(OperandId, "'Ray Flags'");
3272        InstructionDesc[enumCast(Op::OpTraceRayMotionNV)].operands.push(OperandId, "'Cull Mask'");
3273        InstructionDesc[enumCast(Op::OpTraceRayMotionNV)].operands.push(OperandId, "'SBT Record Offset'");
3274        InstructionDesc[enumCast(Op::OpTraceRayMotionNV)].operands.push(OperandId, "'SBT Record Stride'");
3275        InstructionDesc[enumCast(Op::OpTraceRayMotionNV)].operands.push(OperandId, "'Miss Index'");
3276        InstructionDesc[enumCast(Op::OpTraceRayMotionNV)].operands.push(OperandId, "'Ray Origin'");
3277        InstructionDesc[enumCast(Op::OpTraceRayMotionNV)].operands.push(OperandId, "'TMin'");
3278        InstructionDesc[enumCast(Op::OpTraceRayMotionNV)].operands.push(OperandId, "'Ray Direction'");
3279        InstructionDesc[enumCast(Op::OpTraceRayMotionNV)].operands.push(OperandId, "'TMax'");
3280        InstructionDesc[enumCast(Op::OpTraceRayMotionNV)].operands.push(OperandId, "'Time'");
3281        InstructionDesc[enumCast(Op::OpTraceRayMotionNV)].operands.push(OperandId, "'Payload'");
3282        InstructionDesc[enumCast(Op::OpTraceRayMotionNV)].setResultAndType(false, false);
3283
3284        InstructionDesc[enumCast(Op::OpTraceRayKHR)].operands.push(OperandId, "'Acceleration Structure'");
3285        InstructionDesc[enumCast(Op::OpTraceRayKHR)].operands.push(OperandId, "'Ray Flags'");
3286        InstructionDesc[enumCast(Op::OpTraceRayKHR)].operands.push(OperandId, "'Cull Mask'");
3287        InstructionDesc[enumCast(Op::OpTraceRayKHR)].operands.push(OperandId, "'SBT Record Offset'");
3288        InstructionDesc[enumCast(Op::OpTraceRayKHR)].operands.push(OperandId, "'SBT Record Stride'");
3289        InstructionDesc[enumCast(Op::OpTraceRayKHR)].operands.push(OperandId, "'Miss Index'");
3290        InstructionDesc[enumCast(Op::OpTraceRayKHR)].operands.push(OperandId, "'Ray Origin'");
3291        InstructionDesc[enumCast(Op::OpTraceRayKHR)].operands.push(OperandId, "'TMin'");
3292        InstructionDesc[enumCast(Op::OpTraceRayKHR)].operands.push(OperandId, "'Ray Direction'");
3293        InstructionDesc[enumCast(Op::OpTraceRayKHR)].operands.push(OperandId, "'TMax'");
3294        InstructionDesc[enumCast(Op::OpTraceRayKHR)].operands.push(OperandId, "'Payload'");
3295        InstructionDesc[enumCast(Op::OpTraceRayKHR)].setResultAndType(false, false);
3296
3297        InstructionDesc[enumCast(Op::OpReportIntersectionKHR)].operands.push(OperandId, "'Hit Parameter'");
3298        InstructionDesc[enumCast(Op::OpReportIntersectionKHR)].operands.push(OperandId, "'Hit Kind'");
3299
3300        InstructionDesc[enumCast(Op::OpIgnoreIntersectionNV)].setResultAndType(false, false);
3301
3302        InstructionDesc[enumCast(Op::OpIgnoreIntersectionKHR)].setResultAndType(false, false);
3303
3304        InstructionDesc[enumCast(Op::OpTerminateRayNV)].setResultAndType(false, false);
3305
3306        InstructionDesc[enumCast(Op::OpTerminateRayKHR)].setResultAndType(false, false);
3307
3308        InstructionDesc[enumCast(Op::OpExecuteCallableNV)].operands.push(OperandId, "SBT Record Index");
3309        InstructionDesc[enumCast(Op::OpExecuteCallableNV)].operands.push(OperandId, "CallableData ID");
3310        InstructionDesc[enumCast(Op::OpExecuteCallableNV)].setResultAndType(false, false);
3311
3312        InstructionDesc[enumCast(Op::OpExecuteCallableKHR)].operands.push(OperandId, "SBT Record Index");
3313        InstructionDesc[enumCast(Op::OpExecuteCallableKHR)].operands.push(OperandId, "CallableData");
3314        InstructionDesc[enumCast(Op::OpExecuteCallableKHR)].setResultAndType(false, false);
3315
3316        InstructionDesc[enumCast(Op::OpConvertUToAccelerationStructureKHR)].operands.push(OperandId, "Value");
3317        InstructionDesc[enumCast(Op::OpConvertUToAccelerationStructureKHR)].setResultAndType(true, true);
3318
3319        // Ray Query
3320        InstructionDesc[enumCast(Op::OpTypeAccelerationStructureKHR)].setResultAndType(true, false);
3321        InstructionDesc[enumCast(Op::OpTypeRayQueryKHR)].setResultAndType(true, false);
3322
3323        InstructionDesc[enumCast(Op::OpRayQueryInitializeKHR)].operands.push(OperandId, "'RayQuery'");
3324        InstructionDesc[enumCast(Op::OpRayQueryInitializeKHR)].operands.push(OperandId, "'AccelerationS'");
3325        InstructionDesc[enumCast(Op::OpRayQueryInitializeKHR)].operands.push(OperandId, "'RayFlags'");
3326        InstructionDesc[enumCast(Op::OpRayQueryInitializeKHR)].operands.push(OperandId, "'CullMask'");
3327        InstructionDesc[enumCast(Op::OpRayQueryInitializeKHR)].operands.push(OperandId, "'Origin'");
3328        InstructionDesc[enumCast(Op::OpRayQueryInitializeKHR)].operands.push(OperandId, "'Tmin'");
3329        InstructionDesc[enumCast(Op::OpRayQueryInitializeKHR)].operands.push(OperandId, "'Direction'");
3330        InstructionDesc[enumCast(Op::OpRayQueryInitializeKHR)].operands.push(OperandId, "'Tmax'");
3331        InstructionDesc[enumCast(Op::OpRayQueryInitializeKHR)].setResultAndType(false, false);
3332
3333        InstructionDesc[enumCast(Op::OpRayQueryTerminateKHR)].operands.push(OperandId, "'RayQuery'");
3334        InstructionDesc[enumCast(Op::OpRayQueryTerminateKHR)].setResultAndType(false, false);
3335
3336        InstructionDesc[enumCast(Op::OpRayQueryGenerateIntersectionKHR)].operands.push(OperandId, "'RayQuery'");
3337        InstructionDesc[enumCast(Op::OpRayQueryGenerateIntersectionKHR)].operands.push(OperandId, "'THit'");
3338        InstructionDesc[enumCast(Op::OpRayQueryGenerateIntersectionKHR)].setResultAndType(false, false);
3339
3340        InstructionDesc[enumCast(Op::OpRayQueryConfirmIntersectionKHR)].operands.push(OperandId, "'RayQuery'");
3341        InstructionDesc[enumCast(Op::OpRayQueryConfirmIntersectionKHR)].setResultAndType(false, false);
3342
3343        InstructionDesc[enumCast(Op::OpRayQueryProceedKHR)].operands.push(OperandId, "'RayQuery'");
3344        InstructionDesc[enumCast(Op::OpRayQueryProceedKHR)].setResultAndType(true, true);
3345
3346        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionTypeKHR)].operands.push(OperandId, "'RayQuery'");
3347        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionTypeKHR)].operands.push(OperandId, "'Committed'");
3348        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionTypeKHR)].setResultAndType(true, true);
3349
3350        InstructionDesc[enumCast(Op::OpRayQueryGetRayTMinKHR)].operands.push(OperandId, "'RayQuery'");
3351        InstructionDesc[enumCast(Op::OpRayQueryGetRayTMinKHR)].setResultAndType(true, true);
3352
3353        InstructionDesc[enumCast(Op::OpRayQueryGetRayFlagsKHR)].operands.push(OperandId, "'RayQuery'");
3354        InstructionDesc[enumCast(Op::OpRayQueryGetRayFlagsKHR)].setResultAndType(true, true);
3355
3356        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionTKHR)].operands.push(OperandId, "'RayQuery'");
3357        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionTKHR)].operands.push(OperandId, "'Committed'");
3358        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionTKHR)].setResultAndType(true, true);
3359
3360        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionInstanceCustomIndexKHR)].operands.push(OperandId, "'RayQuery'");
3361        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionInstanceCustomIndexKHR)].operands.push(OperandId, "'Committed'");
3362        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionInstanceCustomIndexKHR)].setResultAndType(true, true);
3363
3364        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionInstanceIdKHR)].operands.push(OperandId, "'RayQuery'");
3365        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionInstanceIdKHR)].operands.push(OperandId, "'Committed'");
3366        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionInstanceIdKHR)].setResultAndType(true, true);
3367
3368        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR)].operands.push(OperandId, "'RayQuery'");
3369        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR)].operands.push(OperandId, "'Committed'");
3370        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR)].setResultAndType(true, true);
3371
3372        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionGeometryIndexKHR)].operands.push(OperandId, "'RayQuery'");
3373        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionGeometryIndexKHR)].operands.push(OperandId, "'Committed'");
3374        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionGeometryIndexKHR)].setResultAndType(true, true);
3375
3376        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionPrimitiveIndexKHR)].operands.push(OperandId, "'RayQuery'");
3377        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionPrimitiveIndexKHR)].operands.push(OperandId, "'Committed'");
3378        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionPrimitiveIndexKHR)].setResultAndType(true, true);
3379
3380        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionBarycentricsKHR)].operands.push(OperandId, "'RayQuery'");
3381        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionBarycentricsKHR)].operands.push(OperandId, "'Committed'");
3382        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionBarycentricsKHR)].setResultAndType(true, true);
3383
3384        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionFrontFaceKHR)].operands.push(OperandId, "'RayQuery'");
3385        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionFrontFaceKHR)].operands.push(OperandId, "'Committed'");
3386        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionFrontFaceKHR)].setResultAndType(true, true);
3387
3388        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionCandidateAABBOpaqueKHR)].operands.push(OperandId, "'RayQuery'");
3389        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionCandidateAABBOpaqueKHR)].setResultAndType(true, true);
3390
3391        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionObjectRayDirectionKHR)].operands.push(OperandId, "'RayQuery'");
3392        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionObjectRayDirectionKHR)].operands.push(OperandId, "'Committed'");
3393        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionObjectRayDirectionKHR)].setResultAndType(true, true);
3394
3395        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionObjectRayOriginKHR)].operands.push(OperandId, "'RayQuery'");
3396        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionObjectRayOriginKHR)].operands.push(OperandId, "'Committed'");
3397        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionObjectRayOriginKHR)].setResultAndType(true, true);
3398
3399        InstructionDesc[enumCast(Op::OpRayQueryGetWorldRayDirectionKHR)].operands.push(OperandId, "'RayQuery'");
3400        InstructionDesc[enumCast(Op::OpRayQueryGetWorldRayDirectionKHR)].setResultAndType(true, true);
3401
3402        InstructionDesc[enumCast(Op::OpRayQueryGetWorldRayOriginKHR)].operands.push(OperandId, "'RayQuery'");
3403        InstructionDesc[enumCast(Op::OpRayQueryGetWorldRayOriginKHR)].setResultAndType(true, true);
3404
3405        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionObjectToWorldKHR)].operands.push(OperandId, "'RayQuery'");
3406        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionObjectToWorldKHR)].operands.push(OperandId, "'Committed'");
3407        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionObjectToWorldKHR)].setResultAndType(true, true);
3408
3409        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionWorldToObjectKHR)].operands.push(OperandId, "'RayQuery'");
3410        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionWorldToObjectKHR)].operands.push(OperandId, "'Committed'");
3411        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionWorldToObjectKHR)].setResultAndType(true, true);
3412
3413        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionTriangleVertexPositionsKHR)].operands.push(OperandId, "'RayQuery'");
3414        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionTriangleVertexPositionsKHR)].operands.push(OperandId, "'Committed'");
3415        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionTriangleVertexPositionsKHR)].setResultAndType(true, true);
3416
3417        InstructionDesc[enumCast(Op::OpRayQueryGetClusterIdNV)].operands.push(OperandId, "'RayQuery'");
3418        InstructionDesc[enumCast(Op::OpRayQueryGetClusterIdNV)].operands.push(OperandId, "'Committed'");
3419        InstructionDesc[enumCast(Op::OpRayQueryGetClusterIdNV)].setResultAndType(true, true);
3420        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionSpherePositionNV)].operands.push(OperandId, "'RayQuery'");
3421        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionSpherePositionNV)].operands.push(OperandId, "'Committed'");
3422        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionSpherePositionNV)].setResultAndType(true, true);
3423
3424        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionSphereRadiusNV)].operands.push(OperandId, "'RayQuery'");
3425        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionSphereRadiusNV)].operands.push(OperandId, "'Committed'");
3426        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionSphereRadiusNV)].setResultAndType(true, true);
3427
3428        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionLSSHitValueNV)].operands.push(OperandId, "'RayQuery'");
3429        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionLSSHitValueNV)].operands.push(OperandId, "'Committed'");
3430        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionLSSHitValueNV)].setResultAndType(true, true);
3431
3432        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionLSSPositionsNV)].operands.push(OperandId, "'RayQuery'");
3433        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionLSSPositionsNV)].operands.push(OperandId, "'Committed'");
3434        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionLSSPositionsNV)].setResultAndType(true, true);
3435
3436        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionLSSRadiiNV)].operands.push(OperandId, "'RayQuery'");
3437        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionLSSRadiiNV)].operands.push(OperandId, "'Committed'");
3438        InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionLSSRadiiNV)].setResultAndType(true, true);
3439
3440        InstructionDesc[enumCast(Op::OpRayQueryIsSphereHitNV)].operands.push(OperandId, "'RayQuery'");
3441        InstructionDesc[enumCast(Op::OpRayQueryIsSphereHitNV)].operands.push(OperandId, "'Committed'");
3442        InstructionDesc[enumCast(Op::OpRayQueryIsSphereHitNV)].setResultAndType(true, true);
3443
3444        InstructionDesc[enumCast(Op::OpRayQueryIsLSSHitNV)].operands.push(OperandId, "'RayQuery'");
3445        InstructionDesc[enumCast(Op::OpRayQueryIsLSSHitNV)].operands.push(OperandId, "'Committed'");
3446        InstructionDesc[enumCast(Op::OpRayQueryIsLSSHitNV)].setResultAndType(true, true);
3447
3448        InstructionDesc[enumCast(Op::OpImageSampleFootprintNV)].operands.push(OperandId, "'Sampled Image'");
3449        InstructionDesc[enumCast(Op::OpImageSampleFootprintNV)].operands.push(OperandId, "'Coordinate'");
3450        InstructionDesc[enumCast(Op::OpImageSampleFootprintNV)].operands.push(OperandId, "'Granularity'");
3451        InstructionDesc[enumCast(Op::OpImageSampleFootprintNV)].operands.push(OperandId, "'Coarse'");
3452        InstructionDesc[enumCast(Op::OpImageSampleFootprintNV)].operands.push(OperandImageOperands, "", true);
3453        InstructionDesc[enumCast(Op::OpImageSampleFootprintNV)].operands.push(OperandVariableIds, "", true);
3454
3455        InstructionDesc[enumCast(Op::OpWritePackedPrimitiveIndices4x8NV)].operands.push(OperandId, "'Index Offset'");
3456        InstructionDesc[enumCast(Op::OpWritePackedPrimitiveIndices4x8NV)].operands.push(OperandId, "'Packed Indices'");
3457
3458        InstructionDesc[enumCast(Op::OpEmitMeshTasksEXT)].operands.push(OperandId, "'groupCountX'");
3459        InstructionDesc[enumCast(Op::OpEmitMeshTasksEXT)].operands.push(OperandId, "'groupCountY'");
3460        InstructionDesc[enumCast(Op::OpEmitMeshTasksEXT)].operands.push(OperandId, "'groupCountZ'");
3461        InstructionDesc[enumCast(Op::OpEmitMeshTasksEXT)].operands.push(OperandId, "'Payload'");
3462        InstructionDesc[enumCast(Op::OpEmitMeshTasksEXT)].setResultAndType(false, false);
3463
3464        InstructionDesc[enumCast(Op::OpSetMeshOutputsEXT)].operands.push(OperandId, "'vertexCount'");
3465        InstructionDesc[enumCast(Op::OpSetMeshOutputsEXT)].operands.push(OperandId, "'primitiveCount'");
3466        InstructionDesc[enumCast(Op::OpSetMeshOutputsEXT)].setResultAndType(false, false);
3467
3468
3469        InstructionDesc[enumCast(Op::OpTypeCooperativeMatrixNV)].operands.push(OperandId, "'Component Type'");
3470        InstructionDesc[enumCast(Op::OpTypeCooperativeMatrixNV)].operands.push(OperandId, "'Scope'");
3471        InstructionDesc[enumCast(Op::OpTypeCooperativeMatrixNV)].operands.push(OperandId, "'Rows'");
3472        InstructionDesc[enumCast(Op::OpTypeCooperativeMatrixNV)].operands.push(OperandId, "'Columns'");
3473
3474        InstructionDesc[enumCast(Op::OpCooperativeMatrixLoadNV)].operands.push(OperandId, "'Pointer'");
3475        InstructionDesc[enumCast(Op::OpCooperativeMatrixLoadNV)].operands.push(OperandId, "'Stride'");
3476        InstructionDesc[enumCast(Op::OpCooperativeMatrixLoadNV)].operands.push(OperandId, "'Column Major'");
3477        InstructionDesc[enumCast(Op::OpCooperativeMatrixLoadNV)].operands.push(OperandMemoryAccess, "'Memory Access'");
3478        InstructionDesc[enumCast(Op::OpCooperativeMatrixLoadNV)].operands.push(OperandLiteralNumber, "", true);
3479        InstructionDesc[enumCast(Op::OpCooperativeMatrixLoadNV)].operands.push(OperandId, "", true);
3480
3481        InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreNV)].operands.push(OperandId, "'Pointer'");
3482        InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreNV)].operands.push(OperandId, "'Object'");
3483        InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreNV)].operands.push(OperandId, "'Stride'");
3484        InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreNV)].operands.push(OperandId, "'Column Major'");
3485        InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreNV)].operands.push(OperandMemoryAccess, "'Memory Access'");
3486        InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreNV)].operands.push(OperandLiteralNumber, "", true);
3487        InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreNV)].operands.push(OperandId, "", true);
3488
3489        InstructionDesc[enumCast(Op::OpCooperativeMatrixMulAddNV)].operands.push(OperandId, "'A'");
3490        InstructionDesc[enumCast(Op::OpCooperativeMatrixMulAddNV)].operands.push(OperandId, "'B'");
3491        InstructionDesc[enumCast(Op::OpCooperativeMatrixMulAddNV)].operands.push(OperandId, "'C'");
3492
3493        InstructionDesc[enumCast(Op::OpCooperativeMatrixLengthNV)].operands.push(OperandId, "'Type'");
3494
3495        InstructionDesc[enumCast(Op::OpTypeCooperativeMatrixKHR)].operands.push(OperandId, "'Component Type'");
3496        InstructionDesc[enumCast(Op::OpTypeCooperativeMatrixKHR)].operands.push(OperandId, "'Scope'");
3497        InstructionDesc[enumCast(Op::OpTypeCooperativeMatrixKHR)].operands.push(OperandId, "'Rows'");
3498        InstructionDesc[enumCast(Op::OpTypeCooperativeMatrixKHR)].operands.push(OperandId, "'Columns'");
3499        InstructionDesc[enumCast(Op::OpTypeCooperativeMatrixKHR)].operands.push(OperandId, "'Use'");
3500
3501        InstructionDesc[enumCast(Op::OpCooperativeMatrixLoadKHR)].operands.push(OperandId, "'Pointer'");
3502        InstructionDesc[enumCast(Op::OpCooperativeMatrixLoadKHR)].operands.push(OperandId, "'Memory Layout'");
3503        InstructionDesc[enumCast(Op::OpCooperativeMatrixLoadKHR)].operands.push(OperandId, "'Stride'");
3504        InstructionDesc[enumCast(Op::OpCooperativeMatrixLoadKHR)].operands.push(OperandMemoryAccess, "'Memory Access'");
3505        InstructionDesc[enumCast(Op::OpCooperativeMatrixLoadKHR)].operands.push(OperandLiteralNumber, "", true);
3506        InstructionDesc[enumCast(Op::OpCooperativeMatrixLoadKHR)].operands.push(OperandId, "", true);
3507
3508        InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreKHR)].operands.push(OperandId, "'Pointer'");
3509        InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreKHR)].operands.push(OperandId, "'Object'");
3510        InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreKHR)].operands.push(OperandId, "'Memory Layout'");
3511        InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreKHR)].operands.push(OperandId, "'Stride'");
3512        InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreKHR)].operands.push(OperandMemoryAccess, "'Memory Access'");
3513        InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreKHR)].operands.push(OperandLiteralNumber, "", true);
3514        InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreKHR)].operands.push(OperandId, "", true);
3515
3516        InstructionDesc[enumCast(Op::OpCooperativeMatrixMulAddKHR)].operands.push(OperandId, "'A'");
3517        InstructionDesc[enumCast(Op::OpCooperativeMatrixMulAddKHR)].operands.push(OperandId, "'B'");
3518        InstructionDesc[enumCast(Op::OpCooperativeMatrixMulAddKHR)].operands.push(OperandId, "'C'");
3519        InstructionDesc[enumCast(Op::OpCooperativeMatrixMulAddKHR)].operands.push(OperandCooperativeMatrixOperands, "'Cooperative Matrix Operands'", true);
3520
3521        InstructionDesc[enumCast(Op::OpCooperativeMatrixLengthKHR)].operands.push(OperandId, "'Type'");
3522
3523        InstructionDesc[enumCast(Op::OpTypeCooperativeVectorNV)].operands.push(OperandId, "'Component Type'");
3524        InstructionDesc[enumCast(Op::OpTypeCooperativeVectorNV)].operands.push(OperandId, "'Components'");
3525
3526        InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulNV)].operands.push(OperandId, "'Input'");
3527        InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulNV)].operands.push(OperandId, "'InputInterpretation'");
3528        InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulNV)].operands.push(OperandId, "'Matrix'");
3529        InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulNV)].operands.push(OperandId, "'MatrixOffset'");
3530        InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulNV)].operands.push(OperandId, "'MatrixInterpretation'");
3531        InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulNV)].operands.push(OperandId, "'M'");
3532        InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulNV)].operands.push(OperandId, "'K'");
3533        InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulNV)].operands.push(OperandId, "'MemoryLayout'");
3534        InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulNV)].operands.push(OperandId, "'Transpose'");
3535        InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulNV)].operands.push(OperandId, "'MatrixStride'", true);
3536        InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulNV)].operands.push(OperandCooperativeMatrixOperands, "'Cooperative Matrix Operands'", true);
3537
3538        InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulAddNV)].operands.push(OperandId, "'Input'");
3539        InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulAddNV)].operands.push(OperandId, "'InputInterpretation'");
3540        InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulAddNV)].operands.push(OperandId, "'Matrix'");
3541        InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulAddNV)].operands.push(OperandId, "'MatrixOffset'");
3542        InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulAddNV)].operands.push(OperandId, "'MatrixInterpretation'");
3543        InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulAddNV)].operands.push(OperandId, "'Bias'");
3544        InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulAddNV)].operands.push(OperandId, "'BiasOffset'");
3545        InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulAddNV)].operands.push(OperandId, "'BiasInterpretation'");
3546        InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulAddNV)].operands.push(OperandId, "'M'");
3547        InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulAddNV)].operands.push(OperandId, "'K'");
3548        InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulAddNV)].operands.push(OperandId, "'MemoryLayout'");
3549        InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulAddNV)].operands.push(OperandId, "'Transpose'");
3550        InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulAddNV)].operands.push(OperandId, "'MatrixStride'", true);
3551        InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulAddNV)].operands.push(OperandCooperativeMatrixOperands, "'Cooperative Matrix Operands'", true);
3552
3553        InstructionDesc[enumCast(Op::OpCooperativeVectorLoadNV)].operands.push(OperandId, "'Pointer'");
3554        InstructionDesc[enumCast(Op::OpCooperativeVectorLoadNV)].operands.push(OperandId, "'Offset'");
3555        InstructionDesc[enumCast(Op::OpCooperativeVectorLoadNV)].operands.push(OperandMemoryAccess, "'Memory Access'");
3556        InstructionDesc[enumCast(Op::OpCooperativeVectorLoadNV)].operands.push(OperandLiteralNumber, "", true);
3557        InstructionDesc[enumCast(Op::OpCooperativeVectorLoadNV)].operands.push(OperandId, "", true);
3558
3559        InstructionDesc[enumCast(Op::OpCooperativeVectorStoreNV)].operands.push(OperandId, "'Pointer'");
3560        InstructionDesc[enumCast(Op::OpCooperativeVectorStoreNV)].operands.push(OperandId, "'Offset'");
3561        InstructionDesc[enumCast(Op::OpCooperativeVectorStoreNV)].operands.push(OperandId, "'Object'");
3562        InstructionDesc[enumCast(Op::OpCooperativeVectorStoreNV)].operands.push(OperandMemoryAccess, "'Memory Access'");
3563        InstructionDesc[enumCast(Op::OpCooperativeVectorStoreNV)].operands.push(OperandLiteralNumber, "", true);
3564        InstructionDesc[enumCast(Op::OpCooperativeVectorStoreNV)].operands.push(OperandId, "", true);
3565
3566        InstructionDesc[enumCast(Op::OpCooperativeVectorOuterProductAccumulateNV)].operands.push(OperandId, "'Pointer'");
3567        InstructionDesc[enumCast(Op::OpCooperativeVectorOuterProductAccumulateNV)].operands.push(OperandId, "'Offset'");
3568        InstructionDesc[enumCast(Op::OpCooperativeVectorOuterProductAccumulateNV)].operands.push(OperandId, "'A'");
3569        InstructionDesc[enumCast(Op::OpCooperativeVectorOuterProductAccumulateNV)].operands.push(OperandId, "'B'");
3570        InstructionDesc[enumCast(Op::OpCooperativeVectorOuterProductAccumulateNV)].operands.push(OperandId, "'MemoryLayout'");
3571        InstructionDesc[enumCast(Op::OpCooperativeVectorOuterProductAccumulateNV)].operands.push(OperandId, "'MatrixInterpretation'");
3572        InstructionDesc[enumCast(Op::OpCooperativeVectorOuterProductAccumulateNV)].operands.push(OperandId, "'MatrixStride'", true);
3573
3574        InstructionDesc[enumCast(Op::OpCooperativeVectorReduceSumAccumulateNV)].operands.push(OperandId, "'Pointer'");
3575        InstructionDesc[enumCast(Op::OpCooperativeVectorReduceSumAccumulateNV)].operands.push(OperandId, "'Offset'");
3576        InstructionDesc[enumCast(Op::OpCooperativeVectorReduceSumAccumulateNV)].operands.push(OperandId, "'V'");
3577
3578        InstructionDesc[enumCast(Op::OpDemoteToHelperInvocationEXT)].setResultAndType(false, false);
3579
3580        InstructionDesc[enumCast(Op::OpReadClockKHR)].operands.push(OperandScope, "'Scope'");
3581
3582        InstructionDesc[enumCast(Op::OpTypeHitObjectNV)].setResultAndType(true, false);
3583
3584        InstructionDesc[enumCast(Op::OpHitObjectGetShaderRecordBufferHandleNV)].operands.push(OperandId, "'HitObject'");
3585        InstructionDesc[enumCast(Op::OpHitObjectGetShaderRecordBufferHandleNV)].setResultAndType(true, true);
3586
3587        InstructionDesc[enumCast(Op::OpReorderThreadWithHintNV)].operands.push(OperandId, "'Hint'");
3588        InstructionDesc[enumCast(Op::OpReorderThreadWithHintNV)].operands.push(OperandId, "'Bits'");
3589        InstructionDesc[enumCast(Op::OpReorderThreadWithHintNV)].setResultAndType(false, false);
3590
3591        InstructionDesc[enumCast(Op::OpReorderThreadWithHitObjectNV)].operands.push(OperandId, "'HitObject'");
3592        InstructionDesc[enumCast(Op::OpReorderThreadWithHitObjectNV)].operands.push(OperandId, "'Hint'");
3593        InstructionDesc[enumCast(Op::OpReorderThreadWithHitObjectNV)].operands.push(OperandId, "'Bits'");
3594        InstructionDesc[enumCast(Op::OpReorderThreadWithHitObjectNV)].setResultAndType(false, false);
3595
3596        InstructionDesc[enumCast(Op::OpHitObjectGetCurrentTimeNV)].operands.push(OperandId, "'HitObject'");
3597        InstructionDesc[enumCast(Op::OpHitObjectGetCurrentTimeNV)].setResultAndType(true, true);
3598
3599        InstructionDesc[enumCast(Op::OpHitObjectGetHitKindNV)].operands.push(OperandId, "'HitObject'");
3600        InstructionDesc[enumCast(Op::OpHitObjectGetHitKindNV)].setResultAndType(true, true);
3601
3602        InstructionDesc[enumCast(Op::OpHitObjectGetPrimitiveIndexNV)].operands.push(OperandId, "'HitObject'");
3603        InstructionDesc[enumCast(Op::OpHitObjectGetPrimitiveIndexNV)].setResultAndType(true, true);
3604
3605        InstructionDesc[enumCast(Op::OpHitObjectGetGeometryIndexNV)].operands.push(OperandId, "'HitObject'");
3606        InstructionDesc[enumCast(Op::OpHitObjectGetGeometryIndexNV)].setResultAndType(true, true);
3607
3608        InstructionDesc[enumCast(Op::OpHitObjectGetInstanceIdNV)].operands.push(OperandId, "'HitObject'");
3609        InstructionDesc[enumCast(Op::OpHitObjectGetInstanceIdNV)].setResultAndType(true, true);
3610
3611        InstructionDesc[enumCast(Op::OpHitObjectGetInstanceCustomIndexNV)].operands.push(OperandId, "'HitObject'");
3612        InstructionDesc[enumCast(Op::OpHitObjectGetInstanceCustomIndexNV)].setResultAndType(true, true);
3613
3614        InstructionDesc[enumCast(Op::OpHitObjectGetObjectRayDirectionNV)].operands.push(OperandId, "'HitObject'");
3615        InstructionDesc[enumCast(Op::OpHitObjectGetObjectRayDirectionNV)].setResultAndType(true, true);
3616
3617        InstructionDesc[enumCast(Op::OpHitObjectGetObjectRayOriginNV)].operands.push(OperandId, "'HitObject'");
3618        InstructionDesc[enumCast(Op::OpHitObjectGetObjectRayOriginNV)].setResultAndType(true, true);
3619
3620        InstructionDesc[enumCast(Op::OpHitObjectGetWorldRayDirectionNV)].operands.push(OperandId, "'HitObject'");
3621        InstructionDesc[enumCast(Op::OpHitObjectGetWorldRayDirectionNV)].setResultAndType(true, true);
3622
3623        InstructionDesc[enumCast(Op::OpHitObjectGetWorldRayOriginNV)].operands.push(OperandId, "'HitObject'");
3624        InstructionDesc[enumCast(Op::OpHitObjectGetWorldRayOriginNV)].setResultAndType(true, true);
3625
3626        InstructionDesc[enumCast(Op::OpHitObjectGetWorldToObjectNV)].operands.push(OperandId, "'HitObject'");
3627        InstructionDesc[enumCast(Op::OpHitObjectGetWorldToObjectNV)].setResultAndType(true, true);
3628
3629        InstructionDesc[enumCast(Op::OpHitObjectGetObjectToWorldNV)].operands.push(OperandId, "'HitObject'");
3630        InstructionDesc[enumCast(Op::OpHitObjectGetObjectToWorldNV)].setResultAndType(true, true);
3631
3632        InstructionDesc[enumCast(Op::OpHitObjectGetRayTMaxNV)].operands.push(OperandId, "'HitObject'");
3633        InstructionDesc[enumCast(Op::OpHitObjectGetRayTMaxNV)].setResultAndType(true, true);
3634
3635        InstructionDesc[enumCast(Op::OpHitObjectGetRayTMinNV)].operands.push(OperandId, "'HitObject'");
3636        InstructionDesc[enumCast(Op::OpHitObjectGetRayTMinNV)].setResultAndType(true, true);
3637
3638        InstructionDesc[enumCast(Op::OpHitObjectGetShaderBindingTableRecordIndexNV)].operands.push(OperandId, "'HitObject'");
3639        InstructionDesc[enumCast(Op::OpHitObjectGetShaderBindingTableRecordIndexNV)].setResultAndType(true, true);
3640
3641        InstructionDesc[enumCast(Op::OpHitObjectIsEmptyNV)].operands.push(OperandId, "'HitObject'");
3642        InstructionDesc[enumCast(Op::OpHitObjectIsEmptyNV)].setResultAndType(true, true);
3643
3644        InstructionDesc[enumCast(Op::OpHitObjectIsHitNV)].operands.push(OperandId, "'HitObject'");
3645        InstructionDesc[enumCast(Op::OpHitObjectIsHitNV)].setResultAndType(true, true);
3646
3647        InstructionDesc[enumCast(Op::OpHitObjectIsMissNV)].operands.push(OperandId, "'HitObject'");
3648        InstructionDesc[enumCast(Op::OpHitObjectIsMissNV)].setResultAndType(true, true);
3649
3650        InstructionDesc[enumCast(Op::OpHitObjectGetAttributesNV)].operands.push(OperandId, "'HitObject'");
3651        InstructionDesc[enumCast(Op::OpHitObjectGetAttributesNV)].operands.push(OperandId, "'HitObjectAttribute'");
3652        InstructionDesc[enumCast(Op::OpHitObjectGetAttributesNV)].setResultAndType(false, false);
3653
3654        InstructionDesc[enumCast(Op::OpHitObjectExecuteShaderNV)].operands.push(OperandId, "'HitObject'");
3655        InstructionDesc[enumCast(Op::OpHitObjectExecuteShaderNV)].operands.push(OperandId, "'Payload'");
3656        InstructionDesc[enumCast(Op::OpHitObjectExecuteShaderNV)].setResultAndType(false, false);
3657
3658        InstructionDesc[enumCast(Op::OpHitObjectRecordHitNV)].operands.push(OperandId, "'HitObject'");
3659        InstructionDesc[enumCast(Op::OpHitObjectRecordHitNV)].operands.push(OperandId, "'Acceleration Structure'");
3660        InstructionDesc[enumCast(Op::OpHitObjectRecordHitNV)].operands.push(OperandId, "'InstanceId'");
3661        InstructionDesc[enumCast(Op::OpHitObjectRecordHitNV)].operands.push(OperandId, "'PrimitiveId'");
3662        InstructionDesc[enumCast(Op::OpHitObjectRecordHitNV)].operands.push(OperandId, "'GeometryIndex'");
3663        InstructionDesc[enumCast(Op::OpHitObjectRecordHitNV)].operands.push(OperandId, "'HitKind'");
3664        InstructionDesc[enumCast(Op::OpHitObjectRecordHitNV)].operands.push(OperandId, "'SBT Record Offset'");
3665        InstructionDesc[enumCast(Op::OpHitObjectRecordHitNV)].operands.push(OperandId, "'SBT Record Stride'");
3666        InstructionDesc[enumCast(Op::OpHitObjectRecordHitNV)].operands.push(OperandId, "'Origin'");
3667        InstructionDesc[enumCast(Op::OpHitObjectRecordHitNV)].operands.push(OperandId, "'TMin'");
3668        InstructionDesc[enumCast(Op::OpHitObjectRecordHitNV)].operands.push(OperandId, "'Direction'");
3669        InstructionDesc[enumCast(Op::OpHitObjectRecordHitNV)].operands.push(OperandId, "'TMax'");
3670        InstructionDesc[enumCast(Op::OpHitObjectRecordHitNV)].operands.push(OperandId, "'HitObject Attribute'");
3671        InstructionDesc[enumCast(Op::OpHitObjectRecordHitNV)].setResultAndType(false, false);
3672
3673        InstructionDesc[enumCast(Op::OpHitObjectRecordHitMotionNV)].operands.push(OperandId, "'HitObject'");
3674        InstructionDesc[enumCast(Op::OpHitObjectRecordHitMotionNV)].operands.push(OperandId, "'Acceleration Structure'");
3675        InstructionDesc[enumCast(Op::OpHitObjectRecordHitMotionNV)].operands.push(OperandId, "'InstanceId'");
3676        InstructionDesc[enumCast(Op::OpHitObjectRecordHitMotionNV)].operands.push(OperandId, "'PrimitiveId'");
3677        InstructionDesc[enumCast(Op::OpHitObjectRecordHitMotionNV)].operands.push(OperandId, "'GeometryIndex'");
3678        InstructionDesc[enumCast(Op::OpHitObjectRecordHitMotionNV)].operands.push(OperandId, "'HitKind'");
3679        InstructionDesc[enumCast(Op::OpHitObjectRecordHitMotionNV)].operands.push(OperandId, "'SBT Record Offset'");
3680        InstructionDesc[enumCast(Op::OpHitObjectRecordHitMotionNV)].operands.push(OperandId, "'SBT Record Stride'");
3681        InstructionDesc[enumCast(Op::OpHitObjectRecordHitMotionNV)].operands.push(OperandId, "'Origin'");
3682        InstructionDesc[enumCast(Op::OpHitObjectRecordHitMotionNV)].operands.push(OperandId, "'TMin'");
3683        InstructionDesc[enumCast(Op::OpHitObjectRecordHitMotionNV)].operands.push(OperandId, "'Direction'");
3684        InstructionDesc[enumCast(Op::OpHitObjectRecordHitMotionNV)].operands.push(OperandId, "'TMax'");
3685        InstructionDesc[enumCast(Op::OpHitObjectRecordHitMotionNV)].operands.push(OperandId, "'Current Time'");
3686        InstructionDesc[enumCast(Op::OpHitObjectRecordHitMotionNV)].operands.push(OperandId, "'HitObject Attribute'");
3687        InstructionDesc[enumCast(Op::OpHitObjectRecordHitMotionNV)].setResultAndType(false, false);
3688
3689        InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexNV)].operands.push(OperandId, "'HitObject'");
3690        InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexNV)].operands.push(OperandId, "'Acceleration Structure'");
3691        InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexNV)].operands.push(OperandId, "'InstanceId'");
3692        InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexNV)].operands.push(OperandId, "'PrimitiveId'");
3693        InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexNV)].operands.push(OperandId, "'GeometryIndex'");
3694        InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexNV)].operands.push(OperandId, "'HitKind'");
3695        InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexNV)].operands.push(OperandId, "'SBT Record Index'");
3696        InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexNV)].operands.push(OperandId, "'Origin'");
3697        InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexNV)].operands.push(OperandId, "'TMin'");
3698        InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexNV)].operands.push(OperandId, "'Direction'");
3699        InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexNV)].operands.push(OperandId, "'TMax'");
3700        InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexNV)].operands.push(OperandId, "'HitObject Attribute'");
3701        InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexNV)].setResultAndType(false, false);
3702
3703        InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexMotionNV)].operands.push(OperandId, "'HitObject'");
3704        InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexMotionNV)].operands.push(OperandId, "'Acceleration Structure'");
3705        InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexMotionNV)].operands.push(OperandId, "'InstanceId'");
3706        InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexMotionNV)].operands.push(OperandId, "'PrimitiveId'");
3707        InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexMotionNV)].operands.push(OperandId, "'GeometryIndex'");
3708        InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexMotionNV)].operands.push(OperandId, "'HitKind'");
3709        InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexMotionNV)].operands.push(OperandId, "'SBT Record Index'");
3710        InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexMotionNV)].operands.push(OperandId, "'Origin'");
3711        InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexMotionNV)].operands.push(OperandId, "'TMin'");
3712        InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexMotionNV)].operands.push(OperandId, "'Direction'");
3713        InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexMotionNV)].operands.push(OperandId, "'TMax'");
3714        InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexMotionNV)].operands.push(OperandId, "'Current Time'");
3715        InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexMotionNV)].operands.push(OperandId, "'HitObject Attribute'");
3716        InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexMotionNV)].setResultAndType(false, false);
3717
3718        InstructionDesc[enumCast(Op::OpHitObjectRecordMissNV)].operands.push(OperandId, "'HitObject'");
3719        InstructionDesc[enumCast(Op::OpHitObjectRecordMissNV)].operands.push(OperandId, "'SBT Index'");
3720        InstructionDesc[enumCast(Op::OpHitObjectRecordMissNV)].operands.push(OperandId, "'Origin'");
3721        InstructionDesc[enumCast(Op::OpHitObjectRecordMissNV)].operands.push(OperandId, "'TMin'");
3722        InstructionDesc[enumCast(Op::OpHitObjectRecordMissNV)].operands.push(OperandId, "'Direction'");
3723        InstructionDesc[enumCast(Op::OpHitObjectRecordMissNV)].operands.push(OperandId, "'TMax'");
3724        InstructionDesc[enumCast(Op::OpHitObjectRecordMissNV)].setResultAndType(false, false);
3725
3726        InstructionDesc[enumCast(Op::OpHitObjectRecordMissMotionNV)].operands.push(OperandId, "'HitObject'");
3727        InstructionDesc[enumCast(Op::OpHitObjectRecordMissMotionNV)].operands.push(OperandId, "'SBT Index'");
3728        InstructionDesc[enumCast(Op::OpHitObjectRecordMissMotionNV)].operands.push(OperandId, "'Origin'");
3729        InstructionDesc[enumCast(Op::OpHitObjectRecordMissMotionNV)].operands.push(OperandId, "'TMin'");
3730        InstructionDesc[enumCast(Op::OpHitObjectRecordMissMotionNV)].operands.push(OperandId, "'Direction'");
3731        InstructionDesc[enumCast(Op::OpHitObjectRecordMissMotionNV)].operands.push(OperandId, "'TMax'");
3732        InstructionDesc[enumCast(Op::OpHitObjectRecordMissMotionNV)].operands.push(OperandId, "'Current Time'");
3733        InstructionDesc[enumCast(Op::OpHitObjectRecordMissMotionNV)].setResultAndType(false, false);
3734
3735        InstructionDesc[enumCast(Op::OpHitObjectRecordEmptyNV)].operands.push(OperandId, "'HitObject'");
3736        InstructionDesc[enumCast(Op::OpHitObjectRecordEmptyNV)].setResultAndType(false, false);
3737
3738        InstructionDesc[enumCast(Op::OpHitObjectTraceRayNV)].operands.push(OperandId, "'HitObject'");
3739        InstructionDesc[enumCast(Op::OpHitObjectTraceRayNV)].operands.push(OperandId, "'Acceleration Structure'");
3740        InstructionDesc[enumCast(Op::OpHitObjectTraceRayNV)].operands.push(OperandId, "'RayFlags'");
3741        InstructionDesc[enumCast(Op::OpHitObjectTraceRayNV)].operands.push(OperandId, "'Cullmask'");
3742        InstructionDesc[enumCast(Op::OpHitObjectTraceRayNV)].operands.push(OperandId, "'SBT Record Offset'");
3743        InstructionDesc[enumCast(Op::OpHitObjectTraceRayNV)].operands.push(OperandId, "'SBT Record Stride'");
3744        InstructionDesc[enumCast(Op::OpHitObjectTraceRayNV)].operands.push(OperandId, "'Miss Index'");
3745        InstructionDesc[enumCast(Op::OpHitObjectTraceRayNV)].operands.push(OperandId, "'Origin'");
3746        InstructionDesc[enumCast(Op::OpHitObjectTraceRayNV)].operands.push(OperandId, "'TMin'");
3747        InstructionDesc[enumCast(Op::OpHitObjectTraceRayNV)].operands.push(OperandId, "'Direction'");
3748        InstructionDesc[enumCast(Op::OpHitObjectTraceRayNV)].operands.push(OperandId, "'TMax'");
3749        InstructionDesc[enumCast(Op::OpHitObjectTraceRayNV)].operands.push(OperandId, "'Payload'");
3750        InstructionDesc[enumCast(Op::OpHitObjectTraceRayNV)].setResultAndType(false, false);
3751
3752        InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionNV)].operands.push(OperandId, "'HitObject'");
3753        InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionNV)].operands.push(OperandId, "'Acceleration Structure'");
3754        InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionNV)].operands.push(OperandId, "'RayFlags'");
3755        InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionNV)].operands.push(OperandId, "'Cullmask'");
3756        InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionNV)].operands.push(OperandId, "'SBT Record Offset'");
3757        InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionNV)].operands.push(OperandId, "'SBT Record Stride'");
3758        InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionNV)].operands.push(OperandId, "'Miss Index'");
3759        InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionNV)].operands.push(OperandId, "'Origin'");
3760        InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionNV)].operands.push(OperandId, "'TMin'");
3761        InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionNV)].operands.push(OperandId, "'Direction'");
3762        InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionNV)].operands.push(OperandId, "'TMax'");
3763        InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionNV)].operands.push(OperandId, "'Time'");
3764        InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionNV)].operands.push(OperandId, "'Payload'");
3765        InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionNV)].setResultAndType(false, false);
3766
3767        InstructionDesc[enumCast(Op::OpHitObjectGetClusterIdNV)].operands.push(OperandId, "'HitObject'");
3768        InstructionDesc[enumCast(Op::OpHitObjectGetClusterIdNV)].setResultAndType(true, true);
3769        InstructionDesc[enumCast(Op::OpHitObjectGetSpherePositionNV)].operands.push(OperandId, "'HitObject'");
3770        InstructionDesc[enumCast(Op::OpHitObjectGetSpherePositionNV)].setResultAndType(true, true);
3771
3772        InstructionDesc[enumCast(Op::OpHitObjectGetSphereRadiusNV)].operands.push(OperandId, "'HitObject'");
3773        InstructionDesc[enumCast(Op::OpHitObjectGetSphereRadiusNV)].setResultAndType(true, true);
3774
3775        InstructionDesc[enumCast(Op::OpHitObjectGetLSSPositionsNV)].operands.push(OperandId, "'HitObject'");
3776        InstructionDesc[enumCast(Op::OpHitObjectGetLSSPositionsNV)].setResultAndType(true, true);
3777
3778        InstructionDesc[enumCast(Op::OpHitObjectGetLSSRadiiNV)].operands.push(OperandId, "'HitObject'");
3779        InstructionDesc[enumCast(Op::OpHitObjectGetLSSRadiiNV)].setResultAndType(true, true);
3780
3781        InstructionDesc[enumCast(Op::OpHitObjectIsSphereHitNV)].operands.push(OperandId, "'HitObject'");
3782        InstructionDesc[enumCast(Op::OpHitObjectIsSphereHitNV)].setResultAndType(true, true);
3783
3784        InstructionDesc[enumCast(Op::OpHitObjectIsLSSHitNV)].operands.push(OperandId, "'HitObject'");
3785        InstructionDesc[enumCast(Op::OpHitObjectIsLSSHitNV)].setResultAndType(true, true);
3786
3787        InstructionDesc[enumCast(Op::OpFetchMicroTriangleVertexBarycentricNV)].operands.push(OperandId, "'Acceleration Structure'");
3788        InstructionDesc[enumCast(Op::OpFetchMicroTriangleVertexBarycentricNV)].operands.push(OperandId, "'Instance ID'");
3789        InstructionDesc[enumCast(Op::OpFetchMicroTriangleVertexBarycentricNV)].operands.push(OperandId, "'Geometry Index'");
3790        InstructionDesc[enumCast(Op::OpFetchMicroTriangleVertexBarycentricNV)].operands.push(OperandId, "'Primitive Index'");
3791        InstructionDesc[enumCast(Op::OpFetchMicroTriangleVertexBarycentricNV)].operands.push(OperandId, "'Barycentrics'");
3792        InstructionDesc[enumCast(Op::OpFetchMicroTriangleVertexBarycentricNV)].setResultAndType(true, true);
3793
3794        InstructionDesc[enumCast(Op::OpFetchMicroTriangleVertexPositionNV)].operands.push(OperandId, "'Acceleration Structure'");
3795        InstructionDesc[enumCast(Op::OpFetchMicroTriangleVertexPositionNV)].operands.push(OperandId, "'Instance ID'");
3796        InstructionDesc[enumCast(Op::OpFetchMicroTriangleVertexPositionNV)].operands.push(OperandId, "'Geometry Index'");
3797        InstructionDesc[enumCast(Op::OpFetchMicroTriangleVertexPositionNV)].operands.push(OperandId, "'Primitive Index'");
3798        InstructionDesc[enumCast(Op::OpFetchMicroTriangleVertexPositionNV)].operands.push(OperandId, "'Barycentrics'");
3799        InstructionDesc[enumCast(Op::OpFetchMicroTriangleVertexPositionNV)].setResultAndType(true, true);
3800
3801        InstructionDesc[enumCast(Op::OpColorAttachmentReadEXT)].operands.push(OperandId, "'Attachment'");
3802        InstructionDesc[enumCast(Op::OpColorAttachmentReadEXT)].operands.push(OperandId, "'Sample'", true);
3803        InstructionDesc[enumCast(Op::OpStencilAttachmentReadEXT)].operands.push(OperandId, "'Sample'", true);
3804        InstructionDesc[enumCast(Op::OpDepthAttachmentReadEXT)].operands.push(OperandId, "'Sample'", true);
3805
3806        InstructionDesc[enumCast(Op::OpImageSampleWeightedQCOM)].operands.push(OperandId, "'Source Texture'");
3807        InstructionDesc[enumCast(Op::OpImageSampleWeightedQCOM)].operands.push(OperandId, "'Texture Coordinates'");
3808        InstructionDesc[enumCast(Op::OpImageSampleWeightedQCOM)].operands.push(OperandId, "'Weights Texture'");
3809        InstructionDesc[enumCast(Op::OpImageSampleWeightedQCOM)].operands.push(OperandImageOperands, "", true);
3810        InstructionDesc[enumCast(Op::OpImageSampleWeightedQCOM)].setResultAndType(true, true);
3811
3812        InstructionDesc[enumCast(Op::OpImageBoxFilterQCOM)].operands.push(OperandId, "'Source Texture'");
3813        InstructionDesc[enumCast(Op::OpImageBoxFilterQCOM)].operands.push(OperandId, "'Texture Coordinates'");
3814        InstructionDesc[enumCast(Op::OpImageBoxFilterQCOM)].operands.push(OperandId, "'Box Size'");
3815        InstructionDesc[enumCast(Op::OpImageBoxFilterQCOM)].operands.push(OperandImageOperands, "", true);
3816        InstructionDesc[enumCast(Op::OpImageBoxFilterQCOM)].setResultAndType(true, true);
3817
3818        InstructionDesc[enumCast(Op::OpImageBlockMatchSADQCOM)].operands.push(OperandId, "'Target Texture'");
3819        InstructionDesc[enumCast(Op::OpImageBlockMatchSADQCOM)].operands.push(OperandId, "'Target Coordinates'");
3820        InstructionDesc[enumCast(Op::OpImageBlockMatchSADQCOM)].operands.push(OperandId, "'Reference Texture'");
3821        InstructionDesc[enumCast(Op::OpImageBlockMatchSADQCOM)].operands.push(OperandId, "'Reference Coordinates'");
3822        InstructionDesc[enumCast(Op::OpImageBlockMatchSADQCOM)].operands.push(OperandId, "'Block Size'");
3823        InstructionDesc[enumCast(Op::OpImageBlockMatchSADQCOM)].operands.push(OperandImageOperands, "", true);
3824        InstructionDesc[enumCast(Op::OpImageBlockMatchSADQCOM)].setResultAndType(true, true);
3825
3826        InstructionDesc[enumCast(Op::OpImageBlockMatchSSDQCOM)].operands.push(OperandId, "'Target Texture'");
3827        InstructionDesc[enumCast(Op::OpImageBlockMatchSSDQCOM)].operands.push(OperandId, "'Target Coordinates'");
3828        InstructionDesc[enumCast(Op::OpImageBlockMatchSSDQCOM)].operands.push(OperandId, "'Reference Texture'");
3829        InstructionDesc[enumCast(Op::OpImageBlockMatchSSDQCOM)].operands.push(OperandId, "'Reference Coordinates'");
3830        InstructionDesc[enumCast(Op::OpImageBlockMatchSSDQCOM)].operands.push(OperandId, "'Block Size'");
3831        InstructionDesc[enumCast(Op::OpImageBlockMatchSSDQCOM)].operands.push(OperandImageOperands, "", true);
3832        InstructionDesc[enumCast(Op::OpImageBlockMatchSSDQCOM)].setResultAndType(true, true);
3833
3834        InstructionDesc[enumCast(Op::OpImageBlockMatchWindowSSDQCOM)].operands.push(OperandId, "'Target Texture'");
3835        InstructionDesc[enumCast(Op::OpImageBlockMatchWindowSSDQCOM)].operands.push(OperandId, "'Target Coordinates'");
3836        InstructionDesc[enumCast(Op::OpImageBlockMatchWindowSSDQCOM)].operands.push(OperandId, "'Reference Texture'");
3837        InstructionDesc[enumCast(Op::OpImageBlockMatchWindowSSDQCOM)].operands.push(OperandId, "'Reference Coordinates'");
3838        InstructionDesc[enumCast(Op::OpImageBlockMatchWindowSSDQCOM)].operands.push(OperandId, "'Block Size'");
3839        InstructionDesc[enumCast(Op::OpImageBlockMatchWindowSSDQCOM)].operands.push(OperandImageOperands, "", true);
3840        InstructionDesc[enumCast(Op::OpImageBlockMatchWindowSSDQCOM)].setResultAndType(true, true);
3841
3842        InstructionDesc[enumCast(Op::OpImageBlockMatchWindowSADQCOM)].operands.push(OperandId, "'Target Texture'");
3843        InstructionDesc[enumCast(Op::OpImageBlockMatchWindowSADQCOM)].operands.push(OperandId, "'Target Coordinates'");
3844        InstructionDesc[enumCast(Op::OpImageBlockMatchWindowSADQCOM)].operands.push(OperandId, "'Reference Texture'");
3845        InstructionDesc[enumCast(Op::OpImageBlockMatchWindowSADQCOM)].operands.push(OperandId, "'Reference Coordinates'");
3846        InstructionDesc[enumCast(Op::OpImageBlockMatchWindowSADQCOM)].operands.push(OperandId, "'Block Size'");
3847        InstructionDesc[enumCast(Op::OpImageBlockMatchWindowSADQCOM)].operands.push(OperandImageOperands, "", true);
3848        InstructionDesc[enumCast(Op::OpImageBlockMatchWindowSADQCOM)].setResultAndType(true, true);
3849
3850        InstructionDesc[enumCast(Op::OpImageBlockMatchGatherSSDQCOM)].operands.push(OperandId, "'Target Texture'");
3851        InstructionDesc[enumCast(Op::OpImageBlockMatchGatherSSDQCOM)].operands.push(OperandId, "'Target Coordinates'");
3852        InstructionDesc[enumCast(Op::OpImageBlockMatchGatherSSDQCOM)].operands.push(OperandId, "'Reference Texture'");
3853        InstructionDesc[enumCast(Op::OpImageBlockMatchGatherSSDQCOM)].operands.push(OperandId, "'Reference Coordinates'");
3854        InstructionDesc[enumCast(Op::OpImageBlockMatchGatherSSDQCOM)].operands.push(OperandId, "'Block Size'");
3855        InstructionDesc[enumCast(Op::OpImageBlockMatchGatherSSDQCOM)].operands.push(OperandImageOperands, "", true);
3856        InstructionDesc[enumCast(Op::OpImageBlockMatchGatherSSDQCOM)].setResultAndType(true, true);
3857
3858        InstructionDesc[enumCast(Op::OpImageBlockMatchGatherSADQCOM)].operands.push(OperandId, "'Target Texture'");
3859        InstructionDesc[enumCast(Op::OpImageBlockMatchGatherSADQCOM)].operands.push(OperandId, "'Target Coordinates'");
3860        InstructionDesc[enumCast(Op::OpImageBlockMatchGatherSADQCOM)].operands.push(OperandId, "'Reference Texture'");
3861        InstructionDesc[enumCast(Op::OpImageBlockMatchGatherSADQCOM)].operands.push(OperandId, "'Reference Coordinates'");
3862        InstructionDesc[enumCast(Op::OpImageBlockMatchGatherSADQCOM)].operands.push(OperandId, "'Block Size'");
3863        InstructionDesc[enumCast(Op::OpImageBlockMatchGatherSADQCOM)].operands.push(OperandImageOperands, "", true);
3864        InstructionDesc[enumCast(Op::OpImageBlockMatchGatherSADQCOM)].setResultAndType(true, true);
3865
3866        InstructionDesc[enumCast(Op::OpImageGatherQCOM)].operands.push(OperandId, "'Sampled Image'");
3867        InstructionDesc[enumCast(Op::OpImageGatherQCOM)].operands.push(OperandId, "'Coordinate'");
3868        InstructionDesc[enumCast(Op::OpImageGatherQCOM)].operands.push(OperandId, "'Component'");
3869        InstructionDesc[enumCast(Op::OpImageGatherQCOM)].operands.push(OperandId, "'Mode'");
3870        InstructionDesc[enumCast(Op::OpImageGatherQCOM)].operands.push(OperandImageOperands, "", true);
3871        InstructionDesc[enumCast(Op::OpImageGatherQCOM)].operands.push(OperandVariableIds, "", true);
3872        InstructionDesc[enumCast(Op::OpImageGatherQCOM)].setResultAndType(true, true);
3873
3874        InstructionDesc[enumCast(Op::OpBitCastArrayQCOM)].operands.push(OperandId, "'source array'");
3875        InstructionDesc[enumCast(Op::OpBitCastArrayQCOM)].setResultAndType(true, true);
3876
3877        InstructionDesc[enumCast(Op::OpCompositeConstructCoopMatQCOM)].operands.push(OperandId, "'source array'");
3878        InstructionDesc[enumCast(Op::OpCompositeConstructCoopMatQCOM)].setResultAndType(true, true);
3879
3880        InstructionDesc[enumCast(Op::OpCompositeExtractCoopMatQCOM)].operands.push(OperandId, "'source cooperative matrix'");
3881        InstructionDesc[enumCast(Op::OpCompositeExtractCoopMatQCOM)].setResultAndType(true, true);
3882
3883        InstructionDesc[enumCast(Op::OpExtractSubArrayQCOM)].operands.push(OperandId, "'source array'");
3884        InstructionDesc[enumCast(Op::OpExtractSubArrayQCOM)].operands.push(OperandId, "'start index'");
3885        InstructionDesc[enumCast(Op::OpExtractSubArrayQCOM)].setResultAndType(true, true);
3886
3887        InstructionDesc[enumCast(Op::OpConstantCompositeReplicateEXT)].operands.push(OperandId, "'Value'");
3888        InstructionDesc[enumCast(Op::OpSpecConstantCompositeReplicateEXT)].operands.push(OperandId, "'Value'");
3889        InstructionDesc[enumCast(Op::OpCompositeConstructReplicateEXT)].operands.push(OperandId, "'Value'");
3890
3891        InstructionDesc[enumCast(Op::OpCooperativeMatrixConvertNV)].operands.push(OperandId, "'Value'");
3892
3893        InstructionDesc[enumCast(Op::OpCooperativeMatrixTransposeNV)].operands.push(OperandId, "'Matrix'");
3894
3895        InstructionDesc[enumCast(Op::OpCooperativeMatrixReduceNV)].operands.push(OperandId, "'Matrix'");
3896        InstructionDesc[enumCast(Op::OpCooperativeMatrixReduceNV)].operands.push(OperandLiteralNumber, "'ReduceMask'");
3897        InstructionDesc[enumCast(Op::OpCooperativeMatrixReduceNV)].operands.push(OperandId, "'CombineFunc'");
3898
3899        InstructionDesc[enumCast(Op::OpCooperativeMatrixPerElementOpNV)].operands.push(OperandId, "'Matrix'");
3900        InstructionDesc[enumCast(Op::OpCooperativeMatrixPerElementOpNV)].operands.push(OperandId, "'Operation'");
3901        InstructionDesc[enumCast(Op::OpCooperativeMatrixPerElementOpNV)].operands.push(OperandVariableIds, "'Operands'");
3902
3903        InstructionDesc[enumCast(Op::OpCooperativeMatrixLoadTensorNV)].operands.push(OperandId, "'Pointer'");
3904        InstructionDesc[enumCast(Op::OpCooperativeMatrixLoadTensorNV)].operands.push(OperandId, "'Object'");
3905        InstructionDesc[enumCast(Op::OpCooperativeMatrixLoadTensorNV)].operands.push(OperandId, "'TensorLayout'");
3906        InstructionDesc[enumCast(Op::OpCooperativeMatrixLoadTensorNV)].operands.push(OperandMemoryAccess, "'Memory Access'");
3907        InstructionDesc[enumCast(Op::OpCooperativeMatrixLoadTensorNV)].operands.push(OperandTensorAddressingOperands, "'Tensor Addressing Operands'");
3908
3909        InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreTensorNV)].operands.push(OperandId, "'Pointer'");
3910        InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreTensorNV)].operands.push(OperandId, "'Object'");
3911        InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreTensorNV)].operands.push(OperandId, "'TensorLayout'");
3912        InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreTensorNV)].operands.push(OperandMemoryAccess, "'Memory Access'");
3913        InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreTensorNV)].operands.push(OperandTensorAddressingOperands, "'Tensor Addressing Operands'");
3914
3915        InstructionDesc[enumCast(Op::OpCooperativeMatrixReduceNV)].operands.push(OperandId, "'Matrix'");
3916        InstructionDesc[enumCast(Op::OpCooperativeMatrixReduceNV)].operands.push(OperandLiteralNumber, "'ReduceMask'");
3917
3918        InstructionDesc[enumCast(Op::OpTypeTensorLayoutNV)].operands.push(OperandId, "'Dim'");
3919        InstructionDesc[enumCast(Op::OpTypeTensorLayoutNV)].operands.push(OperandId, "'ClampMode'");
3920
3921        InstructionDesc[enumCast(Op::OpTypeTensorViewNV)].operands.push(OperandId, "'Dim'");
3922        InstructionDesc[enumCast(Op::OpTypeTensorViewNV)].operands.push(OperandId, "'HasDimensions'");
3923        InstructionDesc[enumCast(Op::OpTypeTensorViewNV)].operands.push(OperandVariableIds, "'p'");
3924
3925        InstructionDesc[enumCast(Op::OpTensorLayoutSetBlockSizeNV)].operands.push(OperandId, "'TensorLayout'");
3926        InstructionDesc[enumCast(Op::OpTensorLayoutSetBlockSizeNV)].operands.push(OperandVariableIds, "'BlockSize'");
3927
3928        InstructionDesc[enumCast(Op::OpTensorLayoutSetDimensionNV)].operands.push(OperandId, "'TensorLayout'");
3929        InstructionDesc[enumCast(Op::OpTensorLayoutSetDimensionNV)].operands.push(OperandVariableIds, "'Dim'");
3930
3931        InstructionDesc[enumCast(Op::OpTensorLayoutSetStrideNV)].operands.push(OperandId, "'TensorLayout'");
3932        InstructionDesc[enumCast(Op::OpTensorLayoutSetStrideNV)].operands.push(OperandVariableIds, "'Stride'");
3933
3934        InstructionDesc[enumCast(Op::OpTensorLayoutSliceNV)].operands.push(OperandId, "'TensorLayout'");
3935        InstructionDesc[enumCast(Op::OpTensorLayoutSliceNV)].operands.push(OperandVariableIds, "'Operands'");
3936
3937        InstructionDesc[enumCast(Op::OpTensorLayoutSetClampValueNV)].operands.push(OperandId, "'TensorLayout'");
3938        InstructionDesc[enumCast(Op::OpTensorLayoutSetClampValueNV)].operands.push(OperandId, "'Value'");
3939
3940        InstructionDesc[enumCast(Op::OpTensorViewSetDimensionNV)].operands.push(OperandId, "'TensorView'");
3941        InstructionDesc[enumCast(Op::OpTensorViewSetDimensionNV)].operands.push(OperandVariableIds, "'Dim'");
3942
3943        InstructionDesc[enumCast(Op::OpTensorViewSetStrideNV)].operands.push(OperandId, "'TensorView'");
3944        InstructionDesc[enumCast(Op::OpTensorViewSetStrideNV)].operands.push(OperandVariableIds, "'Stride'");
3945
3946        InstructionDesc[enumCast(Op::OpTensorViewSetClipNV)].operands.push(OperandId, "'TensorView'");
3947        InstructionDesc[enumCast(Op::OpTensorViewSetClipNV)].operands.push(OperandId, "'ClipRowOffset'");
3948        InstructionDesc[enumCast(Op::OpTensorViewSetClipNV)].operands.push(OperandId, "'ClipRowSpan'");
3949        InstructionDesc[enumCast(Op::OpTensorViewSetClipNV)].operands.push(OperandId, "'ClipColOffset'");
3950        InstructionDesc[enumCast(Op::OpTensorViewSetClipNV)].operands.push(OperandId, "'ClipColSpan'");
3951
3952        InstructionDesc[enumCast(Op::OpSDotKHR)].operands.push(OperandId, "'Vector1'");
3953        InstructionDesc[enumCast(Op::OpSDotKHR)].operands.push(OperandId, "'Vector2'");
3954        InstructionDesc[enumCast(Op::OpSDotKHR)].operands.push(OperandLiteralNumber, "'PackedVectorFormat'");
3955
3956        InstructionDesc[enumCast(Op::OpUDotKHR)].operands.push(OperandId, "'Vector1'");
3957        InstructionDesc[enumCast(Op::OpUDotKHR)].operands.push(OperandId, "'Vector2'");
3958        InstructionDesc[enumCast(Op::OpUDotKHR)].operands.push(OperandLiteralNumber, "'PackedVectorFormat'");
3959
3960        InstructionDesc[enumCast(Op::OpSUDotKHR)].operands.push(OperandId, "'Vector1'");
3961        InstructionDesc[enumCast(Op::OpSUDotKHR)].operands.push(OperandId, "'Vector2'");
3962        InstructionDesc[enumCast(Op::OpSUDotKHR)].operands.push(OperandLiteralNumber, "'PackedVectorFormat'");
3963
3964        InstructionDesc[enumCast(Op::OpSDotAccSatKHR)].operands.push(OperandId, "'Vector1'");
3965        InstructionDesc[enumCast(Op::OpSDotAccSatKHR)].operands.push(OperandId, "'Vector2'");
3966        InstructionDesc[enumCast(Op::OpSDotAccSatKHR)].operands.push(OperandId, "'Accumulator'");
3967        InstructionDesc[enumCast(Op::OpSDotAccSatKHR)].operands.push(OperandLiteralNumber, "'PackedVectorFormat'");
3968
3969        InstructionDesc[enumCast(Op::OpUDotAccSatKHR)].operands.push(OperandId, "'Vector1'");
3970        InstructionDesc[enumCast(Op::OpUDotAccSatKHR)].operands.push(OperandId, "'Vector2'");
3971        InstructionDesc[enumCast(Op::OpUDotAccSatKHR)].operands.push(OperandId, "'Accumulator'");
3972        InstructionDesc[enumCast(Op::OpUDotAccSatKHR)].operands.push(OperandLiteralNumber, "'PackedVectorFormat'");
3973
3974        InstructionDesc[enumCast(Op::OpSUDotAccSatKHR)].operands.push(OperandId, "'Vector1'");
3975        InstructionDesc[enumCast(Op::OpSUDotAccSatKHR)].operands.push(OperandId, "'Vector2'");
3976        InstructionDesc[enumCast(Op::OpSUDotAccSatKHR)].operands.push(OperandId, "'Accumulator'");
3977        InstructionDesc[enumCast(Op::OpSUDotAccSatKHR)].operands.push(OperandLiteralNumber, "'PackedVectorFormat'");
3978
3979        InstructionDesc[enumCast(Op::OpTypeTensorARM)].operands.push(OperandId, "'Element Type'");
3980        InstructionDesc[enumCast(Op::OpTypeTensorARM)].operands.push(OperandId, "'Rank'");
3981
3982        InstructionDesc[enumCast(Op::OpTensorReadARM)].operands.push(OperandId, "'Tensor'");
3983        InstructionDesc[enumCast(Op::OpTensorReadARM)].operands.push(OperandId, "'Coordinate'");
3984        InstructionDesc[enumCast(Op::OpTensorReadARM)].operands.push(OperandLiteralNumber, "'Tensor Operand'", true);
3985        InstructionDesc[enumCast(Op::OpTensorReadARM)].operands.push(OperandVariableIds, "'Tensor Operands'");
3986
3987        InstructionDesc[enumCast(Op::OpTensorWriteARM)].operands.push(OperandId, "'Tensor'");
3988        InstructionDesc[enumCast(Op::OpTensorWriteARM)].operands.push(OperandId, "'Coordinate'");
3989        InstructionDesc[enumCast(Op::OpTensorWriteARM)].operands.push(OperandId, "'Object'");
3990        InstructionDesc[enumCast(Op::OpTensorWriteARM)].operands.push(OperandLiteralNumber, "'Tensor Operand'", true);
3991        InstructionDesc[enumCast(Op::OpTensorWriteARM)].operands.push(OperandVariableIds, "'Tensor Operands'");
3992
3993        InstructionDesc[enumCast(Op::OpTensorQuerySizeARM)].operands.push(OperandId, "'Tensor'");
3994        InstructionDesc[enumCast(Op::OpTensorQuerySizeARM)].operands.push(OperandId, "'Dimension'", true);
3995
3996        InstructionDesc[enumCast(Op::OpTypeHitObjectEXT)].setResultAndType(true, false);
3997
3998        InstructionDesc[enumCast(Op::OpHitObjectGetShaderRecordBufferHandleNV)].operands.push(OperandId, "'HitObject'");
3999        InstructionDesc[enumCast(Op::OpHitObjectGetShaderRecordBufferHandleNV)].setResultAndType(true, true);
4000
4001        InstructionDesc[enumCast(Op::OpHitObjectGetShaderRecordBufferHandleEXT)].operands.push(OperandId, "'HitObject'");
4002        InstructionDesc[enumCast(Op::OpHitObjectGetShaderRecordBufferHandleEXT)].setResultAndType(true, true);
4003
4004        InstructionDesc[enumCast(Op::OpReorderThreadWithHintEXT)].operands.push(OperandId, "'Hint'");
4005        InstructionDesc[enumCast(Op::OpReorderThreadWithHintEXT)].operands.push(OperandId, "'Bits'");
4006        InstructionDesc[enumCast(Op::OpReorderThreadWithHintEXT)].setResultAndType(false, false);
4007
4008        InstructionDesc[enumCast(Op::OpReorderThreadWithHitObjectEXT)].operands.push(OperandId, "'HitObject'");
4009        InstructionDesc[enumCast(Op::OpReorderThreadWithHitObjectEXT)].operands.push(OperandId, "'Hint'");
4010        InstructionDesc[enumCast(Op::OpReorderThreadWithHitObjectEXT)].operands.push(OperandId, "'Bits'");
4011        InstructionDesc[enumCast(Op::OpReorderThreadWithHitObjectEXT)].setResultAndType(false, false);
4012
4013        InstructionDesc[enumCast(Op::OpHitObjectGetCurrentTimeEXT)].operands.push(OperandId, "'HitObject'");
4014        InstructionDesc[enumCast(Op::OpHitObjectGetCurrentTimeEXT)].setResultAndType(true, true);
4015
4016        InstructionDesc[enumCast(Op::OpHitObjectGetHitKindEXT)].operands.push(OperandId, "'HitObject'");
4017        InstructionDesc[enumCast(Op::OpHitObjectGetHitKindEXT)].setResultAndType(true, true);
4018
4019        InstructionDesc[enumCast(Op::OpHitObjectGetPrimitiveIndexEXT)].operands.push(OperandId, "'HitObject'");
4020        InstructionDesc[enumCast(Op::OpHitObjectGetPrimitiveIndexEXT)].setResultAndType(true, true);
4021
4022        InstructionDesc[enumCast(Op::OpHitObjectGetGeometryIndexEXT)].operands.push(OperandId, "'HitObject'");
4023        InstructionDesc[enumCast(Op::OpHitObjectGetGeometryIndexEXT)].setResultAndType(true, true);
4024
4025        InstructionDesc[enumCast(Op::OpHitObjectGetInstanceIdEXT)].operands.push(OperandId, "'HitObject'");
4026        InstructionDesc[enumCast(Op::OpHitObjectGetInstanceIdEXT)].setResultAndType(true, true);
4027
4028        InstructionDesc[enumCast(Op::OpHitObjectGetInstanceCustomIndexEXT)].operands.push(OperandId, "'HitObject'");
4029        InstructionDesc[enumCast(Op::OpHitObjectGetInstanceCustomIndexEXT)].setResultAndType(true, true);
4030
4031        InstructionDesc[enumCast(Op::OpHitObjectGetObjectRayDirectionEXT)].operands.push(OperandId, "'HitObject'");
4032        InstructionDesc[enumCast(Op::OpHitObjectGetObjectRayDirectionEXT)].setResultAndType(true, true);
4033
4034        InstructionDesc[enumCast(Op::OpHitObjectGetObjectRayOriginEXT)].operands.push(OperandId, "'HitObject'");
4035        InstructionDesc[enumCast(Op::OpHitObjectGetObjectRayOriginEXT)].setResultAndType(true, true);
4036
4037        InstructionDesc[enumCast(Op::OpHitObjectGetWorldRayDirectionEXT)].operands.push(OperandId, "'HitObject'");
4038        InstructionDesc[enumCast(Op::OpHitObjectGetWorldRayDirectionEXT)].setResultAndType(true, true);
4039
4040        InstructionDesc[enumCast(Op::OpHitObjectGetWorldRayOriginEXT)].operands.push(OperandId, "'HitObject'");
4041        InstructionDesc[enumCast(Op::OpHitObjectGetWorldRayOriginEXT)].setResultAndType(true, true);
4042
4043        InstructionDesc[enumCast(Op::OpHitObjectGetWorldToObjectEXT)].operands.push(OperandId, "'HitObject'");
4044        InstructionDesc[enumCast(Op::OpHitObjectGetWorldToObjectEXT)].setResultAndType(true, true);
4045
4046        InstructionDesc[enumCast(Op::OpHitObjectGetObjectToWorldEXT)].operands.push(OperandId, "'HitObject'");
4047        InstructionDesc[enumCast(Op::OpHitObjectGetObjectToWorldEXT)].setResultAndType(true, true);
4048
4049        InstructionDesc[enumCast(Op::OpHitObjectGetRayTMaxEXT)].operands.push(OperandId, "'HitObject'");
4050        InstructionDesc[enumCast(Op::OpHitObjectGetRayTMaxEXT)].setResultAndType(true, true);
4051
4052        InstructionDesc[enumCast(Op::OpHitObjectGetRayTMinEXT)].operands.push(OperandId, "'HitObject'");
4053        InstructionDesc[enumCast(Op::OpHitObjectGetRayTMinEXT)].setResultAndType(true, true);
4054
4055        InstructionDesc[enumCast(Op::OpHitObjectGetRayFlagsEXT)].operands.push(OperandId, "'HitObject'");
4056        InstructionDesc[enumCast(Op::OpHitObjectGetRayFlagsEXT)].setResultAndType(true, true);
4057
4058        InstructionDesc[enumCast(Op::OpHitObjectGetShaderBindingTableRecordIndexEXT)].operands.push(OperandId, "'HitObject'");
4059        InstructionDesc[enumCast(Op::OpHitObjectGetShaderBindingTableRecordIndexEXT)].setResultAndType(true, true);
4060
4061        InstructionDesc[enumCast(Op::OpHitObjectIsEmptyEXT)].operands.push(OperandId, "'HitObject'");
4062        InstructionDesc[enumCast(Op::OpHitObjectIsEmptyEXT)].setResultAndType(true, true);
4063
4064        InstructionDesc[enumCast(Op::OpHitObjectIsHitEXT)].operands.push(OperandId, "'HitObject'");
4065        InstructionDesc[enumCast(Op::OpHitObjectIsHitEXT)].setResultAndType(true, true);
4066
4067        InstructionDesc[enumCast(Op::OpHitObjectIsMissEXT)].operands.push(OperandId, "'HitObject'");
4068        InstructionDesc[enumCast(Op::OpHitObjectIsMissEXT)].setResultAndType(true, true);
4069
4070        InstructionDesc[enumCast(Op::OpHitObjectGetAttributesEXT)].operands.push(OperandId, "'HitObject'");
4071        InstructionDesc[enumCast(Op::OpHitObjectGetAttributesEXT)].operands.push(OperandId, "'HitObjectAttribute'");
4072        InstructionDesc[enumCast(Op::OpHitObjectGetAttributesEXT)].setResultAndType(false, false);
4073
4074        InstructionDesc[enumCast(Op::OpHitObjectExecuteShaderEXT)].operands.push(OperandId, "'HitObject'");
4075        InstructionDesc[enumCast(Op::OpHitObjectExecuteShaderEXT)].operands.push(OperandId, "'Payload'");
4076        InstructionDesc[enumCast(Op::OpHitObjectExecuteShaderEXT)].setResultAndType(false, false);
4077
4078        InstructionDesc[enumCast(Op::OpHitObjectRecordMissEXT)].operands.push(OperandId, "'HitObject'");
4079        InstructionDesc[enumCast(Op::OpHitObjectRecordMissEXT)].operands.push(OperandId, "'RayFlags'");
4080        InstructionDesc[enumCast(Op::OpHitObjectRecordMissEXT)].operands.push(OperandId, "'SBT Index'");
4081        InstructionDesc[enumCast(Op::OpHitObjectRecordMissEXT)].operands.push(OperandId, "'Origin'");
4082        InstructionDesc[enumCast(Op::OpHitObjectRecordMissEXT)].operands.push(OperandId, "'TMin'");
4083        InstructionDesc[enumCast(Op::OpHitObjectRecordMissEXT)].operands.push(OperandId, "'Direction'");
4084        InstructionDesc[enumCast(Op::OpHitObjectRecordMissEXT)].operands.push(OperandId, "'TMax'");
4085        InstructionDesc[enumCast(Op::OpHitObjectRecordMissEXT)].setResultAndType(false, false);
4086
4087        InstructionDesc[enumCast(Op::OpHitObjectRecordMissMotionEXT)].operands.push(OperandId, "'HitObject'");
4088        InstructionDesc[enumCast(Op::OpHitObjectRecordMissMotionEXT)].operands.push(OperandId, "'RayFlags'");
4089        InstructionDesc[enumCast(Op::OpHitObjectRecordMissMotionEXT)].operands.push(OperandId, "'SBT Index'");
4090        InstructionDesc[enumCast(Op::OpHitObjectRecordMissMotionEXT)].operands.push(OperandId, "'Origin'");
4091        InstructionDesc[enumCast(Op::OpHitObjectRecordMissMotionEXT)].operands.push(OperandId, "'TMin'");
4092        InstructionDesc[enumCast(Op::OpHitObjectRecordMissMotionEXT)].operands.push(OperandId, "'Direction'");
4093        InstructionDesc[enumCast(Op::OpHitObjectRecordMissMotionEXT)].operands.push(OperandId, "'TMax'");
4094        InstructionDesc[enumCast(Op::OpHitObjectRecordMissMotionEXT)].operands.push(OperandId, "'Current Time'");
4095        InstructionDesc[enumCast(Op::OpHitObjectRecordMissMotionEXT)].setResultAndType(false, false);
4096
4097        InstructionDesc[enumCast(Op::OpHitObjectRecordEmptyEXT)].operands.push(OperandId, "'HitObject'");
4098        InstructionDesc[enumCast(Op::OpHitObjectRecordEmptyEXT)].setResultAndType(false, false);
4099
4100        InstructionDesc[enumCast(Op::OpHitObjectTraceRayEXT)].operands.push(OperandId, "'HitObject'");
4101        InstructionDesc[enumCast(Op::OpHitObjectTraceRayEXT)].operands.push(OperandId, "'Acceleration Structure'");
4102        InstructionDesc[enumCast(Op::OpHitObjectTraceRayEXT)].operands.push(OperandId, "'RayFlags'");
4103        InstructionDesc[enumCast(Op::OpHitObjectTraceRayEXT)].operands.push(OperandId, "'Cullmask'");
4104        InstructionDesc[enumCast(Op::OpHitObjectTraceRayEXT)].operands.push(OperandId, "'SBT Record Offset'");
4105        InstructionDesc[enumCast(Op::OpHitObjectTraceRayEXT)].operands.push(OperandId, "'SBT Record Stride'");
4106        InstructionDesc[enumCast(Op::OpHitObjectTraceRayEXT)].operands.push(OperandId, "'Miss Index'");
4107        InstructionDesc[enumCast(Op::OpHitObjectTraceRayEXT)].operands.push(OperandId, "'Origin'");
4108        InstructionDesc[enumCast(Op::OpHitObjectTraceRayEXT)].operands.push(OperandId, "'TMin'");
4109        InstructionDesc[enumCast(Op::OpHitObjectTraceRayEXT)].operands.push(OperandId, "'Direction'");
4110        InstructionDesc[enumCast(Op::OpHitObjectTraceRayEXT)].operands.push(OperandId, "'TMax'");
4111        InstructionDesc[enumCast(Op::OpHitObjectTraceRayEXT)].operands.push(OperandId, "'Payload'");
4112        InstructionDesc[enumCast(Op::OpHitObjectTraceRayEXT)].setResultAndType(false, false);
4113
4114        InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionEXT)].operands.push(OperandId, "'HitObject'");
4115        InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionEXT)].operands.push(OperandId, "'Acceleration Structure'");
4116        InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionEXT)].operands.push(OperandId, "'RayFlags'");
4117        InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionEXT)].operands.push(OperandId, "'Cullmask'");
4118        InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionEXT)].operands.push(OperandId, "'SBT Record Offset'");
4119        InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionEXT)].operands.push(OperandId, "'SBT Record Stride'");
4120        InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionEXT)].operands.push(OperandId, "'Miss Index'");
4121        InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionEXT)].operands.push(OperandId, "'Origin'");
4122        InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionEXT)].operands.push(OperandId, "'TMin'");
4123        InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionEXT)].operands.push(OperandId, "'Direction'");
4124        InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionEXT)].operands.push(OperandId, "'TMax'");
4125        InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionEXT)].operands.push(OperandId, "'Time'");
4126        InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionEXT)].operands.push(OperandId, "'Payload'");
4127        InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionEXT)].setResultAndType(false, false);
4128
4129        InstructionDesc[enumCast(Op::OpHitObjectSetShaderBindingTableRecordIndexEXT)].operands.push(OperandId, "'HitObject'");
4130        InstructionDesc[enumCast(Op::OpHitObjectSetShaderBindingTableRecordIndexEXT)].operands.push(OperandId, "'SBT Record Index'");
4131        InstructionDesc[enumCast(Op::OpHitObjectSetShaderBindingTableRecordIndexEXT)].setResultAndType(false, false);
4132
4133        InstructionDesc[enumCast(Op::OpHitObjectReorderExecuteShaderEXT)].operands.push(OperandId, "'HitObject'");
4134        InstructionDesc[enumCast(Op::OpHitObjectReorderExecuteShaderEXT)].operands.push(OperandId, "'Payload'");
4135        InstructionDesc[enumCast(Op::OpHitObjectReorderExecuteShaderEXT)].operands.push(OperandId, "'Hint'");
4136        InstructionDesc[enumCast(Op::OpHitObjectReorderExecuteShaderEXT)].operands.push(OperandId, "'Bits'");
4137        InstructionDesc[enumCast(Op::OpHitObjectReorderExecuteShaderEXT)].setResultAndType(false, false);
4138
4139        InstructionDesc[enumCast(Op::OpHitObjectTraceReorderExecuteEXT)].operands.push(OperandId, "'HitObject'");
4140        InstructionDesc[enumCast(Op::OpHitObjectTraceReorderExecuteEXT)].operands.push(OperandId, "'Acceleration Structure'");
4141        InstructionDesc[enumCast(Op::OpHitObjectTraceReorderExecuteEXT)].operands.push(OperandId, "'RayFlags'");
4142        InstructionDesc[enumCast(Op::OpHitObjectTraceReorderExecuteEXT)].operands.push(OperandId, "'Cullmask'");
4143        InstructionDesc[enumCast(Op::OpHitObjectTraceReorderExecuteEXT)].operands.push(OperandId, "'SBT Record Offset'");
4144        InstructionDesc[enumCast(Op::OpHitObjectTraceReorderExecuteEXT)].operands.push(OperandId, "'SBT Record Stride'");
4145        InstructionDesc[enumCast(Op::OpHitObjectTraceReorderExecuteEXT)].operands.push(OperandId, "'Miss Index'");
4146        InstructionDesc[enumCast(Op::OpHitObjectTraceReorderExecuteEXT)].operands.push(OperandId, "'Origin'");
4147        InstructionDesc[enumCast(Op::OpHitObjectTraceReorderExecuteEXT)].operands.push(OperandId, "'TMin'");
4148        InstructionDesc[enumCast(Op::OpHitObjectTraceReorderExecuteEXT)].operands.push(OperandId, "'Direction'");
4149        InstructionDesc[enumCast(Op::OpHitObjectTraceReorderExecuteEXT)].operands.push(OperandId, "'TMax'");
4150        InstructionDesc[enumCast(Op::OpHitObjectTraceReorderExecuteEXT)].operands.push(OperandId, "'Payload'");
4151        InstructionDesc[enumCast(Op::OpHitObjectTraceReorderExecuteEXT)].operands.push(OperandId, "'Hint'");
4152        InstructionDesc[enumCast(Op::OpHitObjectTraceReorderExecuteEXT)].operands.push(OperandId, "'Bits'");
4153        InstructionDesc[enumCast(Op::OpHitObjectTraceReorderExecuteEXT)].setResultAndType(false, false);
4154
4155        InstructionDesc[enumCast(Op::OpHitObjectTraceMotionReorderExecuteEXT)].operands.push(OperandId, "'HitObject'");
4156        InstructionDesc[enumCast(Op::OpHitObjectTraceMotionReorderExecuteEXT)].operands.push(OperandId, "'Acceleration Structure'");
4157        InstructionDesc[enumCast(Op::OpHitObjectTraceMotionReorderExecuteEXT)].operands.push(OperandId, "'RayFlags'");
4158        InstructionDesc[enumCast(Op::OpHitObjectTraceMotionReorderExecuteEXT)].operands.push(OperandId, "'Cullmask'");
4159        InstructionDesc[enumCast(Op::OpHitObjectTraceMotionReorderExecuteEXT)].operands.push(OperandId, "'SBT Record Offset'");
4160        InstructionDesc[enumCast(Op::OpHitObjectTraceMotionReorderExecuteEXT)].operands.push(OperandId, "'SBT Record Stride'");
4161        InstructionDesc[enumCast(Op::OpHitObjectTraceMotionReorderExecuteEXT)].operands.push(OperandId, "'Miss Index'");
4162        InstructionDesc[enumCast(Op::OpHitObjectTraceMotionReorderExecuteEXT)].operands.push(OperandId, "'Origin'");
4163        InstructionDesc[enumCast(Op::OpHitObjectTraceMotionReorderExecuteEXT)].operands.push(OperandId, "'TMin'");
4164        InstructionDesc[enumCast(Op::OpHitObjectTraceMotionReorderExecuteEXT)].operands.push(OperandId, "'Direction'");
4165        InstructionDesc[enumCast(Op::OpHitObjectTraceMotionReorderExecuteEXT)].operands.push(OperandId, "'TMax'");
4166        InstructionDesc[enumCast(Op::OpHitObjectTraceMotionReorderExecuteEXT)].operands.push(OperandId, "'Time'");
4167        InstructionDesc[enumCast(Op::OpHitObjectTraceMotionReorderExecuteEXT)].operands.push(OperandId, "'Payload'");
4168        InstructionDesc[enumCast(Op::OpHitObjectTraceMotionReorderExecuteEXT)].operands.push(OperandId, "'Hint'");
4169        InstructionDesc[enumCast(Op::OpHitObjectTraceMotionReorderExecuteEXT)].operands.push(OperandId, "'Bits'");
4170        InstructionDesc[enumCast(Op::OpHitObjectTraceMotionReorderExecuteEXT)].setResultAndType(false, false);
4171
4172        InstructionDesc[enumCast(Op::OpHitObjectRecordFromQueryEXT)].operands.push(OperandId, "'HitObject'");
4173        InstructionDesc[enumCast(Op::OpHitObjectRecordFromQueryEXT)].operands.push(OperandId, "'RayQuery'");
4174        InstructionDesc[enumCast(Op::OpHitObjectRecordFromQueryEXT)].operands.push(OperandId, "'SBT Record Index'");
4175        InstructionDesc[enumCast(Op::OpHitObjectRecordFromQueryEXT)].operands.push(OperandId, "'HitObjectAttribute'");
4176        InstructionDesc[enumCast(Op::OpHitObjectRecordFromQueryEXT)].operands.push(OperandId, "'Hit Kind'");
4177        InstructionDesc[enumCast(Op::OpHitObjectRecordFromQueryEXT)].setResultAndType(false, false);
4178
4179        InstructionDesc[enumCast(Op::OpHitObjectGetIntersectionTriangleVertexPositionsEXT)].operands.push(OperandId, "'HitObject'");
4180        InstructionDesc[enumCast(Op::OpHitObjectGetIntersectionTriangleVertexPositionsEXT)].setResultAndType(true, true);
4181
4182        InstructionDesc[enumCast(Op::OpBitcastExtractEXT)].operands.push(OperandId, "'Base'");
4183        InstructionDesc[enumCast(Op::OpBitcastExtractEXT)].operands.push(OperandId, "'Offset'");
4184
4185        InstructionDesc[enumCast(Op::OpControlBarrierArriveEXT)].operands.push(OperandScope, "'Execution'");
4186        InstructionDesc[enumCast(Op::OpControlBarrierArriveEXT)].operands.push(OperandScope, "'Memory'");
4187        InstructionDesc[enumCast(Op::OpControlBarrierArriveEXT)].operands.push(OperandMemorySemantics, "'Semantics'");
4188
4189        InstructionDesc[enumCast(Op::OpControlBarrierWaitEXT)].operands.push(OperandScope, "'Execution'");
4190        InstructionDesc[enumCast(Op::OpControlBarrierWaitEXT)].operands.push(OperandScope, "'Memory'");
4191        InstructionDesc[enumCast(Op::OpControlBarrierWaitEXT)].operands.push(OperandMemorySemantics, "'Semantics'");
4192    });
4193}
4194
4195} // end spv namespace