Files
gromandClaude b1d374578a world: a WMO batch the retained pass draws no longer builds a mesh
The forms cache built one static Mesh per WMO submesh, uploaded for
as long as the model lived. The retained pass bakes a diverted batch
from the CPU geometry and never reads that mesh: in Stormwind 6357
group meshes (70 MiB of vertex and index buffers) were built and
uploaded, and 6267 of them (69 MiB) were never drawn. Great Forge
51 of 54 MiB, Westfall coast 62 of 67.

The world WMO lane now asks for WANT_SLOTS: a reserved handle and the
bound per submesh, no mesh. The bound comes off `submesh_positions`,
the same iterator the mesh builder lays its positions out with, so it
is the bound the mesh would report. A batch the pass refuses spawns
as an entity as before, and the lane fills its slot the same frame,
under the handle every instance shares. A lane that draws every batch
(a WMO gameobject, `WOW_STATIC_GX=0`, `WOW_STATIC_GX_WMO=0`) still
asks for WANT_STATIC, and a full request on a slotted entry fills the
bare slots in place, paced.

Measured, parked Stormwind, his config:
- meshes the furnisher built 8517 -> 2177; Mesh assets added during
  the load 15319 -> 9007; frames to load 140 -> 103.
- stills at Westfall, Stormwind and the Great Forge are byte-identical
  to the baseline, Booty Bay max 2 (its noise floor), night Goldshire
  in a known state of its bistable speckle.
- Ironforge -> Westfall -> Stormwind, which evicts and reloads the
  city, arrives byte-identical to the baseline arrival, twice.
- both env fallbacks draw the whole city; they differ from other
  builds by isolated pixels, as two builds of the same source do.

The VRAM counter cannot resolve it: its run-to-run spread parked in
Stormwind is 4190-4560 MiB on either build.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SgstFWtn1RxEJ5kVrpgYwn
2026-11-10 17:35:14 -07:00
..