Kelsidavis-WoWee/src
Kelsi caea24f6ea Fix animated M2 flicker: free bone descriptor sets on instance removal
The boneDescPool_ had MAX_BONE_SETS=2048 but sets were never freed when
instances were removed (only when clear() reset the whole pool on map load).
As tiles streamed in/out, each new animated instance consumed 2 pool slots
(one per frame index) permanently. After ~1024 animated instances created
total, vkAllocateDescriptorSets began failing silently and returning
VK_NULL_HANDLE. render() skips instances with null boneSet[frameIndex],
making them invisible — appearing as per-frame flicker as the culling pass
included them but the render pass excluded them.

Fix: destroyInstanceBones() now calls vkFreeDescriptorSets() for each
non-null boneSet before destroying the bone SSBO. The pool already had
VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT set for this purpose.
Also increased MAX_BONE_SETS from 2048 to 8192 for extra headroom.
2026-03-09 18:09:33 -07:00
..
audio Implement MusicManager fade-out in stopMusic() — was a stub 2026-03-09 16:30:42 -07:00
auth Reduce release log spam and harden release logging defaults 2026-02-25 09:46:27 -08:00
core Upgrade SMSG_PLAY_OBJECT_SOUND/SPELL_IMPACT to 3D positional audio 2026-03-09 16:16:39 -07:00
game Fix SMSG_ENVIRONMENTAL_DAMAGE_LOG to use uint64 GUID (not packed) 2026-03-09 17:22:07 -07:00
network Make this compatible to build with MSVS 2022 2026-02-23 16:30:49 +01:00
pipeline Auto-detect WoW locale from data directory; override with WOWEE_LOCALE env 2026-03-09 15:36:26 -07:00
rendering Fix animated M2 flicker: free bone descriptor sets on instance removal 2026-03-09 18:09:33 -07:00
ui Fix NPC orientation (server yaw convention) and nameplate Y projection 2026-03-09 17:59:55 -07:00
main.cpp Fix Windows ERROR macro collision in logger 2026-02-25 11:14:53 -08:00