yum-mirror/glslang

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

ChowAdd support for SPV_KHR_constant_data and SPV_KHR_abort08f27157

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