From 0a2ca781366f0b8ecb232edb0d08242966f4987d Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Tue, 26 May 2026 21:08:53 +0100 Subject: [PATCH] Record Fensalir volume texture resolver --- docs/implementation-plan.md | 5 ++++- state/evidence.jsonl | 1 + state/map.yaml | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/implementation-plan.md b/docs/implementation-plan.md index f71d875..539e05e 100644 --- a/docs/implementation-plan.md +++ b/docs/implementation-plan.md @@ -175,7 +175,10 @@ a named invariant that the native runtime cannot protect yet. indirect draw argument packets. Surface-page resources can now be declared and resolved as GPU-resident shader-readable 2D pages; render lowerings that consume those pages as height/SDF/material domains remain future engine cuts. - Mesh and volume resource kinds remain unresolved. + VolumeTexture resources can now be declared and resolved as GPU-resident + shader-readable 3D textures for future density/extinction/SDF3D lowerings. + Mesh remains unresolved because it needs an explicit vertex/index ownership + contract rather than one scalar texture shape. - `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/state/evidence.jsonl b/state/evidence.jsonl index 48f61a8..84339c9 100644 --- a/state/evidence.jsonl +++ b/state/evidence.jsonl @@ -147,3 +147,4 @@ {"ts": "2026-05-26T20:40:00+01:00", "type": "implementation", "status": "ok", "note": "Fensalir now exposes Texture2D local asset resources for engine users. The field DSL accepts `texture2d id=... key=... path=...`, TubeField `ramp=...` resolves aliases to resource keys, D3D12 lazily uploads local Rgba8 assets and binds the ramp SRV with linear clamp sampling, and unresolved ramps use a Fensalir-owned 0-1 fallback texture. Mimir's DSL smoke now proves two resources, one TubeField lowering, automatic ramp handle binding, and one planned TubeField packet. Headless Fensalir reload, Aquarium.Engine.Tests, Mimir build, and both field smokes passed."} {"ts": "2026-05-26T20:59:00+01:00", "type": "implementation", "status": "ok", "note": "Fensalir TubeField compute now emits GPU-resident D3D12 indirect draw argument packets. Render still binds one batch at a time because source/ramp material root bindings differ, but draw count/start index authority now comes from the compute-emitted packet and render uses ExecuteIndirect. Fensalir build/tests/headless reload, Mimir build, and both field smokes passed. Remaining renderer migration cuts are mesh, surface-page, and volume resource resolvers."} {"ts": "2026-05-26T21:05:00+01:00", "type": "implementation", "status": "ok", "note": "Fensalir now resolves SurfacePage field resources. Contracts and DSL can declare GPU-resident 2D surface pages with dimensions, format, version, and optional local source; D3D12FieldResourceRegistry allocates empty shader-readable page textures or lazily loads local source-backed pages. This creates resource authority for future Height/SDF/material lowerings, but does not yet make a surface-page render lowering. Fensalir build/tests/headless reload, Mimir build, and both field smokes passed."} +{"ts": "2026-05-26T21:11:00+01:00", "type": "implementation", "status": "ok", "note": "Fensalir now resolves VolumeTexture field resources. Contracts and DSL can declare GPU-resident 3D textures with width/height/depth/format/version, and D3D12FieldResourceRegistry allocates shader-readable Texture3D resources for future density/extinction/SDF3D lowerings. This is resource authority only, not a volume render lowering. Fensalir build/tests/headless reload, Mimir build, and both field smokes passed. Mesh remains the resolver that needs a real vertex/index ownership contract."} diff --git a/state/map.yaml b/state/map.yaml index eb7d987..74dffdd 100644 --- a/state/map.yaml +++ b/state/map.yaml @@ -328,6 +328,8 @@ accepted_design: resolver: engine users can declare GPU-resident 2D pages with dimensions, format, version, and optional local source, and Fensalir allocates/binds them as shader-readable page textures for future Height/SDF/material + lowerings. VolumeTexture resources can now be declared and resolved as + GPU-resident shader-readable 3D textures for future density/extinction/SDF3D lowerings. - `config/perfect-machine.example.json` declares live owners, sensors, reservoir views, and runtime policy.