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 合并指标
 (平均合并 12天 4小时) (30 天内合并 117 个 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.

贡献者指南