Make the growable descriptor pool not use exceptions for flow control

This commit is contained in:
Guillaume Meunier
2024-02-18 12:22:32 +01:00
parent 2d44bba88b
commit 41ca634cd3
4 changed files with 99 additions and 99 deletions
-2
View File
@@ -100,11 +100,9 @@ public:
// Descriptor set 0: per-frame/view data (uniform buffer) and per-instance data (dynamic uniform buffer)
growable_descriptor_pool ds_pool_frame;
vk::raii::DescriptorSetLayout descriptor_set_frame = nullptr;
// Descriptor set 1: per-material data (5 combined image samplers and 1 uniform buffer)
growable_descriptor_pool ds_pool_material;
vk::raii::DescriptorSetLayout descriptor_set_material = nullptr;
vk::raii::PipelineLayout pipeline_layout = nullptr;