gfx-rs/wgpu
Test Buffer to Buffer and Buffer to/from Image Copies with Problematic Usages
Offen
#3.161 geöffnet am 01.11.2022
area: testsbackend: glesgood first issuehelp requiredtype: enhancement
Repository-Metriken
- Stars
- (9.290 Sterne)
- PR-Merge-Metriken
- (Durchschn. Merge 12T 4h) (117 gemergte PRs in 30 T)
Beschreibung
WebGL has numerous issues with Index buffers being funky to use correctly, which necessitates various workarounds and nuance in the code dealing with copies. This is exemplified by #3157 but there is additional nuance.
https://github.com/gfx-rs/wgpu/blob/master/wgpu-hal/src/gles/queue.rs#L268-338 is the link to the buffer-to-buffer implementation.
Getting this working is also predicated on having our tests run in the browser.