Use saved prepare-time values instead of late pointer lookups, and fix locking in D3D12VobArena::Forget
- Skeletal: g_SkinDst is now g_SkinSubmeshes, one {Posed, ArenaSlot, MatIndex, Material} per sub-mesh, with a new FrameSkelDraw::skinCount. After the prepare, these no longer walk visual->SkeletalMeshes: cascade shadows, point-light shadows, the main-view command build and the RT BLAS build. The main view still reads texture animation live through the saved material.
- Attachments: FrameAttachDraw::arenaSlot replaces a.mesh->ArenaSlot. Triangle and RT vertex counts now come from the arena range, and the main view uses the saved alphaTested. mesh is kept only as the batching and BLAS cache key.
- D3D12VobArena:
- Forget can run on any thread and now only records the mesh. Flush removes it while holding the lock the whole time, so a mesh can't be freed while it's being re-uploaded.
- QueueVisual skips forgotten meshes, so a new mesh allocated at a freed address still gets queued.
- ForEachDynamic replaces DynamicMeshes() and holds the lock while it iterates.
- RefreshDynamicVobArena copies from the VB's GPU resource, which is released after a fence, instead of from its wrapper object.
Full Changelog: nightly-38932994331...nightly-38934766106