diff --git a/docs/fensalir-rendering-rebuild-migration.md b/docs/fensalir-rendering-rebuild-migration.md index c7248f3..ebb41ab 100644 --- a/docs/fensalir-rendering-rebuild-migration.md +++ b/docs/fensalir-rendering-rebuild-migration.md @@ -220,8 +220,9 @@ layout, while generated meshes can be `PipelinePrivate` and leave byte semantics to their selected lowering. TubeField now uses that generated-mesh lane explicitly: compute emits private geometry/indirect buffers and render binds them as a pipeline-private generated mesh before applying TubeField -material state. That is engine ownership, not a reason for Mimir to create a -parallel renderer. +material state. The generated-mesh DrawIndexed indirect command signature is +shared ABI; TubeField only owns the argument buffer it emits. That is engine +ownership, not a reason for Mimir to create a parallel renderer. ### 3. Calibration Constraint diff --git a/docs/implementation-plan.md b/docs/implementation-plan.md index 8eea64b..c98a13a 100644 --- a/docs/implementation-plan.md +++ b/docs/implementation-plan.md @@ -191,7 +191,10 @@ a named invariant that the native runtime cannot protect yet. bytes it emits and consumes. TubeField is the first explicit generated-mesh render consumer: its compute path emits private vertex/index/indirect buffers, and render binds them as a `D3D12PipelinePrivateGeneratedMesh` before applying - TubeField source/ramp/material state. + TubeField source/ramp/material state. The DrawIndexed indirect command + signature is now generated-mesh-owned rather than TubeField-owned, so future + generated lowerings can reuse the same draw ABI with their own producer + buffers and material bindings. - `MimirRuntime` queues bioacoustic timeline PCM through Fensalir audio when the active timing witness is allowed. `MimirAudioSynchronizationSettings.Mode` selects `chirp-only`, `passive`, or `hybrid`; passive disables active diff --git a/notes/current-system-map.md b/notes/current-system-map.md index 6650a6f..bbe6cea 100644 --- a/notes/current-system-map.md +++ b/notes/current-system-map.md @@ -348,7 +348,8 @@ generated meshes can be `PipelinePrivate` so each lowering owns the bytes it emits and consumes. TubeField is the first concrete generated-mesh consumer: its compute pass emits private vertex/index/indirect buffers and render binds them as `D3D12PipelinePrivateGeneratedMesh` before applying source/ramp/material -state. +state. The DrawIndexed indirect command signature has been lifted to the +generated-mesh lane instead of being TubeField-owned. The current teardown/migration map is `docs/fensalir-rendering-rebuild-migration.md`, paired with Fensalir's diff --git a/state/evidence.jsonl b/state/evidence.jsonl index 06298dd..632694c 100644 --- a/state/evidence.jsonl +++ b/state/evidence.jsonl @@ -152,3 +152,4 @@ {"ts": "2026-05-26T21:42:00+01:00", "type": "implementation", "status": "blocked", "note": "Fensalir's evidence DSL can now plan generic resource-backed claims with `claim id=... resource=... encoding=... layer=...`, so Mesh, SurfacePage, and VolumeTexture resources reach backend packet planning. The remaining renderer cut is blocked on selected render-lowering contracts: Mesh drawing needs explicit vertex attribute/material semantics because count/stride/index format only describe buffer shape, not how bytes become position, normal, uv, color, transform, or material."} {"ts": "2026-05-26T21:58:00+01:00", "type": "decision", "status": "ok", "note": "Clarified Fensalir Mesh layout authority: imported/user-facing FBX/OBJ-style meshes use the standard PositionNormalUvColor vertex layout, while generated meshes declare PipelinePrivate and let their selected lowering own the exact minimal byte layout. The generic mesh ABI is no longer the blocker; next renderer work should choose the first selected mesh/page/volume lowering and material path."} {"ts": "2026-05-26T22:49:00+01:00", "type": "implementation", "status": "ok", "note": "Fensalir TubeField now renders through the first explicit pipeline-private generated mesh lane. Compute owns the private D3D12TubeFieldVertex/index/indirect argument layout; render binds those buffers as a D3D12PipelinePrivateGeneratedMesh before applying TubeField source/ramp/material root bindings and ExecuteIndirect. This follows the generated-mesh option without adding a public imported mesh renderer."} +{"ts": "2026-05-26T22:52:00+01:00", "type": "implementation", "status": "ok", "note": "Fensalir lifted the DrawIndexed indirect command signature from TubeField to the generated-mesh lane. TubeField still emits its own indirect argument buffer, but future pipeline-private generated mesh lowerings can share the same five-uint D3D12 DrawIndexedArguments ABI with their own producer buffers/material bindings."} diff --git a/state/map.yaml b/state/map.yaml index 001d1cf..cff7b14 100644 --- a/state/map.yaml +++ b/state/map.yaml @@ -342,6 +342,8 @@ accepted_design: TubeField now renders through the first explicit pipeline-private generated mesh binding: compute owns the private vertex/index/indirect layout, and render binds that generated mesh before applying TubeField material state. + The generated-mesh DrawIndexed indirect command signature is shared ABI now; + TubeField only owns the argument buffer it emits. - `config/perfect-machine.example.json` declares live owners, sensors, reservoir views, and runtime policy. - `src/Mimir.Runtime/Synchronization` now includes the Perfect Machine module