-
Notifications
You must be signed in to change notification settings - Fork 438
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
Fix bug where AttachmentImages can't be used in multiple descriptor sets at the same time #1562
base: master
Are you sure you want to change the base?
Conversation
…ets at the same time
A layout transition is a write operation, which means that concurrent access to the same image should not be allowed. Pipeline barriers protect against access on the same queue, but not another queue. The change you propose would introduce a data race if the image is concurrently accessed by another queue. The |
Oh. I wasn't aware that the |
@faulesocke Please ping me when it's ready for the final review. Thanks! |
@faulesocke Any updates regarding this PR? |
@Eliah-Lakhin sorry I haven't had time for this and probably won't have time for another month or two. |
Is there any update on this? |
This allows us to render the same storage image more than once. Related: vulkano-rs#1562
@fayalalebrun Does the commit a03cfa0 mean this can be closed? |
@vE5li No, that's for a fork of Vulkano and doesn't address the underlying issue. |
Ah, my bad :) |
This fixes #1557 It seems to work just fine with all the tests I did.
cargo fmt
on the changes