diff --git a/state/evidence.jsonl b/state/evidence.jsonl index f8c939c..0d7ee10 100644 --- a/state/evidence.jsonl +++ b/state/evidence.jsonl @@ -261,3 +261,4 @@ {"lesson":"The direct Mimir MF camera texture path is viable at the Fensalir resolver layer. A D3D11 BGRA Texture2D created with SharedNTHandle|SharedKeyedMutex can produce an IDXGIResource1 NT shared handle, and D3D12FieldResourceRegistry resolves that handle as a shader-readable Texture2D through the existing SharedGpu declaration path. This proves handle import; live camera correctness still needs explicit synchronization/lifetime handling around the producer's keyed mutex or a chosen fence handoff. Fensalir build and Aquarium.Engine.Tests passed.","timestamp":"2026-05-27T17:09:04+01:00","files":["tests/Aquarium.Engine.Tests/D3D12SharedTextureInteropTests.cs","state/map.yaml"],"source":"Mimir MF GPU direct shared texture proof","topic":"d3d11-d3d12-shared-texture-direct-import"} {"lesson":"Shared Texture2D declaration Version is frame/content freshness, not resource identity. D3D12FieldResourceRegistry now reuses an already opened shared Texture2D when the handle, handle kind, dimensions, and DXGI format are unchanged, updating the stored version instead of disposing and reopening the same live camera texture every frame. Aquarium.Engine.Tests now proves second-version D3D11 NT shared BGRA imports reuse the same resolved texture object. Fensalir build and Aquarium.Engine.Tests passed.","timestamp":"2026-05-27T17:12:42+01:00","files":["src/Aquarium.Engine/Render/D3D12FieldResourceRegistry.cs","tests/Aquarium.Engine.Tests/D3D12SharedTextureInteropTests.cs","state/map.yaml"],"source":"direct MF GPU texture import freshness follow-up","topic":"shared-texture2d-version-is-freshness"} {"lesson":"Imported field resources can now carry external producer fence synchronization. AquariumFieldResourceDeclaration has optional ProducerFenceHandle/ProducerFenceValue metadata, and D3D12Renderer opens/waits those ID3D12Fence handles before resource resolution and shader sampling, alongside existing Fensalir-owned lease waits. This is the D3D11/D3D12 interop sync path used by Mimir's MF GPU producer. Fensalir build and Aquarium.Engine.Tests passed; Mimir MJPG/H264 MF GPU smokes passed with nonzero producer fence handles.","timestamp":"2026-05-27T17:19:41+01:00","files":["src/Aquarium.Engine.Contracts/Render/AquariumFieldEvidence.cs","src/Aquarium.Engine/Render/D3D12Renderer.cs","state/map.yaml"],"source":"direct MF GPU producer fence handoff","topic":"external-field-resource-producer-fences"} +{"lesson":"Synchronized camera Texture2D import is debug-view authority only for now. Fensalir can resolve and wait Mimir camera resources, but production visual-fusion or feature-extraction lowerings are explicitly deferred until renderer and audio work are fixed. Do not let resource import success silently choose a camera fusion policy.","timestamp":"2026-05-27T17:53:38+01:00","files":["state/map.yaml"],"source":"camera lowering scope decision","topic":"camera-texture-debug-only-scope"} diff --git a/state/map.yaml b/state/map.yaml index f45d568..e601972 100644 --- a/state/map.yaml +++ b/state/map.yaml @@ -113,8 +113,10 @@ next_actions: until a real planar copy path exists; GPU producers can still write NV12 leases directly. This makes imported handles an edge case, not the primary live camera authority. Missing or unresolved TubeField ramps bind a Fensalir-owned linear fallback ramp. - Camera texture claims can therefore resolve resources before a selected - visual-fusion lowering exists. TubeField compute now + Camera texture claims can therefore resolve resources, but their first + visual use stays debug-view-only for now; production visual-fusion and + feature-extraction lowerings are deferred until the renderer and audio work + are fixed. TubeField compute now emits one GPU-resident D3D12 DrawIndexed indirect argument packet per material/resource batch, and render binds the batch source/ramp state then executes the packet with ExecuteIndirect. The first material is opaque field