Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove COPY_DST from AsBindGroup uniform buffers (#16705)
# 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.
- Loading branch information