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

synchronization2 layer doesn't implement descriptor updates #131

Open
nanokatze opened this issue Aug 27, 2022 · 0 comments
Open

synchronization2 layer doesn't implement descriptor updates #131

nanokatze opened this issue Aug 27, 2022 · 0 comments
Assignees

Comments

@nanokatze
Copy link

nanokatze commented Aug 27, 2022

It's possible to write a sampled image descriptor which expects the image subresource to be in VK_IMAGE_LAYOUT_READ_ONLY_OPTIMAL, which was introduced in sync2. The sync2 layer doesn't implement vkUpdateDescriptorSets and other descriptor update functions and an invalid value will just be passed further down the dispatch chain.

The workaround is to not use sync2 layouts when an image subresource will be accessed through a descriptor.

A possible fix would need to implement vkCreateImageView so that it can tell the aspect bits when writing the descriptor. Another simpler, but possibly worse-performing, fix would map all read-only layouts to general.

@nanokatze nanokatze changed the title synchronization2 layer doesn't implement write descriptor set synchronization2 layer doesn't implement descriptor updates Aug 27, 2022
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