gfx-rs/wgpu

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

クローズ

#6,509 opened on 2024/11/09

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (703 件のフォーク)batch import
good first issuekind: refactornaga

Repository metrics

Stars
 (9,290 個のスター)
PR merge metrics
 (平均マージ 12d 4h) (30d で 117 merged PRs)

説明

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.

コントリビューターガイド