ORACLE_BUILTIN_NAMES
Constant in CPU oracle
The names of every builtin function the CPU backends (compileModule, compileModuleJs) evaluate with real arithmetic, as a read-only set.
import { ORACLE_BUILTIN_NAMES } from 'typeshade'
The signature, the description and the examples come from the compiler's own source at commit 26de7be8.
Syntax
const ORACLE_BUILTIN_NAMES: ReadonlySet<string>Description
Meant for
tests: the union of this set and ORACLE_GPU_STUB_NAMES should cover every
intrinsic in INTRINSICS and PORTABLE_INTRINSICS, so a test can assert
that each intrinsic a shader can emit for WGSL or GLSL also has a CPU implementation
or a documented placeholder.
See also
Source
src/core/cpu-runtime.ts, line 1075, at commit 26de7be8