gfx-rs/wgpu

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

開放

#3,161 建立於 2022年11月1日

 (3 則留言) (0 個反應) (0 位負責人)Rust (703 個分叉)batch import
area: testsbackend: glesgood first issuehelp requiredtype: enhancement

倉庫指標

星標
 (9,290 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南