In the descriptor header is a bug: an unordered map does not guarantee its order or that indexn + 1 = index{n + 1} when iterating. For Vulkan the bindings must be in order so you should use something like ordered_map. Also in vulkan its perfectly valid to not specify a binding in a set layout which would not be possible here.
In the descriptor header is a bug: an unordered map does not guarantee its order or that indexn + 1 = index{n + 1} when iterating. For Vulkan the bindings must be in order so you should use something like ordered_map. Also in vulkan its perfectly valid to not specify a binding in a set layout which would not be possible here.