You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Objective
Closesbevyengine#21395
## Solution
If bloom texture and uniform buffer don't change, then we skip updating
the bind groups.
I also tried implementing a global hash map cache similar to
TextureCache but the performance is worse than the current. So I think
we'd better cache bind groups locally rather than globally. Also, these
tasks can be parallelized on the CPU so the performance impact may not
be significant.
## Testing
After this the overhead of `prepare_bloom_bind_groups` become negligible
according to tracy.
0 commit comments