You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
nanokatze
changed the title
synchronization2 layer doesn't implement write descriptor set
synchronization2 layer doesn't implement descriptor updates
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.
The text was updated successfully, but these errors were encountered: