smithay icon indicating copy to clipboard operation
smithay copied to clipboard

Support VK_KHR_dedicated_allocation in Vulkan allocator

Open i509VCB opened this issue 2 years ago • 1 comments

While working on the Vulkan renderer this came to mind.

Per the specification:

Since the Vulkan allocator creates images with a drm tiling and images that are exportable this is worth considering.

There are also benefits to considering the prefersDedicatedAllocation suggestion since the driver may be able to allocate with a more optimal memory type.

In the case of the allocator I would not consider this to be mandatory extension.

i509VCB avatar Mar 29 '23 01:03 i509VCB

Further info: more than 90% of Vulkan implementations on Linux support dedicated allocations, so requiring dedicated allocations would be fine.

i509VCB avatar May 09 '23 00:05 i509VCB