Record GPU-resident Fensalir buffer invariant

This commit is contained in:
Meta Vens 2026-05-26 18:51:47 +01:00
commit 0a72126bbb
5 changed files with 44 additions and 26 deletions

View file

@ -322,18 +322,22 @@ residency, shader access, format, shape, valid time range, version, and native
handle metadata. Field claims and lowering requests reference those
`mimir:resource:*` keys. The handle string is only a name; Fensalir validation,
planning, and renderer-owned resource slots own typed resource resolution before
shader lowering. Mimir-declared buffers are Fensalir buffers in the same
runtime; native/shared handle metadata is an import edge, not a separate
authority regime.
shader lowering. Mimir-declared rendering buffers are Fensalir GPU resources in
the same runtime; native/shared handle metadata is an import edge, not a
separate authority regime. Rendering-relevant buffers move to GPU residency as
early as possible and stay there; CPU readback/tessellation is diagnostic only.
The current smokes prove planning, not visible packet rendering:
`--fensalir-field-evidence-smoke` now produces one planned resource-backed
`TubeField` packet from Mimir's spectrum intent, and
`--fensalir-field-dsl-resource-smoke` proves the Fensalir DSL can bind the same
kind of declared resource directly. Fensalir now has the first D3D12 resolver
cut for structured/curve buffers: it allocates, reuses, and retires
engine-owned GPU slots under the declared resource key. The next blocker is
shader-side packet binding for those resolved TubeField resources, plus later
texture/mesh/page/volume resolvers.
cut for structured/curve buffers: it imports shared GPU buffers by handle and
allocates engine-owned GPU slots only for Fensalir-produced resources. The DSL
can describe a 2D rolling float buffer as Catmull-Rom XY tubes with modulo
column addressing, amplitude power/normalization, radius, ramp texture path, and
emission scale. The next blocker is shader-side packet binding/expansion for
those GPU-resident TubeField resources, plus later texture/mesh/page/volume
resolvers.
The current teardown/migration map is
`docs/fensalir-rendering-rebuild-migration.md`, paired with Fensalir's