Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose wgpu profiling scopes to puffin #4581

Merged
merged 1 commit into from
Dec 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ poll-promise = "0.3"
pollster = "0.3"
prettyplease = "0.2"
proc-macro2 = { version = "1.0", default-features = false }
profiling = { version = "1.0.12", default-features = false }
puffin = "0.18"
puffin_http = "0.15"
pyo3 = "0.19.0"
Expand Down
3 changes: 3 additions & 0 deletions crates/re_renderer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ macaw.workspace = true
never.workspace = true
ordered-float.workspace = true
parking_lot.workspace = true
# wgpu uses the `profiling` crate for its profiling scopes.
# This will hook them up to the puffin profiler as backend:
profiling = { workspace = true, features = ["profile-with-puffin"] }
slotmap.workspace = true
smallvec.workspace = true
static_assertions.workspace = true
Expand Down
Loading