Upgrade to gfx-hal 0.7 #15
Open
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.
Thanks a lot for your tutorial!
gfx-hal 0.7
has been released and I would like to learn the newest API. I could not find any tutorial dealing with the 0.7 branch specifically. So I tried to upgrade your tutorial code.Warning: ! This is mostly a bunch of monkey patching and me not knowing what I'm doing ! I just experimented and took inspiration from the examples in the
gfx-hal
repository. This compiles and runs on Linux (vulkan backend). But it segfaults on exit, so the upgrade is definitely not correct!I don't think this should be merged as is. Or maybe never. But it can help others who come here also looking for gfx-hal 0.7 code. And if you would like to upgrade your tutorial, this might be a start(?). Also, if you want to, I'd love feedback on where I'm screwing up the upgrade :)