spirv_std::arch

Function workgroup_memory_barrier

Source
pub unsafe fn workgroup_memory_barrier()
Expand description

Blocks execution of all threads in a group until all group shared accesses have been completed.

This is an exact implementation of GroupMemoryBarrier().

From https://docs.microsoft.com/en-us/windows/win32/direct3dhlsl/groupmemorybarrier