Performance of binding the same ressource multiple times redundantly #4085
-
Does wgpu call the underlying API methods twice when binding the same pipeline, index buffer, vertex buffer or bindgroup on the same slot twice in a row? Should I check before binding the same Model again, to prevent unnecessary binding, or does wgpu do this by itself? |
Beta Was this translation helpful? Give feedback.
Answered by
cwfitzgerald
Aug 23, 2023
Replies: 1 comment
-
There are limited situations where we do this, but assume everything you call will be executed on. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
AndriBaal
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are limited situations where we do this, but assume everything you call will be executed on.