How expensive is bind group creation, and is there any way to update a bind group? #3138
Unanswered
spencerkohan
asked this question in
Q&A
Replies: 1 comment
-
Yes
Depends on how many and how big. Making 5-10 bind groups a frame, meh whatever. Making 500 I would start looking at carefully. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to understand the best practices and performance implications of bind groups bette
Coming from Vulkan, you would generally want to cache descriptor sets when possible, and you might want to update a descriptor set rather than allocating a new descriptor set when possible.
With wgpu, I don't see a way to update a bind group, is that correct?
Also what is the performance impact of creating bind groups? For instance, if I create new bind groups every frame, would this be considered an anti-pattern?
Beta Was this translation helpful? Give feedback.
All reactions