Files
metal2vulkan/crates/metal2vulkan-runtime/examples
Anees Iqbal 769410c51a pass_costs: fresh primaries per pass, untrimmed and trimmed, and --begins
Two shapes allocate each pass's primary and free it once its frame
completed: per-pass-fresh leaves the pool untrimmed (Mesa's common pool
recycles a freed command buffer), per-pass-fresh-trimmed trims it, so each
allocation makes a new command buffer with no command stream memory yet.
--begins times each vkBeginCommandBuffer and each instance's begin alone.
They test whether a fresh primary's command stream memory is the walk's
6.8 us vkCmdBeginRenderPass, which the reused primaries do not show.

Verified: cargo fmt; the build and the run are the next potluck job.
2026-11-13 07:42:58 -08:00
..