gfx-rs / wgpu

A cross-platform, safe, pure-Rust graphics API.
https://wgpu.rs
Apache License 2.0
12.12k stars 880 forks source link

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

Open cwfitzgerald opened 1 year ago

cwfitzgerald commented 1 year ago

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.

dv29 commented 1 year ago

Is this still valid? i'd like to take a stab at it. I'm new to rust though.

teoxoy commented 1 year ago

I think so; thanks for looking into it!

dv29 commented 1 year ago

I'm working on this, its very new to me so i'm going through learn-wgpu but i'm getting stuck with errors. Just wanted to update