Skip to main content

rspirv/grammar/
autogen_nonsemantic_shader_debuginfo_100.rs

1// AUTOMATICALLY GENERATED from the SPIR-V JSON grammar:
2//   external/spirv.core.grammar.json.
3// DO NOT MODIFY!
4
5#[doc = "Extended instruction operand kinds."]
6#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
7#[allow(clippy::upper_case_acronyms)]
8pub enum ExtOperandKind {
9    DebugInfoFlags,
10    BuildIdentifierFlags,
11    DebugBaseTypeAttributeEncoding,
12    DebugCompositeType,
13    DebugTypeQualifier,
14    DebugOperation,
15    DebugImportedEntity,
16}
17static NONSEMANTIC_SHADER_DEBUGINFO_100_INSTRUCTIONS: &[ExtendedInstruction<'static>] = &[
18    ext_inst!(
19        NonsemanticShaderDebuginfo100,
20        NonsemanticShaderDebuginfo100Op,
21        DebugInfoNone,
22        [],
23        [],
24        [],
25    ),
26    ext_inst!(
27        NonsemanticShaderDebuginfo100,
28        NonsemanticShaderDebuginfo100Op,
29        DebugCompilationUnit,
30        [],
31        [],
32        [
33            (OperandKind::IdRef, One),
34            (OperandKind::IdRef, One),
35            (OperandKind::IdRef, One),
36            (OperandKind::IdRef, One)
37        ],
38    ),
39    ext_inst!(
40        NonsemanticShaderDebuginfo100,
41        NonsemanticShaderDebuginfo100Op,
42        DebugTypeBasic,
43        [],
44        [],
45        [
46            (OperandKind::IdRef, One),
47            (OperandKind::IdRef, One),
48            (OperandKind::IdRef, One),
49            (OperandKind::IdRef, One)
50        ],
51    ),
52    ext_inst!(
53        NonsemanticShaderDebuginfo100,
54        NonsemanticShaderDebuginfo100Op,
55        DebugTypePointer,
56        [],
57        [],
58        [
59            (OperandKind::IdRef, One),
60            (OperandKind::IdRef, One),
61            (OperandKind::IdRef, One)
62        ],
63    ),
64    ext_inst!(
65        NonsemanticShaderDebuginfo100,
66        NonsemanticShaderDebuginfo100Op,
67        DebugTypeQualifier,
68        [],
69        [],
70        [(OperandKind::IdRef, One), (OperandKind::IdRef, One)],
71    ),
72    ext_inst!(
73        NonsemanticShaderDebuginfo100,
74        NonsemanticShaderDebuginfo100Op,
75        DebugTypeArray,
76        [],
77        [],
78        [(OperandKind::IdRef, One), (OperandKind::IdRef, ZeroOrMore)],
79    ),
80    ext_inst!(
81        NonsemanticShaderDebuginfo100,
82        NonsemanticShaderDebuginfo100Op,
83        DebugTypeVector,
84        [],
85        [],
86        [(OperandKind::IdRef, One), (OperandKind::IdRef, One)],
87    ),
88    ext_inst!(
89        NonsemanticShaderDebuginfo100,
90        NonsemanticShaderDebuginfo100Op,
91        DebugTypedef,
92        [],
93        [],
94        [
95            (OperandKind::IdRef, One),
96            (OperandKind::IdRef, One),
97            (OperandKind::IdRef, One),
98            (OperandKind::IdRef, One),
99            (OperandKind::IdRef, One),
100            (OperandKind::IdRef, One)
101        ],
102    ),
103    ext_inst!(
104        NonsemanticShaderDebuginfo100,
105        NonsemanticShaderDebuginfo100Op,
106        DebugTypeFunction,
107        [],
108        [],
109        [
110            (OperandKind::IdRef, One),
111            (OperandKind::IdRef, One),
112            (OperandKind::IdRef, ZeroOrMore)
113        ],
114    ),
115    ext_inst!(
116        NonsemanticShaderDebuginfo100,
117        NonsemanticShaderDebuginfo100Op,
118        DebugTypeEnum,
119        [],
120        [],
121        [
122            (OperandKind::IdRef, One),
123            (OperandKind::IdRef, One),
124            (OperandKind::IdRef, One),
125            (OperandKind::IdRef, One),
126            (OperandKind::IdRef, One),
127            (OperandKind::IdRef, One),
128            (OperandKind::IdRef, One),
129            (OperandKind::IdRef, One),
130            (OperandKind::PairIdRefIdRef, ZeroOrMore)
131        ],
132    ),
133    ext_inst!(
134        NonsemanticShaderDebuginfo100,
135        NonsemanticShaderDebuginfo100Op,
136        DebugTypeComposite,
137        [],
138        [],
139        [
140            (OperandKind::IdRef, One),
141            (OperandKind::IdRef, One),
142            (OperandKind::IdRef, One),
143            (OperandKind::IdRef, One),
144            (OperandKind::IdRef, One),
145            (OperandKind::IdRef, One),
146            (OperandKind::IdRef, One),
147            (OperandKind::IdRef, One),
148            (OperandKind::IdRef, One),
149            (OperandKind::IdRef, ZeroOrMore)
150        ],
151    ),
152    ext_inst!(
153        NonsemanticShaderDebuginfo100,
154        NonsemanticShaderDebuginfo100Op,
155        DebugTypeMember,
156        [],
157        [],
158        [
159            (OperandKind::IdRef, One),
160            (OperandKind::IdRef, One),
161            (OperandKind::IdRef, One),
162            (OperandKind::IdRef, One),
163            (OperandKind::IdRef, One),
164            (OperandKind::IdRef, One),
165            (OperandKind::IdRef, One),
166            (OperandKind::IdRef, One),
167            (OperandKind::IdRef, ZeroOrOne)
168        ],
169    ),
170    ext_inst!(
171        NonsemanticShaderDebuginfo100,
172        NonsemanticShaderDebuginfo100Op,
173        DebugTypeInheritance,
174        [],
175        [],
176        [
177            (OperandKind::IdRef, One),
178            (OperandKind::IdRef, One),
179            (OperandKind::IdRef, One),
180            (OperandKind::IdRef, One)
181        ],
182    ),
183    ext_inst!(
184        NonsemanticShaderDebuginfo100,
185        NonsemanticShaderDebuginfo100Op,
186        DebugTypePtrToMember,
187        [],
188        [],
189        [(OperandKind::IdRef, One), (OperandKind::IdRef, One)],
190    ),
191    ext_inst!(
192        NonsemanticShaderDebuginfo100,
193        NonsemanticShaderDebuginfo100Op,
194        DebugTypeTemplate,
195        [],
196        [],
197        [(OperandKind::IdRef, One), (OperandKind::IdRef, ZeroOrMore)],
198    ),
199    ext_inst!(
200        NonsemanticShaderDebuginfo100,
201        NonsemanticShaderDebuginfo100Op,
202        DebugTypeTemplateParameter,
203        [],
204        [],
205        [
206            (OperandKind::IdRef, One),
207            (OperandKind::IdRef, One),
208            (OperandKind::IdRef, One),
209            (OperandKind::IdRef, One),
210            (OperandKind::IdRef, One),
211            (OperandKind::IdRef, One)
212        ],
213    ),
214    ext_inst!(
215        NonsemanticShaderDebuginfo100,
216        NonsemanticShaderDebuginfo100Op,
217        DebugTypeTemplateTemplateParameter,
218        [],
219        [],
220        [
221            (OperandKind::IdRef, One),
222            (OperandKind::IdRef, One),
223            (OperandKind::IdRef, One),
224            (OperandKind::IdRef, One),
225            (OperandKind::IdRef, One)
226        ],
227    ),
228    ext_inst!(
229        NonsemanticShaderDebuginfo100,
230        NonsemanticShaderDebuginfo100Op,
231        DebugTypeTemplateParameterPack,
232        [],
233        [],
234        [
235            (OperandKind::IdRef, One),
236            (OperandKind::IdRef, One),
237            (OperandKind::IdRef, One),
238            (OperandKind::IdRef, One),
239            (OperandKind::IdRef, ZeroOrMore)
240        ],
241    ),
242    ext_inst!(
243        NonsemanticShaderDebuginfo100,
244        NonsemanticShaderDebuginfo100Op,
245        DebugGlobalVariable,
246        [],
247        [],
248        [
249            (OperandKind::IdRef, One),
250            (OperandKind::IdRef, One),
251            (OperandKind::IdRef, One),
252            (OperandKind::IdRef, One),
253            (OperandKind::IdRef, One),
254            (OperandKind::IdRef, One),
255            (OperandKind::IdRef, One),
256            (OperandKind::IdRef, One),
257            (OperandKind::IdRef, One),
258            (OperandKind::IdRef, ZeroOrOne)
259        ],
260    ),
261    ext_inst!(
262        NonsemanticShaderDebuginfo100,
263        NonsemanticShaderDebuginfo100Op,
264        DebugFunctionDeclaration,
265        [],
266        [],
267        [
268            (OperandKind::IdRef, One),
269            (OperandKind::IdRef, One),
270            (OperandKind::IdRef, One),
271            (OperandKind::IdRef, One),
272            (OperandKind::IdRef, One),
273            (OperandKind::IdRef, One),
274            (OperandKind::IdRef, One),
275            (OperandKind::IdRef, One)
276        ],
277    ),
278    ext_inst!(
279        NonsemanticShaderDebuginfo100,
280        NonsemanticShaderDebuginfo100Op,
281        DebugFunction,
282        [],
283        [],
284        [
285            (OperandKind::IdRef, One),
286            (OperandKind::IdRef, One),
287            (OperandKind::IdRef, One),
288            (OperandKind::IdRef, One),
289            (OperandKind::IdRef, One),
290            (OperandKind::IdRef, One),
291            (OperandKind::IdRef, One),
292            (OperandKind::IdRef, One),
293            (OperandKind::IdRef, One),
294            (OperandKind::IdRef, ZeroOrOne)
295        ],
296    ),
297    ext_inst!(
298        NonsemanticShaderDebuginfo100,
299        NonsemanticShaderDebuginfo100Op,
300        DebugLexicalBlock,
301        [],
302        [],
303        [
304            (OperandKind::IdRef, One),
305            (OperandKind::IdRef, One),
306            (OperandKind::IdRef, One),
307            (OperandKind::IdRef, One),
308            (OperandKind::IdRef, ZeroOrOne)
309        ],
310    ),
311    ext_inst!(
312        NonsemanticShaderDebuginfo100,
313        NonsemanticShaderDebuginfo100Op,
314        DebugLexicalBlockDiscriminator,
315        [],
316        [],
317        [
318            (OperandKind::IdRef, One),
319            (OperandKind::IdRef, One),
320            (OperandKind::IdRef, One)
321        ],
322    ),
323    ext_inst!(
324        NonsemanticShaderDebuginfo100,
325        NonsemanticShaderDebuginfo100Op,
326        DebugScope,
327        [],
328        [],
329        [(OperandKind::IdRef, One), (OperandKind::IdRef, ZeroOrOne)],
330    ),
331    ext_inst!(
332        NonsemanticShaderDebuginfo100,
333        NonsemanticShaderDebuginfo100Op,
334        DebugNoScope,
335        [],
336        [],
337        [],
338    ),
339    ext_inst!(
340        NonsemanticShaderDebuginfo100,
341        NonsemanticShaderDebuginfo100Op,
342        DebugInlinedAt,
343        [],
344        [],
345        [
346            (OperandKind::IdRef, One),
347            (OperandKind::IdRef, One),
348            (OperandKind::IdRef, ZeroOrOne)
349        ],
350    ),
351    ext_inst!(
352        NonsemanticShaderDebuginfo100,
353        NonsemanticShaderDebuginfo100Op,
354        DebugLocalVariable,
355        [],
356        [],
357        [
358            (OperandKind::IdRef, One),
359            (OperandKind::IdRef, One),
360            (OperandKind::IdRef, One),
361            (OperandKind::IdRef, One),
362            (OperandKind::IdRef, One),
363            (OperandKind::IdRef, One),
364            (OperandKind::IdRef, One),
365            (OperandKind::IdRef, ZeroOrOne)
366        ],
367    ),
368    ext_inst!(
369        NonsemanticShaderDebuginfo100,
370        NonsemanticShaderDebuginfo100Op,
371        DebugInlinedVariable,
372        [],
373        [],
374        [(OperandKind::IdRef, One), (OperandKind::IdRef, One)],
375    ),
376    ext_inst!(
377        NonsemanticShaderDebuginfo100,
378        NonsemanticShaderDebuginfo100Op,
379        DebugDeclare,
380        [],
381        [],
382        [
383            (OperandKind::IdRef, One),
384            (OperandKind::IdRef, One),
385            (OperandKind::IdRef, One),
386            (OperandKind::IdRef, ZeroOrMore)
387        ],
388    ),
389    ext_inst!(
390        NonsemanticShaderDebuginfo100,
391        NonsemanticShaderDebuginfo100Op,
392        DebugValue,
393        [],
394        [],
395        [
396            (OperandKind::IdRef, One),
397            (OperandKind::IdRef, One),
398            (OperandKind::IdRef, One),
399            (OperandKind::IdRef, ZeroOrMore)
400        ],
401    ),
402    ext_inst!(
403        NonsemanticShaderDebuginfo100,
404        NonsemanticShaderDebuginfo100Op,
405        DebugOperation,
406        [],
407        [],
408        [(OperandKind::IdRef, One), (OperandKind::IdRef, ZeroOrMore)],
409    ),
410    ext_inst!(
411        NonsemanticShaderDebuginfo100,
412        NonsemanticShaderDebuginfo100Op,
413        DebugExpression,
414        [],
415        [],
416        [(OperandKind::IdRef, ZeroOrMore)],
417    ),
418    ext_inst!(
419        NonsemanticShaderDebuginfo100,
420        NonsemanticShaderDebuginfo100Op,
421        DebugMacroDef,
422        [],
423        [],
424        [
425            (OperandKind::IdRef, One),
426            (OperandKind::IdRef, One),
427            (OperandKind::IdRef, One),
428            (OperandKind::IdRef, ZeroOrOne)
429        ],
430    ),
431    ext_inst!(
432        NonsemanticShaderDebuginfo100,
433        NonsemanticShaderDebuginfo100Op,
434        DebugMacroUndef,
435        [],
436        [],
437        [
438            (OperandKind::IdRef, One),
439            (OperandKind::IdRef, One),
440            (OperandKind::IdRef, One)
441        ],
442    ),
443    ext_inst!(
444        NonsemanticShaderDebuginfo100,
445        NonsemanticShaderDebuginfo100Op,
446        DebugImportedEntity,
447        [],
448        [],
449        [
450            (OperandKind::IdRef, One),
451            (OperandKind::IdRef, One),
452            (OperandKind::IdRef, One),
453            (OperandKind::IdRef, One),
454            (OperandKind::IdRef, One),
455            (OperandKind::IdRef, One),
456            (OperandKind::IdRef, One)
457        ],
458    ),
459    ext_inst!(
460        NonsemanticShaderDebuginfo100,
461        NonsemanticShaderDebuginfo100Op,
462        DebugSource,
463        [],
464        [],
465        [(OperandKind::IdRef, One), (OperandKind::IdRef, ZeroOrOne)],
466    ),
467    ext_inst!(
468        NonsemanticShaderDebuginfo100,
469        NonsemanticShaderDebuginfo100Op,
470        DebugFunctionDefinition,
471        [],
472        [],
473        [(OperandKind::IdRef, One), (OperandKind::IdRef, One)],
474    ),
475    ext_inst!(
476        NonsemanticShaderDebuginfo100,
477        NonsemanticShaderDebuginfo100Op,
478        DebugSourceContinued,
479        [],
480        [],
481        [(OperandKind::IdRef, One)],
482    ),
483    ext_inst!(
484        NonsemanticShaderDebuginfo100,
485        NonsemanticShaderDebuginfo100Op,
486        DebugLine,
487        [],
488        [],
489        [
490            (OperandKind::IdRef, One),
491            (OperandKind::IdRef, One),
492            (OperandKind::IdRef, One),
493            (OperandKind::IdRef, One),
494            (OperandKind::IdRef, One)
495        ],
496    ),
497    ext_inst!(
498        NonsemanticShaderDebuginfo100,
499        NonsemanticShaderDebuginfo100Op,
500        DebugNoLine,
501        [],
502        [],
503        [],
504    ),
505    ext_inst!(
506        NonsemanticShaderDebuginfo100,
507        NonsemanticShaderDebuginfo100Op,
508        DebugBuildIdentifier,
509        [],
510        [],
511        [(OperandKind::IdRef, One), (OperandKind::IdRef, One)],
512    ),
513    ext_inst!(
514        NonsemanticShaderDebuginfo100,
515        NonsemanticShaderDebuginfo100Op,
516        DebugStoragePath,
517        [],
518        [],
519        [(OperandKind::IdRef, One)],
520    ),
521    ext_inst!(
522        NonsemanticShaderDebuginfo100,
523        NonsemanticShaderDebuginfo100Op,
524        DebugEntryPoint,
525        [],
526        [],
527        [
528            (OperandKind::IdRef, One),
529            (OperandKind::IdRef, One),
530            (OperandKind::IdRef, One),
531            (OperandKind::IdRef, One)
532        ],
533    ),
534    ext_inst!(
535        NonsemanticShaderDebuginfo100,
536        NonsemanticShaderDebuginfo100Op,
537        DebugTypeMatrix,
538        [],
539        [],
540        [
541            (OperandKind::IdRef, One),
542            (OperandKind::IdRef, One),
543            (OperandKind::IdRef, One)
544        ],
545    ),
546];
547pub static NONSEMANTIC_SHADER_DEBUGINFO_100_INSTRUCTION_TABLE: InstructionTable<ExtInstOp> =
548    InstructionTable(
549        NONSEMANTIC_SHADER_DEBUGINFO_100_INSTRUCTIONS,
550        std::marker::PhantomData,
551    );