The short version
Nearly all of it runs as compute shaders. Physics and rendering sit in the same dispatch graph, the interface is drawn by the same pipeline as everything else, and the final image is copied straight to the swapchain.
Each pass’s reads and writes are taken from its compiled SPIR-V, so a barrier only goes in where two passes actually touch the same memory. Scratch buffers are shared between passes whose lifetimes don’t overlap.
We tune it by eye. When a published method costs more than the difference it makes on screen, we look for something cheaper that looks the same.

