Kelsidavis-WoWee/src/rendering
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
..
amd_fsr3_framegen_probe.cpp Make FSR3 SDK integration Kits-only and align CI/docs 2026-03-09 05:00:51 -07:00
amd_fsr3_runtime.cpp Add FSR3 Generic API path and harden runtime diagnostics 2026-03-09 12:51:59 -07:00
camera.cpp Implement FSR 2.2 temporal upscaling 2026-03-07 23:13:01 -08:00
camera_controller.cpp Parallel animation updates, thread-safe collision, M2 pop-in fix, shadow stabilization 2026-03-07 22:29:06 -08:00
celestial.cpp Fix visible square behind sun by switching celestial to additive blending 2026-02-23 07:40:51 -08:00
character_preview.cpp Fix character preview facing and add 4x MSAA to preview render target 2026-02-23 10:48:26 -08:00
character_renderer.cpp Fix WMO wall collision, normal mapping, POM backfill, and M2/WMO rendering performance 2026-03-07 22:03:28 -08:00
charge_effect.cpp Add configurable MSAA anti-aliasing, update auth screen and terrain shader 2026-02-22 02:59:24 -08:00
clouds.cpp Enhanced sky atmosphere with DBC-driven colors, sun lighting, and zone weather 2026-02-22 23:20:13 -08:00
frustum.cpp Fix Windows frustum enum macro collision 2026-03-09 04:41:04 -07:00
lens_flare.cpp Enhanced sky atmosphere with DBC-driven colors, sun lighting, and zone weather 2026-02-22 23:20:13 -08:00
levelup_effect.cpp Add 3D level-up effect using LevelUp.m2 spell model 2026-02-19 20:36:25 -08:00
lighting_manager.cpp Add multi-expansion support with data-driven protocol layer 2026-02-12 22:56:36 -08:00
lightning.cpp Add configurable MSAA anti-aliasing, update auth screen and terrain shader 2026-02-22 02:59:24 -08:00
loading_screen.cpp Background normal map generation, queue-draining load screen warmup 2026-03-07 18:40:24 -08:00
m2_renderer.cpp Fix animated M2 flicker: free bone descriptor sets on instance removal 2026-03-09 18:09:33 -07:00
material.cpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
mesh.cpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
minimap.cpp Fix sun quad visibility, minimap opacity, audio scaling, and rename music toggle 2026-02-23 08:01:20 -08:00
mount_dust.cpp Add configurable MSAA anti-aliasing, update auth screen and terrain shader 2026-02-22 02:59:24 -08:00
performance_hud.cpp Add FSR3 Generic API path and harden runtime diagnostics 2026-03-09 12:51:59 -07:00
quest_marker_renderer.cpp Optimize city performance and harden WMO grounding 2026-02-25 10:22:05 -08:00
renderer.cpp Wire ambient sound zone detection: setZoneType/setCityType was never called 2026-03-09 16:24:12 -07:00
scene.cpp Optimize release builds: LTO, -O3, visibility, micro-perf fixes 2026-02-18 20:10:47 -08:00
shader.cpp Performance optimizations and collision improvements 2026-02-02 23:03:45 -08:00
sky_system.cpp Enhanced sky atmosphere with DBC-driven colors, sun lighting, and zone weather 2026-02-22 23:20:13 -08:00
skybox.cpp Enhanced sky atmosphere with DBC-driven colors, sun lighting, and zone weather 2026-02-22 23:20:13 -08:00
starfield.cpp Add configurable MSAA anti-aliasing, update auth screen and terrain shader 2026-02-22 02:59:24 -08:00
swim_effects.cpp Fix GPU resource leaks and re-entrant world loading for instance transitions 2026-03-02 08:06:35 -08:00
terrain_manager.cpp Revert "Further reduce tile streaming aggressiveness" 2026-03-07 23:02:25 -08:00
terrain_renderer.cpp Batch GPU uploads to eliminate per-upload fence waits (stutter fix) 2026-03-07 12:19:59 -08:00
video_player.cpp Play looping MP4 behind auth screen 2026-02-05 15:34:29 -08:00
vk_buffer.cpp Vulcan Nightmare 2026-02-21 22:04:17 -08:00
vk_context.cpp Fix WMO wall collision, normal mapping, POM backfill, and M2/WMO rendering performance 2026-03-07 22:03:28 -08:00
vk_pipeline.cpp Add player water ripples and separate 1x water pass for MSAA compatibility 2026-02-22 22:34:48 -08:00
vk_render_target.cpp Fix all remaining build warnings and eliminate UB in binary parsers 2026-02-23 19:58:38 -08:00
vk_shader.cpp Vulcan Nightmare 2026-02-21 22:04:17 -08:00
vk_texture.cpp Batch GPU uploads to eliminate per-upload fence waits (stutter fix) 2026-03-07 12:19:59 -08:00
vk_utils.cpp Batch GPU uploads to eliminate per-upload fence waits (stutter fix) 2026-03-07 12:19:59 -08:00
water_renderer.cpp Remove unused baseZ/hasHeights variables in WaterRenderer::loadFromWMO 2026-03-09 16:09:44 -07:00
weather.cpp Enhanced sky atmosphere with DBC-driven colors, sun lighting, and zone weather 2026-02-22 23:20:13 -08:00
wmo_renderer.cpp Parallel animation updates, thread-safe collision, M2 pop-in fix, shadow stabilization 2026-03-07 22:29:06 -08:00
world_map.cpp Fix map exploration by checking subzone bits instead of only the parent zone bit 2026-02-26 11:01:52 -08:00