Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
5564 | serge | 1 | |
2 | |||
3 | |||
4 | { |
||
5 | .name = "b2f", |
||
6 | .num_inputs = 1, |
||
7 | .output_size = 0, |
||
8 | .output_type = nir_type_float, |
||
9 | .input_sizes = { |
||
10 | 0 |
||
11 | |||
12 | .input_types = { |
||
13 | nir_type_bool |
||
14 | }, |
||
15 | .algebraic_properties = |
||
16 | 0 |
||
17 | |||
18 | { |
||
19 | .name = "b2i", |
||
20 | .num_inputs = 1, |
||
21 | .output_size = 0, |
||
22 | .output_type = nir_type_int, |
||
23 | .input_sizes = { |
||
24 | 0 |
||
25 | |||
26 | .input_types = { |
||
27 | nir_type_bool |
||
28 | }, |
||
29 | .algebraic_properties = |
||
30 | 0 |
||
31 | |||
32 | { |
||
33 | .name = "ball2", |
||
34 | .num_inputs = 1, |
||
35 | .output_size = 1, |
||
36 | .output_type = nir_type_bool, |
||
37 | .input_sizes = { |
||
38 | 2 |
||
39 | }, |
||
40 | .input_types = { |
||
41 | nir_type_bool |
||
42 | }, |
||
43 | .algebraic_properties = |
||
44 | 0 |
||
45 | |||
46 | { |
||
47 | .name = "ball3", |
||
48 | .num_inputs = 1, |
||
49 | .output_size = 1, |
||
50 | .output_type = nir_type_bool, |
||
51 | .input_sizes = { |
||
52 | 3 |
||
53 | }, |
||
54 | .input_types = { |
||
55 | nir_type_bool |
||
56 | }, |
||
57 | .algebraic_properties = |
||
58 | 0 |
||
59 | |||
60 | { |
||
61 | .name = "ball4", |
||
62 | .num_inputs = 1, |
||
63 | .output_size = 1, |
||
64 | .output_type = nir_type_bool, |
||
65 | .input_sizes = { |
||
66 | 4 |
||
67 | }, |
||
68 | .input_types = { |
||
69 | nir_type_bool |
||
70 | }, |
||
71 | .algebraic_properties = |
||
72 | 0 |
||
73 | |||
74 | { |
||
75 | .name = "ball_fequal2", |
||
76 | .num_inputs = 2, |
||
77 | .output_size = 1, |
||
78 | .output_type = nir_type_bool, |
||
79 | .input_sizes = { |
||
80 | 2, 2 |
||
81 | }, |
||
82 | .input_types = { |
||
83 | nir_type_float, nir_type_float |
||
84 | }, |
||
85 | .algebraic_properties = |
||
86 | NIR_OP_IS_COMMUTATIVE |
||
87 | }, |
||
88 | { |
||
89 | .name = "ball_fequal3", |
||
90 | .num_inputs = 2, |
||
91 | .output_size = 1, |
||
92 | .output_type = nir_type_bool, |
||
93 | .input_sizes = { |
||
94 | 3, 3 |
||
95 | }, |
||
96 | .input_types = { |
||
97 | nir_type_float, nir_type_float |
||
98 | }, |
||
99 | .algebraic_properties = |
||
100 | NIR_OP_IS_COMMUTATIVE |
||
101 | }, |
||
102 | { |
||
103 | .name = "ball_fequal4", |
||
104 | .num_inputs = 2, |
||
105 | .output_size = 1, |
||
106 | .output_type = nir_type_bool, |
||
107 | .input_sizes = { |
||
108 | 4, 4 |
||
109 | }, |
||
110 | .input_types = { |
||
111 | nir_type_float, nir_type_float |
||
112 | }, |
||
113 | .algebraic_properties = |
||
114 | NIR_OP_IS_COMMUTATIVE |
||
115 | }, |
||
116 | { |
||
117 | .name = "ball_iequal2", |
||
118 | .num_inputs = 2, |
||
119 | .output_size = 1, |
||
120 | .output_type = nir_type_bool, |
||
121 | .input_sizes = { |
||
122 | 2, 2 |
||
123 | }, |
||
124 | .input_types = { |
||
125 | nir_type_int, nir_type_int |
||
126 | }, |
||
127 | .algebraic_properties = |
||
128 | NIR_OP_IS_COMMUTATIVE |
||
129 | }, |
||
130 | { |
||
131 | .name = "ball_iequal3", |
||
132 | .num_inputs = 2, |
||
133 | .output_size = 1, |
||
134 | .output_type = nir_type_bool, |
||
135 | .input_sizes = { |
||
136 | 3, 3 |
||
137 | }, |
||
138 | .input_types = { |
||
139 | nir_type_int, nir_type_int |
||
140 | }, |
||
141 | .algebraic_properties = |
||
142 | NIR_OP_IS_COMMUTATIVE |
||
143 | }, |
||
144 | { |
||
145 | .name = "ball_iequal4", |
||
146 | .num_inputs = 2, |
||
147 | .output_size = 1, |
||
148 | .output_type = nir_type_bool, |
||
149 | .input_sizes = { |
||
150 | 4, 4 |
||
151 | }, |
||
152 | .input_types = { |
||
153 | nir_type_int, nir_type_int |
||
154 | }, |
||
155 | .algebraic_properties = |
||
156 | NIR_OP_IS_COMMUTATIVE |
||
157 | }, |
||
158 | { |
||
159 | .name = "bany2", |
||
160 | .num_inputs = 1, |
||
161 | .output_size = 1, |
||
162 | .output_type = nir_type_bool, |
||
163 | .input_sizes = { |
||
164 | 2 |
||
165 | }, |
||
166 | .input_types = { |
||
167 | nir_type_bool |
||
168 | }, |
||
169 | .algebraic_properties = |
||
170 | 0 |
||
171 | |||
172 | { |
||
173 | .name = "bany3", |
||
174 | .num_inputs = 1, |
||
175 | .output_size = 1, |
||
176 | .output_type = nir_type_bool, |
||
177 | .input_sizes = { |
||
178 | 3 |
||
179 | }, |
||
180 | .input_types = { |
||
181 | nir_type_bool |
||
182 | }, |
||
183 | .algebraic_properties = |
||
184 | 0 |
||
185 | |||
186 | { |
||
187 | .name = "bany4", |
||
188 | .num_inputs = 1, |
||
189 | .output_size = 1, |
||
190 | .output_type = nir_type_bool, |
||
191 | .input_sizes = { |
||
192 | 4 |
||
193 | }, |
||
194 | .input_types = { |
||
195 | nir_type_bool |
||
196 | }, |
||
197 | .algebraic_properties = |
||
198 | 0 |
||
199 | |||
200 | { |
||
201 | .name = "bany_fnequal2", |
||
202 | .num_inputs = 2, |
||
203 | .output_size = 1, |
||
204 | .output_type = nir_type_bool, |
||
205 | .input_sizes = { |
||
206 | 2, 2 |
||
207 | }, |
||
208 | .input_types = { |
||
209 | nir_type_float, nir_type_float |
||
210 | }, |
||
211 | .algebraic_properties = |
||
212 | NIR_OP_IS_COMMUTATIVE |
||
213 | }, |
||
214 | { |
||
215 | .name = "bany_fnequal3", |
||
216 | .num_inputs = 2, |
||
217 | .output_size = 1, |
||
218 | .output_type = nir_type_bool, |
||
219 | .input_sizes = { |
||
220 | 3, 3 |
||
221 | }, |
||
222 | .input_types = { |
||
223 | nir_type_float, nir_type_float |
||
224 | }, |
||
225 | .algebraic_properties = |
||
226 | NIR_OP_IS_COMMUTATIVE |
||
227 | }, |
||
228 | { |
||
229 | .name = "bany_fnequal4", |
||
230 | .num_inputs = 2, |
||
231 | .output_size = 1, |
||
232 | .output_type = nir_type_bool, |
||
233 | .input_sizes = { |
||
234 | 4, 4 |
||
235 | }, |
||
236 | .input_types = { |
||
237 | nir_type_float, nir_type_float |
||
238 | }, |
||
239 | .algebraic_properties = |
||
240 | NIR_OP_IS_COMMUTATIVE |
||
241 | }, |
||
242 | { |
||
243 | .name = "bany_inequal2", |
||
244 | .num_inputs = 2, |
||
245 | .output_size = 1, |
||
246 | .output_type = nir_type_bool, |
||
247 | .input_sizes = { |
||
248 | 2, 2 |
||
249 | }, |
||
250 | .input_types = { |
||
251 | nir_type_int, nir_type_int |
||
252 | }, |
||
253 | .algebraic_properties = |
||
254 | NIR_OP_IS_COMMUTATIVE |
||
255 | }, |
||
256 | { |
||
257 | .name = "bany_inequal3", |
||
258 | .num_inputs = 2, |
||
259 | .output_size = 1, |
||
260 | .output_type = nir_type_bool, |
||
261 | .input_sizes = { |
||
262 | 3, 3 |
||
263 | }, |
||
264 | .input_types = { |
||
265 | nir_type_int, nir_type_int |
||
266 | }, |
||
267 | .algebraic_properties = |
||
268 | NIR_OP_IS_COMMUTATIVE |
||
269 | }, |
||
270 | { |
||
271 | .name = "bany_inequal4", |
||
272 | .num_inputs = 2, |
||
273 | .output_size = 1, |
||
274 | .output_type = nir_type_bool, |
||
275 | .input_sizes = { |
||
276 | 4, 4 |
||
277 | }, |
||
278 | .input_types = { |
||
279 | nir_type_int, nir_type_int |
||
280 | }, |
||
281 | .algebraic_properties = |
||
282 | NIR_OP_IS_COMMUTATIVE |
||
283 | }, |
||
284 | { |
||
285 | .name = "bcsel", |
||
286 | .num_inputs = 3, |
||
287 | .output_size = 0, |
||
288 | .output_type = nir_type_unsigned, |
||
289 | .input_sizes = { |
||
290 | 0, 0, 0 |
||
291 | }, |
||
292 | .input_types = { |
||
293 | nir_type_bool, nir_type_unsigned, nir_type_unsigned |
||
294 | }, |
||
295 | .algebraic_properties = |
||
296 | 0 |
||
297 | |||
298 | { |
||
299 | .name = "bfi", |
||
300 | .num_inputs = 3, |
||
301 | .output_size = 0, |
||
302 | .output_type = nir_type_unsigned, |
||
303 | .input_sizes = { |
||
304 | 0, 0, 0 |
||
305 | }, |
||
306 | .input_types = { |
||
307 | nir_type_unsigned, nir_type_unsigned, nir_type_unsigned |
||
308 | }, |
||
309 | .algebraic_properties = |
||
310 | 0 |
||
311 | |||
312 | { |
||
313 | .name = "bfm", |
||
314 | .num_inputs = 2, |
||
315 | .output_size = 0, |
||
316 | .output_type = nir_type_unsigned, |
||
317 | .input_sizes = { |
||
318 | 0, 0 |
||
319 | }, |
||
320 | .input_types = { |
||
321 | nir_type_int, nir_type_int |
||
322 | }, |
||
323 | .algebraic_properties = |
||
324 | 0 |
||
325 | |||
326 | { |
||
327 | .name = "bit_count", |
||
328 | .num_inputs = 1, |
||
329 | .output_size = 0, |
||
330 | .output_type = nir_type_unsigned, |
||
331 | .input_sizes = { |
||
332 | 0 |
||
333 | |||
334 | .input_types = { |
||
335 | nir_type_unsigned |
||
336 | }, |
||
337 | .algebraic_properties = |
||
338 | 0 |
||
339 | |||
340 | { |
||
341 | .name = "bitfield_insert", |
||
342 | .num_inputs = 4, |
||
343 | .output_size = 0, |
||
344 | .output_type = nir_type_unsigned, |
||
345 | .input_sizes = { |
||
346 | 0, 0, 1, 1 |
||
347 | }, |
||
348 | .input_types = { |
||
349 | nir_type_unsigned, nir_type_unsigned, nir_type_int, nir_type_int |
||
350 | }, |
||
351 | .algebraic_properties = |
||
352 | 0 |
||
353 | |||
354 | { |
||
355 | .name = "bitfield_reverse", |
||
356 | .num_inputs = 1, |
||
357 | .output_size = 0, |
||
358 | .output_type = nir_type_unsigned, |
||
359 | .input_sizes = { |
||
360 | 0 |
||
361 | |||
362 | .input_types = { |
||
363 | nir_type_unsigned |
||
364 | }, |
||
365 | .algebraic_properties = |
||
366 | 0 |
||
367 | |||
368 | { |
||
369 | .name = "f2b", |
||
370 | .num_inputs = 1, |
||
371 | .output_size = 0, |
||
372 | .output_type = nir_type_bool, |
||
373 | .input_sizes = { |
||
374 | 0 |
||
375 | |||
376 | .input_types = { |
||
377 | nir_type_float |
||
378 | }, |
||
379 | .algebraic_properties = |
||
380 | 0 |
||
381 | |||
382 | { |
||
383 | .name = "f2i", |
||
384 | .num_inputs = 1, |
||
385 | .output_size = 0, |
||
386 | .output_type = nir_type_int, |
||
387 | .input_sizes = { |
||
388 | 0 |
||
389 | |||
390 | .input_types = { |
||
391 | nir_type_float |
||
392 | }, |
||
393 | .algebraic_properties = |
||
394 | 0 |
||
395 | |||
396 | { |
||
397 | .name = "f2u", |
||
398 | .num_inputs = 1, |
||
399 | .output_size = 0, |
||
400 | .output_type = nir_type_unsigned, |
||
401 | .input_sizes = { |
||
402 | 0 |
||
403 | |||
404 | .input_types = { |
||
405 | nir_type_float |
||
406 | }, |
||
407 | .algebraic_properties = |
||
408 | 0 |
||
409 | |||
410 | { |
||
411 | .name = "fabs", |
||
412 | .num_inputs = 1, |
||
413 | .output_size = 0, |
||
414 | .output_type = nir_type_float, |
||
415 | .input_sizes = { |
||
416 | 0 |
||
417 | |||
418 | .input_types = { |
||
419 | nir_type_float |
||
420 | }, |
||
421 | .algebraic_properties = |
||
422 | 0 |
||
423 | |||
424 | { |
||
425 | .name = "fadd", |
||
426 | .num_inputs = 2, |
||
427 | .output_size = 0, |
||
428 | .output_type = nir_type_float, |
||
429 | .input_sizes = { |
||
430 | 0, 0 |
||
431 | }, |
||
432 | .input_types = { |
||
433 | nir_type_float, nir_type_float |
||
434 | }, |
||
435 | .algebraic_properties = |
||
436 | NIR_OP_IS_COMMUTATIVE | NIR_OP_IS_ASSOCIATIVE |
||
437 | }, |
||
438 | { |
||
439 | .name = "fall2", |
||
440 | .num_inputs = 1, |
||
441 | .output_size = 1, |
||
442 | .output_type = nir_type_float, |
||
443 | .input_sizes = { |
||
444 | 2 |
||
445 | }, |
||
446 | .input_types = { |
||
447 | nir_type_float |
||
448 | }, |
||
449 | .algebraic_properties = |
||
450 | 0 |
||
451 | |||
452 | { |
||
453 | .name = "fall3", |
||
454 | .num_inputs = 1, |
||
455 | .output_size = 1, |
||
456 | .output_type = nir_type_float, |
||
457 | .input_sizes = { |
||
458 | 3 |
||
459 | }, |
||
460 | .input_types = { |
||
461 | nir_type_float |
||
462 | }, |
||
463 | .algebraic_properties = |
||
464 | 0 |
||
465 | |||
466 | { |
||
467 | .name = "fall4", |
||
468 | .num_inputs = 1, |
||
469 | .output_size = 1, |
||
470 | .output_type = nir_type_float, |
||
471 | .input_sizes = { |
||
472 | 4 |
||
473 | }, |
||
474 | .input_types = { |
||
475 | nir_type_float |
||
476 | }, |
||
477 | .algebraic_properties = |
||
478 | 0 |
||
479 | |||
480 | { |
||
481 | .name = "fall_equal2", |
||
482 | .num_inputs = 2, |
||
483 | .output_size = 1, |
||
484 | .output_type = nir_type_float, |
||
485 | .input_sizes = { |
||
486 | 2, 2 |
||
487 | }, |
||
488 | .input_types = { |
||
489 | nir_type_float, nir_type_float |
||
490 | }, |
||
491 | .algebraic_properties = |
||
492 | NIR_OP_IS_COMMUTATIVE |
||
493 | }, |
||
494 | { |
||
495 | .name = "fall_equal3", |
||
496 | .num_inputs = 2, |
||
497 | .output_size = 1, |
||
498 | .output_type = nir_type_float, |
||
499 | .input_sizes = { |
||
500 | 3, 3 |
||
501 | }, |
||
502 | .input_types = { |
||
503 | nir_type_float, nir_type_float |
||
504 | }, |
||
505 | .algebraic_properties = |
||
506 | NIR_OP_IS_COMMUTATIVE |
||
507 | }, |
||
508 | { |
||
509 | .name = "fall_equal4", |
||
510 | .num_inputs = 2, |
||
511 | .output_size = 1, |
||
512 | .output_type = nir_type_float, |
||
513 | .input_sizes = { |
||
514 | 4, 4 |
||
515 | }, |
||
516 | .input_types = { |
||
517 | nir_type_float, nir_type_float |
||
518 | }, |
||
519 | .algebraic_properties = |
||
520 | NIR_OP_IS_COMMUTATIVE |
||
521 | }, |
||
522 | { |
||
523 | .name = "fand", |
||
524 | .num_inputs = 2, |
||
525 | .output_size = 0, |
||
526 | .output_type = nir_type_float, |
||
527 | .input_sizes = { |
||
528 | 0, 0 |
||
529 | }, |
||
530 | .input_types = { |
||
531 | nir_type_float, nir_type_float |
||
532 | }, |
||
533 | .algebraic_properties = |
||
534 | NIR_OP_IS_COMMUTATIVE |
||
535 | }, |
||
536 | { |
||
537 | .name = "fany2", |
||
538 | .num_inputs = 1, |
||
539 | .output_size = 1, |
||
540 | .output_type = nir_type_float, |
||
541 | .input_sizes = { |
||
542 | 2 |
||
543 | }, |
||
544 | .input_types = { |
||
545 | nir_type_float |
||
546 | }, |
||
547 | .algebraic_properties = |
||
548 | 0 |
||
549 | |||
550 | { |
||
551 | .name = "fany3", |
||
552 | .num_inputs = 1, |
||
553 | .output_size = 1, |
||
554 | .output_type = nir_type_float, |
||
555 | .input_sizes = { |
||
556 | 3 |
||
557 | }, |
||
558 | .input_types = { |
||
559 | nir_type_float |
||
560 | }, |
||
561 | .algebraic_properties = |
||
562 | 0 |
||
563 | |||
564 | { |
||
565 | .name = "fany4", |
||
566 | .num_inputs = 1, |
||
567 | .output_size = 1, |
||
568 | .output_type = nir_type_float, |
||
569 | .input_sizes = { |
||
570 | 4 |
||
571 | }, |
||
572 | .input_types = { |
||
573 | nir_type_float |
||
574 | }, |
||
575 | .algebraic_properties = |
||
576 | 0 |
||
577 | |||
578 | { |
||
579 | .name = "fany_nequal2", |
||
580 | .num_inputs = 2, |
||
581 | .output_size = 1, |
||
582 | .output_type = nir_type_float, |
||
583 | .input_sizes = { |
||
584 | 2, 2 |
||
585 | }, |
||
586 | .input_types = { |
||
587 | nir_type_float, nir_type_float |
||
588 | }, |
||
589 | .algebraic_properties = |
||
590 | NIR_OP_IS_COMMUTATIVE |
||
591 | }, |
||
592 | { |
||
593 | .name = "fany_nequal3", |
||
594 | .num_inputs = 2, |
||
595 | .output_size = 1, |
||
596 | .output_type = nir_type_float, |
||
597 | .input_sizes = { |
||
598 | 3, 3 |
||
599 | }, |
||
600 | .input_types = { |
||
601 | nir_type_float, nir_type_float |
||
602 | }, |
||
603 | .algebraic_properties = |
||
604 | NIR_OP_IS_COMMUTATIVE |
||
605 | }, |
||
606 | { |
||
607 | .name = "fany_nequal4", |
||
608 | .num_inputs = 2, |
||
609 | .output_size = 1, |
||
610 | .output_type = nir_type_float, |
||
611 | .input_sizes = { |
||
612 | 4, 4 |
||
613 | }, |
||
614 | .input_types = { |
||
615 | nir_type_float, nir_type_float |
||
616 | }, |
||
617 | .algebraic_properties = |
||
618 | NIR_OP_IS_COMMUTATIVE |
||
619 | }, |
||
620 | { |
||
621 | .name = "fceil", |
||
622 | .num_inputs = 1, |
||
623 | .output_size = 0, |
||
624 | .output_type = nir_type_float, |
||
625 | .input_sizes = { |
||
626 | 0 |
||
627 | |||
628 | .input_types = { |
||
629 | nir_type_float |
||
630 | }, |
||
631 | .algebraic_properties = |
||
632 | 0 |
||
633 | |||
634 | { |
||
635 | .name = "fcos", |
||
636 | .num_inputs = 1, |
||
637 | .output_size = 0, |
||
638 | .output_type = nir_type_float, |
||
639 | .input_sizes = { |
||
640 | 0 |
||
641 | |||
642 | .input_types = { |
||
643 | nir_type_float |
||
644 | }, |
||
645 | .algebraic_properties = |
||
646 | 0 |
||
647 | |||
648 | { |
||
649 | .name = "fcsel", |
||
650 | .num_inputs = 3, |
||
651 | .output_size = 0, |
||
652 | .output_type = nir_type_float, |
||
653 | .input_sizes = { |
||
654 | 0, 0, 0 |
||
655 | }, |
||
656 | .input_types = { |
||
657 | nir_type_float, nir_type_float, nir_type_float |
||
658 | }, |
||
659 | .algebraic_properties = |
||
660 | 0 |
||
661 | |||
662 | { |
||
663 | .name = "fddx", |
||
664 | .num_inputs = 1, |
||
665 | .output_size = 0, |
||
666 | .output_type = nir_type_float, |
||
667 | .input_sizes = { |
||
668 | 0 |
||
669 | |||
670 | .input_types = { |
||
671 | nir_type_float |
||
672 | }, |
||
673 | .algebraic_properties = |
||
674 | 0 |
||
675 | |||
676 | { |
||
677 | .name = "fddx_coarse", |
||
678 | .num_inputs = 1, |
||
679 | .output_size = 0, |
||
680 | .output_type = nir_type_float, |
||
681 | .input_sizes = { |
||
682 | 0 |
||
683 | |||
684 | .input_types = { |
||
685 | nir_type_float |
||
686 | }, |
||
687 | .algebraic_properties = |
||
688 | 0 |
||
689 | |||
690 | { |
||
691 | .name = "fddx_fine", |
||
692 | .num_inputs = 1, |
||
693 | .output_size = 0, |
||
694 | .output_type = nir_type_float, |
||
695 | .input_sizes = { |
||
696 | 0 |
||
697 | |||
698 | .input_types = { |
||
699 | nir_type_float |
||
700 | }, |
||
701 | .algebraic_properties = |
||
702 | 0 |
||
703 | |||
704 | { |
||
705 | .name = "fddy", |
||
706 | .num_inputs = 1, |
||
707 | .output_size = 0, |
||
708 | .output_type = nir_type_float, |
||
709 | .input_sizes = { |
||
710 | 0 |
||
711 | |||
712 | .input_types = { |
||
713 | nir_type_float |
||
714 | }, |
||
715 | .algebraic_properties = |
||
716 | 0 |
||
717 | |||
718 | { |
||
719 | .name = "fddy_coarse", |
||
720 | .num_inputs = 1, |
||
721 | .output_size = 0, |
||
722 | .output_type = nir_type_float, |
||
723 | .input_sizes = { |
||
724 | 0 |
||
725 | |||
726 | .input_types = { |
||
727 | nir_type_float |
||
728 | }, |
||
729 | .algebraic_properties = |
||
730 | 0 |
||
731 | |||
732 | { |
||
733 | .name = "fddy_fine", |
||
734 | .num_inputs = 1, |
||
735 | .output_size = 0, |
||
736 | .output_type = nir_type_float, |
||
737 | .input_sizes = { |
||
738 | 0 |
||
739 | |||
740 | .input_types = { |
||
741 | nir_type_float |
||
742 | }, |
||
743 | .algebraic_properties = |
||
744 | 0 |
||
745 | |||
746 | { |
||
747 | .name = "fdiv", |
||
748 | .num_inputs = 2, |
||
749 | .output_size = 0, |
||
750 | .output_type = nir_type_float, |
||
751 | .input_sizes = { |
||
752 | 0, 0 |
||
753 | }, |
||
754 | .input_types = { |
||
755 | nir_type_float, nir_type_float |
||
756 | }, |
||
757 | .algebraic_properties = |
||
758 | 0 |
||
759 | |||
760 | { |
||
761 | .name = "fdot2", |
||
762 | .num_inputs = 2, |
||
763 | .output_size = 1, |
||
764 | .output_type = nir_type_float, |
||
765 | .input_sizes = { |
||
766 | 2, 2 |
||
767 | }, |
||
768 | .input_types = { |
||
769 | nir_type_float, nir_type_float |
||
770 | }, |
||
771 | .algebraic_properties = |
||
772 | NIR_OP_IS_COMMUTATIVE |
||
773 | }, |
||
774 | { |
||
775 | .name = "fdot3", |
||
776 | .num_inputs = 2, |
||
777 | .output_size = 1, |
||
778 | .output_type = nir_type_float, |
||
779 | .input_sizes = { |
||
780 | 3, 3 |
||
781 | }, |
||
782 | .input_types = { |
||
783 | nir_type_float, nir_type_float |
||
784 | }, |
||
785 | .algebraic_properties = |
||
786 | NIR_OP_IS_COMMUTATIVE |
||
787 | }, |
||
788 | { |
||
789 | .name = "fdot4", |
||
790 | .num_inputs = 2, |
||
791 | .output_size = 1, |
||
792 | .output_type = nir_type_float, |
||
793 | .input_sizes = { |
||
794 | 4, 4 |
||
795 | }, |
||
796 | .input_types = { |
||
797 | nir_type_float, nir_type_float |
||
798 | }, |
||
799 | .algebraic_properties = |
||
800 | NIR_OP_IS_COMMUTATIVE |
||
801 | }, |
||
802 | { |
||
803 | .name = "feq", |
||
804 | .num_inputs = 2, |
||
805 | .output_size = 0, |
||
806 | .output_type = nir_type_bool, |
||
807 | .input_sizes = { |
||
808 | 0, 0 |
||
809 | }, |
||
810 | .input_types = { |
||
811 | nir_type_float, nir_type_float |
||
812 | }, |
||
813 | .algebraic_properties = |
||
814 | NIR_OP_IS_COMMUTATIVE |
||
815 | }, |
||
816 | { |
||
817 | .name = "fexp2", |
||
818 | .num_inputs = 1, |
||
819 | .output_size = 0, |
||
820 | .output_type = nir_type_float, |
||
821 | .input_sizes = { |
||
822 | 0 |
||
823 | |||
824 | .input_types = { |
||
825 | nir_type_float |
||
826 | }, |
||
827 | .algebraic_properties = |
||
828 | 0 |
||
829 | |||
830 | { |
||
831 | .name = "ffloor", |
||
832 | .num_inputs = 1, |
||
833 | .output_size = 0, |
||
834 | .output_type = nir_type_float, |
||
835 | .input_sizes = { |
||
836 | 0 |
||
837 | |||
838 | .input_types = { |
||
839 | nir_type_float |
||
840 | }, |
||
841 | .algebraic_properties = |
||
842 | 0 |
||
843 | |||
844 | { |
||
845 | .name = "ffma", |
||
846 | .num_inputs = 3, |
||
847 | .output_size = 0, |
||
848 | .output_type = nir_type_float, |
||
849 | .input_sizes = { |
||
850 | 0, 0, 0 |
||
851 | }, |
||
852 | .input_types = { |
||
853 | nir_type_float, nir_type_float, nir_type_float |
||
854 | }, |
||
855 | .algebraic_properties = |
||
856 | 0 |
||
857 | |||
858 | { |
||
859 | .name = "ffract", |
||
860 | .num_inputs = 1, |
||
861 | .output_size = 0, |
||
862 | .output_type = nir_type_float, |
||
863 | .input_sizes = { |
||
864 | 0 |
||
865 | |||
866 | .input_types = { |
||
867 | nir_type_float |
||
868 | }, |
||
869 | .algebraic_properties = |
||
870 | 0 |
||
871 | |||
872 | { |
||
873 | .name = "fge", |
||
874 | .num_inputs = 2, |
||
875 | .output_size = 0, |
||
876 | .output_type = nir_type_bool, |
||
877 | .input_sizes = { |
||
878 | 0, 0 |
||
879 | }, |
||
880 | .input_types = { |
||
881 | nir_type_float, nir_type_float |
||
882 | }, |
||
883 | .algebraic_properties = |
||
884 | 0 |
||
885 | |||
886 | { |
||
887 | .name = "find_lsb", |
||
888 | .num_inputs = 1, |
||
889 | .output_size = 0, |
||
890 | .output_type = nir_type_int, |
||
891 | .input_sizes = { |
||
892 | 0 |
||
893 | |||
894 | .input_types = { |
||
895 | nir_type_int |
||
896 | }, |
||
897 | .algebraic_properties = |
||
898 | 0 |
||
899 | |||
900 | { |
||
901 | .name = "flog2", |
||
902 | .num_inputs = 1, |
||
903 | .output_size = 0, |
||
904 | .output_type = nir_type_float, |
||
905 | .input_sizes = { |
||
906 | 0 |
||
907 | |||
908 | .input_types = { |
||
909 | nir_type_float |
||
910 | }, |
||
911 | .algebraic_properties = |
||
912 | 0 |
||
913 | |||
914 | { |
||
915 | .name = "flrp", |
||
916 | .num_inputs = 3, |
||
917 | .output_size = 0, |
||
918 | .output_type = nir_type_float, |
||
919 | .input_sizes = { |
||
920 | 0, 0, 0 |
||
921 | }, |
||
922 | .input_types = { |
||
923 | nir_type_float, nir_type_float, nir_type_float |
||
924 | }, |
||
925 | .algebraic_properties = |
||
926 | 0 |
||
927 | |||
928 | { |
||
929 | .name = "flt", |
||
930 | .num_inputs = 2, |
||
931 | .output_size = 0, |
||
932 | .output_type = nir_type_bool, |
||
933 | .input_sizes = { |
||
934 | 0, 0 |
||
935 | }, |
||
936 | .input_types = { |
||
937 | nir_type_float, nir_type_float |
||
938 | }, |
||
939 | .algebraic_properties = |
||
940 | 0 |
||
941 | |||
942 | { |
||
943 | .name = "fmax", |
||
944 | .num_inputs = 2, |
||
945 | .output_size = 0, |
||
946 | .output_type = nir_type_float, |
||
947 | .input_sizes = { |
||
948 | 0, 0 |
||
949 | }, |
||
950 | .input_types = { |
||
951 | nir_type_float, nir_type_float |
||
952 | }, |
||
953 | .algebraic_properties = |
||
954 | 0 |
||
955 | |||
956 | { |
||
957 | .name = "fmin", |
||
958 | .num_inputs = 2, |
||
959 | .output_size = 0, |
||
960 | .output_type = nir_type_float, |
||
961 | .input_sizes = { |
||
962 | 0, 0 |
||
963 | }, |
||
964 | .input_types = { |
||
965 | nir_type_float, nir_type_float |
||
966 | }, |
||
967 | .algebraic_properties = |
||
968 | 0 |
||
969 | |||
970 | { |
||
971 | .name = "fmod", |
||
972 | .num_inputs = 2, |
||
973 | .output_size = 0, |
||
974 | .output_type = nir_type_float, |
||
975 | .input_sizes = { |
||
976 | 0, 0 |
||
977 | }, |
||
978 | .input_types = { |
||
979 | nir_type_float, nir_type_float |
||
980 | }, |
||
981 | .algebraic_properties = |
||
982 | 0 |
||
983 | |||
984 | { |
||
985 | .name = "fmov", |
||
986 | .num_inputs = 1, |
||
987 | .output_size = 0, |
||
988 | .output_type = nir_type_float, |
||
989 | .input_sizes = { |
||
990 | 0 |
||
991 | |||
992 | .input_types = { |
||
993 | nir_type_float |
||
994 | }, |
||
995 | .algebraic_properties = |
||
996 | 0 |
||
997 | |||
998 | { |
||
999 | .name = "fmul", |
||
1000 | .num_inputs = 2, |
||
1001 | .output_size = 0, |
||
1002 | .output_type = nir_type_float, |
||
1003 | .input_sizes = { |
||
1004 | 0, 0 |
||
1005 | }, |
||
1006 | .input_types = { |
||
1007 | nir_type_float, nir_type_float |
||
1008 | }, |
||
1009 | .algebraic_properties = |
||
1010 | NIR_OP_IS_COMMUTATIVE | NIR_OP_IS_ASSOCIATIVE |
||
1011 | }, |
||
1012 | { |
||
1013 | .name = "fne", |
||
1014 | .num_inputs = 2, |
||
1015 | .output_size = 0, |
||
1016 | .output_type = nir_type_bool, |
||
1017 | .input_sizes = { |
||
1018 | 0, 0 |
||
1019 | }, |
||
1020 | .input_types = { |
||
1021 | nir_type_float, nir_type_float |
||
1022 | }, |
||
1023 | .algebraic_properties = |
||
1024 | NIR_OP_IS_COMMUTATIVE |
||
1025 | }, |
||
1026 | { |
||
1027 | .name = "fneg", |
||
1028 | .num_inputs = 1, |
||
1029 | .output_size = 0, |
||
1030 | .output_type = nir_type_float, |
||
1031 | .input_sizes = { |
||
1032 | 0 |
||
1033 | |||
1034 | .input_types = { |
||
1035 | nir_type_float |
||
1036 | }, |
||
1037 | .algebraic_properties = |
||
1038 | 0 |
||
1039 | |||
1040 | { |
||
1041 | .name = "fnoise1_1", |
||
1042 | .num_inputs = 1, |
||
1043 | .output_size = 1, |
||
1044 | .output_type = nir_type_float, |
||
1045 | .input_sizes = { |
||
1046 | 1 |
||
1047 | }, |
||
1048 | .input_types = { |
||
1049 | nir_type_float |
||
1050 | }, |
||
1051 | .algebraic_properties = |
||
1052 | 0 |
||
1053 | |||
1054 | { |
||
1055 | .name = "fnoise1_2", |
||
1056 | .num_inputs = 1, |
||
1057 | .output_size = 1, |
||
1058 | .output_type = nir_type_float, |
||
1059 | .input_sizes = { |
||
1060 | 2 |
||
1061 | }, |
||
1062 | .input_types = { |
||
1063 | nir_type_float |
||
1064 | }, |
||
1065 | .algebraic_properties = |
||
1066 | 0 |
||
1067 | |||
1068 | { |
||
1069 | .name = "fnoise1_3", |
||
1070 | .num_inputs = 1, |
||
1071 | .output_size = 1, |
||
1072 | .output_type = nir_type_float, |
||
1073 | .input_sizes = { |
||
1074 | 3 |
||
1075 | }, |
||
1076 | .input_types = { |
||
1077 | nir_type_float |
||
1078 | }, |
||
1079 | .algebraic_properties = |
||
1080 | 0 |
||
1081 | |||
1082 | { |
||
1083 | .name = "fnoise1_4", |
||
1084 | .num_inputs = 1, |
||
1085 | .output_size = 1, |
||
1086 | .output_type = nir_type_float, |
||
1087 | .input_sizes = { |
||
1088 | 4 |
||
1089 | }, |
||
1090 | .input_types = { |
||
1091 | nir_type_float |
||
1092 | }, |
||
1093 | .algebraic_properties = |
||
1094 | 0 |
||
1095 | |||
1096 | { |
||
1097 | .name = "fnoise2_1", |
||
1098 | .num_inputs = 1, |
||
1099 | .output_size = 2, |
||
1100 | .output_type = nir_type_float, |
||
1101 | .input_sizes = { |
||
1102 | 1 |
||
1103 | }, |
||
1104 | .input_types = { |
||
1105 | nir_type_float |
||
1106 | }, |
||
1107 | .algebraic_properties = |
||
1108 | 0 |
||
1109 | |||
1110 | { |
||
1111 | .name = "fnoise2_2", |
||
1112 | .num_inputs = 1, |
||
1113 | .output_size = 2, |
||
1114 | .output_type = nir_type_float, |
||
1115 | .input_sizes = { |
||
1116 | 2 |
||
1117 | }, |
||
1118 | .input_types = { |
||
1119 | nir_type_float |
||
1120 | }, |
||
1121 | .algebraic_properties = |
||
1122 | 0 |
||
1123 | |||
1124 | { |
||
1125 | .name = "fnoise2_3", |
||
1126 | .num_inputs = 1, |
||
1127 | .output_size = 2, |
||
1128 | .output_type = nir_type_float, |
||
1129 | .input_sizes = { |
||
1130 | 3 |
||
1131 | }, |
||
1132 | .input_types = { |
||
1133 | nir_type_float |
||
1134 | }, |
||
1135 | .algebraic_properties = |
||
1136 | 0 |
||
1137 | |||
1138 | { |
||
1139 | .name = "fnoise2_4", |
||
1140 | .num_inputs = 1, |
||
1141 | .output_size = 2, |
||
1142 | .output_type = nir_type_float, |
||
1143 | .input_sizes = { |
||
1144 | 4 |
||
1145 | }, |
||
1146 | .input_types = { |
||
1147 | nir_type_float |
||
1148 | }, |
||
1149 | .algebraic_properties = |
||
1150 | 0 |
||
1151 | |||
1152 | { |
||
1153 | .name = "fnoise3_1", |
||
1154 | .num_inputs = 1, |
||
1155 | .output_size = 3, |
||
1156 | .output_type = nir_type_float, |
||
1157 | .input_sizes = { |
||
1158 | 1 |
||
1159 | }, |
||
1160 | .input_types = { |
||
1161 | nir_type_float |
||
1162 | }, |
||
1163 | .algebraic_properties = |
||
1164 | 0 |
||
1165 | |||
1166 | { |
||
1167 | .name = "fnoise3_2", |
||
1168 | .num_inputs = 1, |
||
1169 | .output_size = 3, |
||
1170 | .output_type = nir_type_float, |
||
1171 | .input_sizes = { |
||
1172 | 2 |
||
1173 | }, |
||
1174 | .input_types = { |
||
1175 | nir_type_float |
||
1176 | }, |
||
1177 | .algebraic_properties = |
||
1178 | 0 |
||
1179 | |||
1180 | { |
||
1181 | .name = "fnoise3_3", |
||
1182 | .num_inputs = 1, |
||
1183 | .output_size = 3, |
||
1184 | .output_type = nir_type_float, |
||
1185 | .input_sizes = { |
||
1186 | 3 |
||
1187 | }, |
||
1188 | .input_types = { |
||
1189 | nir_type_float |
||
1190 | }, |
||
1191 | .algebraic_properties = |
||
1192 | 0 |
||
1193 | |||
1194 | { |
||
1195 | .name = "fnoise3_4", |
||
1196 | .num_inputs = 1, |
||
1197 | .output_size = 3, |
||
1198 | .output_type = nir_type_float, |
||
1199 | .input_sizes = { |
||
1200 | 4 |
||
1201 | }, |
||
1202 | .input_types = { |
||
1203 | nir_type_float |
||
1204 | }, |
||
1205 | .algebraic_properties = |
||
1206 | 0 |
||
1207 | |||
1208 | { |
||
1209 | .name = "fnoise4_1", |
||
1210 | .num_inputs = 1, |
||
1211 | .output_size = 4, |
||
1212 | .output_type = nir_type_float, |
||
1213 | .input_sizes = { |
||
1214 | 1 |
||
1215 | }, |
||
1216 | .input_types = { |
||
1217 | nir_type_float |
||
1218 | }, |
||
1219 | .algebraic_properties = |
||
1220 | 0 |
||
1221 | |||
1222 | { |
||
1223 | .name = "fnoise4_2", |
||
1224 | .num_inputs = 1, |
||
1225 | .output_size = 4, |
||
1226 | .output_type = nir_type_float, |
||
1227 | .input_sizes = { |
||
1228 | 2 |
||
1229 | }, |
||
1230 | .input_types = { |
||
1231 | nir_type_float |
||
1232 | }, |
||
1233 | .algebraic_properties = |
||
1234 | 0 |
||
1235 | |||
1236 | { |
||
1237 | .name = "fnoise4_3", |
||
1238 | .num_inputs = 1, |
||
1239 | .output_size = 4, |
||
1240 | .output_type = nir_type_float, |
||
1241 | .input_sizes = { |
||
1242 | 3 |
||
1243 | }, |
||
1244 | .input_types = { |
||
1245 | nir_type_float |
||
1246 | }, |
||
1247 | .algebraic_properties = |
||
1248 | 0 |
||
1249 | |||
1250 | { |
||
1251 | .name = "fnoise4_4", |
||
1252 | .num_inputs = 1, |
||
1253 | .output_size = 4, |
||
1254 | .output_type = nir_type_float, |
||
1255 | .input_sizes = { |
||
1256 | 4 |
||
1257 | }, |
||
1258 | .input_types = { |
||
1259 | nir_type_float |
||
1260 | }, |
||
1261 | .algebraic_properties = |
||
1262 | 0 |
||
1263 | |||
1264 | { |
||
1265 | .name = "fnot", |
||
1266 | .num_inputs = 1, |
||
1267 | .output_size = 0, |
||
1268 | .output_type = nir_type_float, |
||
1269 | .input_sizes = { |
||
1270 | 0 |
||
1271 | |||
1272 | .input_types = { |
||
1273 | nir_type_float |
||
1274 | }, |
||
1275 | .algebraic_properties = |
||
1276 | 0 |
||
1277 | |||
1278 | { |
||
1279 | .name = "for", |
||
1280 | .num_inputs = 2, |
||
1281 | .output_size = 0, |
||
1282 | .output_type = nir_type_float, |
||
1283 | .input_sizes = { |
||
1284 | 0, 0 |
||
1285 | }, |
||
1286 | .input_types = { |
||
1287 | nir_type_float, nir_type_float |
||
1288 | }, |
||
1289 | .algebraic_properties = |
||
1290 | NIR_OP_IS_COMMUTATIVE |
||
1291 | }, |
||
1292 | { |
||
1293 | .name = "fpow", |
||
1294 | .num_inputs = 2, |
||
1295 | .output_size = 0, |
||
1296 | .output_type = nir_type_float, |
||
1297 | .input_sizes = { |
||
1298 | 0, 0 |
||
1299 | }, |
||
1300 | .input_types = { |
||
1301 | nir_type_float, nir_type_float |
||
1302 | }, |
||
1303 | .algebraic_properties = |
||
1304 | 0 |
||
1305 | |||
1306 | { |
||
1307 | .name = "frcp", |
||
1308 | .num_inputs = 1, |
||
1309 | .output_size = 0, |
||
1310 | .output_type = nir_type_float, |
||
1311 | .input_sizes = { |
||
1312 | 0 |
||
1313 | |||
1314 | .input_types = { |
||
1315 | nir_type_float |
||
1316 | }, |
||
1317 | .algebraic_properties = |
||
1318 | 0 |
||
1319 | |||
1320 | { |
||
1321 | .name = "fround_even", |
||
1322 | .num_inputs = 1, |
||
1323 | .output_size = 0, |
||
1324 | .output_type = nir_type_float, |
||
1325 | .input_sizes = { |
||
1326 | 0 |
||
1327 | |||
1328 | .input_types = { |
||
1329 | nir_type_float |
||
1330 | }, |
||
1331 | .algebraic_properties = |
||
1332 | 0 |
||
1333 | |||
1334 | { |
||
1335 | .name = "frsq", |
||
1336 | .num_inputs = 1, |
||
1337 | .output_size = 0, |
||
1338 | .output_type = nir_type_float, |
||
1339 | .input_sizes = { |
||
1340 | 0 |
||
1341 | |||
1342 | .input_types = { |
||
1343 | nir_type_float |
||
1344 | }, |
||
1345 | .algebraic_properties = |
||
1346 | 0 |
||
1347 | |||
1348 | { |
||
1349 | .name = "fsat", |
||
1350 | .num_inputs = 1, |
||
1351 | .output_size = 0, |
||
1352 | .output_type = nir_type_float, |
||
1353 | .input_sizes = { |
||
1354 | 0 |
||
1355 | |||
1356 | .input_types = { |
||
1357 | nir_type_float |
||
1358 | }, |
||
1359 | .algebraic_properties = |
||
1360 | 0 |
||
1361 | |||
1362 | { |
||
1363 | .name = "fsign", |
||
1364 | .num_inputs = 1, |
||
1365 | .output_size = 0, |
||
1366 | .output_type = nir_type_float, |
||
1367 | .input_sizes = { |
||
1368 | 0 |
||
1369 | |||
1370 | .input_types = { |
||
1371 | nir_type_float |
||
1372 | }, |
||
1373 | .algebraic_properties = |
||
1374 | 0 |
||
1375 | |||
1376 | { |
||
1377 | .name = "fsin", |
||
1378 | .num_inputs = 1, |
||
1379 | .output_size = 0, |
||
1380 | .output_type = nir_type_float, |
||
1381 | .input_sizes = { |
||
1382 | 0 |
||
1383 | |||
1384 | .input_types = { |
||
1385 | nir_type_float |
||
1386 | }, |
||
1387 | .algebraic_properties = |
||
1388 | 0 |
||
1389 | |||
1390 | { |
||
1391 | .name = "fsqrt", |
||
1392 | .num_inputs = 1, |
||
1393 | .output_size = 0, |
||
1394 | .output_type = nir_type_float, |
||
1395 | .input_sizes = { |
||
1396 | 0 |
||
1397 | |||
1398 | .input_types = { |
||
1399 | nir_type_float |
||
1400 | }, |
||
1401 | .algebraic_properties = |
||
1402 | 0 |
||
1403 | |||
1404 | { |
||
1405 | .name = "fsub", |
||
1406 | .num_inputs = 2, |
||
1407 | .output_size = 0, |
||
1408 | .output_type = nir_type_float, |
||
1409 | .input_sizes = { |
||
1410 | 0, 0 |
||
1411 | }, |
||
1412 | .input_types = { |
||
1413 | nir_type_float, nir_type_float |
||
1414 | }, |
||
1415 | .algebraic_properties = |
||
1416 | 0 |
||
1417 | |||
1418 | { |
||
1419 | .name = "ftrunc", |
||
1420 | .num_inputs = 1, |
||
1421 | .output_size = 0, |
||
1422 | .output_type = nir_type_float, |
||
1423 | .input_sizes = { |
||
1424 | 0 |
||
1425 | |||
1426 | .input_types = { |
||
1427 | nir_type_float |
||
1428 | }, |
||
1429 | .algebraic_properties = |
||
1430 | 0 |
||
1431 | |||
1432 | { |
||
1433 | .name = "fxor", |
||
1434 | .num_inputs = 2, |
||
1435 | .output_size = 0, |
||
1436 | .output_type = nir_type_float, |
||
1437 | .input_sizes = { |
||
1438 | 0, 0 |
||
1439 | }, |
||
1440 | .input_types = { |
||
1441 | nir_type_float, nir_type_float |
||
1442 | }, |
||
1443 | .algebraic_properties = |
||
1444 | NIR_OP_IS_COMMUTATIVE |
||
1445 | }, |
||
1446 | { |
||
1447 | .name = "i2b", |
||
1448 | .num_inputs = 1, |
||
1449 | .output_size = 0, |
||
1450 | .output_type = nir_type_bool, |
||
1451 | .input_sizes = { |
||
1452 | 0 |
||
1453 | |||
1454 | .input_types = { |
||
1455 | nir_type_int |
||
1456 | }, |
||
1457 | .algebraic_properties = |
||
1458 | 0 |
||
1459 | |||
1460 | { |
||
1461 | .name = "i2f", |
||
1462 | .num_inputs = 1, |
||
1463 | .output_size = 0, |
||
1464 | .output_type = nir_type_float, |
||
1465 | .input_sizes = { |
||
1466 | 0 |
||
1467 | |||
1468 | .input_types = { |
||
1469 | nir_type_int |
||
1470 | }, |
||
1471 | .algebraic_properties = |
||
1472 | 0 |
||
1473 | |||
1474 | { |
||
1475 | .name = "iabs", |
||
1476 | .num_inputs = 1, |
||
1477 | .output_size = 0, |
||
1478 | .output_type = nir_type_int, |
||
1479 | .input_sizes = { |
||
1480 | 0 |
||
1481 | |||
1482 | .input_types = { |
||
1483 | nir_type_int |
||
1484 | }, |
||
1485 | .algebraic_properties = |
||
1486 | 0 |
||
1487 | |||
1488 | { |
||
1489 | .name = "iadd", |
||
1490 | .num_inputs = 2, |
||
1491 | .output_size = 0, |
||
1492 | .output_type = nir_type_int, |
||
1493 | .input_sizes = { |
||
1494 | 0, 0 |
||
1495 | }, |
||
1496 | .input_types = { |
||
1497 | nir_type_int, nir_type_int |
||
1498 | }, |
||
1499 | .algebraic_properties = |
||
1500 | NIR_OP_IS_COMMUTATIVE | NIR_OP_IS_ASSOCIATIVE |
||
1501 | }, |
||
1502 | { |
||
1503 | .name = "iand", |
||
1504 | .num_inputs = 2, |
||
1505 | .output_size = 0, |
||
1506 | .output_type = nir_type_unsigned, |
||
1507 | .input_sizes = { |
||
1508 | 0, 0 |
||
1509 | }, |
||
1510 | .input_types = { |
||
1511 | nir_type_unsigned, nir_type_unsigned |
||
1512 | }, |
||
1513 | .algebraic_properties = |
||
1514 | NIR_OP_IS_COMMUTATIVE | NIR_OP_IS_ASSOCIATIVE |
||
1515 | }, |
||
1516 | { |
||
1517 | .name = "ibitfield_extract", |
||
1518 | .num_inputs = 3, |
||
1519 | .output_size = 0, |
||
1520 | .output_type = nir_type_int, |
||
1521 | .input_sizes = { |
||
1522 | 0, 1, 1 |
||
1523 | }, |
||
1524 | .input_types = { |
||
1525 | nir_type_int, nir_type_int, nir_type_int |
||
1526 | }, |
||
1527 | .algebraic_properties = |
||
1528 | 0 |
||
1529 | |||
1530 | { |
||
1531 | .name = "idiv", |
||
1532 | .num_inputs = 2, |
||
1533 | .output_size = 0, |
||
1534 | .output_type = nir_type_int, |
||
1535 | .input_sizes = { |
||
1536 | 0, 0 |
||
1537 | }, |
||
1538 | .input_types = { |
||
1539 | nir_type_int, nir_type_int |
||
1540 | }, |
||
1541 | .algebraic_properties = |
||
1542 | 0 |
||
1543 | |||
1544 | { |
||
1545 | .name = "ieq", |
||
1546 | .num_inputs = 2, |
||
1547 | .output_size = 0, |
||
1548 | .output_type = nir_type_bool, |
||
1549 | .input_sizes = { |
||
1550 | 0, 0 |
||
1551 | }, |
||
1552 | .input_types = { |
||
1553 | nir_type_int, nir_type_int |
||
1554 | }, |
||
1555 | .algebraic_properties = |
||
1556 | NIR_OP_IS_COMMUTATIVE |
||
1557 | }, |
||
1558 | { |
||
1559 | .name = "ifind_msb", |
||
1560 | .num_inputs = 1, |
||
1561 | .output_size = 0, |
||
1562 | .output_type = nir_type_int, |
||
1563 | .input_sizes = { |
||
1564 | 0 |
||
1565 | |||
1566 | .input_types = { |
||
1567 | nir_type_int |
||
1568 | }, |
||
1569 | .algebraic_properties = |
||
1570 | 0 |
||
1571 | |||
1572 | { |
||
1573 | .name = "ige", |
||
1574 | .num_inputs = 2, |
||
1575 | .output_size = 0, |
||
1576 | .output_type = nir_type_bool, |
||
1577 | .input_sizes = { |
||
1578 | 0, 0 |
||
1579 | }, |
||
1580 | .input_types = { |
||
1581 | nir_type_int, nir_type_int |
||
1582 | }, |
||
1583 | .algebraic_properties = |
||
1584 | 0 |
||
1585 | |||
1586 | { |
||
1587 | .name = "ilt", |
||
1588 | .num_inputs = 2, |
||
1589 | .output_size = 0, |
||
1590 | .output_type = nir_type_bool, |
||
1591 | .input_sizes = { |
||
1592 | 0, 0 |
||
1593 | }, |
||
1594 | .input_types = { |
||
1595 | nir_type_int, nir_type_int |
||
1596 | }, |
||
1597 | .algebraic_properties = |
||
1598 | 0 |
||
1599 | |||
1600 | { |
||
1601 | .name = "imax", |
||
1602 | .num_inputs = 2, |
||
1603 | .output_size = 0, |
||
1604 | .output_type = nir_type_int, |
||
1605 | .input_sizes = { |
||
1606 | 0, 0 |
||
1607 | }, |
||
1608 | .input_types = { |
||
1609 | nir_type_int, nir_type_int |
||
1610 | }, |
||
1611 | .algebraic_properties = |
||
1612 | NIR_OP_IS_COMMUTATIVE | NIR_OP_IS_ASSOCIATIVE |
||
1613 | }, |
||
1614 | { |
||
1615 | .name = "imin", |
||
1616 | .num_inputs = 2, |
||
1617 | .output_size = 0, |
||
1618 | .output_type = nir_type_int, |
||
1619 | .input_sizes = { |
||
1620 | 0, 0 |
||
1621 | }, |
||
1622 | .input_types = { |
||
1623 | nir_type_int, nir_type_int |
||
1624 | }, |
||
1625 | .algebraic_properties = |
||
1626 | NIR_OP_IS_COMMUTATIVE | NIR_OP_IS_ASSOCIATIVE |
||
1627 | }, |
||
1628 | { |
||
1629 | .name = "imov", |
||
1630 | .num_inputs = 1, |
||
1631 | .output_size = 0, |
||
1632 | .output_type = nir_type_int, |
||
1633 | .input_sizes = { |
||
1634 | 0 |
||
1635 | |||
1636 | .input_types = { |
||
1637 | nir_type_int |
||
1638 | }, |
||
1639 | .algebraic_properties = |
||
1640 | 0 |
||
1641 | |||
1642 | { |
||
1643 | .name = "imul", |
||
1644 | .num_inputs = 2, |
||
1645 | .output_size = 0, |
||
1646 | .output_type = nir_type_int, |
||
1647 | .input_sizes = { |
||
1648 | 0, 0 |
||
1649 | }, |
||
1650 | .input_types = { |
||
1651 | nir_type_int, nir_type_int |
||
1652 | }, |
||
1653 | .algebraic_properties = |
||
1654 | NIR_OP_IS_COMMUTATIVE | NIR_OP_IS_ASSOCIATIVE |
||
1655 | }, |
||
1656 | { |
||
1657 | .name = "imul_high", |
||
1658 | .num_inputs = 2, |
||
1659 | .output_size = 0, |
||
1660 | .output_type = nir_type_int, |
||
1661 | .input_sizes = { |
||
1662 | 0, 0 |
||
1663 | }, |
||
1664 | .input_types = { |
||
1665 | nir_type_int, nir_type_int |
||
1666 | }, |
||
1667 | .algebraic_properties = |
||
1668 | NIR_OP_IS_COMMUTATIVE |
||
1669 | }, |
||
1670 | { |
||
1671 | .name = "ine", |
||
1672 | .num_inputs = 2, |
||
1673 | .output_size = 0, |
||
1674 | .output_type = nir_type_bool, |
||
1675 | .input_sizes = { |
||
1676 | 0, 0 |
||
1677 | }, |
||
1678 | .input_types = { |
||
1679 | nir_type_int, nir_type_int |
||
1680 | }, |
||
1681 | .algebraic_properties = |
||
1682 | NIR_OP_IS_COMMUTATIVE |
||
1683 | }, |
||
1684 | { |
||
1685 | .name = "ineg", |
||
1686 | .num_inputs = 1, |
||
1687 | .output_size = 0, |
||
1688 | .output_type = nir_type_int, |
||
1689 | .input_sizes = { |
||
1690 | 0 |
||
1691 | |||
1692 | .input_types = { |
||
1693 | nir_type_int |
||
1694 | }, |
||
1695 | .algebraic_properties = |
||
1696 | 0 |
||
1697 | |||
1698 | { |
||
1699 | .name = "inot", |
||
1700 | .num_inputs = 1, |
||
1701 | .output_size = 0, |
||
1702 | .output_type = nir_type_int, |
||
1703 | .input_sizes = { |
||
1704 | 0 |
||
1705 | |||
1706 | .input_types = { |
||
1707 | nir_type_int |
||
1708 | }, |
||
1709 | .algebraic_properties = |
||
1710 | 0 |
||
1711 | |||
1712 | { |
||
1713 | .name = "ior", |
||
1714 | .num_inputs = 2, |
||
1715 | .output_size = 0, |
||
1716 | .output_type = nir_type_unsigned, |
||
1717 | .input_sizes = { |
||
1718 | 0, 0 |
||
1719 | }, |
||
1720 | .input_types = { |
||
1721 | nir_type_unsigned, nir_type_unsigned |
||
1722 | }, |
||
1723 | .algebraic_properties = |
||
1724 | NIR_OP_IS_COMMUTATIVE | NIR_OP_IS_ASSOCIATIVE |
||
1725 | }, |
||
1726 | { |
||
1727 | .name = "ishl", |
||
1728 | .num_inputs = 2, |
||
1729 | .output_size = 0, |
||
1730 | .output_type = nir_type_int, |
||
1731 | .input_sizes = { |
||
1732 | 0, 0 |
||
1733 | }, |
||
1734 | .input_types = { |
||
1735 | nir_type_int, nir_type_int |
||
1736 | }, |
||
1737 | .algebraic_properties = |
||
1738 | 0 |
||
1739 | |||
1740 | { |
||
1741 | .name = "ishr", |
||
1742 | .num_inputs = 2, |
||
1743 | .output_size = 0, |
||
1744 | .output_type = nir_type_int, |
||
1745 | .input_sizes = { |
||
1746 | 0, 0 |
||
1747 | }, |
||
1748 | .input_types = { |
||
1749 | nir_type_int, nir_type_int |
||
1750 | }, |
||
1751 | .algebraic_properties = |
||
1752 | 0 |
||
1753 | |||
1754 | { |
||
1755 | .name = "isign", |
||
1756 | .num_inputs = 1, |
||
1757 | .output_size = 0, |
||
1758 | .output_type = nir_type_int, |
||
1759 | .input_sizes = { |
||
1760 | 0 |
||
1761 | |||
1762 | .input_types = { |
||
1763 | nir_type_int |
||
1764 | }, |
||
1765 | .algebraic_properties = |
||
1766 | 0 |
||
1767 | |||
1768 | { |
||
1769 | .name = "isub", |
||
1770 | .num_inputs = 2, |
||
1771 | .output_size = 0, |
||
1772 | .output_type = nir_type_int, |
||
1773 | .input_sizes = { |
||
1774 | 0, 0 |
||
1775 | }, |
||
1776 | .input_types = { |
||
1777 | nir_type_int, nir_type_int |
||
1778 | }, |
||
1779 | .algebraic_properties = |
||
1780 | 0 |
||
1781 | |||
1782 | { |
||
1783 | .name = "ixor", |
||
1784 | .num_inputs = 2, |
||
1785 | .output_size = 0, |
||
1786 | .output_type = nir_type_unsigned, |
||
1787 | .input_sizes = { |
||
1788 | 0, 0 |
||
1789 | }, |
||
1790 | .input_types = { |
||
1791 | nir_type_unsigned, nir_type_unsigned |
||
1792 | }, |
||
1793 | .algebraic_properties = |
||
1794 | NIR_OP_IS_COMMUTATIVE | NIR_OP_IS_ASSOCIATIVE |
||
1795 | }, |
||
1796 | { |
||
1797 | .name = "ldexp", |
||
1798 | .num_inputs = 2, |
||
1799 | .output_size = 0, |
||
1800 | .output_type = nir_type_float, |
||
1801 | .input_sizes = { |
||
1802 | 0, 0 |
||
1803 | }, |
||
1804 | .input_types = { |
||
1805 | nir_type_float, nir_type_int |
||
1806 | }, |
||
1807 | .algebraic_properties = |
||
1808 | 0 |
||
1809 | |||
1810 | { |
||
1811 | .name = "pack_half_2x16", |
||
1812 | .num_inputs = 1, |
||
1813 | .output_size = 1, |
||
1814 | .output_type = nir_type_unsigned, |
||
1815 | .input_sizes = { |
||
1816 | 2 |
||
1817 | }, |
||
1818 | .input_types = { |
||
1819 | nir_type_float |
||
1820 | }, |
||
1821 | .algebraic_properties = |
||
1822 | 0 |
||
1823 | |||
1824 | { |
||
1825 | .name = "pack_half_2x16_split", |
||
1826 | .num_inputs = 2, |
||
1827 | .output_size = 1, |
||
1828 | .output_type = nir_type_unsigned, |
||
1829 | .input_sizes = { |
||
1830 | 1, 1 |
||
1831 | }, |
||
1832 | .input_types = { |
||
1833 | nir_type_float, nir_type_float |
||
1834 | }, |
||
1835 | .algebraic_properties = |
||
1836 | 0 |
||
1837 | |||
1838 | { |
||
1839 | .name = "pack_snorm_2x16", |
||
1840 | .num_inputs = 1, |
||
1841 | .output_size = 1, |
||
1842 | .output_type = nir_type_unsigned, |
||
1843 | .input_sizes = { |
||
1844 | 2 |
||
1845 | }, |
||
1846 | .input_types = { |
||
1847 | nir_type_float |
||
1848 | }, |
||
1849 | .algebraic_properties = |
||
1850 | 0 |
||
1851 | |||
1852 | { |
||
1853 | .name = "pack_snorm_4x8", |
||
1854 | .num_inputs = 1, |
||
1855 | .output_size = 1, |
||
1856 | .output_type = nir_type_unsigned, |
||
1857 | .input_sizes = { |
||
1858 | 4 |
||
1859 | }, |
||
1860 | .input_types = { |
||
1861 | nir_type_float |
||
1862 | }, |
||
1863 | .algebraic_properties = |
||
1864 | 0 |
||
1865 | |||
1866 | { |
||
1867 | .name = "pack_unorm_2x16", |
||
1868 | .num_inputs = 1, |
||
1869 | .output_size = 1, |
||
1870 | .output_type = nir_type_unsigned, |
||
1871 | .input_sizes = { |
||
1872 | 2 |
||
1873 | }, |
||
1874 | .input_types = { |
||
1875 | nir_type_float |
||
1876 | }, |
||
1877 | .algebraic_properties = |
||
1878 | 0 |
||
1879 | |||
1880 | { |
||
1881 | .name = "pack_unorm_4x8", |
||
1882 | .num_inputs = 1, |
||
1883 | .output_size = 1, |
||
1884 | .output_type = nir_type_unsigned, |
||
1885 | .input_sizes = { |
||
1886 | 4 |
||
1887 | }, |
||
1888 | .input_types = { |
||
1889 | nir_type_float |
||
1890 | }, |
||
1891 | .algebraic_properties = |
||
1892 | 0 |
||
1893 | |||
1894 | { |
||
1895 | .name = "seq", |
||
1896 | .num_inputs = 2, |
||
1897 | .output_size = 0, |
||
1898 | .output_type = nir_type_float, |
||
1899 | .input_sizes = { |
||
1900 | 0, 0 |
||
1901 | }, |
||
1902 | .input_types = { |
||
1903 | nir_type_float, nir_type_float |
||
1904 | }, |
||
1905 | .algebraic_properties = |
||
1906 | NIR_OP_IS_COMMUTATIVE |
||
1907 | }, |
||
1908 | { |
||
1909 | .name = "sge", |
||
1910 | .num_inputs = 2, |
||
1911 | .output_size = 0, |
||
1912 | .output_type = nir_type_float, |
||
1913 | .input_sizes = { |
||
1914 | 0, 0 |
||
1915 | }, |
||
1916 | .input_types = { |
||
1917 | nir_type_float, nir_type_float |
||
1918 | }, |
||
1919 | .algebraic_properties = |
||
1920 | 0 |
||
1921 | |||
1922 | { |
||
1923 | .name = "slt", |
||
1924 | .num_inputs = 2, |
||
1925 | .output_size = 0, |
||
1926 | .output_type = nir_type_float, |
||
1927 | .input_sizes = { |
||
1928 | 0, 0 |
||
1929 | }, |
||
1930 | .input_types = { |
||
1931 | nir_type_float, nir_type_float |
||
1932 | }, |
||
1933 | .algebraic_properties = |
||
1934 | 0 |
||
1935 | |||
1936 | { |
||
1937 | .name = "sne", |
||
1938 | .num_inputs = 2, |
||
1939 | .output_size = 0, |
||
1940 | .output_type = nir_type_float, |
||
1941 | .input_sizes = { |
||
1942 | 0, 0 |
||
1943 | }, |
||
1944 | .input_types = { |
||
1945 | nir_type_float, nir_type_float |
||
1946 | }, |
||
1947 | .algebraic_properties = |
||
1948 | NIR_OP_IS_COMMUTATIVE |
||
1949 | }, |
||
1950 | { |
||
1951 | .name = "u2f", |
||
1952 | .num_inputs = 1, |
||
1953 | .output_size = 0, |
||
1954 | .output_type = nir_type_float, |
||
1955 | .input_sizes = { |
||
1956 | 0 |
||
1957 | |||
1958 | .input_types = { |
||
1959 | nir_type_unsigned |
||
1960 | }, |
||
1961 | .algebraic_properties = |
||
1962 | 0 |
||
1963 | |||
1964 | { |
||
1965 | .name = "uadd_carry", |
||
1966 | .num_inputs = 2, |
||
1967 | .output_size = 0, |
||
1968 | .output_type = nir_type_bool, |
||
1969 | .input_sizes = { |
||
1970 | 0, 0 |
||
1971 | }, |
||
1972 | .input_types = { |
||
1973 | nir_type_unsigned, nir_type_unsigned |
||
1974 | }, |
||
1975 | .algebraic_properties = |
||
1976 | NIR_OP_IS_COMMUTATIVE |
||
1977 | }, |
||
1978 | { |
||
1979 | .name = "ubitfield_extract", |
||
1980 | .num_inputs = 3, |
||
1981 | .output_size = 0, |
||
1982 | .output_type = nir_type_unsigned, |
||
1983 | .input_sizes = { |
||
1984 | 0, 1, 1 |
||
1985 | }, |
||
1986 | .input_types = { |
||
1987 | nir_type_unsigned, nir_type_int, nir_type_int |
||
1988 | }, |
||
1989 | .algebraic_properties = |
||
1990 | 0 |
||
1991 | |||
1992 | { |
||
1993 | .name = "udiv", |
||
1994 | .num_inputs = 2, |
||
1995 | .output_size = 0, |
||
1996 | .output_type = nir_type_unsigned, |
||
1997 | .input_sizes = { |
||
1998 | 0, 0 |
||
1999 | }, |
||
2000 | .input_types = { |
||
2001 | nir_type_unsigned, nir_type_unsigned |
||
2002 | }, |
||
2003 | .algebraic_properties = |
||
2004 | 0 |
||
2005 | |||
2006 | { |
||
2007 | .name = "ufind_msb", |
||
2008 | .num_inputs = 1, |
||
2009 | .output_size = 0, |
||
2010 | .output_type = nir_type_int, |
||
2011 | .input_sizes = { |
||
2012 | 0 |
||
2013 | |||
2014 | .input_types = { |
||
2015 | nir_type_unsigned |
||
2016 | }, |
||
2017 | .algebraic_properties = |
||
2018 | 0 |
||
2019 | |||
2020 | { |
||
2021 | .name = "uge", |
||
2022 | .num_inputs = 2, |
||
2023 | .output_size = 0, |
||
2024 | .output_type = nir_type_bool, |
||
2025 | .input_sizes = { |
||
2026 | 0, 0 |
||
2027 | }, |
||
2028 | .input_types = { |
||
2029 | nir_type_unsigned, nir_type_unsigned |
||
2030 | }, |
||
2031 | .algebraic_properties = |
||
2032 | 0 |
||
2033 | |||
2034 | { |
||
2035 | .name = "ult", |
||
2036 | .num_inputs = 2, |
||
2037 | .output_size = 0, |
||
2038 | .output_type = nir_type_bool, |
||
2039 | .input_sizes = { |
||
2040 | 0, 0 |
||
2041 | }, |
||
2042 | .input_types = { |
||
2043 | nir_type_unsigned, nir_type_unsigned |
||
2044 | }, |
||
2045 | .algebraic_properties = |
||
2046 | 0 |
||
2047 | |||
2048 | { |
||
2049 | .name = "umax", |
||
2050 | .num_inputs = 2, |
||
2051 | .output_size = 0, |
||
2052 | .output_type = nir_type_unsigned, |
||
2053 | .input_sizes = { |
||
2054 | 0, 0 |
||
2055 | }, |
||
2056 | .input_types = { |
||
2057 | nir_type_unsigned, nir_type_unsigned |
||
2058 | }, |
||
2059 | .algebraic_properties = |
||
2060 | NIR_OP_IS_COMMUTATIVE | NIR_OP_IS_ASSOCIATIVE |
||
2061 | }, |
||
2062 | { |
||
2063 | .name = "umin", |
||
2064 | .num_inputs = 2, |
||
2065 | .output_size = 0, |
||
2066 | .output_type = nir_type_unsigned, |
||
2067 | .input_sizes = { |
||
2068 | 0, 0 |
||
2069 | }, |
||
2070 | .input_types = { |
||
2071 | nir_type_unsigned, nir_type_unsigned |
||
2072 | }, |
||
2073 | .algebraic_properties = |
||
2074 | NIR_OP_IS_COMMUTATIVE | NIR_OP_IS_ASSOCIATIVE |
||
2075 | }, |
||
2076 | { |
||
2077 | .name = "umod", |
||
2078 | .num_inputs = 2, |
||
2079 | .output_size = 0, |
||
2080 | .output_type = nir_type_unsigned, |
||
2081 | .input_sizes = { |
||
2082 | 0, 0 |
||
2083 | }, |
||
2084 | .input_types = { |
||
2085 | nir_type_unsigned, nir_type_unsigned |
||
2086 | }, |
||
2087 | .algebraic_properties = |
||
2088 | 0 |
||
2089 | |||
2090 | { |
||
2091 | .name = "umul_high", |
||
2092 | .num_inputs = 2, |
||
2093 | .output_size = 0, |
||
2094 | .output_type = nir_type_unsigned, |
||
2095 | .input_sizes = { |
||
2096 | 0, 0 |
||
2097 | }, |
||
2098 | .input_types = { |
||
2099 | nir_type_unsigned, nir_type_unsigned |
||
2100 | }, |
||
2101 | .algebraic_properties = |
||
2102 | NIR_OP_IS_COMMUTATIVE |
||
2103 | }, |
||
2104 | { |
||
2105 | .name = "unpack_half_2x16", |
||
2106 | .num_inputs = 1, |
||
2107 | .output_size = 2, |
||
2108 | .output_type = nir_type_float, |
||
2109 | .input_sizes = { |
||
2110 | 1 |
||
2111 | }, |
||
2112 | .input_types = { |
||
2113 | nir_type_unsigned |
||
2114 | }, |
||
2115 | .algebraic_properties = |
||
2116 | 0 |
||
2117 | |||
2118 | { |
||
2119 | .name = "unpack_half_2x16_split_x", |
||
2120 | .num_inputs = 1, |
||
2121 | .output_size = 1, |
||
2122 | .output_type = nir_type_float, |
||
2123 | .input_sizes = { |
||
2124 | 1 |
||
2125 | }, |
||
2126 | .input_types = { |
||
2127 | nir_type_unsigned |
||
2128 | }, |
||
2129 | .algebraic_properties = |
||
2130 | 0 |
||
2131 | |||
2132 | { |
||
2133 | .name = "unpack_half_2x16_split_y", |
||
2134 | .num_inputs = 1, |
||
2135 | .output_size = 1, |
||
2136 | .output_type = nir_type_float, |
||
2137 | .input_sizes = { |
||
2138 | 1 |
||
2139 | }, |
||
2140 | .input_types = { |
||
2141 | nir_type_unsigned |
||
2142 | }, |
||
2143 | .algebraic_properties = |
||
2144 | 0 |
||
2145 | |||
2146 | { |
||
2147 | .name = "unpack_snorm_2x16", |
||
2148 | .num_inputs = 1, |
||
2149 | .output_size = 2, |
||
2150 | .output_type = nir_type_float, |
||
2151 | .input_sizes = { |
||
2152 | 1 |
||
2153 | }, |
||
2154 | .input_types = { |
||
2155 | nir_type_unsigned |
||
2156 | }, |
||
2157 | .algebraic_properties = |
||
2158 | 0 |
||
2159 | |||
2160 | { |
||
2161 | .name = "unpack_snorm_4x8", |
||
2162 | .num_inputs = 1, |
||
2163 | .output_size = 4, |
||
2164 | .output_type = nir_type_float, |
||
2165 | .input_sizes = { |
||
2166 | 1 |
||
2167 | }, |
||
2168 | .input_types = { |
||
2169 | nir_type_unsigned |
||
2170 | }, |
||
2171 | .algebraic_properties = |
||
2172 | 0 |
||
2173 | |||
2174 | { |
||
2175 | .name = "unpack_unorm_2x16", |
||
2176 | .num_inputs = 1, |
||
2177 | .output_size = 2, |
||
2178 | .output_type = nir_type_float, |
||
2179 | .input_sizes = { |
||
2180 | 1 |
||
2181 | }, |
||
2182 | .input_types = { |
||
2183 | nir_type_unsigned |
||
2184 | }, |
||
2185 | .algebraic_properties = |
||
2186 | 0 |
||
2187 | |||
2188 | { |
||
2189 | .name = "unpack_unorm_4x8", |
||
2190 | .num_inputs = 1, |
||
2191 | .output_size = 4, |
||
2192 | .output_type = nir_type_float, |
||
2193 | .input_sizes = { |
||
2194 | 1 |
||
2195 | }, |
||
2196 | .input_types = { |
||
2197 | nir_type_unsigned |
||
2198 | }, |
||
2199 | .algebraic_properties = |
||
2200 | 0 |
||
2201 | |||
2202 | { |
||
2203 | .name = "ushr", |
||
2204 | .num_inputs = 2, |
||
2205 | .output_size = 0, |
||
2206 | .output_type = nir_type_unsigned, |
||
2207 | .input_sizes = { |
||
2208 | 0, 0 |
||
2209 | }, |
||
2210 | .input_types = { |
||
2211 | nir_type_unsigned, nir_type_unsigned |
||
2212 | }, |
||
2213 | .algebraic_properties = |
||
2214 | 0 |
||
2215 | |||
2216 | { |
||
2217 | .name = "usub_borrow", |
||
2218 | .num_inputs = 2, |
||
2219 | .output_size = 0, |
||
2220 | .output_type = nir_type_bool, |
||
2221 | .input_sizes = { |
||
2222 | 0, 0 |
||
2223 | }, |
||
2224 | .input_types = { |
||
2225 | nir_type_unsigned, nir_type_unsigned |
||
2226 | }, |
||
2227 | .algebraic_properties = |
||
2228 | 0 |
||
2229 | |||
2230 | { |
||
2231 | .name = "vec2", |
||
2232 | .num_inputs = 2, |
||
2233 | .output_size = 2, |
||
2234 | .output_type = nir_type_unsigned, |
||
2235 | .input_sizes = { |
||
2236 | 1, 1 |
||
2237 | }, |
||
2238 | .input_types = { |
||
2239 | nir_type_unsigned, nir_type_unsigned |
||
2240 | }, |
||
2241 | .algebraic_properties = |
||
2242 | 0 |
||
2243 | |||
2244 | { |
||
2245 | .name = "vec3", |
||
2246 | .num_inputs = 3, |
||
2247 | .output_size = 3, |
||
2248 | .output_type = nir_type_unsigned, |
||
2249 | .input_sizes = { |
||
2250 | 1, 1, 1 |
||
2251 | }, |
||
2252 | .input_types = { |
||
2253 | nir_type_unsigned, nir_type_unsigned, nir_type_unsigned |
||
2254 | }, |
||
2255 | .algebraic_properties = |
||
2256 | 0 |
||
2257 | |||
2258 | { |
||
2259 | .name = "vec4", |
||
2260 | .num_inputs = 4, |
||
2261 | .output_size = 4, |
||
2262 | .output_type = nir_type_unsigned, |
||
2263 | .input_sizes = { |
||
2264 | 1, 1, 1, 1 |
||
2265 | }, |
||
2266 | .input_types = { |
||
2267 | nir_type_unsigned, nir_type_unsigned, nir_type_unsigned, nir_type_unsigned |
||
2268 | }, |
||
2269 | .algebraic_properties = |
||
2270 | 0 |
||
2271 | |||
2272 | }; |
||
2273 |