refactor(hatch): unify capability backends

Keep storage and texture transports behind one renderer lifecycle so Pipeline no longer branches by backend.
This commit is contained in:
Hakan Seven 2026-07-29 13:40:46 +03:00
commit d80637cda7
7 changed files with 385 additions and 322 deletions

View file

@ -1,6 +1,6 @@
// Wipeout GPU buffers — the legacy per-primitive fill renderer, now used ONLY
// for wipeout masks (solid fills drawn after wires to hide them). Real hatch
// fills go through the canonical `hatch_gpu.rs` batched renderer.
// fills go through the capability-selected `hatch_gpu` renderer.
//
// It retains a general pattern/gradient capability (mode 0/2 below) and the
// `MAX_FAMILIES = 16` cap, but wipeouts are always solid (mode 1, zero pattern