Function spirv_std::arch::subgroup_memory_barrier_shared
source · pub unsafe fn subgroup_memory_barrier_shared()
Expand description
Only usable if the extension GL_KHR_shader_subgroup_basic is enabled.
The function subgroupMemoryBarrierShared() enforces the ordering of all memory transactions to shared variables issued within a single shader invocation, as viewed by other invocations in the same subgroup.
Only available in compute shaders.
Requires Capability GroupNonUniform
.