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
51namespace 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
63namespace 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
78const 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
92const 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
118const 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
131const 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
143const int ExecutionModeCeiling = 40;
144
145const 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
234const 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
266const int DecorationCeiling = 45;
267
268const 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
344const 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
476const 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
492const 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
505const 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
515const 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
578const 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
606const 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
633const int ImageOperandsCeiling = 14;
634
635const 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
659const 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
672const 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
684const 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
694const 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
710const 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
721const int SelectControlCeiling = 2;
722
723const 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
734const int LoopControlCeiling = LoopControlPartialCountShift + 1;
735
736const 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
754const int FunctionControlCeiling = 4;
755
756const 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
769const 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
790const int MemoryAccessCeiling = 6;
791
792const 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
806const int CooperativeMatrixOperandsCeiling = 6;
807
808const 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
821const char* ScopeString(int mem)
822{
823 switch (mem) {
824 case 0: return "CrossDevice";
825 case 1: return "Device";
826 case 2: return "Workgroup";
827 case 3: return "Subgroup";
828 case 4: return "Invocation";
829
830 default: return "Bad";
831 }
832}
833
834const char* GroupOperationString(int gop)
835{
836
837 switch (gop)
838 {
839 case GroupOperationReduce: return "Reduce";
840 case GroupOperationInclusiveScan: return "InclusiveScan";
841 case GroupOperationExclusiveScan: return "ExclusiveScan";
842 case GroupOperationClusteredReduce: return "ClusteredReduce";
843 case GroupOperationPartitionedReduceNV: return "PartitionedReduceNV";
844 case GroupOperationPartitionedInclusiveScanNV: return "PartitionedInclusiveScanNV";
845 case GroupOperationPartitionedExclusiveScanNV: return "PartitionedExclusiveScanNV";
846
847 default: return "Bad";
848 }
849}
850
851const char* KernelEnqueueFlagsString(int flag)
852{
853 switch (flag)
854 {
855 case 0: return "NoWait";
856 case 1: return "WaitKernel";
857 case 2: return "WaitWorkGroup";
858
859 default: return "Bad";
860 }
861}
862
863const char* KernelProfilingInfoString(int info)
864{
865 switch (info)
866 {
867 case 0: return "CmdExecTime";
868
869 default: return "Bad";
870 }
871}
872
873const char* CapabilityString(int info)
874{
875 switch (info)
876 {
877 case 0: return "Matrix";
878 case 1: return "Shader";
879 case 2: return "Geometry";
880 case 3: return "Tessellation";
881 case 4: return "Addresses";
882 case 5: return "Linkage";
883 case 6: return "Kernel";
884 case 7: return "Vector16";
885 case 8: return "Float16Buffer";
886 case 9: return "Float16";
887 case 10: return "Float64";
888 case 11: return "Int64";
889 case 12: return "Int64Atomics";
890 case 13: return "ImageBasic";
891 case 14: return "ImageReadWrite";
892 case 15: return "ImageMipmap";
893 case 16: return "Bad";
894 case 17: return "Pipes";
895 case 18: return "Groups";
896 case 19: return "DeviceEnqueue";
897 case 20: return "LiteralSampler";
898 case 21: return "AtomicStorage";
899 case 22: return "Int16";
900 case 23: return "TessellationPointSize";
901 case 24: return "GeometryPointSize";
902 case 25: return "ImageGatherExtended";
903 case 26: return "Bad";
904 case 27: return "StorageImageMultisample";
905 case 28: return "UniformBufferArrayDynamicIndexing";
906 case 29: return "SampledImageArrayDynamicIndexing";
907 case 30: return "StorageBufferArrayDynamicIndexing";
908 case 31: return "StorageImageArrayDynamicIndexing";
909 case 32: return "ClipDistance";
910 case 33: return "CullDistance";
911 case 34: return "ImageCubeArray";
912 case 35: return "SampleRateShading";
913 case 36: return "ImageRect";
914 case 37: return "SampledRect";
915 case 38: return "GenericPointer";
916 case 39: return "Int8";
917 case 40: return "InputAttachment";
918 case 41: return "SparseResidency";
919 case 42: return "MinLod";
920 case 43: return "Sampled1D";
921 case 44: return "Image1D";
922 case 45: return "SampledCubeArray";
923 case 46: return "SampledBuffer";
924 case 47: return "ImageBuffer";
925 case 48: return "ImageMSArray";
926 case 49: return "StorageImageExtendedFormats";
927 case 50: return "ImageQuery";
928 case 51: return "DerivativeControl";
929 case 52: return "InterpolationFunction";
930 case 53: return "TransformFeedback";
931 case 54: return "GeometryStreams";
932 case 55: return "StorageImageReadWithoutFormat";
933 case 56: return "StorageImageWriteWithoutFormat";
934 case 57: return "MultiViewport";
935 case 61: return "GroupNonUniform";
936 case 62: return "GroupNonUniformVote";
937 case 63: return "GroupNonUniformArithmetic";
938 case 64: return "GroupNonUniformBallot";
939 case 65: return "GroupNonUniformShuffle";
940 case 66: return "GroupNonUniformShuffleRelative";
941 case 67: return "GroupNonUniformClustered";
942 case 68: return "GroupNonUniformQuad";
943
944 case CapabilitySubgroupBallotKHR: return "SubgroupBallotKHR";
945 case CapabilityDrawParameters: return "DrawParameters";
946 case CapabilitySubgroupVoteKHR: return "SubgroupVoteKHR";
947 case CapabilityGroupNonUniformRotateKHR: return "CapabilityGroupNonUniformRotateKHR";
948
949 case CapabilityStorageUniformBufferBlock16: return "StorageUniformBufferBlock16";
950 case CapabilityStorageUniform16: return "StorageUniform16";
951 case CapabilityStoragePushConstant16: return "StoragePushConstant16";
952 case CapabilityStorageInputOutput16: return "StorageInputOutput16";
953
954 case CapabilityStorageBuffer8BitAccess: return "StorageBuffer8BitAccess";
955 case CapabilityUniformAndStorageBuffer8BitAccess: return "UniformAndStorageBuffer8BitAccess";
956 case CapabilityStoragePushConstant8: return "StoragePushConstant8";
957
958 case CapabilityDeviceGroup: return "DeviceGroup";
959 case CapabilityMultiView: return "MultiView";
960
961 case CapabilityDenormPreserve: return "DenormPreserve";
962 case CapabilityDenormFlushToZero: return "DenormFlushToZero";
963 case CapabilitySignedZeroInfNanPreserve: return "SignedZeroInfNanPreserve";
964 case CapabilityRoundingModeRTE: return "RoundingModeRTE";
965 case CapabilityRoundingModeRTZ: return "RoundingModeRTZ";
966
967 case CapabilityStencilExportEXT: return "StencilExportEXT";
968
969 case CapabilityFloat16ImageAMD: return "Float16ImageAMD";
970 case CapabilityImageGatherBiasLodAMD: return "ImageGatherBiasLodAMD";
971 case CapabilityFragmentMaskAMD: return "FragmentMaskAMD";
972 case CapabilityImageReadWriteLodAMD: return "ImageReadWriteLodAMD";
973
974 case CapabilityAtomicStorageOps: return "AtomicStorageOps";
975
976 case CapabilitySampleMaskPostDepthCoverage: return "SampleMaskPostDepthCoverage";
977 case CapabilityGeometryShaderPassthroughNV: return "GeometryShaderPassthroughNV";
978 case CapabilityShaderViewportIndexLayerNV: return "ShaderViewportIndexLayerNV";
979 case CapabilityShaderViewportMaskNV: return "ShaderViewportMaskNV";
980 case CapabilityShaderStereoViewNV: return "ShaderStereoViewNV";
981 case CapabilityPerViewAttributesNV: return "PerViewAttributesNV";
982 case CapabilityGroupNonUniformPartitionedNV: return "GroupNonUniformPartitionedNV";
983 case CapabilityRayTracingNV: return "RayTracingNV";
984 case CapabilityRayTracingMotionBlurNV: return "RayTracingMotionBlurNV";
985 case CapabilityRayTracingKHR: return "RayTracingKHR";
986 case CapabilityRayCullMaskKHR: return "RayCullMaskKHR";
987 case CapabilityRayQueryKHR: return "RayQueryKHR";
988 case CapabilityRayTracingProvisionalKHR: return "RayTracingProvisionalKHR";
989 case CapabilityRayTraversalPrimitiveCullingKHR: return "RayTraversalPrimitiveCullingKHR";
990 case CapabilityRayTracingPositionFetchKHR: return "RayTracingPositionFetchKHR";
991 case CapabilityDisplacementMicromapNV: return "DisplacementMicromapNV";
992 case CapabilityRayTracingDisplacementMicromapNV: return "CapabilityRayTracingDisplacementMicromapNV";
993 case CapabilityRayQueryPositionFetchKHR: return "RayQueryPositionFetchKHR";
994 case CapabilityComputeDerivativeGroupQuadsNV: return "ComputeDerivativeGroupQuadsNV";
995 case CapabilityComputeDerivativeGroupLinearNV: return "ComputeDerivativeGroupLinearNV";
996 case CapabilityFragmentBarycentricKHR: return "FragmentBarycentricKHR";
997 case CapabilityMeshShadingNV: return "MeshShadingNV";
998 case CapabilityImageFootprintNV: return "ImageFootprintNV";
999 case CapabilityMeshShadingEXT: return "MeshShadingEXT";
1000// case CapabilityShadingRateNV: return "ShadingRateNV"; // superseded by FragmentDensityEXT
1001 case CapabilitySampleMaskOverrideCoverageNV: return "SampleMaskOverrideCoverageNV";
1002 case CapabilityFragmentDensityEXT: return "FragmentDensityEXT";
1003
1004 case CapabilityFragmentFullyCoveredEXT: return "FragmentFullyCoveredEXT";
1005
1006 case CapabilityShaderNonUniformEXT: return "ShaderNonUniformEXT";
1007 case CapabilityRuntimeDescriptorArrayEXT: return "RuntimeDescriptorArrayEXT";
1008 case CapabilityInputAttachmentArrayDynamicIndexingEXT: return "InputAttachmentArrayDynamicIndexingEXT";
1009 case CapabilityUniformTexelBufferArrayDynamicIndexingEXT: return "UniformTexelBufferArrayDynamicIndexingEXT";
1010 case CapabilityStorageTexelBufferArrayDynamicIndexingEXT: return "StorageTexelBufferArrayDynamicIndexingEXT";
1011 case CapabilityUniformBufferArrayNonUniformIndexingEXT: return "UniformBufferArrayNonUniformIndexingEXT";
1012 case CapabilitySampledImageArrayNonUniformIndexingEXT: return "SampledImageArrayNonUniformIndexingEXT";
1013 case CapabilityStorageBufferArrayNonUniformIndexingEXT: return "StorageBufferArrayNonUniformIndexingEXT";
1014 case CapabilityStorageImageArrayNonUniformIndexingEXT: return "StorageImageArrayNonUniformIndexingEXT";
1015 case CapabilityInputAttachmentArrayNonUniformIndexingEXT: return "InputAttachmentArrayNonUniformIndexingEXT";
1016 case CapabilityUniformTexelBufferArrayNonUniformIndexingEXT: return "UniformTexelBufferArrayNonUniformIndexingEXT";
1017 case CapabilityStorageTexelBufferArrayNonUniformIndexingEXT: return "StorageTexelBufferArrayNonUniformIndexingEXT";
1018
1019 case CapabilityVulkanMemoryModelKHR: return "VulkanMemoryModelKHR";
1020 case CapabilityVulkanMemoryModelDeviceScopeKHR: return "VulkanMemoryModelDeviceScopeKHR";
1021
1022 case CapabilityPhysicalStorageBufferAddressesEXT: return "PhysicalStorageBufferAddressesEXT";
1023
1024 case CapabilityVariablePointers: return "VariablePointers";
1025
1026 case CapabilityCooperativeMatrixNV: return "CooperativeMatrixNV";
1027 case CapabilityCooperativeMatrixKHR: return "CooperativeMatrixKHR";
1028 case CapabilityShaderSMBuiltinsNV: return "ShaderSMBuiltinsNV";
1029
1030 case CapabilityFragmentShaderSampleInterlockEXT: return "CapabilityFragmentShaderSampleInterlockEXT";
1031 case CapabilityFragmentShaderPixelInterlockEXT: return "CapabilityFragmentShaderPixelInterlockEXT";
1032 case CapabilityFragmentShaderShadingRateInterlockEXT: return "CapabilityFragmentShaderShadingRateInterlockEXT";
1033
1034 case CapabilityTileImageColorReadAccessEXT: return "TileImageColorReadAccessEXT";
1035 case CapabilityTileImageDepthReadAccessEXT: return "TileImageDepthReadAccessEXT";
1036 case CapabilityTileImageStencilReadAccessEXT: return "TileImageStencilReadAccessEXT";
1037
1038 case CapabilityFragmentShadingRateKHR: return "FragmentShadingRateKHR";
1039
1040 case CapabilityDemoteToHelperInvocationEXT: return "DemoteToHelperInvocationEXT";
1041 case CapabilityAtomicFloat16VectorNV: return "AtomicFloat16VectorNV";
1042 case CapabilityShaderClockKHR: return "ShaderClockKHR";
1043 case CapabilityQuadControlKHR: return "QuadControlKHR";
1044 case CapabilityInt64ImageEXT: return "Int64ImageEXT";
1045
1046 case CapabilityIntegerFunctions2INTEL: return "CapabilityIntegerFunctions2INTEL";
1047
1048 case CapabilityExpectAssumeKHR: return "ExpectAssumeKHR";
1049
1050 case CapabilityAtomicFloat16AddEXT: return "AtomicFloat16AddEXT";
1051 case CapabilityAtomicFloat32AddEXT: return "AtomicFloat32AddEXT";
1052 case CapabilityAtomicFloat64AddEXT: return "AtomicFloat64AddEXT";
1053 case CapabilityAtomicFloat16MinMaxEXT: return "AtomicFloat16MinMaxEXT";
1054 case CapabilityAtomicFloat32MinMaxEXT: return "AtomicFloat32MinMaxEXT";
1055 case CapabilityAtomicFloat64MinMaxEXT: return "AtomicFloat64MinMaxEXT";
1056
1057 case CapabilityWorkgroupMemoryExplicitLayoutKHR: return "CapabilityWorkgroupMemoryExplicitLayoutKHR";
1058 case CapabilityWorkgroupMemoryExplicitLayout8BitAccessKHR: return "CapabilityWorkgroupMemoryExplicitLayout8BitAccessKHR";
1059 case CapabilityWorkgroupMemoryExplicitLayout16BitAccessKHR: return "CapabilityWorkgroupMemoryExplicitLayout16BitAccessKHR";
1060 case CapabilityCoreBuiltinsARM: return "CoreBuiltinsARM";
1061
1062 case CapabilityShaderInvocationReorderNV: return "ShaderInvocationReorderNV";
1063
1064 case CapabilityTextureSampleWeightedQCOM: return "TextureSampleWeightedQCOM";
1065 case CapabilityTextureBoxFilterQCOM: return "TextureBoxFilterQCOM";
1066 case CapabilityTextureBlockMatchQCOM: return "TextureBlockMatchQCOM";
1067 case CapabilityTextureBlockMatch2QCOM: return "TextureBlockMatch2QCOM";
1068
1069 default: return "Bad";
1070 }
1071}
1072
1073const char* OpcodeString(int op)
1074{
1075 switch (op) {
1076 case 0: return "OpNop";
1077 case 1: return "OpUndef";
1078 case 2: return "OpSourceContinued";
1079 case 3: return "OpSource";
1080 case 4: return "OpSourceExtension";
1081 case 5: return "OpName";
1082 case 6: return "OpMemberName";
1083 case 7: return "OpString";
1084 case 8: return "OpLine";
1085 case 9: return "Bad";
1086 case 10: return "OpExtension";
1087 case 11: return "OpExtInstImport";
1088 case 12: return "OpExtInst";
1089 case 13: return "Bad";
1090 case 14: return "OpMemoryModel";
1091 case 15: return "OpEntryPoint";
1092 case 16: return "OpExecutionMode";
1093 case 17: return "OpCapability";
1094 case 18: return "Bad";
1095 case 19: return "OpTypeVoid";
1096 case 20: return "OpTypeBool";
1097 case 21: return "OpTypeInt";
1098 case 22: return "OpTypeFloat";
1099 case 23: return "OpTypeVector";
1100 case 24: return "OpTypeMatrix";
1101 case 25: return "OpTypeImage";
1102 case 26: return "OpTypeSampler";
1103 case 27: return "OpTypeSampledImage";
1104 case 28: return "OpTypeArray";
1105 case 29: return "OpTypeRuntimeArray";
1106 case 30: return "OpTypeStruct";
1107 case 31: return "OpTypeOpaque";
1108 case 32: return "OpTypePointer";
1109 case 33: return "OpTypeFunction";
1110 case 34: return "OpTypeEvent";
1111 case 35: return "OpTypeDeviceEvent";
1112 case 36: return "OpTypeReserveId";
1113 case 37: return "OpTypeQueue";
1114 case 38: return "OpTypePipe";
1115 case 39: return "OpTypeForwardPointer";
1116 case 40: return "Bad";
1117 case 41: return "OpConstantTrue";
1118 case 42: return "OpConstantFalse";
1119 case 43: return "OpConstant";
1120 case 44: return "OpConstantComposite";
1121 case 45: return "OpConstantSampler";
1122 case 46: return "OpConstantNull";
1123 case 47: return "Bad";
1124 case 48: return "OpSpecConstantTrue";
1125 case 49: return "OpSpecConstantFalse";
1126 case 50: return "OpSpecConstant";
1127 case 51: return "OpSpecConstantComposite";
1128 case 52: return "OpSpecConstantOp";
1129 case 53: return "Bad";
1130 case 54: return "OpFunction";
1131 case 55: return "OpFunctionParameter";
1132 case 56: return "OpFunctionEnd";
1133 case 57: return "OpFunctionCall";
1134 case 58: return "Bad";
1135 case 59: return "OpVariable";
1136 case 60: return "OpImageTexelPointer";
1137 case 61: return "OpLoad";
1138 case 62: return "OpStore";
1139 case 63: return "OpCopyMemory";
1140 case 64: return "OpCopyMemorySized";
1141 case 65: return "OpAccessChain";
1142 case 66: return "OpInBoundsAccessChain";
1143 case 67: return "OpPtrAccessChain";
1144 case 68: return "OpArrayLength";
1145 case 69: return "OpGenericPtrMemSemantics";
1146 case 70: return "OpInBoundsPtrAccessChain";
1147 case 71: return "OpDecorate";
1148 case 72: return "OpMemberDecorate";
1149 case 73: return "OpDecorationGroup";
1150 case 74: return "OpGroupDecorate";
1151 case 75: return "OpGroupMemberDecorate";
1152 case 76: return "Bad";
1153 case 77: return "OpVectorExtractDynamic";
1154 case 78: return "OpVectorInsertDynamic";
1155 case 79: return "OpVectorShuffle";
1156 case 80: return "OpCompositeConstruct";
1157 case 81: return "OpCompositeExtract";
1158 case 82: return "OpCompositeInsert";
1159 case 83: return "OpCopyObject";
1160 case 84: return "OpTranspose";
1161 case OpCopyLogical: return "OpCopyLogical";
1162 case 85: return "Bad";
1163 case 86: return "OpSampledImage";
1164 case 87: return "OpImageSampleImplicitLod";
1165 case 88: return "OpImageSampleExplicitLod";
1166 case 89: return "OpImageSampleDrefImplicitLod";
1167 case 90: return "OpImageSampleDrefExplicitLod";
1168 case 91: return "OpImageSampleProjImplicitLod";
1169 case 92: return "OpImageSampleProjExplicitLod";
1170 case 93: return "OpImageSampleProjDrefImplicitLod";
1171 case 94: return "OpImageSampleProjDrefExplicitLod";
1172 case 95: return "OpImageFetch";
1173 case 96: return "OpImageGather";
1174 case 97: return "OpImageDrefGather";
1175 case 98: return "OpImageRead";
1176 case 99: return "OpImageWrite";
1177 case 100: return "OpImage";
1178 case 101: return "OpImageQueryFormat";
1179 case 102: return "OpImageQueryOrder";
1180 case 103: return "OpImageQuerySizeLod";
1181 case 104: return "OpImageQuerySize";
1182 case 105: return "OpImageQueryLod";
1183 case 106: return "OpImageQueryLevels";
1184 case 107: return "OpImageQuerySamples";
1185 case 108: return "Bad";
1186 case 109: return "OpConvertFToU";
1187 case 110: return "OpConvertFToS";
1188 case 111: return "OpConvertSToF";
1189 case 112: return "OpConvertUToF";
1190 case 113: return "OpUConvert";
1191 case 114: return "OpSConvert";
1192 case 115: return "OpFConvert";
1193 case 116: return "OpQuantizeToF16";
1194 case 117: return "OpConvertPtrToU";
1195 case 118: return "OpSatConvertSToU";
1196 case 119: return "OpSatConvertUToS";
1197 case 120: return "OpConvertUToPtr";
1198 case 121: return "OpPtrCastToGeneric";
1199 case 122: return "OpGenericCastToPtr";
1200 case 123: return "OpGenericCastToPtrExplicit";
1201 case 124: return "OpBitcast";
1202 case 125: return "Bad";
1203 case 126: return "OpSNegate";
1204 case 127: return "OpFNegate";
1205 case 128: return "OpIAdd";
1206 case 129: return "OpFAdd";
1207 case 130: return "OpISub";
1208 case 131: return "OpFSub";
1209 case 132: return "OpIMul";
1210 case 133: return "OpFMul";
1211 case 134: return "OpUDiv";
1212 case 135: return "OpSDiv";
1213 case 136: return "OpFDiv";
1214 case 137: return "OpUMod";
1215 case 138: return "OpSRem";
1216 case 139: return "OpSMod";
1217 case 140: return "OpFRem";
1218 case 141: return "OpFMod";
1219 case 142: return "OpVectorTimesScalar";
1220 case 143: return "OpMatrixTimesScalar";
1221 case 144: return "OpVectorTimesMatrix";
1222 case 145: return "OpMatrixTimesVector";
1223 case 146: return "OpMatrixTimesMatrix";
1224 case 147: return "OpOuterProduct";
1225 case 148: return "OpDot";
1226 case 149: return "OpIAddCarry";
1227 case 150: return "OpISubBorrow";
1228 case 151: return "OpUMulExtended";
1229 case 152: return "OpSMulExtended";
1230 case 153: return "Bad";
1231 case 154: return "OpAny";
1232 case 155: return "OpAll";
1233 case 156: return "OpIsNan";
1234 case 157: return "OpIsInf";
1235 case 158: return "OpIsFinite";
1236 case 159: return "OpIsNormal";
1237 case 160: return "OpSignBitSet";
1238 case 161: return "OpLessOrGreater";
1239 case 162: return "OpOrdered";
1240 case 163: return "OpUnordered";
1241 case 164: return "OpLogicalEqual";
1242 case 165: return "OpLogicalNotEqual";
1243 case 166: return "OpLogicalOr";
1244 case 167: return "OpLogicalAnd";
1245 case 168: return "OpLogicalNot";
1246 case 169: return "OpSelect";
1247 case 170: return "OpIEqual";
1248 case 171: return "OpINotEqual";
1249 case 172: return "OpUGreaterThan";
1250 case 173: return "OpSGreaterThan";
1251 case 174: return "OpUGreaterThanEqual";
1252 case 175: return "OpSGreaterThanEqual";
1253 case 176: return "OpULessThan";
1254 case 177: return "OpSLessThan";
1255 case 178: return "OpULessThanEqual";
1256 case 179: return "OpSLessThanEqual";
1257 case 180: return "OpFOrdEqual";
1258 case 181: return "OpFUnordEqual";
1259 case 182: return "OpFOrdNotEqual";
1260 case 183: return "OpFUnordNotEqual";
1261 case 184: return "OpFOrdLessThan";
1262 case 185: return "OpFUnordLessThan";
1263 case 186: return "OpFOrdGreaterThan";
1264 case 187: return "OpFUnordGreaterThan";
1265 case 188: return "OpFOrdLessThanEqual";
1266 case 189: return "OpFUnordLessThanEqual";
1267 case 190: return "OpFOrdGreaterThanEqual";
1268 case 191: return "OpFUnordGreaterThanEqual";
1269 case 192: return "Bad";
1270 case 193: return "Bad";
1271 case 194: return "OpShiftRightLogical";
1272 case 195: return "OpShiftRightArithmetic";
1273 case 196: return "OpShiftLeftLogical";
1274 case 197: return "OpBitwiseOr";
1275 case 198: return "OpBitwiseXor";
1276 case 199: return "OpBitwiseAnd";
1277 case 200: return "OpNot";
1278 case 201: return "OpBitFieldInsert";
1279 case 202: return "OpBitFieldSExtract";
1280 case 203: return "OpBitFieldUExtract";
1281 case 204: return "OpBitReverse";
1282 case 205: return "OpBitCount";
1283 case 206: return "Bad";
1284 case 207: return "OpDPdx";
1285 case 208: return "OpDPdy";
1286 case 209: return "OpFwidth";
1287 case 210: return "OpDPdxFine";
1288 case 211: return "OpDPdyFine";
1289 case 212: return "OpFwidthFine";
1290 case 213: return "OpDPdxCoarse";
1291 case 214: return "OpDPdyCoarse";
1292 case 215: return "OpFwidthCoarse";
1293 case 216: return "Bad";
1294 case 217: return "Bad";
1295 case 218: return "OpEmitVertex";
1296 case 219: return "OpEndPrimitive";
1297 case 220: return "OpEmitStreamVertex";
1298 case 221: return "OpEndStreamPrimitive";
1299 case 222: return "Bad";
1300 case 223: return "Bad";
1301 case 224: return "OpControlBarrier";
1302 case 225: return "OpMemoryBarrier";
1303 case 226: return "Bad";
1304 case 227: return "OpAtomicLoad";
1305 case 228: return "OpAtomicStore";
1306 case 229: return "OpAtomicExchange";
1307 case 230: return "OpAtomicCompareExchange";
1308 case 231: return "OpAtomicCompareExchangeWeak";
1309 case 232: return "OpAtomicIIncrement";
1310 case 233: return "OpAtomicIDecrement";
1311 case 234: return "OpAtomicIAdd";
1312 case 235: return "OpAtomicISub";
1313 case 236: return "OpAtomicSMin";
1314 case 237: return "OpAtomicUMin";
1315 case 238: return "OpAtomicSMax";
1316 case 239: return "OpAtomicUMax";
1317 case 240: return "OpAtomicAnd";
1318 case 241: return "OpAtomicOr";
1319 case 242: return "OpAtomicXor";
1320 case 243: return "Bad";
1321 case 244: return "Bad";
1322 case 245: return "OpPhi";
1323 case 246: return "OpLoopMerge";
1324 case 247: return "OpSelectionMerge";
1325 case 248: return "OpLabel";
1326 case 249: return "OpBranch";
1327 case 250: return "OpBranchConditional";
1328 case 251: return "OpSwitch";
1329 case 252: return "OpKill";
1330 case 253: return "OpReturn";
1331 case 254: return "OpReturnValue";
1332 case 255: return "OpUnreachable";
1333 case 256: return "OpLifetimeStart";
1334 case 257: return "OpLifetimeStop";
1335 case 258: return "Bad";
1336 case 259: return "OpGroupAsyncCopy";
1337 case 260: return "OpGroupWaitEvents";
1338 case 261: return "OpGroupAll";
1339 case 262: return "OpGroupAny";
1340 case 263: return "OpGroupBroadcast";
1341 case 264: return "OpGroupIAdd";
1342 case 265: return "OpGroupFAdd";
1343 case 266: return "OpGroupFMin";
1344 case 267: return "OpGroupUMin";
1345 case 268: return "OpGroupSMin";
1346 case 269: return "OpGroupFMax";
1347 case 270: return "OpGroupUMax";
1348 case 271: return "OpGroupSMax";
1349 case 272: return "Bad";
1350 case 273: return "Bad";
1351 case 274: return "OpReadPipe";
1352 case 275: return "OpWritePipe";
1353 case 276: return "OpReservedReadPipe";
1354 case 277: return "OpReservedWritePipe";
1355 case 278: return "OpReserveReadPipePackets";
1356 case 279: return "OpReserveWritePipePackets";
1357 case 280: return "OpCommitReadPipe";
1358 case 281: return "OpCommitWritePipe";
1359 case 282: return "OpIsValidReserveId";
1360 case 283: return "OpGetNumPipePackets";
1361 case 284: return "OpGetMaxPipePackets";
1362 case 285: return "OpGroupReserveReadPipePackets";
1363 case 286: return "OpGroupReserveWritePipePackets";
1364 case 287: return "OpGroupCommitReadPipe";
1365 case 288: return "OpGroupCommitWritePipe";
1366 case 289: return "Bad";
1367 case 290: return "Bad";
1368 case 291: return "OpEnqueueMarker";
1369 case 292: return "OpEnqueueKernel";
1370 case 293: return "OpGetKernelNDrangeSubGroupCount";
1371 case 294: return "OpGetKernelNDrangeMaxSubGroupSize";
1372 case 295: return "OpGetKernelWorkGroupSize";
1373 case 296: return "OpGetKernelPreferredWorkGroupSizeMultiple";
1374 case 297: return "OpRetainEvent";
1375 case 298: return "OpReleaseEvent";
1376 case 299: return "OpCreateUserEvent";
1377 case 300: return "OpIsValidEvent";
1378 case 301: return "OpSetUserEventStatus";
1379 case 302: return "OpCaptureEventProfilingInfo";
1380 case 303: return "OpGetDefaultQueue";
1381 case 304: return "OpBuildNDRange";
1382 case 305: return "OpImageSparseSampleImplicitLod";
1383 case 306: return "OpImageSparseSampleExplicitLod";
1384 case 307: return "OpImageSparseSampleDrefImplicitLod";
1385 case 308: return "OpImageSparseSampleDrefExplicitLod";
1386 case 309: return "OpImageSparseSampleProjImplicitLod";
1387 case 310: return "OpImageSparseSampleProjExplicitLod";
1388 case 311: return "OpImageSparseSampleProjDrefImplicitLod";
1389 case 312: return "OpImageSparseSampleProjDrefExplicitLod";
1390 case 313: return "OpImageSparseFetch";
1391 case 314: return "OpImageSparseGather";
1392 case 315: return "OpImageSparseDrefGather";
1393 case 316: return "OpImageSparseTexelsResident";
1394 case 317: return "OpNoLine";
1395 case 318: return "OpAtomicFlagTestAndSet";
1396 case 319: return "OpAtomicFlagClear";
1397 case 320: return "OpImageSparseRead";
1398
1399 case OpModuleProcessed: return "OpModuleProcessed";
1400 case OpExecutionModeId: return "OpExecutionModeId";
1401 case OpDecorateId: return "OpDecorateId";
1402
1403 case 333: return "OpGroupNonUniformElect";
1404 case 334: return "OpGroupNonUniformAll";
1405 case 335: return "OpGroupNonUniformAny";
1406 case 336: return "OpGroupNonUniformAllEqual";
1407 case 337: return "OpGroupNonUniformBroadcast";
1408 case 338: return "OpGroupNonUniformBroadcastFirst";
1409 case 339: return "OpGroupNonUniformBallot";
1410 case 340: return "OpGroupNonUniformInverseBallot";
1411 case 341: return "OpGroupNonUniformBallotBitExtract";
1412 case 342: return "OpGroupNonUniformBallotBitCount";
1413 case 343: return "OpGroupNonUniformBallotFindLSB";
1414 case 344: return "OpGroupNonUniformBallotFindMSB";
1415 case 345: return "OpGroupNonUniformShuffle";
1416 case 346: return "OpGroupNonUniformShuffleXor";
1417 case 347: return "OpGroupNonUniformShuffleUp";
1418 case 348: return "OpGroupNonUniformShuffleDown";
1419 case 349: return "OpGroupNonUniformIAdd";
1420 case 350: return "OpGroupNonUniformFAdd";
1421 case 351: return "OpGroupNonUniformIMul";
1422 case 352: return "OpGroupNonUniformFMul";
1423 case 353: return "OpGroupNonUniformSMin";
1424 case 354: return "OpGroupNonUniformUMin";
1425 case 355: return "OpGroupNonUniformFMin";
1426 case 356: return "OpGroupNonUniformSMax";
1427 case 357: return "OpGroupNonUniformUMax";
1428 case 358: return "OpGroupNonUniformFMax";
1429 case 359: return "OpGroupNonUniformBitwiseAnd";
1430 case 360: return "OpGroupNonUniformBitwiseOr";
1431 case 361: return "OpGroupNonUniformBitwiseXor";
1432 case 362: return "OpGroupNonUniformLogicalAnd";
1433 case 363: return "OpGroupNonUniformLogicalOr";
1434 case 364: return "OpGroupNonUniformLogicalXor";
1435 case 365: return "OpGroupNonUniformQuadBroadcast";
1436 case 366: return "OpGroupNonUniformQuadSwap";
1437
1438 case OpTerminateInvocation: return "OpTerminateInvocation";
1439
1440 case 4421: return "OpSubgroupBallotKHR";
1441 case 4422: return "OpSubgroupFirstInvocationKHR";
1442 case 4428: return "OpSubgroupAllKHR";
1443 case 4429: return "OpSubgroupAnyKHR";
1444 case 4430: return "OpSubgroupAllEqualKHR";
1445 case 4432: return "OpSubgroupReadInvocationKHR";
1446
1447 case OpGroupNonUniformQuadAllKHR: return "OpGroupNonUniformQuadAllKHR";
1448 case OpGroupNonUniformQuadAnyKHR: return "OpGroupNonUniformQuadAnyKHR";
1449
1450 case OpAtomicFAddEXT: return "OpAtomicFAddEXT";
1451 case OpAtomicFMinEXT: return "OpAtomicFMinEXT";
1452 case OpAtomicFMaxEXT: return "OpAtomicFMaxEXT";
1453
1454 case OpAssumeTrueKHR: return "OpAssumeTrueKHR";
1455 case OpExpectKHR: return "OpExpectKHR";
1456
1457 case 5000: return "OpGroupIAddNonUniformAMD";
1458 case 5001: return "OpGroupFAddNonUniformAMD";
1459 case 5002: return "OpGroupFMinNonUniformAMD";
1460 case 5003: return "OpGroupUMinNonUniformAMD";
1461 case 5004: return "OpGroupSMinNonUniformAMD";
1462 case 5005: return "OpGroupFMaxNonUniformAMD";
1463 case 5006: return "OpGroupUMaxNonUniformAMD";
1464 case 5007: return "OpGroupSMaxNonUniformAMD";
1465
1466 case 5011: return "OpFragmentMaskFetchAMD";
1467 case 5012: return "OpFragmentFetchAMD";
1468
1469 case OpReadClockKHR: return "OpReadClockKHR";
1470
1471 case OpDecorateStringGOOGLE: return "OpDecorateStringGOOGLE";
1472 case OpMemberDecorateStringGOOGLE: return "OpMemberDecorateStringGOOGLE";
1473
1474 case OpReportIntersectionKHR: return "OpReportIntersectionKHR";
1475 case OpIgnoreIntersectionNV: return "OpIgnoreIntersectionNV";
1476 case OpIgnoreIntersectionKHR: return "OpIgnoreIntersectionKHR";
1477 case OpTerminateRayNV: return "OpTerminateRayNV";
1478 case OpTerminateRayKHR: return "OpTerminateRayKHR";
1479 case OpTraceNV: return "OpTraceNV";
1480 case OpTraceRayMotionNV: return "OpTraceRayMotionNV";
1481 case OpTraceRayKHR: return "OpTraceRayKHR";
1482 case OpTypeAccelerationStructureKHR: return "OpTypeAccelerationStructureKHR";
1483 case OpExecuteCallableNV: return "OpExecuteCallableNV";
1484 case OpExecuteCallableKHR: return "OpExecuteCallableKHR";
1485 case OpConvertUToAccelerationStructureKHR: return "OpConvertUToAccelerationStructureKHR";
1486
1487 case OpGroupNonUniformPartitionNV: return "OpGroupNonUniformPartitionNV";
1488 case OpImageSampleFootprintNV: return "OpImageSampleFootprintNV";
1489 case OpWritePackedPrimitiveIndices4x8NV: return "OpWritePackedPrimitiveIndices4x8NV";
1490 case OpEmitMeshTasksEXT: return "OpEmitMeshTasksEXT";
1491 case OpSetMeshOutputsEXT: return "OpSetMeshOutputsEXT";
1492
1493 case OpGroupNonUniformRotateKHR: return "OpGroupNonUniformRotateKHR";
1494
1495 case OpTypeRayQueryKHR: return "OpTypeRayQueryKHR";
1496 case OpRayQueryInitializeKHR: return "OpRayQueryInitializeKHR";
1497 case OpRayQueryTerminateKHR: return "OpRayQueryTerminateKHR";
1498 case OpRayQueryGenerateIntersectionKHR: return "OpRayQueryGenerateIntersectionKHR";
1499 case OpRayQueryConfirmIntersectionKHR: return "OpRayQueryConfirmIntersectionKHR";
1500 case OpRayQueryProceedKHR: return "OpRayQueryProceedKHR";
1501 case OpRayQueryGetIntersectionTypeKHR: return "OpRayQueryGetIntersectionTypeKHR";
1502 case OpRayQueryGetRayTMinKHR: return "OpRayQueryGetRayTMinKHR";
1503 case OpRayQueryGetRayFlagsKHR: return "OpRayQueryGetRayFlagsKHR";
1504 case OpRayQueryGetIntersectionTKHR: return "OpRayQueryGetIntersectionTKHR";
1505 case OpRayQueryGetIntersectionInstanceCustomIndexKHR: return "OpRayQueryGetIntersectionInstanceCustomIndexKHR";
1506 case OpRayQueryGetIntersectionInstanceIdKHR: return "OpRayQueryGetIntersectionInstanceIdKHR";
1507 case OpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR: return "OpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR";
1508 case OpRayQueryGetIntersectionGeometryIndexKHR: return "OpRayQueryGetIntersectionGeometryIndexKHR";
1509 case OpRayQueryGetIntersectionPrimitiveIndexKHR: return "OpRayQueryGetIntersectionPrimitiveIndexKHR";
1510 case OpRayQueryGetIntersectionBarycentricsKHR: return "OpRayQueryGetIntersectionBarycentricsKHR";
1511 case OpRayQueryGetIntersectionFrontFaceKHR: return "OpRayQueryGetIntersectionFrontFaceKHR";
1512 case OpRayQueryGetIntersectionCandidateAABBOpaqueKHR: return "OpRayQueryGetIntersectionCandidateAABBOpaqueKHR";
1513 case OpRayQueryGetIntersectionObjectRayDirectionKHR: return "OpRayQueryGetIntersectionObjectRayDirectionKHR";
1514 case OpRayQueryGetIntersectionObjectRayOriginKHR: return "OpRayQueryGetIntersectionObjectRayOriginKHR";
1515 case OpRayQueryGetWorldRayDirectionKHR: return "OpRayQueryGetWorldRayDirectionKHR";
1516 case OpRayQueryGetWorldRayOriginKHR: return "OpRayQueryGetWorldRayOriginKHR";
1517 case OpRayQueryGetIntersectionObjectToWorldKHR: return "OpRayQueryGetIntersectionObjectToWorldKHR";
1518 case OpRayQueryGetIntersectionWorldToObjectKHR: return "OpRayQueryGetIntersectionWorldToObjectKHR";
1519 case OpRayQueryGetIntersectionTriangleVertexPositionsKHR: return "OpRayQueryGetIntersectionTriangleVertexPositionsKHR";
1520
1521 case OpTypeCooperativeMatrixNV: return "OpTypeCooperativeMatrixNV";
1522 case OpCooperativeMatrixLoadNV: return "OpCooperativeMatrixLoadNV";
1523 case OpCooperativeMatrixStoreNV: return "OpCooperativeMatrixStoreNV";
1524 case OpCooperativeMatrixMulAddNV: return "OpCooperativeMatrixMulAddNV";
1525 case OpCooperativeMatrixLengthNV: return "OpCooperativeMatrixLengthNV";
1526 case OpTypeCooperativeMatrixKHR: return "OpTypeCooperativeMatrixKHR";
1527 case OpCooperativeMatrixLoadKHR: return "OpCooperativeMatrixLoadKHR";
1528 case OpCooperativeMatrixStoreKHR: return "OpCooperativeMatrixStoreKHR";
1529 case OpCooperativeMatrixMulAddKHR: return "OpCooperativeMatrixMulAddKHR";
1530 case OpCooperativeMatrixLengthKHR: return "OpCooperativeMatrixLengthKHR";
1531 case OpDemoteToHelperInvocationEXT: return "OpDemoteToHelperInvocationEXT";
1532 case OpIsHelperInvocationEXT: return "OpIsHelperInvocationEXT";
1533
1534 case OpBeginInvocationInterlockEXT: return "OpBeginInvocationInterlockEXT";
1535 case OpEndInvocationInterlockEXT: return "OpEndInvocationInterlockEXT";
1536
1537 case OpTypeHitObjectNV: return "OpTypeHitObjectNV";
1538 case OpHitObjectTraceRayNV: return "OpHitObjectTraceRayNV";
1539 case OpHitObjectTraceRayMotionNV: return "OpHitObjectTraceRayMotionNV";
1540 case OpHitObjectRecordHitNV: return "OpHitObjectRecordHitNV";
1541 case OpHitObjectRecordHitMotionNV: return "OpHitObjectRecordHitMotionNV";
1542 case OpHitObjectRecordHitWithIndexNV: return "OpHitObjectRecordHitWithIndexNV";
1543 case OpHitObjectRecordHitWithIndexMotionNV: return "OpHitObjectRecordHitWithIndexMotionNV";
1544 case OpHitObjectRecordMissNV: return "OpHitObjectRecordMissNV";
1545 case OpHitObjectRecordMissMotionNV: return "OpHitObjectRecordMissMotionNV";
1546 case OpHitObjectRecordEmptyNV: return "OpHitObjectRecordEmptyNV";
1547 case OpHitObjectExecuteShaderNV: return "OpHitObjectExecuteShaderNV";
1548 case OpReorderThreadWithHintNV: return "OpReorderThreadWithHintNV";
1549 case OpReorderThreadWithHitObjectNV: return "OpReorderThreadWithHitObjectNV";
1550 case OpHitObjectGetCurrentTimeNV: return "OpHitObjectGetCurrentTimeNV";
1551 case OpHitObjectGetAttributesNV: return "OpHitObjectGetAttributesNV";
1552 case OpHitObjectGetHitKindNV: return "OpHitObjectGetFrontFaceNV";
1553 case OpHitObjectGetPrimitiveIndexNV: return "OpHitObjectGetPrimitiveIndexNV";
1554 case OpHitObjectGetGeometryIndexNV: return "OpHitObjectGetGeometryIndexNV";
1555 case OpHitObjectGetInstanceIdNV: return "OpHitObjectGetInstanceIdNV";
1556 case OpHitObjectGetInstanceCustomIndexNV: return "OpHitObjectGetInstanceCustomIndexNV";
1557 case OpHitObjectGetObjectRayDirectionNV: return "OpHitObjectGetObjectRayDirectionNV";
1558 case OpHitObjectGetObjectRayOriginNV: return "OpHitObjectGetObjectRayOriginNV";
1559 case OpHitObjectGetWorldRayDirectionNV: return "OpHitObjectGetWorldRayDirectionNV";
1560 case OpHitObjectGetWorldRayOriginNV: return "OpHitObjectGetWorldRayOriginNV";
1561 case OpHitObjectGetWorldToObjectNV: return "OpHitObjectGetWorldToObjectNV";
1562 case OpHitObjectGetObjectToWorldNV: return "OpHitObjectGetObjectToWorldNV";
1563 case OpHitObjectGetRayTMaxNV: return "OpHitObjectGetRayTMaxNV";
1564 case OpHitObjectGetRayTMinNV: return "OpHitObjectGetRayTMinNV";
1565 case OpHitObjectIsEmptyNV: return "OpHitObjectIsEmptyNV";
1566 case OpHitObjectIsHitNV: return "OpHitObjectIsHitNV";
1567 case OpHitObjectIsMissNV: return "OpHitObjectIsMissNV";
1568 case OpHitObjectGetShaderBindingTableRecordIndexNV: return "OpHitObjectGetShaderBindingTableRecordIndexNV";
1569 case OpHitObjectGetShaderRecordBufferHandleNV: return "OpHitObjectGetShaderRecordBufferHandleNV";
1570
1571 case OpFetchMicroTriangleVertexBarycentricNV: return "OpFetchMicroTriangleVertexBarycentricNV";
1572 case OpFetchMicroTriangleVertexPositionNV: return "OpFetchMicroTriangleVertexPositionNV";
1573
1574 case OpColorAttachmentReadEXT: return "OpColorAttachmentReadEXT";
1575 case OpDepthAttachmentReadEXT: return "OpDepthAttachmentReadEXT";
1576 case OpStencilAttachmentReadEXT: return "OpStencilAttachmentReadEXT";
1577
1578 case OpImageSampleWeightedQCOM: return "OpImageSampleWeightedQCOM";
1579 case OpImageBoxFilterQCOM: return "OpImageBoxFilterQCOM";
1580 case OpImageBlockMatchSADQCOM: return "OpImageBlockMatchSADQCOM";
1581 case OpImageBlockMatchSSDQCOM: return "OpImageBlockMatchSSDQCOM";
1582 case OpImageBlockMatchWindowSSDQCOM: return "OpImageBlockMatchWindowSSDQCOM";
1583 case OpImageBlockMatchWindowSADQCOM: return "OpImageBlockMatchWindowSADQCOM";
1584 case OpImageBlockMatchGatherSSDQCOM: return "OpImageBlockMatchGatherSSDQCOM";
1585 case OpImageBlockMatchGatherSADQCOM: return "OpImageBlockMatchGatherSADQCOM";
1586
1587 default:
1588 return "Bad";
1589 }
1590}
1591
1592// The set of objects that hold all the instruction/operand
1593// parameterization information.
1594InstructionParameters InstructionDesc[OpCodeMask + 1];
1595OperandParameters ExecutionModeOperands[ExecutionModeCeiling];
1596OperandParameters DecorationOperands[DecorationCeiling];
1597
1598EnumDefinition OperandClassParams[OperandCount];
1599EnumParameters ExecutionModeParams[ExecutionModeCeiling];
1600EnumParameters ImageOperandsParams[ImageOperandsCeiling];
1601EnumParameters DecorationParams[DecorationCeiling];
1602EnumParameters LoopControlParams[FunctionControlCeiling];
1603EnumParameters SelectionControlParams[SelectControlCeiling];
1604EnumParameters FunctionControlParams[FunctionControlCeiling];
1605EnumParameters MemoryAccessParams[MemoryAccessCeiling];
1606EnumParameters CooperativeMatrixOperandsParams[CooperativeMatrixOperandsCeiling];
1607
1608// Set up all the parameterizing descriptions of the opcodes, operands, etc.
1609void Parameterize()
1610{
1611 // only do this once.
1612 static std::once_flag initialized;
1613 std::call_once(once&: initialized, f: [](){
1614
1615 // Exceptions to having a result <id> and a resulting type <id>.
1616 // (Everything is initialized to have both).
1617
1618 InstructionDesc[OpNop].setResultAndType(r: false, t: false);
1619 InstructionDesc[OpSource].setResultAndType(r: false, t: false);
1620 InstructionDesc[OpSourceContinued].setResultAndType(r: false, t: false);
1621 InstructionDesc[OpSourceExtension].setResultAndType(r: false, t: false);
1622 InstructionDesc[OpExtension].setResultAndType(r: false, t: false);
1623 InstructionDesc[OpExtInstImport].setResultAndType(r: true, t: false);
1624 InstructionDesc[OpCapability].setResultAndType(r: false, t: false);
1625 InstructionDesc[OpMemoryModel].setResultAndType(r: false, t: false);
1626 InstructionDesc[OpEntryPoint].setResultAndType(r: false, t: false);
1627 InstructionDesc[OpExecutionMode].setResultAndType(r: false, t: false);
1628 InstructionDesc[OpExecutionModeId].setResultAndType(r: false, t: false);
1629 InstructionDesc[OpTypeVoid].setResultAndType(r: true, t: false);
1630 InstructionDesc[OpTypeBool].setResultAndType(r: true, t: false);
1631 InstructionDesc[OpTypeInt].setResultAndType(r: true, t: false);
1632 InstructionDesc[OpTypeFloat].setResultAndType(r: true, t: false);
1633 InstructionDesc[OpTypeVector].setResultAndType(r: true, t: false);
1634 InstructionDesc[OpTypeMatrix].setResultAndType(r: true, t: false);
1635 InstructionDesc[OpTypeImage].setResultAndType(r: true, t: false);
1636 InstructionDesc[OpTypeSampler].setResultAndType(r: true, t: false);
1637 InstructionDesc[OpTypeSampledImage].setResultAndType(r: true, t: false);
1638 InstructionDesc[OpTypeArray].setResultAndType(r: true, t: false);
1639 InstructionDesc[OpTypeRuntimeArray].setResultAndType(r: true, t: false);
1640 InstructionDesc[OpTypeStruct].setResultAndType(r: true, t: false);
1641 InstructionDesc[OpTypeOpaque].setResultAndType(r: true, t: false);
1642 InstructionDesc[OpTypePointer].setResultAndType(r: true, t: false);
1643 InstructionDesc[OpTypeForwardPointer].setResultAndType(r: false, t: false);
1644 InstructionDesc[OpTypeFunction].setResultAndType(r: true, t: false);
1645 InstructionDesc[OpTypeEvent].setResultAndType(r: true, t: false);
1646 InstructionDesc[OpTypeDeviceEvent].setResultAndType(r: true, t: false);
1647 InstructionDesc[OpTypeReserveId].setResultAndType(r: true, t: false);
1648 InstructionDesc[OpTypeQueue].setResultAndType(r: true, t: false);
1649 InstructionDesc[OpTypePipe].setResultAndType(r: true, t: false);
1650 InstructionDesc[OpFunctionEnd].setResultAndType(r: false, t: false);
1651 InstructionDesc[OpStore].setResultAndType(r: false, t: false);
1652 InstructionDesc[OpImageWrite].setResultAndType(r: false, t: false);
1653 InstructionDesc[OpDecorationGroup].setResultAndType(r: true, t: false);
1654 InstructionDesc[OpDecorate].setResultAndType(r: false, t: false);
1655 InstructionDesc[OpDecorateId].setResultAndType(r: false, t: false);
1656 InstructionDesc[OpDecorateStringGOOGLE].setResultAndType(r: false, t: false);
1657 InstructionDesc[OpMemberDecorate].setResultAndType(r: false, t: false);
1658 InstructionDesc[OpMemberDecorateStringGOOGLE].setResultAndType(r: false, t: false);
1659 InstructionDesc[OpGroupDecorate].setResultAndType(r: false, t: false);
1660 InstructionDesc[OpGroupMemberDecorate].setResultAndType(r: false, t: false);
1661 InstructionDesc[OpName].setResultAndType(r: false, t: false);
1662 InstructionDesc[OpMemberName].setResultAndType(r: false, t: false);
1663 InstructionDesc[OpString].setResultAndType(r: true, t: false);
1664 InstructionDesc[OpLine].setResultAndType(r: false, t: false);
1665 InstructionDesc[OpNoLine].setResultAndType(r: false, t: false);
1666 InstructionDesc[OpCopyMemory].setResultAndType(r: false, t: false);
1667 InstructionDesc[OpCopyMemorySized].setResultAndType(r: false, t: false);
1668 InstructionDesc[OpEmitVertex].setResultAndType(r: false, t: false);
1669 InstructionDesc[OpEndPrimitive].setResultAndType(r: false, t: false);
1670 InstructionDesc[OpEmitStreamVertex].setResultAndType(r: false, t: false);
1671 InstructionDesc[OpEndStreamPrimitive].setResultAndType(r: false, t: false);
1672 InstructionDesc[OpControlBarrier].setResultAndType(r: false, t: false);
1673 InstructionDesc[OpMemoryBarrier].setResultAndType(r: false, t: false);
1674 InstructionDesc[OpAtomicStore].setResultAndType(r: false, t: false);
1675 InstructionDesc[OpLoopMerge].setResultAndType(r: false, t: false);
1676 InstructionDesc[OpSelectionMerge].setResultAndType(r: false, t: false);
1677 InstructionDesc[OpLabel].setResultAndType(r: true, t: false);
1678 InstructionDesc[OpBranch].setResultAndType(r: false, t: false);
1679 InstructionDesc[OpBranchConditional].setResultAndType(r: false, t: false);
1680 InstructionDesc[OpSwitch].setResultAndType(r: false, t: false);
1681 InstructionDesc[OpKill].setResultAndType(r: false, t: false);
1682 InstructionDesc[OpTerminateInvocation].setResultAndType(r: false, t: false);
1683 InstructionDesc[OpReturn].setResultAndType(r: false, t: false);
1684 InstructionDesc[OpReturnValue].setResultAndType(r: false, t: false);
1685 InstructionDesc[OpUnreachable].setResultAndType(r: false, t: false);
1686 InstructionDesc[OpLifetimeStart].setResultAndType(r: false, t: false);
1687 InstructionDesc[OpLifetimeStop].setResultAndType(r: false, t: false);
1688 InstructionDesc[OpCommitReadPipe].setResultAndType(r: false, t: false);
1689 InstructionDesc[OpCommitWritePipe].setResultAndType(r: false, t: false);
1690 InstructionDesc[OpGroupCommitWritePipe].setResultAndType(r: false, t: false);
1691 InstructionDesc[OpGroupCommitReadPipe].setResultAndType(r: false, t: false);
1692 InstructionDesc[OpCaptureEventProfilingInfo].setResultAndType(r: false, t: false);
1693 InstructionDesc[OpSetUserEventStatus].setResultAndType(r: false, t: false);
1694 InstructionDesc[OpRetainEvent].setResultAndType(r: false, t: false);
1695 InstructionDesc[OpReleaseEvent].setResultAndType(r: false, t: false);
1696 InstructionDesc[OpGroupWaitEvents].setResultAndType(r: false, t: false);
1697 InstructionDesc[OpAtomicFlagClear].setResultAndType(r: false, t: false);
1698 InstructionDesc[OpModuleProcessed].setResultAndType(r: false, t: false);
1699 InstructionDesc[OpTypeCooperativeMatrixNV].setResultAndType(r: true, t: false);
1700 InstructionDesc[OpCooperativeMatrixStoreNV].setResultAndType(r: false, t: false);
1701 InstructionDesc[OpTypeCooperativeMatrixKHR].setResultAndType(r: true, t: false);
1702 InstructionDesc[OpCooperativeMatrixStoreKHR].setResultAndType(r: false, t: false);
1703 InstructionDesc[OpBeginInvocationInterlockEXT].setResultAndType(r: false, t: false);
1704 InstructionDesc[OpEndInvocationInterlockEXT].setResultAndType(r: false, t: false);
1705 InstructionDesc[OpAssumeTrueKHR].setResultAndType(r: false, t: false);
1706 // Specific additional context-dependent operands
1707
1708 ExecutionModeOperands[ExecutionModeInvocations].push(oc: OperandLiteralNumber, d: "'Number of <<Invocation,invocations>>'");
1709
1710 ExecutionModeOperands[ExecutionModeLocalSize].push(oc: OperandLiteralNumber, d: "'x size'");
1711 ExecutionModeOperands[ExecutionModeLocalSize].push(oc: OperandLiteralNumber, d: "'y size'");
1712 ExecutionModeOperands[ExecutionModeLocalSize].push(oc: OperandLiteralNumber, d: "'z size'");
1713
1714 ExecutionModeOperands[ExecutionModeLocalSizeHint].push(oc: OperandLiteralNumber, d: "'x size'");
1715 ExecutionModeOperands[ExecutionModeLocalSizeHint].push(oc: OperandLiteralNumber, d: "'y size'");
1716 ExecutionModeOperands[ExecutionModeLocalSizeHint].push(oc: OperandLiteralNumber, d: "'z size'");
1717
1718 ExecutionModeOperands[ExecutionModeOutputVertices].push(oc: OperandLiteralNumber, d: "'Vertex count'");
1719 ExecutionModeOperands[ExecutionModeVecTypeHint].push(oc: OperandLiteralNumber, d: "'Vector type'");
1720
1721 DecorationOperands[DecorationStream].push(oc: OperandLiteralNumber, d: "'Stream Number'");
1722 DecorationOperands[DecorationLocation].push(oc: OperandLiteralNumber, d: "'Location'");
1723 DecorationOperands[DecorationComponent].push(oc: OperandLiteralNumber, d: "'Component'");
1724 DecorationOperands[DecorationIndex].push(oc: OperandLiteralNumber, d: "'Index'");
1725 DecorationOperands[DecorationBinding].push(oc: OperandLiteralNumber, d: "'Binding Point'");
1726 DecorationOperands[DecorationDescriptorSet].push(oc: OperandLiteralNumber, d: "'Descriptor Set'");
1727 DecorationOperands[DecorationOffset].push(oc: OperandLiteralNumber, d: "'Byte Offset'");
1728 DecorationOperands[DecorationXfbBuffer].push(oc: OperandLiteralNumber, d: "'XFB Buffer Number'");
1729 DecorationOperands[DecorationXfbStride].push(oc: OperandLiteralNumber, d: "'XFB Stride'");
1730 DecorationOperands[DecorationArrayStride].push(oc: OperandLiteralNumber, d: "'Array Stride'");
1731 DecorationOperands[DecorationMatrixStride].push(oc: OperandLiteralNumber, d: "'Matrix Stride'");
1732 DecorationOperands[DecorationBuiltIn].push(oc: OperandLiteralNumber, d: "See <<BuiltIn,*BuiltIn*>>");
1733 DecorationOperands[DecorationFPRoundingMode].push(oc: OperandFPRoundingMode, d: "'Floating-Point Rounding Mode'");
1734 DecorationOperands[DecorationFPFastMathMode].push(oc: OperandFPFastMath, d: "'Fast-Math Mode'");
1735 DecorationOperands[DecorationLinkageAttributes].push(oc: OperandLiteralString, d: "'Name'");
1736 DecorationOperands[DecorationLinkageAttributes].push(oc: OperandLinkageType, d: "'Linkage Type'");
1737 DecorationOperands[DecorationFuncParamAttr].push(oc: OperandFuncParamAttr, d: "'Function Parameter Attribute'");
1738 DecorationOperands[DecorationSpecId].push(oc: OperandLiteralNumber, d: "'Specialization Constant ID'");
1739 DecorationOperands[DecorationInputAttachmentIndex].push(oc: OperandLiteralNumber, d: "'Attachment Index'");
1740 DecorationOperands[DecorationAlignment].push(oc: OperandLiteralNumber, d: "'Alignment'");
1741
1742 OperandClassParams[OperandSource].set(ceil: 0, name: SourceString, ep: nullptr);
1743 OperandClassParams[OperandExecutionModel].set(ceil: 0, name: ExecutionModelString, ep: nullptr);
1744 OperandClassParams[OperandAddressing].set(ceil: 0, name: AddressingString, ep: nullptr);
1745 OperandClassParams[OperandMemory].set(ceil: 0, name: MemoryString, ep: nullptr);
1746 OperandClassParams[OperandExecutionMode].set(ceil: ExecutionModeCeiling, name: ExecutionModeString, ep: ExecutionModeParams);
1747 OperandClassParams[OperandExecutionMode].setOperands(ExecutionModeOperands);
1748 OperandClassParams[OperandStorage].set(ceil: 0, name: StorageClassString, ep: nullptr);
1749 OperandClassParams[OperandDimensionality].set(ceil: 0, name: DimensionString, ep: nullptr);
1750 OperandClassParams[OperandSamplerAddressingMode].set(ceil: 0, name: SamplerAddressingModeString, ep: nullptr);
1751 OperandClassParams[OperandSamplerFilterMode].set(ceil: 0, name: SamplerFilterModeString, ep: nullptr);
1752 OperandClassParams[OperandSamplerImageFormat].set(ceil: 0, name: ImageFormatString, ep: nullptr);
1753 OperandClassParams[OperandImageChannelOrder].set(ceil: 0, name: ImageChannelOrderString, ep: nullptr);
1754 OperandClassParams[OperandImageChannelDataType].set(ceil: 0, name: ImageChannelDataTypeString, ep: nullptr);
1755 OperandClassParams[OperandImageOperands].set(ceil: ImageOperandsCeiling, name: ImageOperandsString, ep: ImageOperandsParams, mask: true);
1756 OperandClassParams[OperandFPFastMath].set(ceil: 0, name: FPFastMathString, ep: nullptr, mask: true);
1757 OperandClassParams[OperandFPRoundingMode].set(ceil: 0, name: FPRoundingModeString, ep: nullptr);
1758 OperandClassParams[OperandLinkageType].set(ceil: 0, name: LinkageTypeString, ep: nullptr);
1759 OperandClassParams[OperandFuncParamAttr].set(ceil: 0, name: FuncParamAttrString, ep: nullptr);
1760 OperandClassParams[OperandAccessQualifier].set(ceil: 0, name: AccessQualifierString, ep: nullptr);
1761 OperandClassParams[OperandDecoration].set(ceil: DecorationCeiling, name: DecorationString, ep: DecorationParams);
1762 OperandClassParams[OperandDecoration].setOperands(DecorationOperands);
1763 OperandClassParams[OperandBuiltIn].set(ceil: 0, name: BuiltInString, ep: nullptr);
1764 OperandClassParams[OperandSelect].set(ceil: SelectControlCeiling, name: SelectControlString, ep: SelectionControlParams, mask: true);
1765 OperandClassParams[OperandLoop].set(ceil: LoopControlCeiling, name: LoopControlString, ep: LoopControlParams, mask: true);
1766 OperandClassParams[OperandFunction].set(ceil: FunctionControlCeiling, name: FunctionControlString, ep: FunctionControlParams, mask: true);
1767 OperandClassParams[OperandMemorySemantics].set(ceil: 0, name: MemorySemanticsString, ep: nullptr, mask: true);
1768 OperandClassParams[OperandMemoryAccess].set(ceil: MemoryAccessCeiling, name: MemoryAccessString, ep: MemoryAccessParams, mask: true);
1769 OperandClassParams[OperandScope].set(ceil: 0, name: ScopeString, ep: nullptr);
1770 OperandClassParams[OperandGroupOperation].set(ceil: 0, name: GroupOperationString, ep: nullptr);
1771 OperandClassParams[OperandKernelEnqueueFlags].set(ceil: 0, name: KernelEnqueueFlagsString, ep: nullptr);
1772 OperandClassParams[OperandKernelProfilingInfo].set(ceil: 0, name: KernelProfilingInfoString, ep: nullptr, mask: true);
1773 OperandClassParams[OperandCapability].set(ceil: 0, name: CapabilityString, ep: nullptr);
1774 OperandClassParams[OperandCooperativeMatrixOperands].set(ceil: CooperativeMatrixOperandsCeiling, name: CooperativeMatrixOperandsString, ep: CooperativeMatrixOperandsParams, mask: true);
1775 OperandClassParams[OperandOpcode].set(ceil: OpCodeMask + 1, name: OpcodeString, ep: nullptr);
1776
1777 // set name of operator, an initial set of <id> style operands, and the description
1778
1779 InstructionDesc[OpSource].operands.push(oc: OperandSource, d: "");
1780 InstructionDesc[OpSource].operands.push(oc: OperandLiteralNumber, d: "'Version'");
1781 InstructionDesc[OpSource].operands.push(oc: OperandId, d: "'File'", opt: true);
1782 InstructionDesc[OpSource].operands.push(oc: OperandLiteralString, d: "'Source'", opt: true);
1783
1784 InstructionDesc[OpSourceContinued].operands.push(oc: OperandLiteralString, d: "'Continued Source'");
1785
1786 InstructionDesc[OpSourceExtension].operands.push(oc: OperandLiteralString, d: "'Extension'");
1787
1788 InstructionDesc[OpName].operands.push(oc: OperandId, d: "'Target'");
1789 InstructionDesc[OpName].operands.push(oc: OperandLiteralString, d: "'Name'");
1790
1791 InstructionDesc[OpMemberName].operands.push(oc: OperandId, d: "'Type'");
1792 InstructionDesc[OpMemberName].operands.push(oc: OperandLiteralNumber, d: "'Member'");
1793 InstructionDesc[OpMemberName].operands.push(oc: OperandLiteralString, d: "'Name'");
1794
1795 InstructionDesc[OpString].operands.push(oc: OperandLiteralString, d: "'String'");
1796
1797 InstructionDesc[OpLine].operands.push(oc: OperandId, d: "'File'");
1798 InstructionDesc[OpLine].operands.push(oc: OperandLiteralNumber, d: "'Line'");
1799 InstructionDesc[OpLine].operands.push(oc: OperandLiteralNumber, d: "'Column'");
1800
1801 InstructionDesc[OpExtension].operands.push(oc: OperandLiteralString, d: "'Name'");
1802
1803 InstructionDesc[OpExtInstImport].operands.push(oc: OperandLiteralString, d: "'Name'");
1804
1805 InstructionDesc[OpCapability].operands.push(oc: OperandCapability, d: "'Capability'");
1806
1807 InstructionDesc[OpMemoryModel].operands.push(oc: OperandAddressing, d: "");
1808 InstructionDesc[OpMemoryModel].operands.push(oc: OperandMemory, d: "");
1809
1810 InstructionDesc[OpEntryPoint].operands.push(oc: OperandExecutionModel, d: "");
1811 InstructionDesc[OpEntryPoint].operands.push(oc: OperandId, d: "'Entry Point'");
1812 InstructionDesc[OpEntryPoint].operands.push(oc: OperandLiteralString, d: "'Name'");
1813 InstructionDesc[OpEntryPoint].operands.push(oc: OperandVariableIds, d: "'Interface'");
1814
1815 InstructionDesc[OpExecutionMode].operands.push(oc: OperandId, d: "'Entry Point'");
1816 InstructionDesc[OpExecutionMode].operands.push(oc: OperandExecutionMode, d: "'Mode'");
1817 InstructionDesc[OpExecutionMode].operands.push(oc: OperandOptionalLiteral, d: "See <<Execution_Mode,Execution Mode>>");
1818
1819 InstructionDesc[OpExecutionModeId].operands.push(oc: OperandId, d: "'Entry Point'");
1820 InstructionDesc[OpExecutionModeId].operands.push(oc: OperandExecutionMode, d: "'Mode'");
1821 InstructionDesc[OpExecutionModeId].operands.push(oc: OperandVariableIds, d: "See <<Execution_Mode,Execution Mode>>");
1822
1823 InstructionDesc[OpTypeInt].operands.push(oc: OperandLiteralNumber, d: "'Width'");
1824 InstructionDesc[OpTypeInt].operands.push(oc: OperandLiteralNumber, d: "'Signedness'");
1825
1826 InstructionDesc[OpTypeFloat].operands.push(oc: OperandLiteralNumber, d: "'Width'");
1827
1828 InstructionDesc[OpTypeVector].operands.push(oc: OperandId, d: "'Component Type'");
1829 InstructionDesc[OpTypeVector].operands.push(oc: OperandLiteralNumber, d: "'Component Count'");
1830
1831 InstructionDesc[OpTypeMatrix].operands.push(oc: OperandId, d: "'Column Type'");
1832 InstructionDesc[OpTypeMatrix].operands.push(oc: OperandLiteralNumber, d: "'Column Count'");
1833
1834 InstructionDesc[OpTypeImage].operands.push(oc: OperandId, d: "'Sampled Type'");
1835 InstructionDesc[OpTypeImage].operands.push(oc: OperandDimensionality, d: "");
1836 InstructionDesc[OpTypeImage].operands.push(oc: OperandLiteralNumber, d: "'Depth'");
1837 InstructionDesc[OpTypeImage].operands.push(oc: OperandLiteralNumber, d: "'Arrayed'");
1838 InstructionDesc[OpTypeImage].operands.push(oc: OperandLiteralNumber, d: "'MS'");
1839 InstructionDesc[OpTypeImage].operands.push(oc: OperandLiteralNumber, d: "'Sampled'");
1840 InstructionDesc[OpTypeImage].operands.push(oc: OperandSamplerImageFormat, d: "");
1841 InstructionDesc[OpTypeImage].operands.push(oc: OperandAccessQualifier, d: "", opt: true);
1842
1843 InstructionDesc[OpTypeSampledImage].operands.push(oc: OperandId, d: "'Image Type'");
1844
1845 InstructionDesc[OpTypeArray].operands.push(oc: OperandId, d: "'Element Type'");
1846 InstructionDesc[OpTypeArray].operands.push(oc: OperandId, d: "'Length'");
1847
1848 InstructionDesc[OpTypeRuntimeArray].operands.push(oc: OperandId, d: "'Element Type'");
1849
1850 InstructionDesc[OpTypeStruct].operands.push(oc: OperandVariableIds, d: "'Member 0 type', +\n'member 1 type', +\n...");
1851
1852 InstructionDesc[OpTypeOpaque].operands.push(oc: OperandLiteralString, d: "The name of the opaque type.");
1853
1854 InstructionDesc[OpTypePointer].operands.push(oc: OperandStorage, d: "");
1855 InstructionDesc[OpTypePointer].operands.push(oc: OperandId, d: "'Type'");
1856
1857 InstructionDesc[OpTypeForwardPointer].operands.push(oc: OperandId, d: "'Pointer Type'");
1858 InstructionDesc[OpTypeForwardPointer].operands.push(oc: OperandStorage, d: "");
1859
1860 InstructionDesc[OpTypePipe].operands.push(oc: OperandAccessQualifier, d: "'Qualifier'");
1861
1862 InstructionDesc[OpTypeFunction].operands.push(oc: OperandId, d: "'Return Type'");
1863 InstructionDesc[OpTypeFunction].operands.push(oc: OperandVariableIds, d: "'Parameter 0 Type', +\n'Parameter 1 Type', +\n...");
1864
1865 InstructionDesc[OpConstant].operands.push(oc: OperandVariableLiterals, d: "'Value'");
1866
1867 InstructionDesc[OpConstantComposite].operands.push(oc: OperandVariableIds, d: "'Constituents'");
1868
1869 InstructionDesc[OpConstantSampler].operands.push(oc: OperandSamplerAddressingMode, d: "");
1870 InstructionDesc[OpConstantSampler].operands.push(oc: OperandLiteralNumber, d: "'Param'");
1871 InstructionDesc[OpConstantSampler].operands.push(oc: OperandSamplerFilterMode, d: "");
1872
1873 InstructionDesc[OpSpecConstant].operands.push(oc: OperandVariableLiterals, d: "'Value'");
1874
1875 InstructionDesc[OpSpecConstantComposite].operands.push(oc: OperandVariableIds, d: "'Constituents'");
1876
1877 InstructionDesc[OpSpecConstantOp].operands.push(oc: OperandLiteralNumber, d: "'Opcode'");
1878 InstructionDesc[OpSpecConstantOp].operands.push(oc: OperandVariableIds, d: "'Operands'");
1879
1880 InstructionDesc[OpVariable].operands.push(oc: OperandStorage, d: "");
1881 InstructionDesc[OpVariable].operands.push(oc: OperandId, d: "'Initializer'", opt: true);
1882
1883 InstructionDesc[OpFunction].operands.push(oc: OperandFunction, d: "");
1884 InstructionDesc[OpFunction].operands.push(oc: OperandId, d: "'Function Type'");
1885
1886 InstructionDesc[OpFunctionCall].operands.push(oc: OperandId, d: "'Function'");
1887 InstructionDesc[OpFunctionCall].operands.push(oc: OperandVariableIds, d: "'Argument 0', +\n'Argument 1', +\n...");
1888
1889 InstructionDesc[OpExtInst].operands.push(oc: OperandId, d: "'Set'");
1890 InstructionDesc[OpExtInst].operands.push(oc: OperandLiteralNumber, d: "'Instruction'");
1891 InstructionDesc[OpExtInst].operands.push(oc: OperandVariableIds, d: "'Operand 1', +\n'Operand 2', +\n...");
1892
1893 InstructionDesc[OpLoad].operands.push(oc: OperandId, d: "'Pointer'");
1894 InstructionDesc[OpLoad].operands.push(oc: OperandMemoryAccess, d: "", opt: true);
1895 InstructionDesc[OpLoad].operands.push(oc: OperandLiteralNumber, d: "", opt: true);
1896 InstructionDesc[OpLoad].operands.push(oc: OperandId, d: "", opt: true);
1897
1898 InstructionDesc[OpStore].operands.push(oc: OperandId, d: "'Pointer'");
1899 InstructionDesc[OpStore].operands.push(oc: OperandId, d: "'Object'");
1900 InstructionDesc[OpStore].operands.push(oc: OperandMemoryAccess, d: "", opt: true);
1901 InstructionDesc[OpStore].operands.push(oc: OperandLiteralNumber, d: "", opt: true);
1902 InstructionDesc[OpStore].operands.push(oc: OperandId, d: "", opt: true);
1903
1904 InstructionDesc[OpPhi].operands.push(oc: OperandVariableIds, d: "'Variable, Parent, ...'");
1905
1906 InstructionDesc[OpDecorate].operands.push(oc: OperandId, d: "'Target'");
1907 InstructionDesc[OpDecorate].operands.push(oc: OperandDecoration, d: "");
1908 InstructionDesc[OpDecorate].operands.push(oc: OperandVariableLiterals, d: "See <<Decoration,'Decoration'>>.");
1909
1910 InstructionDesc[OpDecorateId].operands.push(oc: OperandId, d: "'Target'");
1911 InstructionDesc[OpDecorateId].operands.push(oc: OperandDecoration, d: "");
1912 InstructionDesc[OpDecorateId].operands.push(oc: OperandVariableIds, d: "See <<Decoration,'Decoration'>>.");
1913
1914 InstructionDesc[OpDecorateStringGOOGLE].operands.push(oc: OperandId, d: "'Target'");
1915 InstructionDesc[OpDecorateStringGOOGLE].operands.push(oc: OperandDecoration, d: "");
1916 InstructionDesc[OpDecorateStringGOOGLE].operands.push(oc: OperandVariableLiteralStrings, d: "'Literal Strings'");
1917
1918 InstructionDesc[OpMemberDecorate].operands.push(oc: OperandId, d: "'Structure Type'");
1919 InstructionDesc[OpMemberDecorate].operands.push(oc: OperandLiteralNumber, d: "'Member'");
1920 InstructionDesc[OpMemberDecorate].operands.push(oc: OperandDecoration, d: "");
1921 InstructionDesc[OpMemberDecorate].operands.push(oc: OperandVariableLiterals, d: "See <<Decoration,'Decoration'>>.");
1922
1923 InstructionDesc[OpMemberDecorateStringGOOGLE].operands.push(oc: OperandId, d: "'Structure Type'");
1924 InstructionDesc[OpMemberDecorateStringGOOGLE].operands.push(oc: OperandLiteralNumber, d: "'Member'");
1925 InstructionDesc[OpMemberDecorateStringGOOGLE].operands.push(oc: OperandDecoration, d: "");
1926 InstructionDesc[OpMemberDecorateStringGOOGLE].operands.push(oc: OperandVariableLiteralStrings, d: "'Literal Strings'");
1927
1928 InstructionDesc[OpGroupDecorate].operands.push(oc: OperandId, d: "'Decoration Group'");
1929 InstructionDesc[OpGroupDecorate].operands.push(oc: OperandVariableIds, d: "'Targets'");
1930
1931 InstructionDesc[OpGroupMemberDecorate].operands.push(oc: OperandId, d: "'Decoration Group'");
1932 InstructionDesc[OpGroupMemberDecorate].operands.push(oc: OperandVariableIdLiteral, d: "'Targets'");
1933
1934 InstructionDesc[OpVectorExtractDynamic].operands.push(oc: OperandId, d: "'Vector'");
1935 InstructionDesc[OpVectorExtractDynamic].operands.push(oc: OperandId, d: "'Index'");
1936
1937 InstructionDesc[OpVectorInsertDynamic].operands.push(oc: OperandId, d: "'Vector'");
1938 InstructionDesc[OpVectorInsertDynamic].operands.push(oc: OperandId, d: "'Component'");
1939 InstructionDesc[OpVectorInsertDynamic].operands.push(oc: OperandId, d: "'Index'");
1940
1941 InstructionDesc[OpVectorShuffle].operands.push(oc: OperandId, d: "'Vector 1'");
1942 InstructionDesc[OpVectorShuffle].operands.push(oc: OperandId, d: "'Vector 2'");
1943 InstructionDesc[OpVectorShuffle].operands.push(oc: OperandVariableLiterals, d: "'Components'");
1944
1945 InstructionDesc[OpCompositeConstruct].operands.push(oc: OperandVariableIds, d: "'Constituents'");
1946
1947 InstructionDesc[OpCompositeExtract].operands.push(oc: OperandId, d: "'Composite'");
1948 InstructionDesc[OpCompositeExtract].operands.push(oc: OperandVariableLiterals, d: "'Indexes'");
1949
1950 InstructionDesc[OpCompositeInsert].operands.push(oc: OperandId, d: "'Object'");
1951 InstructionDesc[OpCompositeInsert].operands.push(oc: OperandId, d: "'Composite'");
1952 InstructionDesc[OpCompositeInsert].operands.push(oc: OperandVariableLiterals, d: "'Indexes'");
1953
1954 InstructionDesc[OpCopyObject].operands.push(oc: OperandId, d: "'Operand'");
1955
1956 InstructionDesc[OpCopyMemory].operands.push(oc: OperandId, d: "'Target'");
1957 InstructionDesc[OpCopyMemory].operands.push(oc: OperandId, d: "'Source'");
1958 InstructionDesc[OpCopyMemory].operands.push(oc: OperandMemoryAccess, d: "", opt: true);
1959
1960 InstructionDesc[OpCopyMemorySized].operands.push(oc: OperandId, d: "'Target'");
1961 InstructionDesc[OpCopyMemorySized].operands.push(oc: OperandId, d: "'Source'");
1962 InstructionDesc[OpCopyMemorySized].operands.push(oc: OperandId, d: "'Size'");
1963 InstructionDesc[OpCopyMemorySized].operands.push(oc: OperandMemoryAccess, d: "", opt: true);
1964
1965 InstructionDesc[OpSampledImage].operands.push(oc: OperandId, d: "'Image'");
1966 InstructionDesc[OpSampledImage].operands.push(oc: OperandId, d: "'Sampler'");
1967
1968 InstructionDesc[OpImage].operands.push(oc: OperandId, d: "'Sampled Image'");
1969
1970 InstructionDesc[OpImageRead].operands.push(oc: OperandId, d: "'Image'");
1971 InstructionDesc[OpImageRead].operands.push(oc: OperandId, d: "'Coordinate'");
1972 InstructionDesc[OpImageRead].operands.push(oc: OperandImageOperands, d: "", opt: true);
1973 InstructionDesc[OpImageRead].operands.push(oc: OperandVariableIds, d: "", opt: true);
1974
1975 InstructionDesc[OpImageWrite].operands.push(oc: OperandId, d: "'Image'");
1976 InstructionDesc[OpImageWrite].operands.push(oc: OperandId, d: "'Coordinate'");
1977 InstructionDesc[OpImageWrite].operands.push(oc: OperandId, d: "'Texel'");
1978 InstructionDesc[OpImageWrite].operands.push(oc: OperandImageOperands, d: "", opt: true);
1979 InstructionDesc[OpImageWrite].operands.push(oc: OperandVariableIds, d: "", opt: true);
1980
1981 InstructionDesc[OpImageSampleImplicitLod].operands.push(oc: OperandId, d: "'Sampled Image'");
1982 InstructionDesc[OpImageSampleImplicitLod].operands.push(oc: OperandId, d: "'Coordinate'");
1983 InstructionDesc[OpImageSampleImplicitLod].operands.push(oc: OperandImageOperands, d: "", opt: true);
1984 InstructionDesc[OpImageSampleImplicitLod].operands.push(oc: OperandVariableIds, d: "", opt: true);
1985
1986 InstructionDesc[OpImageSampleExplicitLod].operands.push(oc: OperandId, d: "'Sampled Image'");
1987 InstructionDesc[OpImageSampleExplicitLod].operands.push(oc: OperandId, d: "'Coordinate'");
1988 InstructionDesc[OpImageSampleExplicitLod].operands.push(oc: OperandImageOperands, d: "", opt: true);
1989 InstructionDesc[OpImageSampleExplicitLod].operands.push(oc: OperandVariableIds, d: "", opt: true);
1990
1991 InstructionDesc[OpImageSampleDrefImplicitLod].operands.push(oc: OperandId, d: "'Sampled Image'");
1992 InstructionDesc[OpImageSampleDrefImplicitLod].operands.push(oc: OperandId, d: "'Coordinate'");
1993 InstructionDesc[OpImageSampleDrefImplicitLod].operands.push(oc: OperandId, d: "'D~ref~'");
1994 InstructionDesc[OpImageSampleDrefImplicitLod].operands.push(oc: OperandImageOperands, d: "", opt: true);
1995 InstructionDesc[OpImageSampleDrefImplicitLod].operands.push(oc: OperandVariableIds, d: "", opt: true);
1996
1997 InstructionDesc[OpImageSampleDrefExplicitLod].operands.push(oc: OperandId, d: "'Sampled Image'");
1998 InstructionDesc[OpImageSampleDrefExplicitLod].operands.push(oc: OperandId, d: "'Coordinate'");
1999 InstructionDesc[OpImageSampleDrefExplicitLod].operands.push(oc: OperandId, d: "'D~ref~'");
2000 InstructionDesc[OpImageSampleDrefExplicitLod].operands.push(oc: OperandImageOperands, d: "", opt: true);
2001 InstructionDesc[OpImageSampleDrefExplicitLod].operands.push(oc: OperandVariableIds, d: "", opt: true);
2002
2003 InstructionDesc[OpImageSampleProjImplicitLod].operands.push(oc: OperandId, d: "'Sampled Image'");
2004 InstructionDesc[OpImageSampleProjImplicitLod].operands.push(oc: OperandId, d: "'Coordinate'");
2005 InstructionDesc[OpImageSampleProjImplicitLod].operands.push(oc: OperandImageOperands, d: "", opt: true);
2006 InstructionDesc[OpImageSampleProjImplicitLod].operands.push(oc: OperandVariableIds, d: "", opt: true);
2007
2008 InstructionDesc[OpImageSampleProjExplicitLod].operands.push(oc: OperandId, d: "'Sampled Image'");
2009 InstructionDesc[OpImageSampleProjExplicitLod].operands.push(oc: OperandId, d: "'Coordinate'");
2010 InstructionDesc[OpImageSampleProjExplicitLod].operands.push(oc: OperandImageOperands, d: "", opt: true);
2011 InstructionDesc[OpImageSampleProjExplicitLod].operands.push(oc: OperandVariableIds, d: "", opt: true);
2012
2013 InstructionDesc[OpImageSampleProjDrefImplicitLod].operands.push(oc: OperandId, d: "'Sampled Image'");
2014 InstructionDesc[OpImageSampleProjDrefImplicitLod].operands.push(oc: OperandId, d: "'Coordinate'");
2015 InstructionDesc[OpImageSampleProjDrefImplicitLod].operands.push(oc: OperandId, d: "'D~ref~'");
2016 InstructionDesc[OpImageSampleProjDrefImplicitLod].operands.push(oc: OperandImageOperands, d: "", opt: true);
2017 InstructionDesc[OpImageSampleProjDrefImplicitLod].operands.push(oc: OperandVariableIds, d: "", opt: true);
2018
2019 InstructionDesc[OpImageSampleProjDrefExplicitLod].operands.push(oc: OperandId, d: "'Sampled Image'");
2020 InstructionDesc[OpImageSampleProjDrefExplicitLod].operands.push(oc: OperandId, d: "'Coordinate'");
2021 InstructionDesc[OpImageSampleProjDrefExplicitLod].operands.push(oc: OperandId, d: "'D~ref~'");
2022 InstructionDesc[OpImageSampleProjDrefExplicitLod].operands.push(oc: OperandImageOperands, d: "", opt: true);
2023 InstructionDesc[OpImageSampleProjDrefExplicitLod].operands.push(oc: OperandVariableIds, d: "", opt: true);
2024
2025 InstructionDesc[OpImageFetch].operands.push(oc: OperandId, d: "'Image'");
2026 InstructionDesc[OpImageFetch].operands.push(oc: OperandId, d: "'Coordinate'");
2027 InstructionDesc[OpImageFetch].operands.push(oc: OperandImageOperands, d: "", opt: true);
2028 InstructionDesc[OpImageFetch].operands.push(oc: OperandVariableIds, d: "", opt: true);
2029
2030 InstructionDesc[OpImageGather].operands.push(oc: OperandId, d: "'Sampled Image'");
2031 InstructionDesc[OpImageGather].operands.push(oc: OperandId, d: "'Coordinate'");
2032 InstructionDesc[OpImageGather].operands.push(oc: OperandId, d: "'Component'");
2033 InstructionDesc[OpImageGather].operands.push(oc: OperandImageOperands, d: "", opt: true);
2034 InstructionDesc[OpImageGather].operands.push(oc: OperandVariableIds, d: "", opt: true);
2035
2036 InstructionDesc[OpImageDrefGather].operands.push(oc: OperandId, d: "'Sampled Image'");
2037 InstructionDesc[OpImageDrefGather].operands.push(oc: OperandId, d: "'Coordinate'");
2038 InstructionDesc[OpImageDrefGather].operands.push(oc: OperandId, d: "'D~ref~'");
2039 InstructionDesc[OpImageDrefGather].operands.push(oc: OperandImageOperands, d: "", opt: true);
2040 InstructionDesc[OpImageDrefGather].operands.push(oc: OperandVariableIds, d: "", opt: true);
2041
2042 InstructionDesc[OpImageSparseSampleImplicitLod].operands.push(oc: OperandId, d: "'Sampled Image'");
2043 InstructionDesc[OpImageSparseSampleImplicitLod].operands.push(oc: OperandId, d: "'Coordinate'");
2044 InstructionDesc[OpImageSparseSampleImplicitLod].operands.push(oc: OperandImageOperands, d: "", opt: true);
2045 InstructionDesc[OpImageSparseSampleImplicitLod].operands.push(oc: OperandVariableIds, d: "", opt: true);
2046
2047 InstructionDesc[OpImageSparseSampleExplicitLod].operands.push(oc: OperandId, d: "'Sampled Image'");
2048 InstructionDesc[OpImageSparseSampleExplicitLod].operands.push(oc: OperandId, d: "'Coordinate'");
2049 InstructionDesc[OpImageSparseSampleExplicitLod].operands.push(oc: OperandImageOperands, d: "", opt: true);
2050 InstructionDesc[OpImageSparseSampleExplicitLod].operands.push(oc: OperandVariableIds, d: "", opt: true);
2051
2052 InstructionDesc[OpImageSparseSampleDrefImplicitLod].operands.push(oc: OperandId, d: "'Sampled Image'");
2053 InstructionDesc[OpImageSparseSampleDrefImplicitLod].operands.push(oc: OperandId, d: "'Coordinate'");
2054 InstructionDesc[OpImageSparseSampleDrefImplicitLod].operands.push(oc: OperandId, d: "'D~ref~'");
2055 InstructionDesc[OpImageSparseSampleDrefImplicitLod].operands.push(oc: OperandImageOperands, d: "", opt: true);
2056 InstructionDesc[OpImageSparseSampleDrefImplicitLod].operands.push(oc: OperandVariableIds, d: "", opt: true);
2057
2058 InstructionDesc[OpImageSparseSampleDrefExplicitLod].operands.push(oc: OperandId, d: "'Sampled Image'");
2059 InstructionDesc[OpImageSparseSampleDrefExplicitLod].operands.push(oc: OperandId, d: "'Coordinate'");
2060 InstructionDesc[OpImageSparseSampleDrefExplicitLod].operands.push(oc: OperandId, d: "'D~ref~'");
2061 InstructionDesc[OpImageSparseSampleDrefExplicitLod].operands.push(oc: OperandImageOperands, d: "", opt: true);
2062 InstructionDesc[OpImageSparseSampleDrefExplicitLod].operands.push(oc: OperandVariableIds, d: "", opt: true);
2063
2064 InstructionDesc[OpImageSparseSampleProjImplicitLod].operands.push(oc: OperandId, d: "'Sampled Image'");
2065 InstructionDesc[OpImageSparseSampleProjImplicitLod].operands.push(oc: OperandId, d: "'Coordinate'");
2066 InstructionDesc[OpImageSparseSampleProjImplicitLod].operands.push(oc: OperandImageOperands, d: "", opt: true);
2067 InstructionDesc[OpImageSparseSampleProjImplicitLod].operands.push(oc: OperandVariableIds, d: "", opt: true);
2068
2069 InstructionDesc[OpImageSparseSampleProjExplicitLod].operands.push(oc: OperandId, d: "'Sampled Image'");
2070 InstructionDesc[OpImageSparseSampleProjExplicitLod].operands.push(oc: OperandId, d: "'Coordinate'");
2071 InstructionDesc[OpImageSparseSampleProjExplicitLod].operands.push(oc: OperandImageOperands, d: "", opt: true);
2072 InstructionDesc[OpImageSparseSampleProjExplicitLod].operands.push(oc: OperandVariableIds, d: "", opt: true);
2073
2074 InstructionDesc[OpImageSparseSampleProjDrefImplicitLod].operands.push(oc: OperandId, d: "'Sampled Image'");
2075 InstructionDesc[OpImageSparseSampleProjDrefImplicitLod].operands.push(oc: OperandId, d: "'Coordinate'");
2076 InstructionDesc[OpImageSparseSampleProjDrefImplicitLod].operands.push(oc: OperandId, d: "'D~ref~'");
2077 InstructionDesc[OpImageSparseSampleProjDrefImplicitLod].operands.push(oc: OperandImageOperands, d: "", opt: true);
2078 InstructionDesc[OpImageSparseSampleProjDrefImplicitLod].operands.push(oc: OperandVariableIds, d: "", opt: true);
2079
2080 InstructionDesc[OpImageSparseSampleProjDrefExplicitLod].operands.push(oc: OperandId, d: "'Sampled Image'");
2081 InstructionDesc[OpImageSparseSampleProjDrefExplicitLod].operands.push(oc: OperandId, d: "'Coordinate'");
2082 InstructionDesc[OpImageSparseSampleProjDrefExplicitLod].operands.push(oc: OperandId, d: "'D~ref~'");
2083 InstructionDesc[OpImageSparseSampleProjDrefExplicitLod].operands.push(oc: OperandImageOperands, d: "", opt: true);
2084 InstructionDesc[OpImageSparseSampleProjDrefExplicitLod].operands.push(oc: OperandVariableIds, d: "", opt: true);
2085
2086 InstructionDesc[OpImageSparseFetch].operands.push(oc: OperandId, d: "'Image'");
2087 InstructionDesc[OpImageSparseFetch].operands.push(oc: OperandId, d: "'Coordinate'");
2088 InstructionDesc[OpImageSparseFetch].operands.push(oc: OperandImageOperands, d: "", opt: true);
2089 InstructionDesc[OpImageSparseFetch].operands.push(oc: OperandVariableIds, d: "", opt: true);
2090
2091 InstructionDesc[OpImageSparseGather].operands.push(oc: OperandId, d: "'Sampled Image'");
2092 InstructionDesc[OpImageSparseGather].operands.push(oc: OperandId, d: "'Coordinate'");
2093 InstructionDesc[OpImageSparseGather].operands.push(oc: OperandId, d: "'Component'");
2094 InstructionDesc[OpImageSparseGather].operands.push(oc: OperandImageOperands, d: "", opt: true);
2095 InstructionDesc[OpImageSparseGather].operands.push(oc: OperandVariableIds, d: "", opt: true);
2096
2097 InstructionDesc[OpImageSparseDrefGather].operands.push(oc: OperandId, d: "'Sampled Image'");
2098 InstructionDesc[OpImageSparseDrefGather].operands.push(oc: OperandId, d: "'Coordinate'");
2099 InstructionDesc[OpImageSparseDrefGather].operands.push(oc: OperandId, d: "'D~ref~'");
2100 InstructionDesc[OpImageSparseDrefGather].operands.push(oc: OperandImageOperands, d: "", opt: true);
2101 InstructionDesc[OpImageSparseDrefGather].operands.push(oc: OperandVariableIds, d: "", opt: true);
2102
2103 InstructionDesc[OpImageSparseRead].operands.push(oc: OperandId, d: "'Image'");
2104 InstructionDesc[OpImageSparseRead].operands.push(oc: OperandId, d: "'Coordinate'");
2105 InstructionDesc[OpImageSparseRead].operands.push(oc: OperandImageOperands, d: "", opt: true);
2106 InstructionDesc[OpImageSparseRead].operands.push(oc: OperandVariableIds, d: "", opt: true);
2107
2108 InstructionDesc[OpImageSparseTexelsResident].operands.push(oc: OperandId, d: "'Resident Code'");
2109
2110 InstructionDesc[OpImageQuerySizeLod].operands.push(oc: OperandId, d: "'Image'");
2111 InstructionDesc[OpImageQuerySizeLod].operands.push(oc: OperandId, d: "'Level of Detail'");
2112
2113 InstructionDesc[OpImageQuerySize].operands.push(oc: OperandId, d: "'Image'");
2114
2115 InstructionDesc[OpImageQueryLod].operands.push(oc: OperandId, d: "'Image'");
2116 InstructionDesc[OpImageQueryLod].operands.push(oc: OperandId, d: "'Coordinate'");
2117
2118 InstructionDesc[OpImageQueryLevels].operands.push(oc: OperandId, d: "'Image'");
2119
2120 InstructionDesc[OpImageQuerySamples].operands.push(oc: OperandId, d: "'Image'");
2121
2122 InstructionDesc[OpImageQueryFormat].operands.push(oc: OperandId, d: "'Image'");
2123
2124 InstructionDesc[OpImageQueryOrder].operands.push(oc: OperandId, d: "'Image'");
2125
2126 InstructionDesc[OpAccessChain].operands.push(oc: OperandId, d: "'Base'");
2127 InstructionDesc[OpAccessChain].operands.push(oc: OperandVariableIds, d: "'Indexes'");
2128
2129 InstructionDesc[OpInBoundsAccessChain].operands.push(oc: OperandId, d: "'Base'");
2130 InstructionDesc[OpInBoundsAccessChain].operands.push(oc: OperandVariableIds, d: "'Indexes'");
2131
2132 InstructionDesc[OpPtrAccessChain].operands.push(oc: OperandId, d: "'Base'");
2133 InstructionDesc[OpPtrAccessChain].operands.push(oc: OperandId, d: "'Element'");
2134 InstructionDesc[OpPtrAccessChain].operands.push(oc: OperandVariableIds, d: "'Indexes'");
2135
2136 InstructionDesc[OpInBoundsPtrAccessChain].operands.push(oc: OperandId, d: "'Base'");
2137 InstructionDesc[OpInBoundsPtrAccessChain].operands.push(oc: OperandId, d: "'Element'");
2138 InstructionDesc[OpInBoundsPtrAccessChain].operands.push(oc: OperandVariableIds, d: "'Indexes'");
2139
2140 InstructionDesc[OpSNegate].operands.push(oc: OperandId, d: "'Operand'");
2141
2142 InstructionDesc[OpFNegate].operands.push(oc: OperandId, d: "'Operand'");
2143
2144 InstructionDesc[OpNot].operands.push(oc: OperandId, d: "'Operand'");
2145
2146 InstructionDesc[OpAny].operands.push(oc: OperandId, d: "'Vector'");
2147
2148 InstructionDesc[OpAll].operands.push(oc: OperandId, d: "'Vector'");
2149
2150 InstructionDesc[OpConvertFToU].operands.push(oc: OperandId, d: "'Float Value'");
2151
2152 InstructionDesc[OpConvertFToS].operands.push(oc: OperandId, d: "'Float Value'");
2153
2154 InstructionDesc[OpConvertSToF].operands.push(oc: OperandId, d: "'Signed Value'");
2155
2156 InstructionDesc[OpConvertUToF].operands.push(oc: OperandId, d: "'Unsigned Value'");
2157
2158 InstructionDesc[OpUConvert].operands.push(oc: OperandId, d: "'Unsigned Value'");
2159
2160 InstructionDesc[OpSConvert].operands.push(oc: OperandId, d: "'Signed Value'");
2161
2162 InstructionDesc[OpFConvert].operands.push(oc: OperandId, d: "'Float Value'");
2163
2164 InstructionDesc[OpSatConvertSToU].operands.push(oc: OperandId, d: "'Signed Value'");
2165
2166 InstructionDesc[OpSatConvertUToS].operands.push(oc: OperandId, d: "'Unsigned Value'");
2167
2168 InstructionDesc[OpConvertPtrToU].operands.push(oc: OperandId, d: "'Pointer'");
2169
2170 InstructionDesc[OpConvertUToPtr].operands.push(oc: OperandId, d: "'Integer Value'");
2171
2172 InstructionDesc[OpPtrCastToGeneric].operands.push(oc: OperandId, d: "'Pointer'");
2173
2174 InstructionDesc[OpGenericCastToPtr].operands.push(oc: OperandId, d: "'Pointer'");
2175
2176 InstructionDesc[OpGenericCastToPtrExplicit].operands.push(oc: OperandId, d: "'Pointer'");
2177 InstructionDesc[OpGenericCastToPtrExplicit].operands.push(oc: OperandStorage, d: "'Storage'");
2178
2179 InstructionDesc[OpGenericPtrMemSemantics].operands.push(oc: OperandId, d: "'Pointer'");
2180
2181 InstructionDesc[OpBitcast].operands.push(oc: OperandId, d: "'Operand'");
2182
2183 InstructionDesc[OpQuantizeToF16].operands.push(oc: OperandId, d: "'Value'");
2184
2185 InstructionDesc[OpTranspose].operands.push(oc: OperandId, d: "'Matrix'");
2186
2187 InstructionDesc[OpCopyLogical].operands.push(oc: OperandId, d: "'Operand'");
2188
2189 InstructionDesc[OpIsNan].operands.push(oc: OperandId, d: "'x'");
2190
2191 InstructionDesc[OpIsInf].operands.push(oc: OperandId, d: "'x'");
2192
2193 InstructionDesc[OpIsFinite].operands.push(oc: OperandId, d: "'x'");
2194
2195 InstructionDesc[OpIsNormal].operands.push(oc: OperandId, d: "'x'");
2196
2197 InstructionDesc[OpSignBitSet].operands.push(oc: OperandId, d: "'x'");
2198
2199 InstructionDesc[OpLessOrGreater].operands.push(oc: OperandId, d: "'x'");
2200 InstructionDesc[OpLessOrGreater].operands.push(oc: OperandId, d: "'y'");
2201
2202 InstructionDesc[OpOrdered].operands.push(oc: OperandId, d: "'x'");
2203 InstructionDesc[OpOrdered].operands.push(oc: OperandId, d: "'y'");
2204
2205 InstructionDesc[OpUnordered].operands.push(oc: OperandId, d: "'x'");
2206 InstructionDesc[OpUnordered].operands.push(oc: OperandId, d: "'y'");
2207
2208 InstructionDesc[OpArrayLength].operands.push(oc: OperandId, d: "'Structure'");
2209 InstructionDesc[OpArrayLength].operands.push(oc: OperandLiteralNumber, d: "'Array member'");
2210
2211 InstructionDesc[OpIAdd].operands.push(oc: OperandId, d: "'Operand 1'");
2212 InstructionDesc[OpIAdd].operands.push(oc: OperandId, d: "'Operand 2'");
2213
2214 InstructionDesc[OpFAdd].operands.push(oc: OperandId, d: "'Operand 1'");
2215 InstructionDesc[OpFAdd].operands.push(oc: OperandId, d: "'Operand 2'");
2216
2217 InstructionDesc[OpISub].operands.push(oc: OperandId, d: "'Operand 1'");
2218 InstructionDesc[OpISub].operands.push(oc: OperandId, d: "'Operand 2'");
2219
2220 InstructionDesc[OpFSub].operands.push(oc: OperandId, d: "'Operand 1'");
2221 InstructionDesc[OpFSub].operands.push(oc: OperandId, d: "'Operand 2'");
2222
2223 InstructionDesc[OpIMul].operands.push(oc: OperandId, d: "'Operand 1'");
2224 InstructionDesc[OpIMul].operands.push(oc: OperandId, d: "'Operand 2'");
2225
2226 InstructionDesc[OpFMul].operands.push(oc: OperandId, d: "'Operand 1'");
2227 InstructionDesc[OpFMul].operands.push(oc: OperandId, d: "'Operand 2'");
2228
2229 InstructionDesc[OpUDiv].operands.push(oc: OperandId, d: "'Operand 1'");
2230 InstructionDesc[OpUDiv].operands.push(oc: OperandId, d: "'Operand 2'");
2231
2232 InstructionDesc[OpSDiv].operands.push(oc: OperandId, d: "'Operand 1'");
2233 InstructionDesc[OpSDiv].operands.push(oc: OperandId, d: "'Operand 2'");
2234
2235 InstructionDesc[OpFDiv].operands.push(oc: OperandId, d: "'Operand 1'");
2236 InstructionDesc[OpFDiv].operands.push(oc: OperandId, d: "'Operand 2'");
2237
2238 InstructionDesc[OpUMod].operands.push(oc: OperandId, d: "'Operand 1'");
2239 InstructionDesc[OpUMod].operands.push(oc: OperandId, d: "'Operand 2'");
2240
2241 InstructionDesc[OpSRem].operands.push(oc: OperandId, d: "'Operand 1'");
2242 InstructionDesc[OpSRem].operands.push(oc: OperandId, d: "'Operand 2'");
2243
2244 InstructionDesc[OpSMod].operands.push(oc: OperandId, d: "'Operand 1'");
2245 InstructionDesc[OpSMod].operands.push(oc: OperandId, d: "'Operand 2'");
2246
2247 InstructionDesc[OpFRem].operands.push(oc: OperandId, d: "'Operand 1'");
2248 InstructionDesc[OpFRem].operands.push(oc: OperandId, d: "'Operand 2'");
2249
2250 InstructionDesc[OpFMod].operands.push(oc: OperandId, d: "'Operand 1'");
2251 InstructionDesc[OpFMod].operands.push(oc: OperandId, d: "'Operand 2'");
2252
2253 InstructionDesc[OpVectorTimesScalar].operands.push(oc: OperandId, d: "'Vector'");
2254 InstructionDesc[OpVectorTimesScalar].operands.push(oc: OperandId, d: "'Scalar'");
2255
2256 InstructionDesc[OpMatrixTimesScalar].operands.push(oc: OperandId, d: "'Matrix'");
2257 InstructionDesc[OpMatrixTimesScalar].operands.push(oc: OperandId, d: "'Scalar'");
2258
2259 InstructionDesc[OpVectorTimesMatrix].operands.push(oc: OperandId, d: "'Vector'");
2260 InstructionDesc[OpVectorTimesMatrix].operands.push(oc: OperandId, d: "'Matrix'");
2261
2262 InstructionDesc[OpMatrixTimesVector].operands.push(oc: OperandId, d: "'Matrix'");
2263 InstructionDesc[OpMatrixTimesVector].operands.push(oc: OperandId, d: "'Vector'");
2264
2265 InstructionDesc[OpMatrixTimesMatrix].operands.push(oc: OperandId, d: "'LeftMatrix'");
2266 InstructionDesc[OpMatrixTimesMatrix].operands.push(oc: OperandId, d: "'RightMatrix'");
2267
2268 InstructionDesc[OpOuterProduct].operands.push(oc: OperandId, d: "'Vector 1'");
2269 InstructionDesc[OpOuterProduct].operands.push(oc: OperandId, d: "'Vector 2'");
2270
2271 InstructionDesc[OpDot].operands.push(oc: OperandId, d: "'Vector 1'");
2272 InstructionDesc[OpDot].operands.push(oc: OperandId, d: "'Vector 2'");
2273
2274 InstructionDesc[OpIAddCarry].operands.push(oc: OperandId, d: "'Operand 1'");
2275 InstructionDesc[OpIAddCarry].operands.push(oc: OperandId, d: "'Operand 2'");
2276
2277 InstructionDesc[OpISubBorrow].operands.push(oc: OperandId, d: "'Operand 1'");
2278 InstructionDesc[OpISubBorrow].operands.push(oc: OperandId, d: "'Operand 2'");
2279
2280 InstructionDesc[OpUMulExtended].operands.push(oc: OperandId, d: "'Operand 1'");
2281 InstructionDesc[OpUMulExtended].operands.push(oc: OperandId, d: "'Operand 2'");
2282
2283 InstructionDesc[OpSMulExtended].operands.push(oc: OperandId, d: "'Operand 1'");
2284 InstructionDesc[OpSMulExtended].operands.push(oc: OperandId, d: "'Operand 2'");
2285
2286 InstructionDesc[OpShiftRightLogical].operands.push(oc: OperandId, d: "'Base'");
2287 InstructionDesc[OpShiftRightLogical].operands.push(oc: OperandId, d: "'Shift'");
2288
2289 InstructionDesc[OpShiftRightArithmetic].operands.push(oc: OperandId, d: "'Base'");
2290 InstructionDesc[OpShiftRightArithmetic].operands.push(oc: OperandId, d: "'Shift'");
2291
2292 InstructionDesc[OpShiftLeftLogical].operands.push(oc: OperandId, d: "'Base'");
2293 InstructionDesc[OpShiftLeftLogical].operands.push(oc: OperandId, d: "'Shift'");
2294
2295 InstructionDesc[OpLogicalOr].operands.push(oc: OperandId, d: "'Operand 1'");
2296 InstructionDesc[OpLogicalOr].operands.push(oc: OperandId, d: "'Operand 2'");
2297
2298 InstructionDesc[OpLogicalAnd].operands.push(oc: OperandId, d: "'Operand 1'");
2299 InstructionDesc[OpLogicalAnd].operands.push(oc: OperandId, d: "'Operand 2'");
2300
2301 InstructionDesc[OpLogicalEqual].operands.push(oc: OperandId, d: "'Operand 1'");
2302 InstructionDesc[OpLogicalEqual].operands.push(oc: OperandId, d: "'Operand 2'");
2303
2304 InstructionDesc[OpLogicalNotEqual].operands.push(oc: OperandId, d: "'Operand 1'");
2305 InstructionDesc[OpLogicalNotEqual].operands.push(oc: OperandId, d: "'Operand 2'");
2306
2307 InstructionDesc[OpLogicalNot].operands.push(oc: OperandId, d: "'Operand'");
2308
2309 InstructionDesc[OpBitwiseOr].operands.push(oc: OperandId, d: "'Operand 1'");
2310 InstructionDesc[OpBitwiseOr].operands.push(oc: OperandId, d: "'Operand 2'");
2311
2312 InstructionDesc[OpBitwiseXor].operands.push(oc: OperandId, d: "'Operand 1'");
2313 InstructionDesc[OpBitwiseXor].operands.push(oc: OperandId, d: "'Operand 2'");
2314
2315 InstructionDesc[OpBitwiseAnd].operands.push(oc: OperandId, d: "'Operand 1'");
2316 InstructionDesc[OpBitwiseAnd].operands.push(oc: OperandId, d: "'Operand 2'");
2317
2318 InstructionDesc[OpBitFieldInsert].operands.push(oc: OperandId, d: "'Base'");
2319 InstructionDesc[OpBitFieldInsert].operands.push(oc: OperandId, d: "'Insert'");
2320 InstructionDesc[OpBitFieldInsert].operands.push(oc: OperandId, d: "'Offset'");
2321 InstructionDesc[OpBitFieldInsert].operands.push(oc: OperandId, d: "'Count'");
2322
2323 InstructionDesc[OpBitFieldSExtract].operands.push(oc: OperandId, d: "'Base'");
2324 InstructionDesc[OpBitFieldSExtract].operands.push(oc: OperandId, d: "'Offset'");
2325 InstructionDesc[OpBitFieldSExtract].operands.push(oc: OperandId, d: "'Count'");
2326
2327 InstructionDesc[OpBitFieldUExtract].operands.push(oc: OperandId, d: "'Base'");
2328 InstructionDesc[OpBitFieldUExtract].operands.push(oc: OperandId, d: "'Offset'");
2329 InstructionDesc[OpBitFieldUExtract].operands.push(oc: OperandId, d: "'Count'");
2330
2331 InstructionDesc[OpBitReverse].operands.push(oc: OperandId, d: "'Base'");
2332
2333 InstructionDesc[OpBitCount].operands.push(oc: OperandId, d: "'Base'");
2334
2335 InstructionDesc[OpSelect].operands.push(oc: OperandId, d: "'Condition'");
2336 InstructionDesc[OpSelect].operands.push(oc: OperandId, d: "'Object 1'");
2337 InstructionDesc[OpSelect].operands.push(oc: OperandId, d: "'Object 2'");
2338
2339 InstructionDesc[OpIEqual].operands.push(oc: OperandId, d: "'Operand 1'");
2340 InstructionDesc[OpIEqual].operands.push(oc: OperandId, d: "'Operand 2'");
2341
2342 InstructionDesc[OpFOrdEqual].operands.push(oc: OperandId, d: "'Operand 1'");
2343 InstructionDesc[OpFOrdEqual].operands.push(oc: OperandId, d: "'Operand 2'");
2344
2345 InstructionDesc[OpFUnordEqual].operands.push(oc: OperandId, d: "'Operand 1'");
2346 InstructionDesc[OpFUnordEqual].operands.push(oc: OperandId, d: "'Operand 2'");
2347
2348 InstructionDesc[OpINotEqual].operands.push(oc: OperandId, d: "'Operand 1'");
2349 InstructionDesc[OpINotEqual].operands.push(oc: OperandId, d: "'Operand 2'");
2350
2351 InstructionDesc[OpFOrdNotEqual].operands.push(oc: OperandId, d: "'Operand 1'");
2352 InstructionDesc[OpFOrdNotEqual].operands.push(oc: OperandId, d: "'Operand 2'");
2353
2354 InstructionDesc[OpFUnordNotEqual].operands.push(oc: OperandId, d: "'Operand 1'");
2355 InstructionDesc[OpFUnordNotEqual].operands.push(oc: OperandId, d: "'Operand 2'");
2356
2357 InstructionDesc[OpULessThan].operands.push(oc: OperandId, d: "'Operand 1'");
2358 InstructionDesc[OpULessThan].operands.push(oc: OperandId, d: "'Operand 2'");
2359
2360 InstructionDesc[OpSLessThan].operands.push(oc: OperandId, d: "'Operand 1'");
2361 InstructionDesc[OpSLessThan].operands.push(oc: OperandId, d: "'Operand 2'");
2362
2363 InstructionDesc[OpFOrdLessThan].operands.push(oc: OperandId, d: "'Operand 1'");
2364 InstructionDesc[OpFOrdLessThan].operands.push(oc: OperandId, d: "'Operand 2'");
2365
2366 InstructionDesc[OpFUnordLessThan].operands.push(oc: OperandId, d: "'Operand 1'");
2367 InstructionDesc[OpFUnordLessThan].operands.push(oc: OperandId, d: "'Operand 2'");
2368
2369 InstructionDesc[OpUGreaterThan].operands.push(oc: OperandId, d: "'Operand 1'");
2370 InstructionDesc[OpUGreaterThan].operands.push(oc: OperandId, d: "'Operand 2'");
2371
2372 InstructionDesc[OpSGreaterThan].operands.push(oc: OperandId, d: "'Operand 1'");
2373 InstructionDesc[OpSGreaterThan].operands.push(oc: OperandId, d: "'Operand 2'");
2374
2375 InstructionDesc[OpFOrdGreaterThan].operands.push(oc: OperandId, d: "'Operand 1'");
2376 InstructionDesc[OpFOrdGreaterThan].operands.push(oc: OperandId, d: "'Operand 2'");
2377
2378 InstructionDesc[OpFUnordGreaterThan].operands.push(oc: OperandId, d: "'Operand 1'");
2379 InstructionDesc[OpFUnordGreaterThan].operands.push(oc: OperandId, d: "'Operand 2'");
2380
2381 InstructionDesc[OpULessThanEqual].operands.push(oc: OperandId, d: "'Operand 1'");
2382 InstructionDesc[OpULessThanEqual].operands.push(oc: OperandId, d: "'Operand 2'");
2383
2384 InstructionDesc[OpSLessThanEqual].operands.push(oc: OperandId, d: "'Operand 1'");
2385 InstructionDesc[OpSLessThanEqual].operands.push(oc: OperandId, d: "'Operand 2'");
2386
2387 InstructionDesc[OpFOrdLessThanEqual].operands.push(oc: OperandId, d: "'Operand 1'");
2388 InstructionDesc[OpFOrdLessThanEqual].operands.push(oc: OperandId, d: "'Operand 2'");
2389
2390 InstructionDesc[OpFUnordLessThanEqual].operands.push(oc: OperandId, d: "'Operand 1'");
2391 InstructionDesc[OpFUnordLessThanEqual].operands.push(oc: OperandId, d: "'Operand 2'");
2392
2393 InstructionDesc[OpUGreaterThanEqual].operands.push(oc: OperandId, d: "'Operand 1'");
2394 InstructionDesc[OpUGreaterThanEqual].operands.push(oc: OperandId, d: "'Operand 2'");
2395
2396 InstructionDesc[OpSGreaterThanEqual].operands.push(oc: OperandId, d: "'Operand 1'");
2397 InstructionDesc[OpSGreaterThanEqual].operands.push(oc: OperandId, d: "'Operand 2'");
2398
2399 InstructionDesc[OpFOrdGreaterThanEqual].operands.push(oc: OperandId, d: "'Operand 1'");
2400 InstructionDesc[OpFOrdGreaterThanEqual].operands.push(oc: OperandId, d: "'Operand 2'");
2401
2402 InstructionDesc[OpFUnordGreaterThanEqual].operands.push(oc: OperandId, d: "'Operand 1'");
2403 InstructionDesc[OpFUnordGreaterThanEqual].operands.push(oc: OperandId, d: "'Operand 2'");
2404
2405 InstructionDesc[OpDPdx].operands.push(oc: OperandId, d: "'P'");
2406
2407 InstructionDesc[OpDPdy].operands.push(oc: OperandId, d: "'P'");
2408
2409 InstructionDesc[OpFwidth].operands.push(oc: OperandId, d: "'P'");
2410
2411 InstructionDesc[OpDPdxFine].operands.push(oc: OperandId, d: "'P'");
2412
2413 InstructionDesc[OpDPdyFine].operands.push(oc: OperandId, d: "'P'");
2414
2415 InstructionDesc[OpFwidthFine].operands.push(oc: OperandId, d: "'P'");
2416
2417 InstructionDesc[OpDPdxCoarse].operands.push(oc: OperandId, d: "'P'");
2418
2419 InstructionDesc[OpDPdyCoarse].operands.push(oc: OperandId, d: "'P'");
2420
2421 InstructionDesc[OpFwidthCoarse].operands.push(oc: OperandId, d: "'P'");
2422
2423 InstructionDesc[OpEmitStreamVertex].operands.push(oc: OperandId, d: "'Stream'");
2424
2425 InstructionDesc[OpEndStreamPrimitive].operands.push(oc: OperandId, d: "'Stream'");
2426
2427 InstructionDesc[OpControlBarrier].operands.push(oc: OperandScope, d: "'Execution'");
2428 InstructionDesc[OpControlBarrier].operands.push(oc: OperandScope, d: "'Memory'");
2429 InstructionDesc[OpControlBarrier].operands.push(oc: OperandMemorySemantics, d: "'Semantics'");
2430
2431 InstructionDesc[OpMemoryBarrier].operands.push(oc: OperandScope, d: "'Memory'");
2432 InstructionDesc[OpMemoryBarrier].operands.push(oc: OperandMemorySemantics, d: "'Semantics'");
2433
2434 InstructionDesc[OpImageTexelPointer].operands.push(oc: OperandId, d: "'Image'");
2435 InstructionDesc[OpImageTexelPointer].operands.push(oc: OperandId, d: "'Coordinate'");
2436 InstructionDesc[OpImageTexelPointer].operands.push(oc: OperandId, d: "'Sample'");
2437
2438 InstructionDesc[OpAtomicLoad].operands.push(oc: OperandId, d: "'Pointer'");
2439 InstructionDesc[OpAtomicLoad].operands.push(oc: OperandScope, d: "'Scope'");
2440 InstructionDesc[OpAtomicLoad].operands.push(oc: OperandMemorySemantics, d: "'Semantics'");
2441
2442 InstructionDesc[OpAtomicStore].operands.push(oc: OperandId, d: "'Pointer'");
2443 InstructionDesc[OpAtomicStore].operands.push(oc: OperandScope, d: "'Scope'");
2444 InstructionDesc[OpAtomicStore].operands.push(oc: OperandMemorySemantics, d: "'Semantics'");
2445 InstructionDesc[OpAtomicStore].operands.push(oc: OperandId, d: "'Value'");
2446
2447 InstructionDesc[OpAtomicExchange].operands.push(oc: OperandId, d: "'Pointer'");
2448 InstructionDesc[OpAtomicExchange].operands.push(oc: OperandScope, d: "'Scope'");
2449 InstructionDesc[OpAtomicExchange].operands.push(oc: OperandMemorySemantics, d: "'Semantics'");
2450 InstructionDesc[OpAtomicExchange].operands.push(oc: OperandId, d: "'Value'");
2451
2452 InstructionDesc[OpAtomicCompareExchange].operands.push(oc: OperandId, d: "'Pointer'");
2453 InstructionDesc[OpAtomicCompareExchange].operands.push(oc: OperandScope, d: "'Scope'");
2454 InstructionDesc[OpAtomicCompareExchange].operands.push(oc: OperandMemorySemantics, d: "'Equal'");
2455 InstructionDesc[OpAtomicCompareExchange].operands.push(oc: OperandMemorySemantics, d: "'Unequal'");
2456 InstructionDesc[OpAtomicCompareExchange].operands.push(oc: OperandId, d: "'Value'");
2457 InstructionDesc[OpAtomicCompareExchange].operands.push(oc: OperandId, d: "'Comparator'");
2458
2459 InstructionDesc[OpAtomicCompareExchangeWeak].operands.push(oc: OperandId, d: "'Pointer'");
2460 InstructionDesc[OpAtomicCompareExchangeWeak].operands.push(oc: OperandScope, d: "'Scope'");
2461 InstructionDesc[OpAtomicCompareExchangeWeak].operands.push(oc: OperandMemorySemantics, d: "'Equal'");
2462 InstructionDesc[OpAtomicCompareExchangeWeak].operands.push(oc: OperandMemorySemantics, d: "'Unequal'");
2463 InstructionDesc[OpAtomicCompareExchangeWeak].operands.push(oc: OperandId, d: "'Value'");
2464 InstructionDesc[OpAtomicCompareExchangeWeak].operands.push(oc: OperandId, d: "'Comparator'");
2465
2466 InstructionDesc[OpAtomicIIncrement].operands.push(oc: OperandId, d: "'Pointer'");
2467 InstructionDesc[OpAtomicIIncrement].operands.push(oc: OperandScope, d: "'Scope'");
2468 InstructionDesc[OpAtomicIIncrement].operands.push(oc: OperandMemorySemantics, d: "'Semantics'");
2469
2470 InstructionDesc[OpAtomicIDecrement].operands.push(oc: OperandId, d: "'Pointer'");
2471 InstructionDesc[OpAtomicIDecrement].operands.push(oc: OperandScope, d: "'Scope'");
2472 InstructionDesc[OpAtomicIDecrement].operands.push(oc: OperandMemorySemantics, d: "'Semantics'");
2473
2474 InstructionDesc[OpAtomicIAdd].operands.push(oc: OperandId, d: "'Pointer'");
2475 InstructionDesc[OpAtomicIAdd].operands.push(oc: OperandScope, d: "'Scope'");
2476 InstructionDesc[OpAtomicIAdd].operands.push(oc: OperandMemorySemantics, d: "'Semantics'");
2477 InstructionDesc[OpAtomicIAdd].operands.push(oc: OperandId, d: "'Value'");
2478
2479 InstructionDesc[OpAtomicFAddEXT].operands.push(oc: OperandId, d: "'Pointer'");
2480 InstructionDesc[OpAtomicFAddEXT].operands.push(oc: OperandScope, d: "'Scope'");
2481 InstructionDesc[OpAtomicFAddEXT].operands.push(oc: OperandMemorySemantics, d: "'Semantics'");
2482 InstructionDesc[OpAtomicFAddEXT].operands.push(oc: OperandId, d: "'Value'");
2483
2484 InstructionDesc[OpAssumeTrueKHR].operands.push(oc: OperandId, d: "'Condition'");
2485
2486 InstructionDesc[OpExpectKHR].operands.push(oc: OperandId, d: "'Value'");
2487 InstructionDesc[OpExpectKHR].operands.push(oc: OperandId, d: "'ExpectedValue'");
2488
2489 InstructionDesc[OpAtomicISub].operands.push(oc: OperandId, d: "'Pointer'");
2490 InstructionDesc[OpAtomicISub].operands.push(oc: OperandScope, d: "'Scope'");
2491 InstructionDesc[OpAtomicISub].operands.push(oc: OperandMemorySemantics, d: "'Semantics'");
2492 InstructionDesc[OpAtomicISub].operands.push(oc: OperandId, d: "'Value'");
2493
2494 InstructionDesc[OpAtomicUMin].operands.push(oc: OperandId, d: "'Pointer'");
2495 InstructionDesc[OpAtomicUMin].operands.push(oc: OperandScope, d: "'Scope'");
2496 InstructionDesc[OpAtomicUMin].operands.push(oc: OperandMemorySemantics, d: "'Semantics'");
2497 InstructionDesc[OpAtomicUMin].operands.push(oc: OperandId, d: "'Value'");
2498
2499 InstructionDesc[OpAtomicUMax].operands.push(oc: OperandId, d: "'Pointer'");
2500 InstructionDesc[OpAtomicUMax].operands.push(oc: OperandScope, d: "'Scope'");
2501 InstructionDesc[OpAtomicUMax].operands.push(oc: OperandMemorySemantics, d: "'Semantics'");
2502 InstructionDesc[OpAtomicUMax].operands.push(oc: OperandId, d: "'Value'");
2503
2504 InstructionDesc[OpAtomicSMin].operands.push(oc: OperandId, d: "'Pointer'");
2505 InstructionDesc[OpAtomicSMin].operands.push(oc: OperandScope, d: "'Scope'");
2506 InstructionDesc[OpAtomicSMin].operands.push(oc: OperandMemorySemantics, d: "'Semantics'");
2507 InstructionDesc[OpAtomicSMin].operands.push(oc: OperandId, d: "'Value'");
2508
2509 InstructionDesc[OpAtomicSMax].operands.push(oc: OperandId, d: "'Pointer'");
2510 InstructionDesc[OpAtomicSMax].operands.push(oc: OperandScope, d: "'Scope'");
2511 InstructionDesc[OpAtomicSMax].operands.push(oc: OperandMemorySemantics, d: "'Semantics'");
2512 InstructionDesc[OpAtomicSMax].operands.push(oc: OperandId, d: "'Value'");
2513
2514 InstructionDesc[OpAtomicFMinEXT].operands.push(oc: OperandId, d: "'Pointer'");
2515 InstructionDesc[OpAtomicFMinEXT].operands.push(oc: OperandScope, d: "'Scope'");
2516 InstructionDesc[OpAtomicFMinEXT].operands.push(oc: OperandMemorySemantics, d: "'Semantics'");
2517 InstructionDesc[OpAtomicFMinEXT].operands.push(oc: OperandId, d: "'Value'");
2518
2519 InstructionDesc[OpAtomicFMaxEXT].operands.push(oc: OperandId, d: "'Pointer'");
2520 InstructionDesc[OpAtomicFMaxEXT].operands.push(oc: OperandScope, d: "'Scope'");
2521 InstructionDesc[OpAtomicFMaxEXT].operands.push(oc: OperandMemorySemantics, d: "'Semantics'");
2522 InstructionDesc[OpAtomicFMaxEXT].operands.push(oc: OperandId, d: "'Value'");
2523
2524 InstructionDesc[OpAtomicAnd].operands.push(oc: OperandId, d: "'Pointer'");
2525 InstructionDesc[OpAtomicAnd].operands.push(oc: OperandScope, d: "'Scope'");
2526 InstructionDesc[OpAtomicAnd].operands.push(oc: OperandMemorySemantics, d: "'Semantics'");
2527 InstructionDesc[OpAtomicAnd].operands.push(oc: OperandId, d: "'Value'");
2528
2529 InstructionDesc[OpAtomicOr].operands.push(oc: OperandId, d: "'Pointer'");
2530 InstructionDesc[OpAtomicOr].operands.push(oc: OperandScope, d: "'Scope'");
2531 InstructionDesc[OpAtomicOr].operands.push(oc: OperandMemorySemantics, d: "'Semantics'");
2532 InstructionDesc[OpAtomicOr].operands.push(oc: OperandId, d: "'Value'");
2533
2534 InstructionDesc[OpAtomicXor].operands.push(oc: OperandId, d: "'Pointer'");
2535 InstructionDesc[OpAtomicXor].operands.push(oc: OperandScope, d: "'Scope'");
2536 InstructionDesc[OpAtomicXor].operands.push(oc: OperandMemorySemantics, d: "'Semantics'");
2537 InstructionDesc[OpAtomicXor].operands.push(oc: OperandId, d: "'Value'");
2538
2539 InstructionDesc[OpAtomicFlagTestAndSet].operands.push(oc: OperandId, d: "'Pointer'");
2540 InstructionDesc[OpAtomicFlagTestAndSet].operands.push(oc: OperandScope, d: "'Scope'");
2541 InstructionDesc[OpAtomicFlagTestAndSet].operands.push(oc: OperandMemorySemantics, d: "'Semantics'");
2542
2543 InstructionDesc[OpAtomicFlagClear].operands.push(oc: OperandId, d: "'Pointer'");
2544 InstructionDesc[OpAtomicFlagClear].operands.push(oc: OperandScope, d: "'Scope'");
2545 InstructionDesc[OpAtomicFlagClear].operands.push(oc: OperandMemorySemantics, d: "'Semantics'");
2546
2547 InstructionDesc[OpLoopMerge].operands.push(oc: OperandId, d: "'Merge Block'");
2548 InstructionDesc[OpLoopMerge].operands.push(oc: OperandId, d: "'Continue Target'");
2549 InstructionDesc[OpLoopMerge].operands.push(oc: OperandLoop, d: "");
2550 InstructionDesc[OpLoopMerge].operands.push(oc: OperandOptionalLiteral, d: "");
2551
2552 InstructionDesc[OpSelectionMerge].operands.push(oc: OperandId, d: "'Merge Block'");
2553 InstructionDesc[OpSelectionMerge].operands.push(oc: OperandSelect, d: "");
2554
2555 InstructionDesc[OpBranch].operands.push(oc: OperandId, d: "'Target Label'");
2556
2557 InstructionDesc[OpBranchConditional].operands.push(oc: OperandId, d: "'Condition'");
2558 InstructionDesc[OpBranchConditional].operands.push(oc: OperandId, d: "'True Label'");
2559 InstructionDesc[OpBranchConditional].operands.push(oc: OperandId, d: "'False Label'");
2560 InstructionDesc[OpBranchConditional].operands.push(oc: OperandVariableLiterals, d: "'Branch weights'");
2561
2562 InstructionDesc[OpSwitch].operands.push(oc: OperandId, d: "'Selector'");
2563 InstructionDesc[OpSwitch].operands.push(oc: OperandId, d: "'Default'");
2564 InstructionDesc[OpSwitch].operands.push(oc: OperandVariableLiteralId, d: "'Target'");
2565
2566
2567 InstructionDesc[OpReturnValue].operands.push(oc: OperandId, d: "'Value'");
2568
2569 InstructionDesc[OpLifetimeStart].operands.push(oc: OperandId, d: "'Pointer'");
2570 InstructionDesc[OpLifetimeStart].operands.push(oc: OperandLiteralNumber, d: "'Size'");
2571
2572 InstructionDesc[OpLifetimeStop].operands.push(oc: OperandId, d: "'Pointer'");
2573 InstructionDesc[OpLifetimeStop].operands.push(oc: OperandLiteralNumber, d: "'Size'");
2574
2575 InstructionDesc[OpGroupAsyncCopy].operands.push(oc: OperandScope, d: "'Execution'");
2576 InstructionDesc[OpGroupAsyncCopy].operands.push(oc: OperandId, d: "'Destination'");
2577 InstructionDesc[OpGroupAsyncCopy].operands.push(oc: OperandId, d: "'Source'");
2578 InstructionDesc[OpGroupAsyncCopy].operands.push(oc: OperandId, d: "'Num Elements'");
2579 InstructionDesc[OpGroupAsyncCopy].operands.push(oc: OperandId, d: "'Stride'");
2580 InstructionDesc[OpGroupAsyncCopy].operands.push(oc: OperandId, d: "'Event'");
2581
2582 InstructionDesc[OpGroupWaitEvents].operands.push(oc: OperandScope, d: "'Execution'");
2583 InstructionDesc[OpGroupWaitEvents].operands.push(oc: OperandId, d: "'Num Events'");
2584 InstructionDesc[OpGroupWaitEvents].operands.push(oc: OperandId, d: "'Events List'");
2585
2586 InstructionDesc[OpGroupAll].operands.push(oc: OperandScope, d: "'Execution'");
2587 InstructionDesc[OpGroupAll].operands.push(oc: OperandId, d: "'Predicate'");
2588
2589 InstructionDesc[OpGroupAny].operands.push(oc: OperandScope, d: "'Execution'");
2590 InstructionDesc[OpGroupAny].operands.push(oc: OperandId, d: "'Predicate'");
2591
2592 InstructionDesc[OpGroupBroadcast].operands.push(oc: OperandScope, d: "'Execution'");
2593 InstructionDesc[OpGroupBroadcast].operands.push(oc: OperandId, d: "'Value'");
2594 InstructionDesc[OpGroupBroadcast].operands.push(oc: OperandId, d: "'LocalId'");
2595
2596 InstructionDesc[OpGroupIAdd].operands.push(oc: OperandScope, d: "'Execution'");
2597 InstructionDesc[OpGroupIAdd].operands.push(oc: OperandGroupOperation, d: "'Operation'");
2598 InstructionDesc[OpGroupIAdd].operands.push(oc: OperandId, d: "'X'");
2599
2600 InstructionDesc[OpGroupFAdd].operands.push(oc: OperandScope, d: "'Execution'");
2601 InstructionDesc[OpGroupFAdd].operands.push(oc: OperandGroupOperation, d: "'Operation'");
2602 InstructionDesc[OpGroupFAdd].operands.push(oc: OperandId, d: "'X'");
2603
2604 InstructionDesc[OpGroupUMin].operands.push(oc: OperandScope, d: "'Execution'");
2605 InstructionDesc[OpGroupUMin].operands.push(oc: OperandGroupOperation, d: "'Operation'");
2606 InstructionDesc[OpGroupUMin].operands.push(oc: OperandId, d: "'X'");
2607
2608 InstructionDesc[OpGroupSMin].operands.push(oc: OperandScope, d: "'Execution'");
2609 InstructionDesc[OpGroupSMin].operands.push(oc: OperandGroupOperation, d: "'Operation'");
2610 InstructionDesc[OpGroupSMin].operands.push(oc: OperandId, d: "X");
2611
2612 InstructionDesc[OpGroupFMin].operands.push(oc: OperandScope, d: "'Execution'");
2613 InstructionDesc[OpGroupFMin].operands.push(oc: OperandGroupOperation, d: "'Operation'");
2614 InstructionDesc[OpGroupFMin].operands.push(oc: OperandId, d: "X");
2615
2616 InstructionDesc[OpGroupUMax].operands.push(oc: OperandScope, d: "'Execution'");
2617 InstructionDesc[OpGroupUMax].operands.push(oc: OperandGroupOperation, d: "'Operation'");
2618 InstructionDesc[OpGroupUMax].operands.push(oc: OperandId, d: "X");
2619
2620 InstructionDesc[OpGroupSMax].operands.push(oc: OperandScope, d: "'Execution'");
2621 InstructionDesc[OpGroupSMax].operands.push(oc: OperandGroupOperation, d: "'Operation'");
2622 InstructionDesc[OpGroupSMax].operands.push(oc: OperandId, d: "X");
2623
2624 InstructionDesc[OpGroupFMax].operands.push(oc: OperandScope, d: "'Execution'");
2625 InstructionDesc[OpGroupFMax].operands.push(oc: OperandGroupOperation, d: "'Operation'");
2626 InstructionDesc[OpGroupFMax].operands.push(oc: OperandId, d: "X");
2627
2628 InstructionDesc[OpReadPipe].operands.push(oc: OperandId, d: "'Pipe'");
2629 InstructionDesc[OpReadPipe].operands.push(oc: OperandId, d: "'Pointer'");
2630 InstructionDesc[OpReadPipe].operands.push(oc: OperandId, d: "'Packet Size'");
2631 InstructionDesc[OpReadPipe].operands.push(oc: OperandId, d: "'Packet Alignment'");
2632
2633 InstructionDesc[OpWritePipe].operands.push(oc: OperandId, d: "'Pipe'");
2634 InstructionDesc[OpWritePipe].operands.push(oc: OperandId, d: "'Pointer'");
2635 InstructionDesc[OpWritePipe].operands.push(oc: OperandId, d: "'Packet Size'");
2636 InstructionDesc[OpWritePipe].operands.push(oc: OperandId, d: "'Packet Alignment'");
2637
2638 InstructionDesc[OpReservedReadPipe].operands.push(oc: OperandId, d: "'Pipe'");
2639 InstructionDesc[OpReservedReadPipe].operands.push(oc: OperandId, d: "'Reserve Id'");
2640 InstructionDesc[OpReservedReadPipe].operands.push(oc: OperandId, d: "'Index'");
2641 InstructionDesc[OpReservedReadPipe].operands.push(oc: OperandId, d: "'Pointer'");
2642 InstructionDesc[OpReservedReadPipe].operands.push(oc: OperandId, d: "'Packet Size'");
2643 InstructionDesc[OpReservedReadPipe].operands.push(oc: OperandId, d: "'Packet Alignment'");
2644
2645 InstructionDesc[OpReservedWritePipe].operands.push(oc: OperandId, d: "'Pipe'");
2646 InstructionDesc[OpReservedWritePipe].operands.push(oc: OperandId, d: "'Reserve Id'");
2647 InstructionDesc[OpReservedWritePipe].operands.push(oc: OperandId, d: "'Index'");
2648 InstructionDesc[OpReservedWritePipe].operands.push(oc: OperandId, d: "'Pointer'");
2649 InstructionDesc[OpReservedWritePipe].operands.push(oc: OperandId, d: "'Packet Size'");
2650 InstructionDesc[OpReservedWritePipe].operands.push(oc: OperandId, d: "'Packet Alignment'");
2651
2652 InstructionDesc[OpReserveReadPipePackets].operands.push(oc: OperandId, d: "'Pipe'");
2653 InstructionDesc[OpReserveReadPipePackets].operands.push(oc: OperandId, d: "'Num Packets'");
2654 InstructionDesc[OpReserveReadPipePackets].operands.push(oc: OperandId, d: "'Packet Size'");
2655 InstructionDesc[OpReserveReadPipePackets].operands.push(oc: OperandId, d: "'Packet Alignment'");
2656
2657 InstructionDesc[OpReserveWritePipePackets].operands.push(oc: OperandId, d: "'Pipe'");
2658 InstructionDesc[OpReserveWritePipePackets].operands.push(oc: OperandId, d: "'Num Packets'");
2659 InstructionDesc[OpReserveWritePipePackets].operands.push(oc: OperandId, d: "'Packet Size'");
2660 InstructionDesc[OpReserveWritePipePackets].operands.push(oc: OperandId, d: "'Packet Alignment'");
2661
2662 InstructionDesc[OpCommitReadPipe].operands.push(oc: OperandId, d: "'Pipe'");
2663 InstructionDesc[OpCommitReadPipe].operands.push(oc: OperandId, d: "'Reserve Id'");
2664 InstructionDesc[OpCommitReadPipe].operands.push(oc: OperandId, d: "'Packet Size'");
2665 InstructionDesc[OpCommitReadPipe].operands.push(oc: OperandId, d: "'Packet Alignment'");
2666
2667 InstructionDesc[OpCommitWritePipe].operands.push(oc: OperandId, d: "'Pipe'");
2668 InstructionDesc[OpCommitWritePipe].operands.push(oc: OperandId, d: "'Reserve Id'");
2669 InstructionDesc[OpCommitWritePipe].operands.push(oc: OperandId, d: "'Packet Size'");
2670 InstructionDesc[OpCommitWritePipe].operands.push(oc: OperandId, d: "'Packet Alignment'");
2671
2672 InstructionDesc[OpIsValidReserveId].operands.push(oc: OperandId, d: "'Reserve Id'");
2673
2674 InstructionDesc[OpGetNumPipePackets].operands.push(oc: OperandId, d: "'Pipe'");
2675 InstructionDesc[OpGetNumPipePackets].operands.push(oc: OperandId, d: "'Packet Size'");
2676 InstructionDesc[OpGetNumPipePackets].operands.push(oc: OperandId, d: "'Packet Alignment'");
2677
2678 InstructionDesc[OpGetMaxPipePackets].operands.push(oc: OperandId, d: "'Pipe'");
2679 InstructionDesc[OpGetMaxPipePackets].operands.push(oc: OperandId, d: "'Packet Size'");
2680 InstructionDesc[OpGetMaxPipePackets].operands.push(oc: OperandId, d: "'Packet Alignment'");
2681
2682 InstructionDesc[OpGroupReserveReadPipePackets].operands.push(oc: OperandScope, d: "'Execution'");
2683 InstructionDesc[OpGroupReserveReadPipePackets].operands.push(oc: OperandId, d: "'Pipe'");
2684 InstructionDesc[OpGroupReserveReadPipePackets].operands.push(oc: OperandId, d: "'Num Packets'");
2685 InstructionDesc[OpGroupReserveReadPipePackets].operands.push(oc: OperandId, d: "'Packet Size'");
2686 InstructionDesc[OpGroupReserveReadPipePackets].operands.push(oc: OperandId, d: "'Packet Alignment'");
2687
2688 InstructionDesc[OpGroupReserveWritePipePackets].operands.push(oc: OperandScope, d: "'Execution'");
2689 InstructionDesc[OpGroupReserveWritePipePackets].operands.push(oc: OperandId, d: "'Pipe'");
2690 InstructionDesc[OpGroupReserveWritePipePackets].operands.push(oc: OperandId, d: "'Num Packets'");
2691 InstructionDesc[OpGroupReserveWritePipePackets].operands.push(oc: OperandId, d: "'Packet Size'");
2692 InstructionDesc[OpGroupReserveWritePipePackets].operands.push(oc: OperandId, d: "'Packet Alignment'");
2693
2694 InstructionDesc[OpGroupCommitReadPipe].operands.push(oc: OperandScope, d: "'Execution'");
2695 InstructionDesc[OpGroupCommitReadPipe].operands.push(oc: OperandId, d: "'Pipe'");
2696 InstructionDesc[OpGroupCommitReadPipe].operands.push(oc: OperandId, d: "'Reserve Id'");
2697 InstructionDesc[OpGroupCommitReadPipe].operands.push(oc: OperandId, d: "'Packet Size'");
2698 InstructionDesc[OpGroupCommitReadPipe].operands.push(oc: OperandId, d: "'Packet Alignment'");
2699
2700 InstructionDesc[OpGroupCommitWritePipe].operands.push(oc: OperandScope, d: "'Execution'");
2701 InstructionDesc[OpGroupCommitWritePipe].operands.push(oc: OperandId, d: "'Pipe'");
2702 InstructionDesc[OpGroupCommitWritePipe].operands.push(oc: OperandId, d: "'Reserve Id'");
2703 InstructionDesc[OpGroupCommitWritePipe].operands.push(oc: OperandId, d: "'Packet Size'");
2704 InstructionDesc[OpGroupCommitWritePipe].operands.push(oc: OperandId, d: "'Packet Alignment'");
2705
2706 InstructionDesc[OpBuildNDRange].operands.push(oc: OperandId, d: "'GlobalWorkSize'");
2707 InstructionDesc[OpBuildNDRange].operands.push(oc: OperandId, d: "'LocalWorkSize'");
2708 InstructionDesc[OpBuildNDRange].operands.push(oc: OperandId, d: "'GlobalWorkOffset'");
2709
2710 InstructionDesc[OpCaptureEventProfilingInfo].operands.push(oc: OperandId, d: "'Event'");
2711 InstructionDesc[OpCaptureEventProfilingInfo].operands.push(oc: OperandId, d: "'Profiling Info'");
2712 InstructionDesc[OpCaptureEventProfilingInfo].operands.push(oc: OperandId, d: "'Value'");
2713
2714 InstructionDesc[OpSetUserEventStatus].operands.push(oc: OperandId, d: "'Event'");
2715 InstructionDesc[OpSetUserEventStatus].operands.push(oc: OperandId, d: "'Status'");
2716
2717 InstructionDesc[OpIsValidEvent].operands.push(oc: OperandId, d: "'Event'");
2718
2719 InstructionDesc[OpRetainEvent].operands.push(oc: OperandId, d: "'Event'");
2720
2721 InstructionDesc[OpReleaseEvent].operands.push(oc: OperandId, d: "'Event'");
2722
2723 InstructionDesc[OpGetKernelWorkGroupSize].operands.push(oc: OperandId, d: "'Invoke'");
2724 InstructionDesc[OpGetKernelWorkGroupSize].operands.push(oc: OperandId, d: "'Param'");
2725 InstructionDesc[OpGetKernelWorkGroupSize].operands.push(oc: OperandId, d: "'Param Size'");
2726 InstructionDesc[OpGetKernelWorkGroupSize].operands.push(oc: OperandId, d: "'Param Align'");
2727
2728 InstructionDesc[OpGetKernelPreferredWorkGroupSizeMultiple].operands.push(oc: OperandId, d: "'Invoke'");
2729 InstructionDesc[OpGetKernelPreferredWorkGroupSizeMultiple].operands.push(oc: OperandId, d: "'Param'");
2730 InstructionDesc[OpGetKernelPreferredWorkGroupSizeMultiple].operands.push(oc: OperandId, d: "'Param Size'");
2731 InstructionDesc[OpGetKernelPreferredWorkGroupSizeMultiple].operands.push(oc: OperandId, d: "'Param Align'");
2732
2733 InstructionDesc[OpGetKernelNDrangeSubGroupCount].operands.push(oc: OperandId, d: "'ND Range'");
2734 InstructionDesc[OpGetKernelNDrangeSubGroupCount].operands.push(oc: OperandId, d: "'Invoke'");
2735 InstructionDesc[OpGetKernelNDrangeSubGroupCount].operands.push(oc: OperandId, d: "'Param'");
2736 InstructionDesc[OpGetKernelNDrangeSubGroupCount].operands.push(oc: OperandId, d: "'Param Size'");
2737 InstructionDesc[OpGetKernelNDrangeSubGroupCount].operands.push(oc: OperandId, d: "'Param Align'");
2738
2739 InstructionDesc[OpGetKernelNDrangeMaxSubGroupSize].operands.push(oc: OperandId, d: "'ND Range'");
2740 InstructionDesc[OpGetKernelNDrangeMaxSubGroupSize].operands.push(oc: OperandId, d: "'Invoke'");
2741 InstructionDesc[OpGetKernelNDrangeMaxSubGroupSize].operands.push(oc: OperandId, d: "'Param'");
2742 InstructionDesc[OpGetKernelNDrangeMaxSubGroupSize].operands.push(oc: OperandId, d: "'Param Size'");
2743 InstructionDesc[OpGetKernelNDrangeMaxSubGroupSize].operands.push(oc: OperandId, d: "'Param Align'");
2744
2745 InstructionDesc[OpEnqueueKernel].operands.push(oc: OperandId, d: "'Queue'");
2746 InstructionDesc[OpEnqueueKernel].operands.push(oc: OperandId, d: "'Flags'");
2747 InstructionDesc[OpEnqueueKernel].operands.push(oc: OperandId, d: "'ND Range'");
2748 InstructionDesc[OpEnqueueKernel].operands.push(oc: OperandId, d: "'Num Events'");
2749 InstructionDesc[OpEnqueueKernel].operands.push(oc: OperandId, d: "'Wait Events'");
2750 InstructionDesc[OpEnqueueKernel].operands.push(oc: OperandId, d: "'Ret Event'");
2751 InstructionDesc[OpEnqueueKernel].operands.push(oc: OperandId, d: "'Invoke'");
2752 InstructionDesc[OpEnqueueKernel].operands.push(oc: OperandId, d: "'Param'");
2753 InstructionDesc[OpEnqueueKernel].operands.push(oc: OperandId, d: "'Param Size'");
2754 InstructionDesc[OpEnqueueKernel].operands.push(oc: OperandId, d: "'Param Align'");
2755 InstructionDesc[OpEnqueueKernel].operands.push(oc: OperandVariableIds, d: "'Local Size'");
2756
2757 InstructionDesc[OpEnqueueMarker].operands.push(oc: OperandId, d: "'Queue'");
2758 InstructionDesc[OpEnqueueMarker].operands.push(oc: OperandId, d: "'Num Events'");
2759 InstructionDesc[OpEnqueueMarker].operands.push(oc: OperandId, d: "'Wait Events'");
2760 InstructionDesc[OpEnqueueMarker].operands.push(oc: OperandId, d: "'Ret Event'");
2761
2762 InstructionDesc[OpGroupNonUniformElect].operands.push(oc: OperandScope, d: "'Execution'");
2763
2764 InstructionDesc[OpGroupNonUniformAll].operands.push(oc: OperandScope, d: "'Execution'");
2765 InstructionDesc[OpGroupNonUniformAll].operands.push(oc: OperandId, d: "X");
2766
2767 InstructionDesc[OpGroupNonUniformAny].operands.push(oc: OperandScope, d: "'Execution'");
2768 InstructionDesc[OpGroupNonUniformAny].operands.push(oc: OperandId, d: "X");
2769
2770 InstructionDesc[OpGroupNonUniformAllEqual].operands.push(oc: OperandScope, d: "'Execution'");
2771 InstructionDesc[OpGroupNonUniformAllEqual].operands.push(oc: OperandId, d: "X");
2772
2773 InstructionDesc[OpGroupNonUniformBroadcast].operands.push(oc: OperandScope, d: "'Execution'");
2774 InstructionDesc[OpGroupNonUniformBroadcast].operands.push(oc: OperandId, d: "X");
2775 InstructionDesc[OpGroupNonUniformBroadcast].operands.push(oc: OperandId, d: "ID");
2776
2777 InstructionDesc[OpGroupNonUniformBroadcastFirst].operands.push(oc: OperandScope, d: "'Execution'");
2778 InstructionDesc[OpGroupNonUniformBroadcastFirst].operands.push(oc: OperandId, d: "X");
2779
2780 InstructionDesc[OpGroupNonUniformBallot].operands.push(oc: OperandScope, d: "'Execution'");
2781 InstructionDesc[OpGroupNonUniformBallot].operands.push(oc: OperandId, d: "X");
2782
2783 InstructionDesc[OpGroupNonUniformInverseBallot].operands.push(oc: OperandScope, d: "'Execution'");
2784 InstructionDesc[OpGroupNonUniformInverseBallot].operands.push(oc: OperandId, d: "X");
2785
2786 InstructionDesc[OpGroupNonUniformBallotBitExtract].operands.push(oc: OperandScope, d: "'Execution'");
2787 InstructionDesc[OpGroupNonUniformBallotBitExtract].operands.push(oc: OperandId, d: "X");
2788 InstructionDesc[OpGroupNonUniformBallotBitExtract].operands.push(oc: OperandId, d: "Bit");
2789
2790 InstructionDesc[OpGroupNonUniformBallotBitCount].operands.push(oc: OperandScope, d: "'Execution'");
2791 InstructionDesc[OpGroupNonUniformBallotBitCount].operands.push(oc: OperandGroupOperation, d: "'Operation'");
2792 InstructionDesc[OpGroupNonUniformBallotBitCount].operands.push(oc: OperandId, d: "X");
2793
2794 InstructionDesc[OpGroupNonUniformBallotFindLSB].operands.push(oc: OperandScope, d: "'Execution'");
2795 InstructionDesc[OpGroupNonUniformBallotFindLSB].operands.push(oc: OperandId, d: "X");
2796
2797 InstructionDesc[OpGroupNonUniformBallotFindMSB].operands.push(oc: OperandScope, d: "'Execution'");
2798 InstructionDesc[OpGroupNonUniformBallotFindMSB].operands.push(oc: OperandId, d: "X");
2799
2800 InstructionDesc[OpGroupNonUniformShuffle].operands.push(oc: OperandScope, d: "'Execution'");
2801 InstructionDesc[OpGroupNonUniformShuffle].operands.push(oc: OperandId, d: "X");
2802 InstructionDesc[OpGroupNonUniformShuffle].operands.push(oc: OperandId, d: "'Id'");
2803
2804 InstructionDesc[OpGroupNonUniformShuffleXor].operands.push(oc: OperandScope, d: "'Execution'");
2805 InstructionDesc[OpGroupNonUniformShuffleXor].operands.push(oc: OperandId, d: "X");
2806 InstructionDesc[OpGroupNonUniformShuffleXor].operands.push(oc: OperandId, d: "Mask");
2807
2808 InstructionDesc[OpGroupNonUniformShuffleUp].operands.push(oc: OperandScope, d: "'Execution'");
2809 InstructionDesc[OpGroupNonUniformShuffleUp].operands.push(oc: OperandId, d: "X");
2810 InstructionDesc[OpGroupNonUniformShuffleUp].operands.push(oc: OperandId, d: "Offset");
2811
2812 InstructionDesc[OpGroupNonUniformShuffleDown].operands.push(oc: OperandScope, d: "'Execution'");
2813 InstructionDesc[OpGroupNonUniformShuffleDown].operands.push(oc: OperandId, d: "X");
2814 InstructionDesc[OpGroupNonUniformShuffleDown].operands.push(oc: OperandId, d: "Offset");
2815
2816 InstructionDesc[OpGroupNonUniformIAdd].operands.push(oc: OperandScope, d: "'Execution'");
2817 InstructionDesc[OpGroupNonUniformIAdd].operands.push(oc: OperandGroupOperation, d: "'Operation'");
2818 InstructionDesc[OpGroupNonUniformIAdd].operands.push(oc: OperandId, d: "X");
2819 InstructionDesc[OpGroupNonUniformIAdd].operands.push(oc: OperandId, d: "'ClusterSize'", opt: true);
2820
2821 InstructionDesc[OpGroupNonUniformFAdd].operands.push(oc: OperandScope, d: "'Execution'");
2822 InstructionDesc[OpGroupNonUniformFAdd].operands.push(oc: OperandGroupOperation, d: "'Operation'");
2823 InstructionDesc[OpGroupNonUniformFAdd].operands.push(oc: OperandId, d: "X");
2824 InstructionDesc[OpGroupNonUniformFAdd].operands.push(oc: OperandId, d: "'ClusterSize'", opt: true);
2825
2826 InstructionDesc[OpGroupNonUniformIMul].operands.push(oc: OperandScope, d: "'Execution'");
2827 InstructionDesc[OpGroupNonUniformIMul].operands.push(oc: OperandGroupOperation, d: "'Operation'");
2828 InstructionDesc[OpGroupNonUniformIMul].operands.push(oc: OperandId, d: "X");
2829 InstructionDesc[OpGroupNonUniformIMul].operands.push(oc: OperandId, d: "'ClusterSize'", opt: true);
2830
2831 InstructionDesc[OpGroupNonUniformFMul].operands.push(oc: OperandScope, d: "'Execution'");
2832 InstructionDesc[OpGroupNonUniformFMul].operands.push(oc: OperandGroupOperation, d: "'Operation'");
2833 InstructionDesc[OpGroupNonUniformFMul].operands.push(oc: OperandId, d: "X");
2834 InstructionDesc[OpGroupNonUniformFMul].operands.push(oc: OperandId, d: "'ClusterSize'", opt: true);
2835
2836 InstructionDesc[OpGroupNonUniformSMin].operands.push(oc: OperandScope, d: "'Execution'");
2837 InstructionDesc[OpGroupNonUniformSMin].operands.push(oc: OperandGroupOperation, d: "'Operation'");
2838 InstructionDesc[OpGroupNonUniformSMin].operands.push(oc: OperandId, d: "X");
2839 InstructionDesc[OpGroupNonUniformSMin].operands.push(oc: OperandId, d: "'ClusterSize'", opt: true);
2840
2841 InstructionDesc[OpGroupNonUniformUMin].operands.push(oc: OperandScope, d: "'Execution'");
2842 InstructionDesc[OpGroupNonUniformUMin].operands.push(oc: OperandGroupOperation, d: "'Operation'");
2843 InstructionDesc[OpGroupNonUniformUMin].operands.push(oc: OperandId, d: "X");
2844 InstructionDesc[OpGroupNonUniformUMin].operands.push(oc: OperandId, d: "'ClusterSize'", opt: true);
2845
2846 InstructionDesc[OpGroupNonUniformFMin].operands.push(oc: OperandScope, d: "'Execution'");
2847 InstructionDesc[OpGroupNonUniformFMin].operands.push(oc: OperandGroupOperation, d: "'Operation'");
2848 InstructionDesc[OpGroupNonUniformFMin].operands.push(oc: OperandId, d: "X");
2849 InstructionDesc[OpGroupNonUniformFMin].operands.push(oc: OperandId, d: "'ClusterSize'", opt: true);
2850
2851 InstructionDesc[OpGroupNonUniformSMax].operands.push(oc: OperandScope, d: "'Execution'");
2852 InstructionDesc[OpGroupNonUniformSMax].operands.push(oc: OperandGroupOperation, d: "'Operation'");
2853 InstructionDesc[OpGroupNonUniformSMax].operands.push(oc: OperandId, d: "X");
2854 InstructionDesc[OpGroupNonUniformSMax].operands.push(oc: OperandId, d: "'ClusterSize'", opt: true);
2855
2856 InstructionDesc[OpGroupNonUniformUMax].operands.push(oc: OperandScope, d: "'Execution'");
2857 InstructionDesc[OpGroupNonUniformUMax].operands.push(oc: OperandGroupOperation, d: "'Operation'");
2858 InstructionDesc[OpGroupNonUniformUMax].operands.push(oc: OperandId, d: "X");
2859 InstructionDesc[OpGroupNonUniformUMax].operands.push(oc: OperandId, d: "'ClusterSize'", opt: true);
2860
2861 InstructionDesc[OpGroupNonUniformFMax].operands.push(oc: OperandScope, d: "'Execution'");
2862 InstructionDesc[OpGroupNonUniformFMax].operands.push(oc: OperandGroupOperation, d: "'Operation'");
2863 InstructionDesc[OpGroupNonUniformFMax].operands.push(oc: OperandId, d: "X");
2864 InstructionDesc[OpGroupNonUniformFMax].operands.push(oc: OperandId, d: "'ClusterSize'", opt: true);
2865
2866 InstructionDesc[OpGroupNonUniformBitwiseAnd].operands.push(oc: OperandScope, d: "'Execution'");
2867 InstructionDesc[OpGroupNonUniformBitwiseAnd].operands.push(oc: OperandGroupOperation, d: "'Operation'");
2868 InstructionDesc[OpGroupNonUniformBitwiseAnd].operands.push(oc: OperandId, d: "X");
2869 InstructionDesc[OpGroupNonUniformBitwiseAnd].operands.push(oc: OperandId, d: "'ClusterSize'", opt: true);
2870
2871 InstructionDesc[OpGroupNonUniformBitwiseOr].operands.push(oc: OperandScope, d: "'Execution'");
2872 InstructionDesc[OpGroupNonUniformBitwiseOr].operands.push(oc: OperandGroupOperation, d: "'Operation'");
2873 InstructionDesc[OpGroupNonUniformBitwiseOr].operands.push(oc: OperandId, d: "X");
2874 InstructionDesc[OpGroupNonUniformBitwiseOr].operands.push(oc: OperandId, d: "'ClusterSize'", opt: true);
2875
2876 InstructionDesc[OpGroupNonUniformBitwiseXor].operands.push(oc: OperandScope, d: "'Execution'");
2877 InstructionDesc[OpGroupNonUniformBitwiseXor].operands.push(oc: OperandGroupOperation, d: "'Operation'");
2878 InstructionDesc[OpGroupNonUniformBitwiseXor].operands.push(oc: OperandId, d: "X");
2879 InstructionDesc[OpGroupNonUniformBitwiseXor].operands.push(oc: OperandId, d: "'ClusterSize'", opt: true);
2880
2881 InstructionDesc[OpGroupNonUniformLogicalAnd].operands.push(oc: OperandScope, d: "'Execution'");
2882 InstructionDesc[OpGroupNonUniformLogicalAnd].operands.push(oc: OperandGroupOperation, d: "'Operation'");
2883 InstructionDesc[OpGroupNonUniformLogicalAnd].operands.push(oc: OperandId, d: "X");
2884 InstructionDesc[OpGroupNonUniformLogicalAnd].operands.push(oc: OperandId, d: "'ClusterSize'", opt: true);
2885
2886 InstructionDesc[OpGroupNonUniformLogicalOr].operands.push(oc: OperandScope, d: "'Execution'");
2887 InstructionDesc[OpGroupNonUniformLogicalOr].operands.push(oc: OperandGroupOperation, d: "'Operation'");
2888 InstructionDesc[OpGroupNonUniformLogicalOr].operands.push(oc: OperandId, d: "X");
2889 InstructionDesc[OpGroupNonUniformLogicalOr].operands.push(oc: OperandId, d: "'ClusterSize'", opt: true);
2890
2891 InstructionDesc[OpGroupNonUniformLogicalXor].operands.push(oc: OperandScope, d: "'Execution'");
2892 InstructionDesc[OpGroupNonUniformLogicalXor].operands.push(oc: OperandGroupOperation, d: "'Operation'");
2893 InstructionDesc[OpGroupNonUniformLogicalXor].operands.push(oc: OperandId, d: "X");
2894 InstructionDesc[OpGroupNonUniformLogicalXor].operands.push(oc: OperandId, d: "'ClusterSize'", opt: true);
2895
2896 InstructionDesc[OpGroupNonUniformQuadBroadcast].operands.push(oc: OperandScope, d: "'Execution'");
2897 InstructionDesc[OpGroupNonUniformQuadBroadcast].operands.push(oc: OperandId, d: "X");
2898 InstructionDesc[OpGroupNonUniformQuadBroadcast].operands.push(oc: OperandId, d: "'Id'");
2899
2900 InstructionDesc[OpGroupNonUniformQuadSwap].operands.push(oc: OperandScope, d: "'Execution'");
2901 InstructionDesc[OpGroupNonUniformQuadSwap].operands.push(oc: OperandId, d: "X");
2902 InstructionDesc[OpGroupNonUniformQuadSwap].operands.push(oc: OperandId, d: "'Direction'");
2903
2904 InstructionDesc[OpSubgroupBallotKHR].operands.push(oc: OperandId, d: "'Predicate'");
2905
2906 InstructionDesc[OpSubgroupFirstInvocationKHR].operands.push(oc: OperandId, d: "'Value'");
2907
2908 InstructionDesc[OpSubgroupAnyKHR].operands.push(oc: OperandScope, d: "'Execution'");
2909 InstructionDesc[OpSubgroupAnyKHR].operands.push(oc: OperandId, d: "'Predicate'");
2910
2911 InstructionDesc[OpSubgroupAllKHR].operands.push(oc: OperandScope, d: "'Execution'");
2912 InstructionDesc[OpSubgroupAllKHR].operands.push(oc: OperandId, d: "'Predicate'");
2913
2914 InstructionDesc[OpSubgroupAllEqualKHR].operands.push(oc: OperandScope, d: "'Execution'");
2915 InstructionDesc[OpSubgroupAllEqualKHR].operands.push(oc: OperandId, d: "'Predicate'");
2916
2917 InstructionDesc[OpGroupNonUniformRotateKHR].operands.push(oc: OperandScope, d: "'Execution'");
2918 InstructionDesc[OpGroupNonUniformRotateKHR].operands.push(oc: OperandId, d: "'X'");
2919 InstructionDesc[OpGroupNonUniformRotateKHR].operands.push(oc: OperandId, d: "'Delta'");
2920 InstructionDesc[OpGroupNonUniformRotateKHR].operands.push(oc: OperandId, d: "'ClusterSize'", opt: true);
2921
2922 InstructionDesc[OpSubgroupReadInvocationKHR].operands.push(oc: OperandId, d: "'Value'");
2923 InstructionDesc[OpSubgroupReadInvocationKHR].operands.push(oc: OperandId, d: "'Index'");
2924
2925 InstructionDesc[OpModuleProcessed].operands.push(oc: OperandLiteralString, d: "'process'");
2926
2927 InstructionDesc[OpGroupIAddNonUniformAMD].operands.push(oc: OperandScope, d: "'Execution'");
2928 InstructionDesc[OpGroupIAddNonUniformAMD].operands.push(oc: OperandGroupOperation, d: "'Operation'");
2929 InstructionDesc[OpGroupIAddNonUniformAMD].operands.push(oc: OperandId, d: "'X'");
2930
2931 InstructionDesc[OpGroupFAddNonUniformAMD].operands.push(oc: OperandScope, d: "'Execution'");
2932 InstructionDesc[OpGroupFAddNonUniformAMD].operands.push(oc: OperandGroupOperation, d: "'Operation'");
2933 InstructionDesc[OpGroupFAddNonUniformAMD].operands.push(oc: OperandId, d: "'X'");
2934
2935 InstructionDesc[OpGroupUMinNonUniformAMD].operands.push(oc: OperandScope, d: "'Execution'");
2936 InstructionDesc[OpGroupUMinNonUniformAMD].operands.push(oc: OperandGroupOperation, d: "'Operation'");
2937 InstructionDesc[OpGroupUMinNonUniformAMD].operands.push(oc: OperandId, d: "'X'");
2938
2939 InstructionDesc[OpGroupSMinNonUniformAMD].operands.push(oc: OperandScope, d: "'Execution'");
2940 InstructionDesc[OpGroupSMinNonUniformAMD].operands.push(oc: OperandGroupOperation, d: "'Operation'");
2941 InstructionDesc[OpGroupSMinNonUniformAMD].operands.push(oc: OperandId, d: "X");
2942
2943 InstructionDesc[OpGroupFMinNonUniformAMD].operands.push(oc: OperandScope, d: "'Execution'");
2944 InstructionDesc[OpGroupFMinNonUniformAMD].operands.push(oc: OperandGroupOperation, d: "'Operation'");
2945 InstructionDesc[OpGroupFMinNonUniformAMD].operands.push(oc: OperandId, d: "X");
2946
2947 InstructionDesc[OpGroupUMaxNonUniformAMD].operands.push(oc: OperandScope, d: "'Execution'");
2948 InstructionDesc[OpGroupUMaxNonUniformAMD].operands.push(oc: OperandGroupOperation, d: "'Operation'");
2949 InstructionDesc[OpGroupUMaxNonUniformAMD].operands.push(oc: OperandId, d: "X");
2950
2951 InstructionDesc[OpGroupSMaxNonUniformAMD].operands.push(oc: OperandScope, d: "'Execution'");
2952 InstructionDesc[OpGroupSMaxNonUniformAMD].operands.push(oc: OperandGroupOperation, d: "'Operation'");
2953 InstructionDesc[OpGroupSMaxNonUniformAMD].operands.push(oc: OperandId, d: "X");
2954
2955 InstructionDesc[OpGroupFMaxNonUniformAMD].operands.push(oc: OperandScope, d: "'Execution'");
2956 InstructionDesc[OpGroupFMaxNonUniformAMD].operands.push(oc: OperandGroupOperation, d: "'Operation'");
2957 InstructionDesc[OpGroupFMaxNonUniformAMD].operands.push(oc: OperandId, d: "X");
2958
2959 InstructionDesc[OpFragmentMaskFetchAMD].operands.push(oc: OperandId, d: "'Image'");
2960 InstructionDesc[OpFragmentMaskFetchAMD].operands.push(oc: OperandId, d: "'Coordinate'");
2961
2962 InstructionDesc[OpFragmentFetchAMD].operands.push(oc: OperandId, d: "'Image'");
2963 InstructionDesc[OpFragmentFetchAMD].operands.push(oc: OperandId, d: "'Coordinate'");
2964 InstructionDesc[OpFragmentFetchAMD].operands.push(oc: OperandId, d: "'Fragment Index'");
2965
2966 InstructionDesc[OpGroupNonUniformPartitionNV].operands.push(oc: OperandId, d: "X");
2967
2968 InstructionDesc[OpGroupNonUniformQuadAllKHR].operands.push(oc: OperandId, d: "'Predicate'");
2969 InstructionDesc[OpGroupNonUniformQuadAnyKHR].operands.push(oc: OperandId, d: "'Predicate'");
2970 InstructionDesc[OpTypeAccelerationStructureKHR].setResultAndType(r: true, t: false);
2971
2972 InstructionDesc[OpTraceNV].operands.push(oc: OperandId, d: "'Acceleration Structure'");
2973 InstructionDesc[OpTraceNV].operands.push(oc: OperandId, d: "'Ray Flags'");
2974 InstructionDesc[OpTraceNV].operands.push(oc: OperandId, d: "'Cull Mask'");
2975 InstructionDesc[OpTraceNV].operands.push(oc: OperandId, d: "'SBT Record Offset'");
2976 InstructionDesc[OpTraceNV].operands.push(oc: OperandId, d: "'SBT Record Stride'");
2977 InstructionDesc[OpTraceNV].operands.push(oc: OperandId, d: "'Miss Index'");
2978 InstructionDesc[OpTraceNV].operands.push(oc: OperandId, d: "'Ray Origin'");
2979 InstructionDesc[OpTraceNV].operands.push(oc: OperandId, d: "'TMin'");
2980 InstructionDesc[OpTraceNV].operands.push(oc: OperandId, d: "'Ray Direction'");
2981 InstructionDesc[OpTraceNV].operands.push(oc: OperandId, d: "'TMax'");
2982 InstructionDesc[OpTraceNV].operands.push(oc: OperandId, d: "'Payload'");
2983 InstructionDesc[OpTraceNV].setResultAndType(r: false, t: false);
2984
2985 InstructionDesc[OpTraceRayMotionNV].operands.push(oc: OperandId, d: "'Acceleration Structure'");
2986 InstructionDesc[OpTraceRayMotionNV].operands.push(oc: OperandId, d: "'Ray Flags'");
2987 InstructionDesc[OpTraceRayMotionNV].operands.push(oc: OperandId, d: "'Cull Mask'");
2988 InstructionDesc[OpTraceRayMotionNV].operands.push(oc: OperandId, d: "'SBT Record Offset'");
2989 InstructionDesc[OpTraceRayMotionNV].operands.push(oc: OperandId, d: "'SBT Record Stride'");
2990 InstructionDesc[OpTraceRayMotionNV].operands.push(oc: OperandId, d: "'Miss Index'");
2991 InstructionDesc[OpTraceRayMotionNV].operands.push(oc: OperandId, d: "'Ray Origin'");
2992 InstructionDesc[OpTraceRayMotionNV].operands.push(oc: OperandId, d: "'TMin'");
2993 InstructionDesc[OpTraceRayMotionNV].operands.push(oc: OperandId, d: "'Ray Direction'");
2994 InstructionDesc[OpTraceRayMotionNV].operands.push(oc: OperandId, d: "'TMax'");
2995 InstructionDesc[OpTraceRayMotionNV].operands.push(oc: OperandId, d: "'Time'");
2996 InstructionDesc[OpTraceRayMotionNV].operands.push(oc: OperandId, d: "'Payload'");
2997 InstructionDesc[OpTraceRayMotionNV].setResultAndType(r: false, t: false);
2998
2999 InstructionDesc[OpTraceRayKHR].operands.push(oc: OperandId, d: "'Acceleration Structure'");
3000 InstructionDesc[OpTraceRayKHR].operands.push(oc: OperandId, d: "'Ray Flags'");
3001 InstructionDesc[OpTraceRayKHR].operands.push(oc: OperandId, d: "'Cull Mask'");
3002 InstructionDesc[OpTraceRayKHR].operands.push(oc: OperandId, d: "'SBT Record Offset'");
3003 InstructionDesc[OpTraceRayKHR].operands.push(oc: OperandId, d: "'SBT Record Stride'");
3004 InstructionDesc[OpTraceRayKHR].operands.push(oc: OperandId, d: "'Miss Index'");
3005 InstructionDesc[OpTraceRayKHR].operands.push(oc: OperandId, d: "'Ray Origin'");
3006 InstructionDesc[OpTraceRayKHR].operands.push(oc: OperandId, d: "'TMin'");
3007 InstructionDesc[OpTraceRayKHR].operands.push(oc: OperandId, d: "'Ray Direction'");
3008 InstructionDesc[OpTraceRayKHR].operands.push(oc: OperandId, d: "'TMax'");
3009 InstructionDesc[OpTraceRayKHR].operands.push(oc: OperandId, d: "'Payload'");
3010 InstructionDesc[OpTraceRayKHR].setResultAndType(r: false, t: false);
3011
3012 InstructionDesc[OpReportIntersectionKHR].operands.push(oc: OperandId, d: "'Hit Parameter'");
3013 InstructionDesc[OpReportIntersectionKHR].operands.push(oc: OperandId, d: "'Hit Kind'");
3014
3015 InstructionDesc[OpIgnoreIntersectionNV].setResultAndType(r: false, t: false);
3016
3017 InstructionDesc[OpIgnoreIntersectionKHR].setResultAndType(r: false, t: false);
3018
3019 InstructionDesc[OpTerminateRayNV].setResultAndType(r: false, t: false);
3020
3021 InstructionDesc[OpTerminateRayKHR].setResultAndType(r: false, t: false);
3022
3023 InstructionDesc[OpExecuteCallableNV].operands.push(oc: OperandId, d: "SBT Record Index");
3024 InstructionDesc[OpExecuteCallableNV].operands.push(oc: OperandId, d: "CallableData ID");
3025 InstructionDesc[OpExecuteCallableNV].setResultAndType(r: false, t: false);
3026
3027 InstructionDesc[OpExecuteCallableKHR].operands.push(oc: OperandId, d: "SBT Record Index");
3028 InstructionDesc[OpExecuteCallableKHR].operands.push(oc: OperandId, d: "CallableData");
3029 InstructionDesc[OpExecuteCallableKHR].setResultAndType(r: false, t: false);
3030
3031 InstructionDesc[OpConvertUToAccelerationStructureKHR].operands.push(oc: OperandId, d: "Value");
3032 InstructionDesc[OpConvertUToAccelerationStructureKHR].setResultAndType(r: true, t: true);
3033
3034 // Ray Query
3035 InstructionDesc[OpTypeAccelerationStructureKHR].setResultAndType(r: true, t: false);
3036 InstructionDesc[OpTypeRayQueryKHR].setResultAndType(r: true, t: false);
3037
3038 InstructionDesc[OpRayQueryInitializeKHR].operands.push(oc: OperandId, d: "'RayQuery'");
3039 InstructionDesc[OpRayQueryInitializeKHR].operands.push(oc: OperandId, d: "'AccelerationS'");
3040 InstructionDesc[OpRayQueryInitializeKHR].operands.push(oc: OperandId, d: "'RayFlags'");
3041 InstructionDesc[OpRayQueryInitializeKHR].operands.push(oc: OperandId, d: "'CullMask'");
3042 InstructionDesc[OpRayQueryInitializeKHR].operands.push(oc: OperandId, d: "'Origin'");
3043 InstructionDesc[OpRayQueryInitializeKHR].operands.push(oc: OperandId, d: "'Tmin'");
3044 InstructionDesc[OpRayQueryInitializeKHR].operands.push(oc: OperandId, d: "'Direction'");
3045 InstructionDesc[OpRayQueryInitializeKHR].operands.push(oc: OperandId, d: "'Tmax'");
3046 InstructionDesc[OpRayQueryInitializeKHR].setResultAndType(r: false, t: false);
3047
3048 InstructionDesc[OpRayQueryTerminateKHR].operands.push(oc: OperandId, d: "'RayQuery'");
3049 InstructionDesc[OpRayQueryTerminateKHR].setResultAndType(r: false, t: false);
3050
3051 InstructionDesc[OpRayQueryGenerateIntersectionKHR].operands.push(oc: OperandId, d: "'RayQuery'");
3052 InstructionDesc[OpRayQueryGenerateIntersectionKHR].operands.push(oc: OperandId, d: "'THit'");
3053 InstructionDesc[OpRayQueryGenerateIntersectionKHR].setResultAndType(r: false, t: false);
3054
3055 InstructionDesc[OpRayQueryConfirmIntersectionKHR].operands.push(oc: OperandId, d: "'RayQuery'");
3056 InstructionDesc[OpRayQueryConfirmIntersectionKHR].setResultAndType(r: false, t: false);
3057
3058 InstructionDesc[OpRayQueryProceedKHR].operands.push(oc: OperandId, d: "'RayQuery'");
3059 InstructionDesc[OpRayQueryProceedKHR].setResultAndType(r: true, t: true);
3060
3061 InstructionDesc[OpRayQueryGetIntersectionTypeKHR].operands.push(oc: OperandId, d: "'RayQuery'");
3062 InstructionDesc[OpRayQueryGetIntersectionTypeKHR].operands.push(oc: OperandId, d: "'Committed'");
3063 InstructionDesc[OpRayQueryGetIntersectionTypeKHR].setResultAndType(r: true, t: true);
3064
3065 InstructionDesc[OpRayQueryGetRayTMinKHR].operands.push(oc: OperandId, d: "'RayQuery'");
3066 InstructionDesc[OpRayQueryGetRayTMinKHR].setResultAndType(r: true, t: true);
3067
3068 InstructionDesc[OpRayQueryGetRayFlagsKHR].operands.push(oc: OperandId, d: "'RayQuery'");
3069 InstructionDesc[OpRayQueryGetRayFlagsKHR].setResultAndType(r: true, t: true);
3070
3071 InstructionDesc[OpRayQueryGetIntersectionTKHR].operands.push(oc: OperandId, d: "'RayQuery'");
3072 InstructionDesc[OpRayQueryGetIntersectionTKHR].operands.push(oc: OperandId, d: "'Committed'");
3073 InstructionDesc[OpRayQueryGetIntersectionTKHR].setResultAndType(r: true, t: true);
3074
3075 InstructionDesc[OpRayQueryGetIntersectionInstanceCustomIndexKHR].operands.push(oc: OperandId, d: "'RayQuery'");
3076 InstructionDesc[OpRayQueryGetIntersectionInstanceCustomIndexKHR].operands.push(oc: OperandId, d: "'Committed'");
3077 InstructionDesc[OpRayQueryGetIntersectionInstanceCustomIndexKHR].setResultAndType(r: true, t: true);
3078
3079 InstructionDesc[OpRayQueryGetIntersectionInstanceIdKHR].operands.push(oc: OperandId, d: "'RayQuery'");
3080 InstructionDesc[OpRayQueryGetIntersectionInstanceIdKHR].operands.push(oc: OperandId, d: "'Committed'");
3081 InstructionDesc[OpRayQueryGetIntersectionInstanceIdKHR].setResultAndType(r: true, t: true);
3082
3083 InstructionDesc[OpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR].operands.push(oc: OperandId, d: "'RayQuery'");
3084 InstructionDesc[OpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR].operands.push(oc: OperandId, d: "'Committed'");
3085 InstructionDesc[OpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR].setResultAndType(r: true, t: true);
3086
3087 InstructionDesc[OpRayQueryGetIntersectionGeometryIndexKHR].operands.push(oc: OperandId, d: "'RayQuery'");
3088 InstructionDesc[OpRayQueryGetIntersectionGeometryIndexKHR].operands.push(oc: OperandId, d: "'Committed'");
3089 InstructionDesc[OpRayQueryGetIntersectionGeometryIndexKHR].setResultAndType(r: true, t: true);
3090
3091 InstructionDesc[OpRayQueryGetIntersectionPrimitiveIndexKHR].operands.push(oc: OperandId, d: "'RayQuery'");
3092 InstructionDesc[OpRayQueryGetIntersectionPrimitiveIndexKHR].operands.push(oc: OperandId, d: "'Committed'");
3093 InstructionDesc[OpRayQueryGetIntersectionPrimitiveIndexKHR].setResultAndType(r: true, t: true);
3094
3095 InstructionDesc[OpRayQueryGetIntersectionBarycentricsKHR].operands.push(oc: OperandId, d: "'RayQuery'");
3096 InstructionDesc[OpRayQueryGetIntersectionBarycentricsKHR].operands.push(oc: OperandId, d: "'Committed'");
3097 InstructionDesc[OpRayQueryGetIntersectionBarycentricsKHR].setResultAndType(r: true, t: true);
3098
3099 InstructionDesc[OpRayQueryGetIntersectionFrontFaceKHR].operands.push(oc: OperandId, d: "'RayQuery'");
3100 InstructionDesc[OpRayQueryGetIntersectionFrontFaceKHR].operands.push(oc: OperandId, d: "'Committed'");
3101 InstructionDesc[OpRayQueryGetIntersectionFrontFaceKHR].setResultAndType(r: true, t: true);
3102
3103 InstructionDesc[OpRayQueryGetIntersectionCandidateAABBOpaqueKHR].operands.push(oc: OperandId, d: "'RayQuery'");
3104 InstructionDesc[OpRayQueryGetIntersectionCandidateAABBOpaqueKHR].setResultAndType(r: true, t: true);
3105
3106 InstructionDesc[OpRayQueryGetIntersectionObjectRayDirectionKHR].operands.push(oc: OperandId, d: "'RayQuery'");
3107 InstructionDesc[OpRayQueryGetIntersectionObjectRayDirectionKHR].operands.push(oc: OperandId, d: "'Committed'");
3108 InstructionDesc[OpRayQueryGetIntersectionObjectRayDirectionKHR].setResultAndType(r: true, t: true);
3109
3110 InstructionDesc[OpRayQueryGetIntersectionObjectRayOriginKHR].operands.push(oc: OperandId, d: "'RayQuery'");
3111 InstructionDesc[OpRayQueryGetIntersectionObjectRayOriginKHR].operands.push(oc: OperandId, d: "'Committed'");
3112 InstructionDesc[OpRayQueryGetIntersectionObjectRayOriginKHR].setResultAndType(r: true, t: true);
3113
3114 InstructionDesc[OpRayQueryGetWorldRayDirectionKHR].operands.push(oc: OperandId, d: "'RayQuery'");
3115 InstructionDesc[OpRayQueryGetWorldRayDirectionKHR].setResultAndType(r: true, t: true);
3116
3117 InstructionDesc[OpRayQueryGetWorldRayOriginKHR].operands.push(oc: OperandId, d: "'RayQuery'");
3118 InstructionDesc[OpRayQueryGetWorldRayOriginKHR].setResultAndType(r: true, t: true);
3119
3120 InstructionDesc[OpRayQueryGetIntersectionObjectToWorldKHR].operands.push(oc: OperandId, d: "'RayQuery'");
3121 InstructionDesc[OpRayQueryGetIntersectionObjectToWorldKHR].operands.push(oc: OperandId, d: "'Committed'");
3122 InstructionDesc[OpRayQueryGetIntersectionObjectToWorldKHR].setResultAndType(r: true, t: true);
3123
3124 InstructionDesc[OpRayQueryGetIntersectionWorldToObjectKHR].operands.push(oc: OperandId, d: "'RayQuery'");
3125 InstructionDesc[OpRayQueryGetIntersectionWorldToObjectKHR].operands.push(oc: OperandId, d: "'Committed'");
3126 InstructionDesc[OpRayQueryGetIntersectionWorldToObjectKHR].setResultAndType(r: true, t: true);
3127
3128 InstructionDesc[OpRayQueryGetIntersectionTriangleVertexPositionsKHR].operands.push(oc: OperandId, d: "'RayQuery'");
3129 InstructionDesc[OpRayQueryGetIntersectionTriangleVertexPositionsKHR].operands.push(oc: OperandId, d: "'Committed'");
3130 InstructionDesc[OpRayQueryGetIntersectionTriangleVertexPositionsKHR].setResultAndType(r: true, t: true);
3131
3132 InstructionDesc[OpImageSampleFootprintNV].operands.push(oc: OperandId, d: "'Sampled Image'");
3133 InstructionDesc[OpImageSampleFootprintNV].operands.push(oc: OperandId, d: "'Coordinate'");
3134 InstructionDesc[OpImageSampleFootprintNV].operands.push(oc: OperandId, d: "'Granularity'");
3135 InstructionDesc[OpImageSampleFootprintNV].operands.push(oc: OperandId, d: "'Coarse'");
3136 InstructionDesc[OpImageSampleFootprintNV].operands.push(oc: OperandImageOperands, d: "", opt: true);
3137 InstructionDesc[OpImageSampleFootprintNV].operands.push(oc: OperandVariableIds, d: "", opt: true);
3138
3139 InstructionDesc[OpWritePackedPrimitiveIndices4x8NV].operands.push(oc: OperandId, d: "'Index Offset'");
3140 InstructionDesc[OpWritePackedPrimitiveIndices4x8NV].operands.push(oc: OperandId, d: "'Packed Indices'");
3141
3142 InstructionDesc[OpEmitMeshTasksEXT].operands.push(oc: OperandId, d: "'groupCountX'");
3143 InstructionDesc[OpEmitMeshTasksEXT].operands.push(oc: OperandId, d: "'groupCountY'");
3144 InstructionDesc[OpEmitMeshTasksEXT].operands.push(oc: OperandId, d: "'groupCountZ'");
3145 InstructionDesc[OpEmitMeshTasksEXT].operands.push(oc: OperandId, d: "'Payload'");
3146 InstructionDesc[OpEmitMeshTasksEXT].setResultAndType(r: false, t: false);
3147
3148 InstructionDesc[OpSetMeshOutputsEXT].operands.push(oc: OperandId, d: "'vertexCount'");
3149 InstructionDesc[OpSetMeshOutputsEXT].operands.push(oc: OperandId, d: "'primitiveCount'");
3150 InstructionDesc[OpSetMeshOutputsEXT].setResultAndType(r: false, t: false);
3151
3152
3153 InstructionDesc[OpTypeCooperativeMatrixNV].operands.push(oc: OperandId, d: "'Component Type'");
3154 InstructionDesc[OpTypeCooperativeMatrixNV].operands.push(oc: OperandId, d: "'Scope'");
3155 InstructionDesc[OpTypeCooperativeMatrixNV].operands.push(oc: OperandId, d: "'Rows'");
3156 InstructionDesc[OpTypeCooperativeMatrixNV].operands.push(oc: OperandId, d: "'Columns'");
3157
3158 InstructionDesc[OpCooperativeMatrixLoadNV].operands.push(oc: OperandId, d: "'Pointer'");
3159 InstructionDesc[OpCooperativeMatrixLoadNV].operands.push(oc: OperandId, d: "'Stride'");
3160 InstructionDesc[OpCooperativeMatrixLoadNV].operands.push(oc: OperandId, d: "'Column Major'");
3161 InstructionDesc[OpCooperativeMatrixLoadNV].operands.push(oc: OperandMemoryAccess, d: "'Memory Access'");
3162 InstructionDesc[OpCooperativeMatrixLoadNV].operands.push(oc: OperandLiteralNumber, d: "", opt: true);
3163 InstructionDesc[OpCooperativeMatrixLoadNV].operands.push(oc: OperandId, d: "", opt: true);
3164
3165 InstructionDesc[OpCooperativeMatrixStoreNV].operands.push(oc: OperandId, d: "'Pointer'");
3166 InstructionDesc[OpCooperativeMatrixStoreNV].operands.push(oc: OperandId, d: "'Object'");
3167 InstructionDesc[OpCooperativeMatrixStoreNV].operands.push(oc: OperandId, d: "'Stride'");
3168 InstructionDesc[OpCooperativeMatrixStoreNV].operands.push(oc: OperandId, d: "'Column Major'");
3169 InstructionDesc[OpCooperativeMatrixStoreNV].operands.push(oc: OperandMemoryAccess, d: "'Memory Access'");
3170 InstructionDesc[OpCooperativeMatrixStoreNV].operands.push(oc: OperandLiteralNumber, d: "", opt: true);
3171 InstructionDesc[OpCooperativeMatrixStoreNV].operands.push(oc: OperandId, d: "", opt: true);
3172
3173 InstructionDesc[OpCooperativeMatrixMulAddNV].operands.push(oc: OperandId, d: "'A'");
3174 InstructionDesc[OpCooperativeMatrixMulAddNV].operands.push(oc: OperandId, d: "'B'");
3175 InstructionDesc[OpCooperativeMatrixMulAddNV].operands.push(oc: OperandId, d: "'C'");
3176
3177 InstructionDesc[OpCooperativeMatrixLengthNV].operands.push(oc: OperandId, d: "'Type'");
3178
3179 InstructionDesc[OpTypeCooperativeMatrixKHR].operands.push(oc: OperandId, d: "'Component Type'");
3180 InstructionDesc[OpTypeCooperativeMatrixKHR].operands.push(oc: OperandId, d: "'Scope'");
3181 InstructionDesc[OpTypeCooperativeMatrixKHR].operands.push(oc: OperandId, d: "'Rows'");
3182 InstructionDesc[OpTypeCooperativeMatrixKHR].operands.push(oc: OperandId, d: "'Columns'");
3183 InstructionDesc[OpTypeCooperativeMatrixKHR].operands.push(oc: OperandId, d: "'Use'");
3184
3185 InstructionDesc[OpCooperativeMatrixLoadKHR].operands.push(oc: OperandId, d: "'Pointer'");
3186 InstructionDesc[OpCooperativeMatrixLoadKHR].operands.push(oc: OperandId, d: "'Memory Layout'");
3187 InstructionDesc[OpCooperativeMatrixLoadKHR].operands.push(oc: OperandId, d: "'Stride'");
3188 InstructionDesc[OpCooperativeMatrixLoadKHR].operands.push(oc: OperandMemoryAccess, d: "'Memory Access'");
3189 InstructionDesc[OpCooperativeMatrixLoadKHR].operands.push(oc: OperandLiteralNumber, d: "", opt: true);
3190 InstructionDesc[OpCooperativeMatrixLoadKHR].operands.push(oc: OperandId, d: "", opt: true);
3191
3192 InstructionDesc[OpCooperativeMatrixStoreKHR].operands.push(oc: OperandId, d: "'Pointer'");
3193 InstructionDesc[OpCooperativeMatrixStoreKHR].operands.push(oc: OperandId, d: "'Object'");
3194 InstructionDesc[OpCooperativeMatrixStoreKHR].operands.push(oc: OperandId, d: "'Memory Layout'");
3195 InstructionDesc[OpCooperativeMatrixStoreKHR].operands.push(oc: OperandId, d: "'Stride'");
3196 InstructionDesc[OpCooperativeMatrixStoreKHR].operands.push(oc: OperandMemoryAccess, d: "'Memory Access'");
3197 InstructionDesc[OpCooperativeMatrixStoreKHR].operands.push(oc: OperandLiteralNumber, d: "", opt: true);
3198 InstructionDesc[OpCooperativeMatrixStoreKHR].operands.push(oc: OperandId, d: "", opt: true);
3199
3200 InstructionDesc[OpCooperativeMatrixMulAddKHR].operands.push(oc: OperandId, d: "'A'");
3201 InstructionDesc[OpCooperativeMatrixMulAddKHR].operands.push(oc: OperandId, d: "'B'");
3202 InstructionDesc[OpCooperativeMatrixMulAddKHR].operands.push(oc: OperandId, d: "'C'");
3203 InstructionDesc[OpCooperativeMatrixMulAddKHR].operands.push(oc: OperandCooperativeMatrixOperands, d: "'Cooperative Matrix Operands'", opt: true);
3204
3205 InstructionDesc[OpCooperativeMatrixLengthKHR].operands.push(oc: OperandId, d: "'Type'");
3206
3207 InstructionDesc[OpDemoteToHelperInvocationEXT].setResultAndType(r: false, t: false);
3208
3209 InstructionDesc[OpReadClockKHR].operands.push(oc: OperandScope, d: "'Scope'");
3210
3211 InstructionDesc[OpTypeHitObjectNV].setResultAndType(r: true, t: false);
3212
3213 InstructionDesc[OpHitObjectGetShaderRecordBufferHandleNV].operands.push(oc: OperandId, d: "'HitObject'");
3214 InstructionDesc[OpHitObjectGetShaderRecordBufferHandleNV].setResultAndType(r: true, t: true);
3215
3216 InstructionDesc[OpReorderThreadWithHintNV].operands.push(oc: OperandId, d: "'Hint'");
3217 InstructionDesc[OpReorderThreadWithHintNV].operands.push(oc: OperandId, d: "'Bits'");
3218 InstructionDesc[OpReorderThreadWithHintNV].setResultAndType(r: false, t: false);
3219
3220 InstructionDesc[OpReorderThreadWithHitObjectNV].operands.push(oc: OperandId, d: "'HitObject'");
3221 InstructionDesc[OpReorderThreadWithHitObjectNV].operands.push(oc: OperandId, d: "'Hint'");
3222 InstructionDesc[OpReorderThreadWithHitObjectNV].operands.push(oc: OperandId, d: "'Bits'");
3223 InstructionDesc[OpReorderThreadWithHitObjectNV].setResultAndType(r: false, t: false);
3224
3225 InstructionDesc[OpHitObjectGetCurrentTimeNV].operands.push(oc: OperandId, d: "'HitObject'");
3226 InstructionDesc[OpHitObjectGetCurrentTimeNV].setResultAndType(r: true, t: true);
3227
3228 InstructionDesc[OpHitObjectGetHitKindNV].operands.push(oc: OperandId, d: "'HitObject'");
3229 InstructionDesc[OpHitObjectGetHitKindNV].setResultAndType(r: true, t: true);
3230
3231 InstructionDesc[OpHitObjectGetPrimitiveIndexNV].operands.push(oc: OperandId, d: "'HitObject'");
3232 InstructionDesc[OpHitObjectGetPrimitiveIndexNV].setResultAndType(r: true, t: true);
3233
3234 InstructionDesc[OpHitObjectGetGeometryIndexNV].operands.push(oc: OperandId, d: "'HitObject'");
3235 InstructionDesc[OpHitObjectGetGeometryIndexNV].setResultAndType(r: true, t: true);
3236
3237 InstructionDesc[OpHitObjectGetInstanceIdNV].operands.push(oc: OperandId, d: "'HitObject'");
3238 InstructionDesc[OpHitObjectGetInstanceIdNV].setResultAndType(r: true, t: true);
3239
3240 InstructionDesc[OpHitObjectGetInstanceCustomIndexNV].operands.push(oc: OperandId, d: "'HitObject'");
3241 InstructionDesc[OpHitObjectGetInstanceCustomIndexNV].setResultAndType(r: true, t: true);
3242
3243 InstructionDesc[OpHitObjectGetObjectRayDirectionNV].operands.push(oc: OperandId, d: "'HitObject'");
3244 InstructionDesc[OpHitObjectGetObjectRayDirectionNV].setResultAndType(r: true, t: true);
3245
3246 InstructionDesc[OpHitObjectGetObjectRayOriginNV].operands.push(oc: OperandId, d: "'HitObject'");
3247 InstructionDesc[OpHitObjectGetObjectRayOriginNV].setResultAndType(r: true, t: true);
3248
3249 InstructionDesc[OpHitObjectGetWorldRayDirectionNV].operands.push(oc: OperandId, d: "'HitObject'");
3250 InstructionDesc[OpHitObjectGetWorldRayDirectionNV].setResultAndType(r: true, t: true);
3251
3252 InstructionDesc[OpHitObjectGetWorldRayOriginNV].operands.push(oc: OperandId, d: "'HitObject'");
3253 InstructionDesc[OpHitObjectGetWorldRayOriginNV].setResultAndType(r: true, t: true);
3254
3255 InstructionDesc[OpHitObjectGetWorldToObjectNV].operands.push(oc: OperandId, d: "'HitObject'");
3256 InstructionDesc[OpHitObjectGetWorldToObjectNV].setResultAndType(r: true, t: true);
3257
3258 InstructionDesc[OpHitObjectGetObjectToWorldNV].operands.push(oc: OperandId, d: "'HitObject'");
3259 InstructionDesc[OpHitObjectGetObjectToWorldNV].setResultAndType(r: true, t: true);
3260
3261 InstructionDesc[OpHitObjectGetRayTMaxNV].operands.push(oc: OperandId, d: "'HitObject'");
3262 InstructionDesc[OpHitObjectGetRayTMaxNV].setResultAndType(r: true, t: true);
3263
3264 InstructionDesc[OpHitObjectGetRayTMinNV].operands.push(oc: OperandId, d: "'HitObject'");
3265 InstructionDesc[OpHitObjectGetRayTMinNV].setResultAndType(r: true, t: true);
3266
3267 InstructionDesc[OpHitObjectGetShaderBindingTableRecordIndexNV].operands.push(oc: OperandId, d: "'HitObject'");
3268 InstructionDesc[OpHitObjectGetShaderBindingTableRecordIndexNV].setResultAndType(r: true, t: true);
3269
3270 InstructionDesc[OpHitObjectIsEmptyNV].operands.push(oc: OperandId, d: "'HitObject'");
3271 InstructionDesc[OpHitObjectIsEmptyNV].setResultAndType(r: true, t: true);
3272
3273 InstructionDesc[OpHitObjectIsHitNV].operands.push(oc: OperandId, d: "'HitObject'");
3274 InstructionDesc[OpHitObjectIsHitNV].setResultAndType(r: true, t: true);
3275
3276 InstructionDesc[OpHitObjectIsMissNV].operands.push(oc: OperandId, d: "'HitObject'");
3277 InstructionDesc[OpHitObjectIsMissNV].setResultAndType(r: true, t: true);
3278
3279 InstructionDesc[OpHitObjectGetAttributesNV].operands.push(oc: OperandId, d: "'HitObject'");
3280 InstructionDesc[OpHitObjectGetAttributesNV].operands.push(oc: OperandId, d: "'HitObjectAttribute'");
3281 InstructionDesc[OpHitObjectGetAttributesNV].setResultAndType(r: false, t: false);
3282
3283 InstructionDesc[OpHitObjectExecuteShaderNV].operands.push(oc: OperandId, d: "'HitObject'");
3284 InstructionDesc[OpHitObjectExecuteShaderNV].operands.push(oc: OperandId, d: "'Payload'");
3285 InstructionDesc[OpHitObjectExecuteShaderNV].setResultAndType(r: false, t: false);
3286
3287 InstructionDesc[OpHitObjectRecordHitNV].operands.push(oc: OperandId, d: "'HitObject'");
3288 InstructionDesc[OpHitObjectRecordHitNV].operands.push(oc: OperandId, d: "'Acceleration Structure'");
3289 InstructionDesc[OpHitObjectRecordHitNV].operands.push(oc: OperandId, d: "'InstanceId'");
3290 InstructionDesc[OpHitObjectRecordHitNV].operands.push(oc: OperandId, d: "'PrimitiveId'");
3291 InstructionDesc[OpHitObjectRecordHitNV].operands.push(oc: OperandId, d: "'GeometryIndex'");
3292 InstructionDesc[OpHitObjectRecordHitNV].operands.push(oc: OperandId, d: "'HitKind'");
3293 InstructionDesc[OpHitObjectRecordHitNV].operands.push(oc: OperandId, d: "'SBT Record Offset'");
3294 InstructionDesc[OpHitObjectRecordHitNV].operands.push(oc: OperandId, d: "'SBT Record Stride'");
3295 InstructionDesc[OpHitObjectRecordHitNV].operands.push(oc: OperandId, d: "'Origin'");
3296 InstructionDesc[OpHitObjectRecordHitNV].operands.push(oc: OperandId, d: "'TMin'");
3297 InstructionDesc[OpHitObjectRecordHitNV].operands.push(oc: OperandId, d: "'Direction'");
3298 InstructionDesc[OpHitObjectRecordHitNV].operands.push(oc: OperandId, d: "'TMax'");
3299 InstructionDesc[OpHitObjectRecordHitNV].operands.push(oc: OperandId, d: "'HitObject Attribute'");
3300 InstructionDesc[OpHitObjectRecordHitNV].setResultAndType(r: false, t: false);
3301
3302 InstructionDesc[OpHitObjectRecordHitMotionNV].operands.push(oc: OperandId, d: "'HitObject'");
3303 InstructionDesc[OpHitObjectRecordHitMotionNV].operands.push(oc: OperandId, d: "'Acceleration Structure'");
3304 InstructionDesc[OpHitObjectRecordHitMotionNV].operands.push(oc: OperandId, d: "'InstanceId'");
3305 InstructionDesc[OpHitObjectRecordHitMotionNV].operands.push(oc: OperandId, d: "'PrimitiveId'");
3306 InstructionDesc[OpHitObjectRecordHitMotionNV].operands.push(oc: OperandId, d: "'GeometryIndex'");
3307 InstructionDesc[OpHitObjectRecordHitMotionNV].operands.push(oc: OperandId, d: "'HitKind'");
3308 InstructionDesc[OpHitObjectRecordHitMotionNV].operands.push(oc: OperandId, d: "'SBT Record Offset'");
3309 InstructionDesc[OpHitObjectRecordHitMotionNV].operands.push(oc: OperandId, d: "'SBT Record Stride'");
3310 InstructionDesc[OpHitObjectRecordHitMotionNV].operands.push(oc: OperandId, d: "'Origin'");
3311 InstructionDesc[OpHitObjectRecordHitMotionNV].operands.push(oc: OperandId, d: "'TMin'");
3312 InstructionDesc[OpHitObjectRecordHitMotionNV].operands.push(oc: OperandId, d: "'Direction'");
3313 InstructionDesc[OpHitObjectRecordHitMotionNV].operands.push(oc: OperandId, d: "'TMax'");
3314 InstructionDesc[OpHitObjectRecordHitMotionNV].operands.push(oc: OperandId, d: "'Current Time'");
3315 InstructionDesc[OpHitObjectRecordHitMotionNV].operands.push(oc: OperandId, d: "'HitObject Attribute'");
3316 InstructionDesc[OpHitObjectRecordHitMotionNV].setResultAndType(r: false, t: false);
3317
3318 InstructionDesc[OpHitObjectRecordHitWithIndexNV].operands.push(oc: OperandId, d: "'HitObject'");
3319 InstructionDesc[OpHitObjectRecordHitWithIndexNV].operands.push(oc: OperandId, d: "'Acceleration Structure'");
3320 InstructionDesc[OpHitObjectRecordHitWithIndexNV].operands.push(oc: OperandId, d: "'InstanceId'");
3321 InstructionDesc[OpHitObjectRecordHitWithIndexNV].operands.push(oc: OperandId, d: "'PrimitiveId'");
3322 InstructionDesc[OpHitObjectRecordHitWithIndexNV].operands.push(oc: OperandId, d: "'GeometryIndex'");
3323 InstructionDesc[OpHitObjectRecordHitWithIndexNV].operands.push(oc: OperandId, d: "'HitKind'");
3324 InstructionDesc[OpHitObjectRecordHitWithIndexNV].operands.push(oc: OperandId, d: "'SBT Record Index'");
3325 InstructionDesc[OpHitObjectRecordHitWithIndexNV].operands.push(oc: OperandId, d: "'Origin'");
3326 InstructionDesc[OpHitObjectRecordHitWithIndexNV].operands.push(oc: OperandId, d: "'TMin'");
3327 InstructionDesc[OpHitObjectRecordHitWithIndexNV].operands.push(oc: OperandId, d: "'Direction'");
3328 InstructionDesc[OpHitObjectRecordHitWithIndexNV].operands.push(oc: OperandId, d: "'TMax'");
3329 InstructionDesc[OpHitObjectRecordHitWithIndexNV].operands.push(oc: OperandId, d: "'HitObject Attribute'");
3330 InstructionDesc[OpHitObjectRecordHitWithIndexNV].setResultAndType(r: false, t: false);
3331
3332 InstructionDesc[OpHitObjectRecordHitWithIndexMotionNV].operands.push(oc: OperandId, d: "'HitObject'");
3333 InstructionDesc[OpHitObjectRecordHitWithIndexMotionNV].operands.push(oc: OperandId, d: "'Acceleration Structure'");
3334 InstructionDesc[OpHitObjectRecordHitWithIndexMotionNV].operands.push(oc: OperandId, d: "'InstanceId'");
3335 InstructionDesc[OpHitObjectRecordHitWithIndexMotionNV].operands.push(oc: OperandId, d: "'PrimitiveId'");
3336 InstructionDesc[OpHitObjectRecordHitWithIndexMotionNV].operands.push(oc: OperandId, d: "'GeometryIndex'");
3337 InstructionDesc[OpHitObjectRecordHitWithIndexMotionNV].operands.push(oc: OperandId, d: "'HitKind'");
3338 InstructionDesc[OpHitObjectRecordHitWithIndexMotionNV].operands.push(oc: OperandId, d: "'SBT Record Index'");
3339 InstructionDesc[OpHitObjectRecordHitWithIndexMotionNV].operands.push(oc: OperandId, d: "'Origin'");
3340 InstructionDesc[OpHitObjectRecordHitWithIndexMotionNV].operands.push(oc: OperandId, d: "'TMin'");
3341 InstructionDesc[OpHitObjectRecordHitWithIndexMotionNV].operands.push(oc: OperandId, d: "'Direction'");
3342 InstructionDesc[OpHitObjectRecordHitWithIndexMotionNV].operands.push(oc: OperandId, d: "'TMax'");
3343 InstructionDesc[OpHitObjectRecordHitWithIndexMotionNV].operands.push(oc: OperandId, d: "'Current Time'");
3344 InstructionDesc[OpHitObjectRecordHitWithIndexMotionNV].operands.push(oc: OperandId, d: "'HitObject Attribute'");
3345 InstructionDesc[OpHitObjectRecordHitWithIndexMotionNV].setResultAndType(r: false, t: false);
3346
3347 InstructionDesc[OpHitObjectRecordMissNV].operands.push(oc: OperandId, d: "'HitObject'");
3348 InstructionDesc[OpHitObjectRecordMissNV].operands.push(oc: OperandId, d: "'SBT Index'");
3349 InstructionDesc[OpHitObjectRecordMissNV].operands.push(oc: OperandId, d: "'Origin'");
3350 InstructionDesc[OpHitObjectRecordMissNV].operands.push(oc: OperandId, d: "'TMin'");
3351 InstructionDesc[OpHitObjectRecordMissNV].operands.push(oc: OperandId, d: "'Direction'");
3352 InstructionDesc[OpHitObjectRecordMissNV].operands.push(oc: OperandId, d: "'TMax'");
3353 InstructionDesc[OpHitObjectRecordMissNV].setResultAndType(r: false, t: false);
3354
3355 InstructionDesc[OpHitObjectRecordMissMotionNV].operands.push(oc: OperandId, d: "'HitObject'");
3356 InstructionDesc[OpHitObjectRecordMissMotionNV].operands.push(oc: OperandId, d: "'SBT Index'");
3357 InstructionDesc[OpHitObjectRecordMissMotionNV].operands.push(oc: OperandId, d: "'Origin'");
3358 InstructionDesc[OpHitObjectRecordMissMotionNV].operands.push(oc: OperandId, d: "'TMin'");
3359 InstructionDesc[OpHitObjectRecordMissMotionNV].operands.push(oc: OperandId, d: "'Direction'");
3360 InstructionDesc[OpHitObjectRecordMissMotionNV].operands.push(oc: OperandId, d: "'TMax'");
3361 InstructionDesc[OpHitObjectRecordMissMotionNV].operands.push(oc: OperandId, d: "'Current Time'");
3362 InstructionDesc[OpHitObjectRecordMissMotionNV].setResultAndType(r: false, t: false);
3363
3364 InstructionDesc[OpHitObjectRecordEmptyNV].operands.push(oc: OperandId, d: "'HitObject'");
3365 InstructionDesc[OpHitObjectRecordEmptyNV].setResultAndType(r: false, t: false);
3366
3367 InstructionDesc[OpHitObjectTraceRayNV].operands.push(oc: OperandId, d: "'HitObject'");
3368 InstructionDesc[OpHitObjectTraceRayNV].operands.push(oc: OperandId, d: "'Acceleration Structure'");
3369 InstructionDesc[OpHitObjectTraceRayNV].operands.push(oc: OperandId, d: "'RayFlags'");
3370 InstructionDesc[OpHitObjectTraceRayNV].operands.push(oc: OperandId, d: "'Cullmask'");
3371 InstructionDesc[OpHitObjectTraceRayNV].operands.push(oc: OperandId, d: "'SBT Record Offset'");
3372 InstructionDesc[OpHitObjectTraceRayNV].operands.push(oc: OperandId, d: "'SBT Record Stride'");
3373 InstructionDesc[OpHitObjectTraceRayNV].operands.push(oc: OperandId, d: "'Miss Index'");
3374 InstructionDesc[OpHitObjectTraceRayNV].operands.push(oc: OperandId, d: "'Origin'");
3375 InstructionDesc[OpHitObjectTraceRayNV].operands.push(oc: OperandId, d: "'TMin'");
3376 InstructionDesc[OpHitObjectTraceRayNV].operands.push(oc: OperandId, d: "'Direction'");
3377 InstructionDesc[OpHitObjectTraceRayNV].operands.push(oc: OperandId, d: "'TMax'");
3378 InstructionDesc[OpHitObjectTraceRayNV].operands.push(oc: OperandId, d: "'Payload'");
3379 InstructionDesc[OpHitObjectTraceRayNV].setResultAndType(r: false, t: false);
3380
3381 InstructionDesc[OpHitObjectTraceRayMotionNV].operands.push(oc: OperandId, d: "'HitObject'");
3382 InstructionDesc[OpHitObjectTraceRayMotionNV].operands.push(oc: OperandId, d: "'Acceleration Structure'");
3383 InstructionDesc[OpHitObjectTraceRayMotionNV].operands.push(oc: OperandId, d: "'RayFlags'");
3384 InstructionDesc[OpHitObjectTraceRayMotionNV].operands.push(oc: OperandId, d: "'Cullmask'");
3385 InstructionDesc[OpHitObjectTraceRayMotionNV].operands.push(oc: OperandId, d: "'SBT Record Offset'");
3386 InstructionDesc[OpHitObjectTraceRayMotionNV].operands.push(oc: OperandId, d: "'SBT Record Stride'");
3387 InstructionDesc[OpHitObjectTraceRayMotionNV].operands.push(oc: OperandId, d: "'Miss Index'");
3388 InstructionDesc[OpHitObjectTraceRayMotionNV].operands.push(oc: OperandId, d: "'Origin'");
3389 InstructionDesc[OpHitObjectTraceRayMotionNV].operands.push(oc: OperandId, d: "'TMin'");
3390 InstructionDesc[OpHitObjectTraceRayMotionNV].operands.push(oc: OperandId, d: "'Direction'");
3391 InstructionDesc[OpHitObjectTraceRayMotionNV].operands.push(oc: OperandId, d: "'TMax'");
3392 InstructionDesc[OpHitObjectTraceRayMotionNV].operands.push(oc: OperandId, d: "'Time'");
3393 InstructionDesc[OpHitObjectTraceRayMotionNV].operands.push(oc: OperandId, d: "'Payload'");
3394 InstructionDesc[OpHitObjectTraceRayMotionNV].setResultAndType(r: false, t: false);
3395
3396 InstructionDesc[OpFetchMicroTriangleVertexBarycentricNV].operands.push(oc: OperandId, d: "'Acceleration Structure'");
3397 InstructionDesc[OpFetchMicroTriangleVertexBarycentricNV].operands.push(oc: OperandId, d: "'Instance ID'");
3398 InstructionDesc[OpFetchMicroTriangleVertexBarycentricNV].operands.push(oc: OperandId, d: "'Geometry Index'");
3399 InstructionDesc[OpFetchMicroTriangleVertexBarycentricNV].operands.push(oc: OperandId, d: "'Primitive Index'");
3400 InstructionDesc[OpFetchMicroTriangleVertexBarycentricNV].operands.push(oc: OperandId, d: "'Barycentrics'");
3401 InstructionDesc[OpFetchMicroTriangleVertexBarycentricNV].setResultAndType(r: true, t: true);
3402
3403 InstructionDesc[OpFetchMicroTriangleVertexPositionNV].operands.push(oc: OperandId, d: "'Acceleration Structure'");
3404 InstructionDesc[OpFetchMicroTriangleVertexPositionNV].operands.push(oc: OperandId, d: "'Instance ID'");
3405 InstructionDesc[OpFetchMicroTriangleVertexPositionNV].operands.push(oc: OperandId, d: "'Geometry Index'");
3406 InstructionDesc[OpFetchMicroTriangleVertexPositionNV].operands.push(oc: OperandId, d: "'Primitive Index'");
3407 InstructionDesc[OpFetchMicroTriangleVertexPositionNV].operands.push(oc: OperandId, d: "'Barycentrics'");
3408 InstructionDesc[OpFetchMicroTriangleVertexPositionNV].setResultAndType(r: true, t: true);
3409
3410 InstructionDesc[OpColorAttachmentReadEXT].operands.push(oc: OperandId, d: "'Attachment'");
3411 InstructionDesc[OpColorAttachmentReadEXT].operands.push(oc: OperandId, d: "'Sample'", opt: true);
3412 InstructionDesc[OpStencilAttachmentReadEXT].operands.push(oc: OperandId, d: "'Sample'", opt: true);
3413 InstructionDesc[OpDepthAttachmentReadEXT].operands.push(oc: OperandId, d: "'Sample'", opt: true);
3414
3415 InstructionDesc[OpImageSampleWeightedQCOM].operands.push(oc: OperandId, d: "'source texture'");
3416 InstructionDesc[OpImageSampleWeightedQCOM].operands.push(oc: OperandId, d: "'texture coordinates'");
3417 InstructionDesc[OpImageSampleWeightedQCOM].operands.push(oc: OperandId, d: "'weights texture'");
3418 InstructionDesc[OpImageSampleWeightedQCOM].operands.push(oc: OperandImageOperands, d: "", opt: true);
3419 InstructionDesc[OpImageSampleWeightedQCOM].setResultAndType(r: true, t: true);
3420
3421 InstructionDesc[OpImageBoxFilterQCOM].operands.push(oc: OperandId, d: "'source texture'");
3422 InstructionDesc[OpImageBoxFilterQCOM].operands.push(oc: OperandId, d: "'texture coordinates'");
3423 InstructionDesc[OpImageBoxFilterQCOM].operands.push(oc: OperandId, d: "'box size'");
3424 InstructionDesc[OpImageBoxFilterQCOM].operands.push(oc: OperandImageOperands, d: "", opt: true);
3425 InstructionDesc[OpImageBoxFilterQCOM].setResultAndType(r: true, t: true);
3426
3427 InstructionDesc[OpImageBlockMatchSADQCOM].operands.push(oc: OperandId, d: "'target texture'");
3428 InstructionDesc[OpImageBlockMatchSADQCOM].operands.push(oc: OperandId, d: "'target coordinates'");
3429 InstructionDesc[OpImageBlockMatchSADQCOM].operands.push(oc: OperandId, d: "'reference texture'");
3430 InstructionDesc[OpImageBlockMatchSADQCOM].operands.push(oc: OperandId, d: "'reference coordinates'");
3431 InstructionDesc[OpImageBlockMatchSADQCOM].operands.push(oc: OperandId, d: "'block size'");
3432 InstructionDesc[OpImageBlockMatchSADQCOM].operands.push(oc: OperandImageOperands, d: "", opt: true);
3433 InstructionDesc[OpImageBlockMatchSADQCOM].setResultAndType(r: true, t: true);
3434
3435 InstructionDesc[OpImageBlockMatchSSDQCOM].operands.push(oc: OperandId, d: "'target texture'");
3436 InstructionDesc[OpImageBlockMatchSSDQCOM].operands.push(oc: OperandId, d: "'target coordinates'");
3437 InstructionDesc[OpImageBlockMatchSSDQCOM].operands.push(oc: OperandId, d: "'reference texture'");
3438 InstructionDesc[OpImageBlockMatchSSDQCOM].operands.push(oc: OperandId, d: "'reference coordinates'");
3439 InstructionDesc[OpImageBlockMatchSSDQCOM].operands.push(oc: OperandId, d: "'block size'");
3440 InstructionDesc[OpImageBlockMatchSSDQCOM].operands.push(oc: OperandImageOperands, d: "", opt: true);
3441 InstructionDesc[OpImageBlockMatchSSDQCOM].setResultAndType(r: true, t: true);
3442
3443 InstructionDesc[OpImageBlockMatchWindowSSDQCOM].operands.push(oc: OperandId, d: "'target texture'");
3444 InstructionDesc[OpImageBlockMatchWindowSSDQCOM].operands.push(oc: OperandId, d: "'target coordinates'");
3445 InstructionDesc[OpImageBlockMatchWindowSSDQCOM].operands.push(oc: OperandId, d: "'reference texture'");
3446 InstructionDesc[OpImageBlockMatchWindowSSDQCOM].operands.push(oc: OperandId, d: "'reference coordinates'");
3447 InstructionDesc[OpImageBlockMatchWindowSSDQCOM].operands.push(oc: OperandId, d: "'block size'");
3448 InstructionDesc[OpImageBlockMatchWindowSSDQCOM].operands.push(oc: OperandImageOperands, d: "", opt: true);
3449 InstructionDesc[OpImageBlockMatchWindowSSDQCOM].setResultAndType(r: true, t: true);
3450
3451 InstructionDesc[OpImageBlockMatchWindowSADQCOM].operands.push(oc: OperandId, d: "'target texture'");
3452 InstructionDesc[OpImageBlockMatchWindowSADQCOM].operands.push(oc: OperandId, d: "'target coordinates'");
3453 InstructionDesc[OpImageBlockMatchWindowSADQCOM].operands.push(oc: OperandId, d: "'reference texture'");
3454 InstructionDesc[OpImageBlockMatchWindowSADQCOM].operands.push(oc: OperandId, d: "'reference coordinates'");
3455 InstructionDesc[OpImageBlockMatchWindowSADQCOM].operands.push(oc: OperandId, d: "'block size'");
3456 InstructionDesc[OpImageBlockMatchWindowSADQCOM].operands.push(oc: OperandImageOperands, d: "", opt: true);
3457 InstructionDesc[OpImageBlockMatchWindowSADQCOM].setResultAndType(r: true, t: true);
3458
3459 InstructionDesc[OpImageBlockMatchGatherSSDQCOM].operands.push(oc: OperandId, d: "'target texture'");
3460 InstructionDesc[OpImageBlockMatchGatherSSDQCOM].operands.push(oc: OperandId, d: "'target coordinates'");
3461 InstructionDesc[OpImageBlockMatchGatherSSDQCOM].operands.push(oc: OperandId, d: "'reference texture'");
3462 InstructionDesc[OpImageBlockMatchGatherSSDQCOM].operands.push(oc: OperandId, d: "'reference coordinates'");
3463 InstructionDesc[OpImageBlockMatchGatherSSDQCOM].operands.push(oc: OperandId, d: "'block size'");
3464 InstructionDesc[OpImageBlockMatchGatherSSDQCOM].operands.push(oc: OperandImageOperands, d: "", opt: true);
3465 InstructionDesc[OpImageBlockMatchGatherSSDQCOM].setResultAndType(r: true, t: true);
3466
3467 InstructionDesc[OpImageBlockMatchGatherSADQCOM].operands.push(oc: OperandId, d: "'target texture'");
3468 InstructionDesc[OpImageBlockMatchGatherSADQCOM].operands.push(oc: OperandId, d: "'target coordinates'");
3469 InstructionDesc[OpImageBlockMatchGatherSADQCOM].operands.push(oc: OperandId, d: "'reference texture'");
3470 InstructionDesc[OpImageBlockMatchGatherSADQCOM].operands.push(oc: OperandId, d: "'reference coordinates'");
3471 InstructionDesc[OpImageBlockMatchGatherSADQCOM].operands.push(oc: OperandId, d: "'block size'");
3472 InstructionDesc[OpImageBlockMatchGatherSADQCOM].operands.push(oc: OperandImageOperands, d: "", opt: true);
3473 InstructionDesc[OpImageBlockMatchGatherSADQCOM].setResultAndType(r: true, t: true);
3474 });
3475}
3476
3477}; // end spv namespace
3478

source code of qtshadertools/src/3rdparty/glslang/SPIRV/doc.cpp