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

Remove _DYNAMIC descriptors and make descriptor bindings alway have the UPDATE_AFTER_BIND_BIT flag #694

Open
devshgraphicsprogramming opened this issue May 4, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@devshgraphicsprogramming
Copy link
Member

Description

Bindings with UPDATE_AFTER_BIND_BIT and DYNAMIC SSBO and UBO are not allowed within the same Descriptor Set Layout.

The extra array of offsets during binding a set for DYNAMIC bindings is annoying unclear API. The way the offsets sum with the Descriptor Set's Buffer Range.

SSBOs are obsoleted by BDA anyway, and WHOLE_BUFFER never worked with dynamic offsets.

If we can have 500k UBOs which can be indexed, then we can create lots of bindings at different offsets to index instead of playing with dynamic offsets.

Also UPDATE_AFTER_BIND_BIT relaxes external synchronization requirements, making descrptor sets more thread safe.

@devshgraphicsprogramming devshgraphicsprogramming added the enhancement New feature or request label May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant