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.

貢獻者指南