Use bindless descriptors #575
Labels
cat:performance
performance
cat:refactor
refactor/clean up/simplifications/etc.
diff:advanced
advanced skills required
feat:rendergraph
rendergraph
feat:rendering
rendering
Uh oh!
There was an error while loading. Please reload this page.
Is your feature request related to a problem?
Descriptor management is hard to do right. With rendergraph2 pull request coming to a finish, we have found an interesting abstraction for conventional descriptor management. We can improve the situation a lot though.
Description
With respect to the current state of descriptor code, there are some more things to discuss:
bind_descriptor_set()
command of the wrapper. This would give us a per-rendermodule and per-pass insight into how many descriptors were bound and how. We could also use performance queries I believe.Bindless or not?
Another approach would be to just aim for a bindless renderer. This seems to be the most modern solution, but it requires redesign of shaders. Since we don't have many shaders now (barely any really), this could be a good point to decide to use a bindless design
Further links:
Alternatives
If we just keep the code from rendergraph2, descriptor management will stay as hard as it is.
Affected Code
The rendergraph and descriptor wrapper code, also shaders.
Operating System
All
Additional Context
None
The text was updated successfully, but these errors were encountered: