Risks

  1. The shared state (section above): every structure both stages touch needs a lock, an atomic, or one owner. Locks on the memos at each draw cost what the pipeline saves.
  2. Redos: where Stage 2 changes a stamp at most draws (the GPU-write generation moved between most otherwise equal draws in a probe), Stage 1's results go stale. The stamps may need to be finer (ranges, as in the fast path design) before the pipeline pays.
  3. Order: a record that is not a draw between two draws must stop Stage 1, or Stage 1 reads memory before a write of the front end lands.
  4. The work is the largest of the GPU plan, with no prior art in Eden or Cemu.

Made from docs/dev/parallel-draw-prep.md at 69237645142c. GPL-3.0-or-later.