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