selectedType != ~0u
- Chapter 2. Memory and Resources
- from Vulkan Programming Guide: The Official Guide to Learning Vulkan
- Publisher: Addison-Wesley Professional
- Released: November 2016
shouldn’t it be the other way around? If it doesn’t equal ~0u that means we found a memory type that matches all of our preferred properties.
Share this highlighthttp://www.safaribooksonline.com/a/vulkan-programming-guide/3196091/