Skip to content

How to efficiently swap bind group resources? #1495

Answered by erlendp
erlendp asked this question in Q&A
Discussion options

You must be logged in to vote

Looks like I may have found an answer - gpuweb/gpuweb#915.

Long story short, it sounds like the overhead to creating bind groups on the fly should be minimal, as the implementation should be able to use some kind of caching under the hood to achieve this via vkUpdateDescriptorSets (in the case of Vulkan), although I'm unclear as to whether this implementation actually does.

Also sounds like there's a proposal to introduce a BindGroupArena to manage these kinds of dynamic bind groups - #888

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cwfitzgerald
Comment options

Answer selected by erlendp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants