Closed 0lvin closed 2 years ago
@devnexen I have ported logic from VMA #23 for select not strictly equal memory to preferred flags. It should select something little bit better that default if device does not have exactly preferred memory types.
I have checked code only with lavapipe for now.
Port memory preferences cost logic from VMA allocator. https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator/
Code selects memory that has more bits simular to asked preferences.