Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vk header transitions swapchain images without first acquiring them #2

Closed
ratchetfreak opened this issue Jan 26, 2017 · 4 comments
Closed

Comments

@ratchetfreak
Copy link

This isn't allowed every swapchain image must be acquired before you can do any access with it.

Instead you can set the initial layout to undefined instead of present after acquiring them in the render loop. It is always valid to put undefined as the initial layout in a transition if you don't care about preserving the data.

@chaoticbob
Copy link
Owner

Are the validation layers complaining about this?

@ratchetfreak
Copy link
Author

not yet but they should. It's an open issue last I checked.

@chaoticbob
Copy link
Owner

Cool, I will rectify this ASAP

@chaoticbob
Copy link
Owner

This should be fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants