Transform swap chain image from undefined instead of present (fixes #156)
This commit is contained in:
parent
2aefecfb9a
commit
d944af8604
3 changed files with 61 additions and 89 deletions
|
|
@ -337,14 +337,6 @@ public:
|
|||
// Start the main render loop
|
||||
void renderLoop();
|
||||
|
||||
// Submit a pre present image barrier to the queue
|
||||
// Transforms the (framebuffer) image layout from color attachment to present(khr) for presenting to the swap chain
|
||||
void submitPrePresentBarrier(VkImage image);
|
||||
|
||||
// Submit a post present image barrier to the queue
|
||||
// Transforms the (framebuffer) image layout back from present(khr) to color attachment layout
|
||||
void submitPostPresentBarrier(VkImage image);
|
||||
|
||||
// Prepare a submit info structure containing
|
||||
// semaphores and submit buffer info for vkQueueSubmit
|
||||
VkSubmitInfo prepareSubmitInfo(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue