Function spirv_std::arch::atomic_load
source · pub unsafe fn atomic_load<N: Number, const SCOPE: u32, const SEMANTICS: u32>(
ptr: &N
) -> N
Expand description
Atomically load through ptr
using the given SEMANTICS
. All subparts of
the value that is loaded are read atomically with respect to all other
atomic accesses to it within SCOPE
.