Merge pull request #114313 from blueskythlikesclouds/handle-descriptor-fragmentation
Create new pools when they become fragmented on Vulkan.
This commit is contained in:
@@ -496,7 +496,7 @@ private:
|
||||
|
||||
HashMap<int, DescriptorSetPools> linear_descriptor_set_pools;
|
||||
bool linear_descriptor_pools_enabled = true;
|
||||
VkDescriptorPool _descriptor_set_pool_find_or_create(const DescriptorSetPoolKey &p_key, DescriptorSetPools::Iterator *r_pool_sets_it, int p_linear_pool_index);
|
||||
VkDescriptorPool _descriptor_set_pool_create(const DescriptorSetPoolKey &p_key, bool p_linear_pool);
|
||||
void _descriptor_set_pool_unreference(DescriptorSetPools::Iterator p_pool_sets_it, VkDescriptorPool p_vk_descriptor_pool, int p_linear_pool_index);
|
||||
|
||||
// Global flag to toggle usage of immutable sampler when creating pipeline layouts.
|
||||
|
||||
Reference in New Issue
Block a user