Find a memory type index suitable for the given allowedIndexMask and info.
the memory types obtained from a device
the mask obtained from MemoryRequirements.memTypeMask
the found index of memory type, or uint.max if none could satisfy requirements
See Implementation
Find a memory type index suitable for the given allowedIndexMask and info.