When trying to compile this with apple clang 11 I get compilation errors:
explicit specialization of 'vk::FlagTraits' after instantiation
explicit specialization of 'vk::FlagTraits' after instantiation
explicit specialization of 'vk::FlagTraits' after instantiation
explicit specialization of 'vk::FlagTraits' after instantiation
It's fixed by moving the explicit specializations up to just below the enum definition of the FlagBits.
Patched file attached.
When trying to compile this with apple clang 11 I get compilation errors: explicit specialization of 'vk::FlagTraits' after instantiation
explicit specialization of 'vk::FlagTraits' after instantiation
explicit specialization of 'vk::FlagTraits' after instantiation
explicit specialization of 'vk::FlagTraits' after instantiation
It's fixed by moving the explicit specializations up to just below the enum definition of the FlagBits. Patched file attached.
vk_mem_alloc.hpp.zip