spirv_std::arch

Function workgroup_memory_barrier_with_group_sync

Source
pub unsafe fn workgroup_memory_barrier_with_group_sync()
Expand description

Blocks execution of all threads in a group until all group shared accesses have been completed and all threads in the group have reached this call.

This is an exact implementation of GroupMemoryBarrierWithGroupSync().

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