DeterminismAccuracy
타입, 도구 분류
What accuracyOf says about one operation: exact when WGSL gives it one answer and both targets agree, otherwise the kind of room left and its bound in words, with a note where the GLSL ES 3.00 spelling matters.
import type { DeterminismAccuracy } from 'typeshade'
시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.
구문
type DeterminismAccuracy = | { readonly kind: 'exact' } | { readonly kind: Exclude<DeterminismKind, 'emulated' | 'order'>; readonly bound: string; readonly note?: string; };함께 보기
소스
src/core/passes/determinism.ts, 77행, 커밋 c66579bf 기준