Record structured reservoir history

This commit is contained in:
Meta Vens 2026-05-28 21:08:31 +01:00
commit f12f613dc3
3 changed files with 7 additions and 1 deletions

View file

@ -331,6 +331,8 @@ a named invariant that the native runtime cannot protect yet.
spatiotemporal reconstruction. The shared field candidate inlet now keeps four
fixed candidate slots per pixel, so TubeField and later producers compete
through the same resolver-owned budget instead of naming a private winner.
Reservoir presentation history is now a ping-ponged structured buffer with
the same four rows per pixel, not a set of pixel-history MRTs.
TubeField render now binds the engine
blue-noise texture and jitters its tube-local SDF sample inside the proxy
fragment shader, then lets the scene depth buffer resolve opaque generated

View file

@ -219,3 +219,5 @@
{"ts": "2026-05-28T19:54:37+01:00", "type": "decision", "status": "ok", "note": "Recorded the Fensalir reservoir/TAA divergence: pure ReSTIR usually reuses lighting/path samples after primary visibility is known, while Fensalir often samples visible field candidates directly. Claim producers own local visibility candidate generation; the shared reservoir owns temporally reused field presentation; TAA remains only a pixel filter/denoiser, not the owner of field identity."}
{"ts": "2026-05-28T19:59:14+01:00", "type": "correction", "status": "ok", "note": "Promoted the reservoir/TAA decision: target architecture has no separate TAA organ. Claim producers generate local visibility candidates; the shared spatiotemporal reservoir plus reservoir resolve own temporal antialiasing, history validation, reconstruction, and temporally reused field presentation. Downstream pixel-history filtering cannot repair missing field identity."}
{"ts": "2026-05-28T20:28:02+01:00", "type": "implementation", "status": "ok", "note": "Fensalir field candidate inlet widened from hardcoded two-slot handling to a fixed four-slot resolver-owned budget per pixel. TubeField injection now replaces the worst shared candidate slot, reservoir resolve loops over all shared slots, and TubeField ReSTIR writes into the same generic inlet rather than selecting a private winner."}
{"ts": "2026-05-28T21:01:32+01:00", "type": "implementation", "status": "ok", "note": "Fensalir reservoir presentation history moved from single-sample pixel-history MRTs to ping-ponged structured reservoir-history buffers with four rows per pixel. Presentation resolve now reads current shared candidates plus previous structured history rows, validates by field id/travel/normal/coverage/reservoir guide, writes structured history rows, and outputs only final color to the backbuffer."}
{"ts": "2026-05-28T21:08:06+01:00", "type": "verification", "status": "ok", "note": "Structured reservoir history verified after root-signature cleanup: Fensalir and Mimir builds passed, --mimir-spectrum-upload-smoke passed, and headless D3D12 capture succeeded at artifacts/runtime/structured-reservoir-history-clean-root-smoke.png with renderTargets=25, confirming the old history MRTs are no longer allocated."}

View file

@ -465,7 +465,9 @@ accepted_design:
guide targets consumed by reservoir resolve for spatiotemporal
reconstruction. The shared field candidate inlet now keeps four fixed slots
per pixel, so producer-specific paths compete inside a resolver-owned budget
instead of choosing private winners. TubeField render now binds the engine blue-noise texture,
instead of choosing private winners. Reservoir presentation history is now a
ping-ponged structured buffer with the same four rows per pixel, not
pixel-history MRTs. TubeField render now binds the engine blue-noise texture,
jitters its tube-local SDF sample inside the proxy fragment shader, and
uses scene depth so opaque generated field geometry resolves by nearest
surface rather than draw order. The current visual still exposes generated