Lower live Leap packed stereo to depth socket

This commit is contained in:
Meta Vens 2026-05-30 21:54:58 +01:00
commit 2c197cb3ae
9 changed files with 247 additions and 36 deletions

View file

@ -61,16 +61,20 @@ invariants:
`MimirStereoDepthConfigurations` names the libSGM-provenance D3D12 SGM
profile, and `MimirFensalirFieldLowering.BuildStereoDepthCandidateFrame`
references caller-declared shader-readable left/right Texture2D resources,
then lowers synthetic rectified stereo depth into a compute-writable R16F
disparity SurfacePage, R8 confidence Texture2D, a Height FieldEvidence claim, and an
then lowers rectified stereo depth into a compute-writable R16F disparity
SurfacePage, R8 confidence Texture2D, a Height FieldEvidence claim, and an
`AquariumFieldStereoDepthLowering` sidecar tying profile, calibration,
camera pair, inputs, disparity output, SGM constants, and depth range
together. The current libSGM-provenance D3D12 SGM profile publishes min
disparity 0, 128 disparities, four aggregation paths, census radius 2, P1
8, and P2 96. The actual
SGM HLSL/D3D12 kernel is still future work. Fensalir now reports
stereo-depth dispatch readiness only after the planned claim and all input/
output resources resolve, without writing placeholder depth.
together. `BuildLeapPackedStereoDepthCandidateFrame` is the live Leap cut:
it recognizes a live `LeapStereoIr` rolling video window, reuses the
declared packed R8G8 texture as both left and right resource identity,
names the left/right observations as packed R/G lanes, and emits the same
depth lowering from the runtime frame. The current libSGM-provenance D3D12
SGM profile publishes min disparity 0, 128 disparities, four aggregation
paths, census radius 2, P1 8, and P2 96. Fensalir now has a first
packed-Leap D3D12 SAD/block-match kernel that writes R16F disparity through
the typed SurfacePage socket; full SGM and calibrated metric depth remain
future work.
- Fensalir packet payload handles are not authority. Live payload references
must resolve through declared typed GPU/native resources with shape,
residency, shader access, validity, version, and handle metadata before