mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
fix: increase descriptor pool sizes to prevent Vulkan crash
Terrain pool 16384→65536, WMO pool 8192→32768. The previous sizes were too small for the load/unload radii, causing pool exhaustion and a hard crash when streaming terrain on large maps.
This commit is contained in:
parent
6fd32ecdc6
commit
e3c2269b16
2 changed files with 2 additions and 2 deletions
|
|
@ -171,7 +171,7 @@ private:
|
|||
|
||||
// Descriptor pool for material sets
|
||||
VkDescriptorPool materialDescPool = VK_NULL_HANDLE;
|
||||
static constexpr uint32_t MAX_MATERIAL_SETS = 16384;
|
||||
static constexpr uint32_t MAX_MATERIAL_SETS = 65536;
|
||||
|
||||
// Loaded terrain chunks
|
||||
std::vector<TerrainChunkGPU> chunks;
|
||||
|
|
|
|||
|
|
@ -656,7 +656,7 @@ private:
|
|||
|
||||
// Descriptor pool for material sets
|
||||
VkDescriptorPool materialDescPool_ = VK_NULL_HANDLE;
|
||||
static constexpr uint32_t MAX_MATERIAL_SETS = 8192;
|
||||
static constexpr uint32_t MAX_MATERIAL_SETS = 32768;
|
||||
|
||||
// Texture cache (path -> VkTexture)
|
||||
struct TextureCacheEntry {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue