gfx-rs/wgpu

WGPU_TRACE file from Firefox Nightly is missing final close-bracket

Offen

#1.620 geöffnet am 09.07.2021

 (2 Kommentare) (1 Reaktion) (0 zugewiesene Personen)Rust (703 Forks)batch import
good first issuehelp requiredtype: bug

Repository-Metriken

Stars
 (9.290 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 12T 4h) (117 gemergte PRs in 30 T)

Beschreibung

Description When running a wasm binary on Firefox Nightly with tracing enabled (as per this, the generated trace.ron file is missing a final ]. As a result, the player fails with an "unexpected EOF" error. Manually adding the ] allows the player to work.

Compared to tracing the same program compiled natively, it's also missing various DestroyBindGroup/DestroyBuffer etc. calls, which might be related to the final ] being missing.

Platform MacOS 11.4, wgpu latest (e27fbb821bb3397069d0a82ef8da8e151feb0647), Firefox Nightly 2021-07-07.

Contributor Guide