729c0b54b6
The array pool does a single allocation and then splits it out. The downside is that the pool is not lockless, but for border colors it likely doesn't matter much as there is a max border colors for 4k. Seems to be a 30% time reduction for vkCreateDevice() Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28975>