Granite icon indicating copy to clipboard operation
Granite copied to clipboard

Question: DescriptorPool Design

Open hanyangl5 opened this issue 2 years ago • 0 comments

Hey Themaister, I recently read your blog in https://themaister.net/blog/2019/04/20/a-tour-of-granites-vulkan-backend-part-3/ about the descriptor set management in Granite. In the blog you talked about the driver implementation of descriptor pool.

On certain GPUs, allocating descriptor sets is, or at least used to be very costly. The descriptor pools might not be implemented as true pools (sigh …), so every vkAllocateDescriptorSets would mean a global heap allocation, absolutely horrible for performance.

I would like to know if mainstream PC/console platforms use this mechanism, and I would appreciate it if you could provide some documents or implementation detail about that.

hanyangl5 avatar Oct 10 '22 14:10 hanyangl5