diff --git a/crates/metal2vulkan-runtime/README.md b/crates/metal2vulkan-runtime/README.md index d85504143..306904f8c 100644 --- a/crates/metal2vulkan-runtime/README.md +++ b/crates/metal2vulkan-runtime/README.md @@ -3941,17 +3941,22 @@ vertex and fragment buffers (`inheritBuffers` false), at most 31 of each stage. count 0 (wholly past its range's last command) costs about 10 us. There the frame's 11 executions take 17 parts at the bound, 6 of them with count 0, and took 1,106.9 us against 1,041.7 at one part an execution, and 978.9 against 925.0 with no split (job 64194, below). -- On NVIDIA's driver, `vkCmdExecuteGeneratedCommandsEXT` costs GPU time beyond the draws it runs. - On an RTX 3090 (620.70.06), the frame above (11 executions over ranges a buffer holds, buffers - of 8,162, 785 and 289 commands, 2,132 commands in range) took 925.0 us of GPU time at one part - an execution with each part's count written as the command buffer records and no split, - against 386.0 us for the same 2,132 draws direct: 539.0 us more, inside the executes. In the - runtime's form the frame took 1,106.9 us; of its 720.9 us over direct, the driver's executes - take 539.0, the 11 splits about 117 to 128 and the 6 parts with count 0 about 54 to 65. With - each part preprocessed apart from its execute (`vkCmdPreprocessGeneratedCommandsEXT`), the - preprocesses took 263.9 us and the executes 592.9. Job 64194: the arms alternating over 9 - rounds, every turn at P0 with the SM at 1,950 MHz and the memory at 9,751 MHz, medians of 9 - turns of at least 300 ms each. +- On NVIDIA's driver, `vkCmdExecuteGeneratedCommandsEXT` costs GPU time beyond the draws it runs, + measured on one card, an RTX 3090 (620.70.06): the frame above (11 executions over ranges a + buffer holds, buffers of 8,162, 785 and 289 commands, 2,132 commands in range) took 925.0 us + of GPU time at one part an execution with each part's count written as the command buffer + records and no split, against 386.0 us for the same 2,132 draws direct: 539.0 us more, inside + the executes. In the runtime's form the frame took 1,106.9 us; of its 720.9 us over direct, the + driver's executes take 539.0, the 11 splits about 117 to 128 and the 6 parts with count 0 + about 54 to 65. With each part preprocessed apart from its execute + (`vkCmdPreprocessGeneratedCommandsEXT`), the preprocesses took 263.9 us and the executes + 592.9. Job 64194: the arms alternating over 9 rounds, every turn at P0 with the SM at 1,950 + MHz and the memory at 9,751 MHz, medians of 9 turns of at least 300 ms each. The frame's draws + are the harness's own (each a strip of 226 quads), so these microseconds are the harness + frame's, not a guest frame's. The driver's execute cost is measured on NVIDIA's driver alone: + on a Radeon RX 7900 XTX (RADV) a guest's frame of this shape at a held camera pose took 4.305 + ms of GPU time with its executions against 4.372 ms with the same draws direct, the executions + 1.5% under. - A command's buffer slots reach its functions through the push bytes alone, so each slot a command binds needs its word in the state's 256 push bytes, which the vertex and fragment functions and all their other fields share. The translator places the vertex function's fields