Skip to main content
← PSoXide SDK guides and examples · SDK f2fec1c301f1 · All Cargo features enabled; check feature gates before use.

submit_async_raw

Function submit_async_raw 

Source
pub unsafe fn submit_async_raw(_dma: &mut GpuDma, head: *const u32)
Expand description

Kick the chain at head and return while the GPU walks it.

A walk already running on the channel is waited out first (or aborted if it wedged), so the CPU can build the next frame while this one is drawn. Pair it with wait.

§Safety

head must point at a 4-byte-aligned node tag in main RAM. Every node reachable from it must have at most MAX_NODE_WORDS payload words and lie in main RAM, and must stay live and unmodified until wait returns (or a later kick, which waits for this walk first).