Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upProvide C++ code link just before "Frames in flight" #150
Comments
How about uploading your code for others to check? Besides, it might be better to ask this question in the Disqus comment, I guess, since it's not an issue of the tutorial itself. |
Could you elaborate on which bugs you had? |
There was a driver bug (in MoltenVK) and an allocation ordering bug (my fault) which would cause my driver to crash out. However, fixing one without fixing the other looked the same from a crash point of view. Until I redid all my code from the ground up and fixed the allocation ordering bug, it was absolutely impossible to pin down the driver bug. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Could someone please create a C++ code link just before the "Frames in flight" section? ("Drawing a triangle"->"Drawing"->"Rendering and Presentation"--https://vulkan-tutorial.com/Drawing_a_triangle/Drawing/Rendering_and_presentation)
If you don't get a triangle, it's REALLY hard to find the error as there is no code to compare to at that exact point--you can only compare to the code that adds a whole bunch of extraneous "frames in flight" stuff. Providing a C++ code link right before that point would make life a lot easier on people.
It sure would have helped me. I had to basically restart from ground zero a second time and walk forward to find my error. :( I had two bugs simultaneously and I couldn't extract one from the other because I didn't have a good basis for comparison.
Thanks.