gfx-rs/wgpu

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

Ouverte

#3 161 ouverte le 1 nov. 2022

 (3 commentaires) (0 réaction) (0 personne assignée)Rust (703 forks)batch import
area: testsbackend: glesgood first issuehelp requiredtype: enhancement

Métriques du dépôt

Stars
 (9 290 étoiles)
Métriques de merge PR
 (Merge moyen 12j 4h) (117 PRs mergées en 30 j)

Description

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.

Guide contributeur