gfx-rs/wgpu

Test Buffer to Buffer and Buffer to/from Image Copies with Problematic Usages

Open

#3161 aperta il 1 nov 2022

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)Rust (703 fork)batch import
area: testsbackend: glesgood first issuehelp requiredtype: enhancement

Metriche repository

Star
 (9290 star)
Metriche merge PR
 (Merge medio 10g 7h) (61 PR mergiate in 30 g)

Descrizione

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.

Guida contributor