Skip to main content

rspirv/grammar/
autogen_glsl_std_450.rs

1// AUTOMATICALLY GENERATED from the SPIR-V JSON grammar:
2//   external/spirv.core.grammar.json.
3// DO NOT MODIFY!
4
5static GLSL_STD_450_INSTRUCTIONS: &[ExtendedInstruction<'static>] = &[
6    ext_inst!(GlslStd450, GlslStd450Op, Round, [], [], [(IdRef, One)]),
7    ext_inst!(GlslStd450, GlslStd450Op, RoundEven, [], [], [(IdRef, One)]),
8    ext_inst!(GlslStd450, GlslStd450Op, Trunc, [], [], [(IdRef, One)]),
9    ext_inst!(GlslStd450, GlslStd450Op, FAbs, [], [], [(IdRef, One)]),
10    ext_inst!(GlslStd450, GlslStd450Op, SAbs, [], [], [(IdRef, One)]),
11    ext_inst!(GlslStd450, GlslStd450Op, FSign, [], [], [(IdRef, One)]),
12    ext_inst!(GlslStd450, GlslStd450Op, SSign, [], [], [(IdRef, One)]),
13    ext_inst!(GlslStd450, GlslStd450Op, Floor, [], [], [(IdRef, One)]),
14    ext_inst!(GlslStd450, GlslStd450Op, Ceil, [], [], [(IdRef, One)]),
15    ext_inst!(GlslStd450, GlslStd450Op, Fract, [], [], [(IdRef, One)]),
16    ext_inst!(GlslStd450, GlslStd450Op, Radians, [], [], [(IdRef, One)]),
17    ext_inst!(GlslStd450, GlslStd450Op, Degrees, [], [], [(IdRef, One)]),
18    ext_inst!(GlslStd450, GlslStd450Op, Sin, [], [], [(IdRef, One)]),
19    ext_inst!(GlslStd450, GlslStd450Op, Cos, [], [], [(IdRef, One)]),
20    ext_inst!(GlslStd450, GlslStd450Op, Tan, [], [], [(IdRef, One)]),
21    ext_inst!(GlslStd450, GlslStd450Op, Asin, [], [], [(IdRef, One)]),
22    ext_inst!(GlslStd450, GlslStd450Op, Acos, [], [], [(IdRef, One)]),
23    ext_inst!(GlslStd450, GlslStd450Op, Atan, [], [], [(IdRef, One)]),
24    ext_inst!(GlslStd450, GlslStd450Op, Sinh, [], [], [(IdRef, One)]),
25    ext_inst!(GlslStd450, GlslStd450Op, Cosh, [], [], [(IdRef, One)]),
26    ext_inst!(GlslStd450, GlslStd450Op, Tanh, [], [], [(IdRef, One)]),
27    ext_inst!(GlslStd450, GlslStd450Op, Asinh, [], [], [(IdRef, One)]),
28    ext_inst!(GlslStd450, GlslStd450Op, Acosh, [], [], [(IdRef, One)]),
29    ext_inst!(GlslStd450, GlslStd450Op, Atanh, [], [], [(IdRef, One)]),
30    ext_inst!(
31        GlslStd450,
32        GlslStd450Op,
33        Atan2,
34        [],
35        [],
36        [(IdRef, One), (IdRef, One)]
37    ),
38    ext_inst!(
39        GlslStd450,
40        GlslStd450Op,
41        Pow,
42        [],
43        [],
44        [(IdRef, One), (IdRef, One)]
45    ),
46    ext_inst!(GlslStd450, GlslStd450Op, Exp, [], [], [(IdRef, One)]),
47    ext_inst!(GlslStd450, GlslStd450Op, Log, [], [], [(IdRef, One)]),
48    ext_inst!(GlslStd450, GlslStd450Op, Exp2, [], [], [(IdRef, One)]),
49    ext_inst!(GlslStd450, GlslStd450Op, Log2, [], [], [(IdRef, One)]),
50    ext_inst!(GlslStd450, GlslStd450Op, Sqrt, [], [], [(IdRef, One)]),
51    ext_inst!(
52        GlslStd450,
53        GlslStd450Op,
54        InverseSqrt,
55        [],
56        [],
57        [(IdRef, One)]
58    ),
59    ext_inst!(
60        GlslStd450,
61        GlslStd450Op,
62        Determinant,
63        [],
64        [],
65        [(IdRef, One)]
66    ),
67    ext_inst!(
68        GlslStd450,
69        GlslStd450Op,
70        MatrixInverse,
71        [],
72        [],
73        [(IdRef, One)]
74    ),
75    ext_inst!(
76        GlslStd450,
77        GlslStd450Op,
78        Modf,
79        [],
80        [],
81        [(IdRef, One), (IdRef, One)]
82    ),
83    ext_inst!(GlslStd450, GlslStd450Op, ModfStruct, [], [], [(IdRef, One)]),
84    ext_inst!(
85        GlslStd450,
86        GlslStd450Op,
87        FMin,
88        [],
89        [],
90        [(IdRef, One), (IdRef, One)]
91    ),
92    ext_inst!(
93        GlslStd450,
94        GlslStd450Op,
95        UMin,
96        [],
97        [],
98        [(IdRef, One), (IdRef, One)]
99    ),
100    ext_inst!(
101        GlslStd450,
102        GlslStd450Op,
103        SMin,
104        [],
105        [],
106        [(IdRef, One), (IdRef, One)]
107    ),
108    ext_inst!(
109        GlslStd450,
110        GlslStd450Op,
111        FMax,
112        [],
113        [],
114        [(IdRef, One), (IdRef, One)]
115    ),
116    ext_inst!(
117        GlslStd450,
118        GlslStd450Op,
119        UMax,
120        [],
121        [],
122        [(IdRef, One), (IdRef, One)]
123    ),
124    ext_inst!(
125        GlslStd450,
126        GlslStd450Op,
127        SMax,
128        [],
129        [],
130        [(IdRef, One), (IdRef, One)]
131    ),
132    ext_inst!(
133        GlslStd450,
134        GlslStd450Op,
135        FClamp,
136        [],
137        [],
138        [(IdRef, One), (IdRef, One), (IdRef, One)]
139    ),
140    ext_inst!(
141        GlslStd450,
142        GlslStd450Op,
143        UClamp,
144        [],
145        [],
146        [(IdRef, One), (IdRef, One), (IdRef, One)]
147    ),
148    ext_inst!(
149        GlslStd450,
150        GlslStd450Op,
151        SClamp,
152        [],
153        [],
154        [(IdRef, One), (IdRef, One), (IdRef, One)]
155    ),
156    ext_inst!(
157        GlslStd450,
158        GlslStd450Op,
159        FMix,
160        [],
161        [],
162        [(IdRef, One), (IdRef, One), (IdRef, One)]
163    ),
164    ext_inst!(
165        GlslStd450,
166        GlslStd450Op,
167        IMix,
168        [],
169        [],
170        [(IdRef, One), (IdRef, One), (IdRef, One)]
171    ),
172    ext_inst!(
173        GlslStd450,
174        GlslStd450Op,
175        Step,
176        [],
177        [],
178        [(IdRef, One), (IdRef, One)]
179    ),
180    ext_inst!(
181        GlslStd450,
182        GlslStd450Op,
183        SmoothStep,
184        [],
185        [],
186        [(IdRef, One), (IdRef, One), (IdRef, One)]
187    ),
188    ext_inst!(
189        GlslStd450,
190        GlslStd450Op,
191        Fma,
192        [],
193        [],
194        [(IdRef, One), (IdRef, One), (IdRef, One)]
195    ),
196    ext_inst!(
197        GlslStd450,
198        GlslStd450Op,
199        Frexp,
200        [],
201        [],
202        [(IdRef, One), (IdRef, One)]
203    ),
204    ext_inst!(
205        GlslStd450,
206        GlslStd450Op,
207        FrexpStruct,
208        [],
209        [],
210        [(IdRef, One)]
211    ),
212    ext_inst!(
213        GlslStd450,
214        GlslStd450Op,
215        Ldexp,
216        [],
217        [],
218        [(IdRef, One), (IdRef, One)]
219    ),
220    ext_inst!(
221        GlslStd450,
222        GlslStd450Op,
223        PackSnorm4x8,
224        [],
225        [],
226        [(IdRef, One)]
227    ),
228    ext_inst!(
229        GlslStd450,
230        GlslStd450Op,
231        PackUnorm4x8,
232        [],
233        [],
234        [(IdRef, One)]
235    ),
236    ext_inst!(
237        GlslStd450,
238        GlslStd450Op,
239        PackSnorm2x16,
240        [],
241        [],
242        [(IdRef, One)]
243    ),
244    ext_inst!(
245        GlslStd450,
246        GlslStd450Op,
247        PackUnorm2x16,
248        [],
249        [],
250        [(IdRef, One)]
251    ),
252    ext_inst!(
253        GlslStd450,
254        GlslStd450Op,
255        PackHalf2x16,
256        [],
257        [],
258        [(IdRef, One)]
259    ),
260    ext_inst!(
261        GlslStd450,
262        GlslStd450Op,
263        PackDouble2x32,
264        [Float64],
265        [],
266        [(IdRef, One)]
267    ),
268    ext_inst!(
269        GlslStd450,
270        GlslStd450Op,
271        UnpackSnorm2x16,
272        [],
273        [],
274        [(IdRef, One)]
275    ),
276    ext_inst!(
277        GlslStd450,
278        GlslStd450Op,
279        UnpackUnorm2x16,
280        [],
281        [],
282        [(IdRef, One)]
283    ),
284    ext_inst!(
285        GlslStd450,
286        GlslStd450Op,
287        UnpackHalf2x16,
288        [],
289        [],
290        [(IdRef, One)]
291    ),
292    ext_inst!(
293        GlslStd450,
294        GlslStd450Op,
295        UnpackSnorm4x8,
296        [],
297        [],
298        [(IdRef, One)]
299    ),
300    ext_inst!(
301        GlslStd450,
302        GlslStd450Op,
303        UnpackUnorm4x8,
304        [],
305        [],
306        [(IdRef, One)]
307    ),
308    ext_inst!(
309        GlslStd450,
310        GlslStd450Op,
311        UnpackDouble2x32,
312        [Float64],
313        [],
314        [(IdRef, One)]
315    ),
316    ext_inst!(GlslStd450, GlslStd450Op, Length, [], [], [(IdRef, One)]),
317    ext_inst!(
318        GlslStd450,
319        GlslStd450Op,
320        Distance,
321        [],
322        [],
323        [(IdRef, One), (IdRef, One)]
324    ),
325    ext_inst!(
326        GlslStd450,
327        GlslStd450Op,
328        Cross,
329        [],
330        [],
331        [(IdRef, One), (IdRef, One)]
332    ),
333    ext_inst!(GlslStd450, GlslStd450Op, Normalize, [], [], [(IdRef, One)]),
334    ext_inst!(
335        GlslStd450,
336        GlslStd450Op,
337        FaceForward,
338        [],
339        [],
340        [(IdRef, One), (IdRef, One), (IdRef, One)]
341    ),
342    ext_inst!(
343        GlslStd450,
344        GlslStd450Op,
345        Reflect,
346        [],
347        [],
348        [(IdRef, One), (IdRef, One)]
349    ),
350    ext_inst!(
351        GlslStd450,
352        GlslStd450Op,
353        Refract,
354        [],
355        [],
356        [(IdRef, One), (IdRef, One), (IdRef, One)]
357    ),
358    ext_inst!(GlslStd450, GlslStd450Op, FindILsb, [], [], [(IdRef, One)]),
359    ext_inst!(GlslStd450, GlslStd450Op, FindSMsb, [], [], [(IdRef, One)]),
360    ext_inst!(GlslStd450, GlslStd450Op, FindUMsb, [], [], [(IdRef, One)]),
361    ext_inst!(
362        GlslStd450,
363        GlslStd450Op,
364        InterpolateAtCentroid,
365        [InterpolationFunction],
366        [],
367        [(IdRef, One)]
368    ),
369    ext_inst!(
370        GlslStd450,
371        GlslStd450Op,
372        InterpolateAtSample,
373        [InterpolationFunction],
374        [],
375        [(IdRef, One), (IdRef, One)]
376    ),
377    ext_inst!(
378        GlslStd450,
379        GlslStd450Op,
380        InterpolateAtOffset,
381        [InterpolationFunction],
382        [],
383        [(IdRef, One), (IdRef, One)]
384    ),
385    ext_inst!(
386        GlslStd450,
387        GlslStd450Op,
388        NMin,
389        [],
390        [],
391        [(IdRef, One), (IdRef, One)]
392    ),
393    ext_inst!(
394        GlslStd450,
395        GlslStd450Op,
396        NMax,
397        [],
398        [],
399        [(IdRef, One), (IdRef, One)]
400    ),
401    ext_inst!(
402        GlslStd450,
403        GlslStd450Op,
404        NClamp,
405        [],
406        [],
407        [(IdRef, One), (IdRef, One), (IdRef, One)]
408    ),
409];
410pub static GLSL_STD_450_INSTRUCTION_TABLE: InstructionTable<ExtInstOp> =
411    InstructionTable(GLSL_STD_450_INSTRUCTIONS, std::marker::PhantomData);