Skip to main content

Module sync

Module sync 

Source
Expand description

Compute-to-render synchronization: fences, memory barriers, async compute queue, frame timeline, CPU fallback, resource state machine.

Structs§

AsyncComputeQueue
Queue that manages overlapping compute and render work.
ComputeCapabilities
Detected GPU compute capabilities.
CpuFallback
CPU fallback that implements the same interface as GPU compute for hardware without compute shader support.
FenceSync
A GPU fence for synchronizing compute and render work.
FrameTimeline
Per-frame resource versioning for safe concurrent GPU/CPU access.
MemoryBarrierFlags
Flags for glMemoryBarrier, wrapped for type safety.
PipelineBarrier
A pipeline barrier specifying which stages must complete before which can start.
ResourceTransition
Tracks and validates resource state transitions, issuing barriers as needed.

Enums§

FenceStatus
Status of a GPU fence.
ResourceState
Possible states a GPU resource can be in.