Kelsidavis-WoWee/src
Kelsi edd7e5e591 Fix shadow flashing: per-frame shadow depth images and framebuffers
Single shadow depth image shared across MAX_FRAMES=2 in-flight GPU frames
caused a race: frame N's main pass reads shadow map while frame N+1's
shadow pass clears and writes it, producing visible flashing standing
still and while moving.

Fix: give each in-flight frame its own VkImage, VmaAllocation, VkImageView,
and VkFramebuffer for the shadow depth attachment. renderShadowPass() now
indexes all shadow resources by getCurrentFrame(), and layout transitions
track per-frame state in shadowDepthLayout_[frame]. Cleanup loops over
MAX_FRAMES=2. Descriptor sets already written per-frame; updated shadow
image view binding to use the matching per-frame view.
2026-03-09 22:14:32 -07:00
..
audio audio: stop precast sound on spell completion, failure, or interrupt 2026-03-09 21:04:24 -07:00
auth Reduce release log spam and harden release logging defaults 2026-02-25 09:46:27 -08:00
core terrain: pre-load bind point tiles during Hearthstone cast 2026-03-09 21:57:42 -07:00
game tbc: fix quest log stride and CMSG_QUESTGIVER_QUERY_QUEST format 2026-03-09 22:04:18 -07:00
network Fix Windows socket WSAENOTCONN disconnect; add boss encounter frames 2026-03-09 20:05:09 -07:00
pipeline wmo: apply MOHD ambient color to interior group lighting 2026-03-09 21:27:01 -07:00
rendering Fix shadow flashing: per-frame shadow depth images and framebuffers 2026-03-09 22:14:32 -07:00
ui Fix main-thread hang from terrain finalization; two-pass M2 rendering; tile streaming improvements 2026-03-09 20:58:49 -07:00
main.cpp Fix Windows ERROR macro collision in logger 2026-02-25 11:14:53 -08:00