mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-24 16:31:11 +01:00
1115: Request buffer FAST_DEVICE_ACCESS only with some non MAP or COPY usage r=kvark a=fintelia **Connections** Fixes #1113 **Description** On Linux AMD (and likely elsewhere) buffers with FAST_DEVICE_ACCESS are very slow to access when mapped. This makes sure that upload/download buffers don't request it unless those buffers are leveraging MAPPABLE_PRIMARY_BUFFERS for some non-map/copy usage. **Testing** I reran the failing reproduction case in the linked issue. Co-authored-by: Jonathan Behrens <fintelia@gmail.com>