ScarletNX / ScarletNX documentation / Parallel draw preparation (design, not built) · ← previous · next →
Risks
- 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.
- 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.
- 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.
- The work is the largest of the GPU plan, with no prior art in Eden or Cemu.
← previous · next →