Fix vector size for presentCompleteSemaphores.
Only the semaphores signalled on finished rendering need to be indexed by the image index. All other resources (command buffers, fences, semaphores signalled on present completion) are indexed by the frame index.
Includes some minor clean-up on chapter 15 as well.
As usual, if this is considered to be ok, I can carry this change to all the other chapters.
As usual, if this is considered to be ok, I can carry this change to all the other chapters.
Definitively yes.
Without this change, the tutorial is not spec compliant, see #65
but tutorial text needs to be adjusted to
If you could give me a hint, where the corresponding tutorial text is, I could try to adjust it accordingly.
E.g. "03_Frames_in_flight.adoc". Looking at this, it does at least partially differ from the updated code and might need to be updated.
@SaschaWillems Ok, I've adjusted some documentation. Please have a closer look at it!
Anything else I'd need to adjust?