Commit 3ffee67
authored
[libspirv] Don't force fp16/fp64 OpenCL extensions (#18961)
Enabling these (or any extensions, really) by default is incorrect and
prevents the r600 OpenCL builtins from being built. Each clang target
reports which OpenCL extensions it does or doesn't support.
This commit also moves the flag enabling SPIR-V builtin declarations to
the SPIR-V options. They are not needed for the compilation of CLC or
OpenCL builtins.
There is no change to any builtins file.1 parent 57e2877 commit 3ffee67
1 file changed
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
489 | 489 | | |
490 | 490 | | |
491 | 491 | | |
492 | | - | |
493 | | - | |
494 | | - | |
495 | 492 | | |
496 | 493 | | |
497 | 494 | | |
498 | 495 | | |
499 | 496 | | |
500 | 497 | | |
501 | | - | |
502 | | - | |
503 | 498 | | |
504 | 499 | | |
505 | 500 | | |
| |||
573 | 568 | | |
574 | 569 | | |
575 | 570 | | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
576 | 574 | | |
577 | 575 | | |
578 | 576 | | |
| |||
0 commit comments