fp64arithmetic
The fp64arithmetic shader module provides the low-level double-single
arithmetic used by fp64.
Use it directly when you only need the arithmetic primitives and want to avoid
including the full fp64 function library.
Uniforms
{
ONE: 'f32',
SPLIT: 'f32'
}
These uniforms are supplied automatically by the module's defaultUniforms.
Usage
import {fp64arithmetic} from '@luma.gl/shadertools';
const modules = [fp64arithmetic];
Remarks
fp64depends onfp64arithmetic, so applications that importfp64do not usually need to add this module separately.- The helper uniforms are part of the module's implementation and should not normally need to be overridden by applications.