Added support for VkPhysicalDevice2 #78
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a pretty low-tech way to make VkPhysicalDevice2 work in my project. As discussed in the Discord server, there's currently no very clear way to do this. I thought about ways to automate this, because I feel like C++ should provide some metaprogramming tools to figure out if we have a VkPhysicalDevice or VkPhysicalDevice2, but nothing that I tried work.