pub fn atomic_add<T>(_ptr: &T, _val: T) -> T
Atomic add. Maps to atomicAdd(&var, value) in WGSL.
atomicAdd(&var, value)