Skip to content

cf_gpu_sync

Category: graphics
GitHub: cute_graphics.h


Submits the command buffer, waits for GPU completion via fence, then reacquires.

void cf_gpu_sync(void);

Remarks

Forces GPU/CPU serialization. A WebGPU web build linked without ASYNCIFY cannot wait, so there it only submits, like cf_gpu_submit.

cf_gpu_submit