ORACLE_BUILTIN_NAMES
이 페이지에서

ORACLE_BUILTIN_NAMES

상수, CPU 오라클 분류

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'

시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.

구문

const ORACLE_BUILTIN_NAMES: ReadonlySet<string>

설명

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.

함께 보기

소스

src/core/cpu-runtime.ts, 1075행, 커밋 c66579bf 기준

이 페이지 편집 문제 보고