spirv_std::arch

Function subgroup_memory_barrier_buffer

Source
pub unsafe fn subgroup_memory_barrier_buffer()
Expand description

Only usable if the extension GL_KHR_shader_subgroup_basic is enabled.

The function subgroupMemoryBarrierBuffer() enforces the ordering of all memory transactions to buffer variables issued within a single shader invocation, as viewed by other invocations in the same subgroup.

Requires Capability GroupNonUniform.