From f12f613dc3c982011af27143b718c47f8dd5b8c3 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Thu, 28 May 2026 21:08:31 +0100 Subject: [PATCH] Record structured reservoir history --- docs/implementation-plan.md | 2 ++ state/evidence.jsonl | 2 ++ state/map.yaml | 4 +++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/implementation-plan.md b/docs/implementation-plan.md index e40fe8a..71b7904 100644 --- a/docs/implementation-plan.md +++ b/docs/implementation-plan.md @@ -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 diff --git a/state/evidence.jsonl b/state/evidence.jsonl index 8285d0e..64987cc 100644 --- a/state/evidence.jsonl +++ b/state/evidence.jsonl @@ -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."} diff --git a/state/map.yaml b/state/map.yaml index af8b146..2ee5259 100644 --- a/state/map.yaml +++ b/state/map.yaml @@ -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