Files
metal2vulkan/crates
Anees Iqbal 45914edb81 RUNTIME_VERSION 2224: count the bytes of indirect command buffers' records the GPU copies and resets
The commit before this one adds WorkCounts::indirect_record_bytes_gpu_copied and
indirect_record_bytes_gpu_reset: a blit's copyIndirectCommandBuffer and resetCommandsInBuffer
count their records' bytes (COMMAND_BYTES, 2248 a command) as each is encoded. On the RTX 2080 a
copy of 8162 records (18.3 MB) took 16.25 ms of GPU time against 0.66 ms for executing them (the
commit body's table), so a guest walk's counts decide whether sizing records by their descriptor
pays. Counting is runtime behaviour (RUNTIME).

Verified by ratemap's runs on msi (25624, before the rebase onto 65ad8ba049): clippy clean
workspace-wide and on the runtime under --cfg m2v_gpu; the new device test (a copy of 3 commands,
an empty copy and a reset of 2: 3 and 2 records' bytes) and the ICB setters test pass on
lavapipe; signatures --check passes.
2026-11-13 08:27:17 -08:00
..