DeterminismAccuracy
On this page

DeterminismAccuracy

Type in Tooling

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'

The signature, the description and the examples come from the compiler's own source at commit 26de7be8.

Syntax

type DeterminismAccuracy =
| { readonly kind: 'exact' }
| {
readonly kind: Exclude<DeterminismKind, 'emulated' | 'order'>;
readonly bound: string;
readonly note?: string;
};

See also

Source

src/core/passes/determinism.ts, line 77, at commit 26de7be8

Edit this page Report a problem