gfx-rs/wgpu

[naga] `Arena` could use a `take` method

已关闭

#6,509 创建于 2024年11月9日

 (2 条评论) (0 个反应) (0 位负责人)Rust (703 个派生)batch import
good first issuekind: refactornaga

仓库指标

星标
 (9,290 个星标)
PR 合并指标
 (平均合并 12天 4小时) (30 天内合并 117 个 PR)

描述

There are a few places in Naga where we actually clone an Arena, in situations where a take would be better. For example, naga::front::wgsl::lower::Lowerer::lower clones the diagnostic filters array.

贡献者指南