![]() # Objective - Wgpu barrier tracking is expensive. Making buffers read-only makes ideally lets wgpu skip worrying about barriers, although in wgpu 23 it apparently won't yet. ## Solution - Remove COPY_DST usage from AsBindGroup uniform buffers to allow future wgpu versions to make this cheaper. - AsBindGroup never updates buffers, so there's no need for COPY_DST. We always recreate all buffers and the bind group every time data changes, which yeah is also expensive. ## Testing - Ran the animated materials example with/without bindless enabled. No crashes. |
||
---|---|---|
.. | ||
macros | ||
src | ||
Cargo.toml | ||
README.md |