mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-15 09:35:57 +00:00
This introduces a slab allocator for VkDescriptorSets which creates a VkDescriptorPool pre-allocated with multiple VkDescriptorSets per BindGroupLayout. In the future, we can deduplicate pools that have the same, or roughly the same, descriptor counts. This CL also removes the old DescriptorSetService and moves most of the functionality onto the DescriptorSetAllocator itself to keep the tracking logic in one place. Bug: dawn:340 Change-Id: I785b17f4353fb3d40c9ccc33746600d6794efe7c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/19320 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org>