One game's open world, Windows, RTX 4090, gpu_split=2, fps unlocked, one build:
draw_prep | Renderer thread a present | fps |
|---|---|---|
| 0 | 10.6 ms | 80 to 85 |
| 1 | 12.3 ms | 74 |
With draw_prep=1, 84% of the draws took the result made ahead (3.09 million of 3.67 million in 600 presents),
about 5,000 were stale and about 7,900 failed. So the results are valid, and the loss is the cost of the form itself:
a hand-off and a wait on each draw, and the memos that move between two cores, against an overlap of only the binds
and the record. A first run also showed that the write epoch has a view on each thread (vk_ww_view), which the
preparation thread must take from the renderer thread: without it, the resolve missed every kept entry.
The setting stays off by default. A form that pays must overlap more of a draw than the binds, without a wait on each draw.
Made from docs/dev/parallel-draw-prep.md at 69237645142c. GPL-3.0-or-later.