Kelsidavis-WoWee/include
Kelsi a152023e5e fix: add VkSampler cache to prevent sampler exhaustion crash
Validation layers revealed 9965 VkSamplers allocated against a device
limit of 4000 — every VkTexture created its own sampler even when
configurations were identical. This exhausted NVIDIA's sampler pool
and caused intermittent SIGSEGV in vkCmdBeginRenderPass.

Add a thread-safe sampler cache in VkContext that deduplicates samplers
by FNV-1a hash of all 14 VkSamplerCreateInfo fields. All texture,
render target, renderer, water, and loading screen sampler creation
now goes through getOrCreateSampler(). Textures set ownsSampler_=false
so shared samplers aren't double-freed.

Also auto-disable anisotropy in the cache when the physical device
doesn't support the samplerAnisotropy feature, fixing the validation
error VUID-VkSamplerCreateInfo-anisotropyEnable-01070.
2026-03-24 11:44:54 -07:00
..
addons feat: display Lua addon errors as in-game UI errors 2026-03-21 06:00:06 -07:00
audio fix: auto-detect CharSections.dbc layout and add Blood Elf/Draenei NPC voices 2026-03-23 11:00:49 -07:00
auth Vanilla/Turtle WoW support: M2 loading, bone parsing, textures, auth 2026-02-13 16:53:28 -08:00
core feat: add Lua 5.1 addon system with .toc loader and /run command 2026-03-20 11:12:07 -07:00
game feat: server-synced bag sort, fix world map continent bounds, update docs 2026-03-24 09:24:09 -07:00
network fix: stabilize classic/turtle world session handling 2026-03-15 06:13:36 -07:00
pipeline fix: auto-detect CharSections.dbc layout and add Blood Elf/Draenei NPC voices 2026-03-23 11:00:49 -07:00
platform Fix all remaining build warnings and eliminate UB in binary parsers 2026-02-23 19:58:38 -08:00
rendering fix: add VkSampler cache to prevent sampler exhaustion crash 2026-03-24 11:44:54 -07:00
third_party Fix cross-platform FSR3 compile path and Path-A runtime wiring 2026-03-09 04:24:24 -07:00
ui feat: server-synced bag sort, fix world map continent bounds, update docs 2026-03-24 09:24:09 -07:00