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:
Kelsi 2026-03-16 17:46:32 -07:00
parent 6fd32ecdc6
commit e3c2269b16
2 changed files with 2 additions and 2 deletions

View file

@ -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;