Expand description
64-bit integer workarounds for WGSL.
WGSL 1.0 does not support 64-bit integers or atomics. This module provides helper functions that emulate 64-bit operations using lo/hi u32 pairs.
Structs§
- U64Helpers
- Helper functions for 64-bit emulation in WGSL.
Functions§
- i64_
to_ vec2_ literal - Convert a Rust i64 value to WGSL vec2
literal. - u64_
to_ vec2_ literal - Convert a Rust u64 value to WGSL vec2
literal.