spirv_std::arch

Function subgroup_memory_barrier_image

Source
pub unsafe fn subgroup_memory_barrier_image()
Expand description

Only usable if the extension GL_KHR_shader_subgroup_basic is enabled.

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

Requires Capability GroupNonUniform.