vk_sync_fork

Function get_memory_barrier

Source
pub fn get_memory_barrier(
    barrier: &GlobalBarrier<'_>,
) -> (PipelineStageFlags, PipelineStageFlags, MemoryBarrier)
Expand description

Mapping function that translates a global barrier into a set of source and destination pipeline stages, and a memory barrier, that can be used with Vulkan synchronization methods.